Commit graph

10683 commits

Author SHA1 Message Date
Thomas Haller
538a913e37 contrib/bkr: adjust pattern to parse NetworkManager RPMs from URI after 1.0:wq release 2014-12-21 20:33:41 +01:00
Thomas Haller
3f8f10c93c contrib/bkr: support new --jobtype veth 2014-12-19 16:21:12 +01:00
Thomas Haller
07947f5bbe contrib/bkr: enable writing core dumps for beaker runs 2014-12-17 15:48:47 +01:00
Thomas Haller
7972e184e9 contrib/bkr: detect GIT_TARGETBRANCH for new 1.0-beta builds 2014-12-16 23:18:31 +01:00
Thomas Haller
7e9f314ed0 contrib/bkr: fix hostRequires for wifi tests
wireless group contains hosts that don't work with rhel-7.
Consider only those which hostname starts with 'wlan-r2'.
2014-12-03 14:29:24 +01:00
Thomas Haller
0353b5a740 contrib/bkr: allow specifying the jobtype and create "scratch" jobs by default
Add a new paramter --jobtype to bkr.py
2014-12-03 12:55:17 +01:00
Thomas Haller
233f3699d0 contrib/bkr: add --hosttype argument and $HOSTREQUIRES template 2014-12-02 14:47:55 +01:00
Thomas Haller
8e9b44cac0 contrib/bkr: support --var option
This is equivalent to specifying the options as environment
variables. The advantage is, that they are part of ARGS and hence
later visible in the whiteboard text.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-11-12 18:17:17 +01:00
Thomas Haller
d40fd6e2fe contrib/bkr: fix detection of GIT_TARGETBRANCH for new rhel-7.1 builds
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-23 17:11:30 +02:00
Thomas Haller
41c9e91baf contrib/jenkins: add NO_CHECK option to jenkins
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-15 22:21:57 +02:00
Thomas Haller
2427fbcb11 contrib/bzutil: fix parsing of related bugs in commit message
Also accept for example: "... see also related bug 4223".

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-12 20:33:29 +02:00
Thomas Haller
503ebbe9b0 contrib/makerepo: add git tags to created repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-09 09:57:41 +02:00
Thomas Haller
62b21d2def contrib/bkr: don't install -debug packages by default
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 11:31:16 +02:00
Thomas Haller
afc82337a7 contrib/makerepo: support libqmi package in makerepo.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:58:39 +02:00
Thomas Haller
6c36639bbc contrib/bkr: install firewalld package in default job template
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
423adfe7c1 contrib/bkr: better detection of DISTRO_NAME and add $RESERVESYS placeholder
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
21b8680557 contrib/bkr: fix crash in script with invalid test cases missing "script"
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
49fbca646b contrib/bzutil: print default config file name on missing paramter
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
e49bd006d9 contrib/makerepo: parse the patch -p option from the spec file
This adds support for different -p options the -p1.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
1e4c4d2f11 contrib/makerepo: detect upstream base commit for libnl-3.2.21
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
615543107a contrib/makerepo: support initscripts repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9208280370 contrib/bkr: update default job template and GIT_TARGETBRANCH detection
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
2a3a5a873d contrib/makerepo: add network-manager-applet and NetworkManager-vpnc
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
cd9c7d268b contrib/makerepo: cleanup detection of repository type
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9ce0f03d99 contrib/makerepo: interpret NO_REMOTE variable to disable fetching from remote
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
6c4b266d0d contrib/makerepo: support mipv6-daemon repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9b34f04e67 contrib/makerepo: update detection of base commit for libnl3
libnl3 now contains the git commit id in ./configure as
LIBNL_GIT_SHA.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
682f26fd2d contrib/makerepo: support wireless-tools repository 2014-10-03 10:40:22 +02:00
Thomas Haller
3db87fee7c contrib/makerepo: add base-commit for libnl3 source
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
dd498c59b7 contrib/makerepo: add --dist argument to set the distribution
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9e224cf37d contrib/makerepo: fix error parsing command line arguments
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
ed9b758726 contrib/makerepo: create a local mirror of the upstream repository to speedup fetching
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
7e7ed5f015 contrib/makerepo: don't write default pattern to makerepo.gitignore file
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
c329f282ed contrib/bkr: extend default pattern for RPMs for new NM-team package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
0f75272136 contrib/makerepo: use the patch backup extentions from specfile for gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
fa980d800b contrib/makerepo: support branch specific makerepo.gitignore file
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
a0730d9c96 contrib/bkr: add paramter GIT_TARGETBRANCH
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
40db833a65 contrib/bkr: update git-url in job template
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
5e9f624f51 contrib/bkr: extend bkr.py script to support RPMs from brew:// and brewtask://
Add a new URI scheme brew:// and brewtask:// to parse RPM URLs
from http://brewweb.devel.redhat.com/

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
f5ec5a47c0 contrib/jenkins: show build options in git-notes entry
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
bd6e1006f7 contrib/bkr: extend job template, to configure journald
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
47dfad8fba contrib/jenkins: extend build script to set NMTST_DEBUG environment variable
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
0e889246ce contrib/bzutil: extend parsing of Related: bugs in commit message
Allow more ways to specify "related" bugs, that work better
inside a sentance. The following formats are now detected too:

  - "related to bgo#XXXXX"
  - "related to bug bgo#XXXXX"
  - "related to http://..."
  - "related to bug http://..."
  - and possibly newline instead of a single white space

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
25baa94b3b contrib/makerepo: improve script to include last commit that modified a patch in created history
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
680c1659a5 contrib/bzutil: fix parsing Related bugs
If one commit message references the same bug more then once,
the "Related" flag must be preserved.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d18a4ec128 contrib/makerepo: fix error writing makerepo.gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
4fcc8c8d24 contrib/makerepo: now works with NetworkManager-openswan and libreswan package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
47ee0e5b56 contrib/bkr: update job01.xml template (save /distribution/install step)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
eadbe0af37 contrib/makerepo: encode the base commits for certain known packages
Makerepo tries to detect the upstream base commit, in order to base
the history on the upstream commit. Hardcode a list of known base commits
and match them depending on the content of the sources file.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
224012a726 contrib/bkr: fix script after Nitrate XMLRPC changes
When searching with TestCase.filter(), the tag property is no longer
set. Before, when searching for cases with a particular tag, at least
that one tag was in case[tag]. And also, when not filtering for a tag,
case[tag] was properly filled. Now, case[tag] seems to be empty.
Add a workaround.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00