Commit graph

10623 commits

Author SHA1 Message Date
Thomas Haller
ceb465755b automation/bkr: update job template to archive journal log
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
76b478d6ff contrib/bzutil: optimize evaluation of filters to fetch bugzilla only when needed
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
25a57149aa contrib/bzutil: add filter FilterId and allow negation of filters
There is already the command line option --bz to add additional bugs
to the output. The option --no-bz is to black list bugs.
The new filter 'bz' allows you something similar, but contrary to
--no-bz which acts at an earlier stage, this filters bugs after they are
parsed from refs.

Also, allow every filter to be negated by prepending it with ~ or !.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d4be2c2da7 contrib/bzutil: allow ignoring "Related: " bugs when parsing commit message
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
ffe6264379 contrib/bzutil: also parse git-notes for bugzilla references
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
07abf88a0b contrib/bzutil: add --resolves option to bzutil.py, print '--bz' args and reorder output
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
ea525c630c contrib/bkr: add --tests argument and allow setting tests in environment variable
You can now specifying TESTS via --nitrate-tag and --tests combined.
Or, if both arguments are omitted, if falls back to the environment
variable "TESTS".

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
3c552a9f7d contrib/bzutil: add new --filter shorthands (rhel, fc, rhel6, rhel6.5, etc.)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d27c81961e contrib/bzutil: print list of excluded bugs from --no-bz
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
de3985a0ce contrib/bzutil: support simpler syntax to specify --filter option
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
fb9b95b570 contrib/bzutil: add show blocker flag in short output
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
9d55787907 contrib/bzutil: add predefined --filters "rhel6", "rhel7" and "open"
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
f012ce8e3c contrib/bkr: update job01.xml
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
0223182ec8 contrib/bkr: update job01.xml
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
9d1a0278f0 contrib/bkr: add --nitrate-tag option to substitute TESTS
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
9cbf3ce19e contrib/jenkins: update jenkins_script.sh
Support new parameter OUT_OF_TREE_BUILD and cleanup code

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
e6a32515f9 contrib/bzutil: support selecting fields in --filter directly without 'match'
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
910f165ee5 contrib/bzutil: make 'match' filter to use regular expression
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
773d82be7a contrib/bzutil: add --filter option
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
af3a3d457b contrib/rh-utils: add url to webservice API as code comment
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
e44280ad12 contrib/rh-utils: implement setting of BZ properties
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
a1c9fdcd03 contrib/rh-utils: improve logging output and show product+version
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
204801283f contrib/rh-utils: show result count in output
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
40c9e31d9a contrib/rh-utils: improve help output by showing examples
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
a237b9cb60 contrib/jenkins: update jenkins_script.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
62148704f5 contrib/jenkins: minor fix in trigger_build.sh script
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
e93d448fb9 contrib/jenkins: fix -h output for trigger_build.sh script
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
3acfe7f85d contrib/jenkins: let trigger_build.sh use HEAD rev by default
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
fb93622756 contrib/jenkins: fix typo in trigger_build.sh script
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
a94f88aaba contrib/bkr: fix detection of URLs in Jenkins
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
9e1b6609de contrib/bkr: substitute unknown templates by "" in bkr.py
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
4863d11ffa contrib/bkr: update job01.xml
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
61a69d5ef7 contrib/rh-utils: add --no-bz option to bzutil.py
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
1594ea0971 contrib/rh-utils: improve bzutil.py
- refactor handling of configuration values (supports environment variables
  to override configuration values and accepts missing config file)
- add different modes how to list and group the output
- add different levels of verbosity
- add --rh-search and --rh-search-since flag

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
9036095c8a contrib/jenkins: improve trigger_build.sh script and add RPM parameter to jenkins
Configure jenkins project to accept a boolean build parameter "RPM" to
control whether to build the RPM packages.

Also, adjust the trigger_build.sh script, to support this parameter and
accept command line arguments.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
dc7c8892bc contrib/bkr: add bkr.py script
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
36d086af43 contrib: move/rename files
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
3720dded9b contrib/jenkins: log timestamp in jenkins build script
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
05347aaba3 contrib: add build script used on the jenkins installation (current version)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
b83261f049 contrib: check that the commit is pushed upstream in trigger_build.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
5a01321aaf contrib: add script trigger_build.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
8498393266 contrib: fetch cf_fixed_in field from bugzilla in bzutil.py
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
289da6800b contrib: bugfix and improve matching of bzutil.py
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
c6b5a33ef4 contrib: add fetching data from bugzilla to bzutil.py
This is heavily borrowed from
http://git.app.eng.bos.redhat.com/rcm/dist-git-utils.git/tree/src/gitbz

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
b0eede287e contrib: refactor bzutil to extract commit parsing into a separate class
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
999c570912 contrib: initial version bgz_util.py script
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
2358aeacb0 contrib/makerepo: add default gitignore pattern to makerepo.gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
3c7675af14 contrib/makerepo: detects RELEASE_BASE_COMMIT or NetworkManager-openvpn
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
fd5365c4a9 contrib/makerepo: accepts the RELEASE_BASE_COMMIT as environment variable (only detect as fallback)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
2fbca34dbf contrib/makerepo: now works with NetworkManager-openvpn package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00