Mike McLean
6b86eb5c56
Merge PR#274 Fix kojiweb error using getfile to download non-text files
...
Merges #274
https://pagure.io/koji/pull-request/274
2017-01-12 16:17:53 -05:00
Matyas Selmeci
13605e7daf
Fix kojiweb error using getfile to download non-text files
...
URLs like
http://koji-hub-testing.chtc.wisc.edu/koji/getfile?taskID=228280&name=osg-build-1.7.1-1.osg33.el6.noarch.rpm
fail with a 500 Internal Server Error when `name` refers to an RPM or
other binary file. (Those URLs do still work for log files). The error
given is "TypeError: append() takes exactly one argument (2 given)"
2017-01-12 16:15:54 -05:00
Mike McLean
12c7f8911e
Merge PR#177 allow tasks to fail on some arches for images/lives/appliances
...
Merges #177
https://pagure.io/koji/pull-request/177
Fixes #47
2017-01-12 14:28:45 -05:00
Mike McLean
4cd548e6dc
fix raise_fault condition in taskWaitResults()
2017-01-12 14:28:22 -05:00
Tomas Kopecek
5a5be59433
typo
2017-01-12 14:28:22 -05:00
Tomas Kopecek
43492c17c7
fail if all sub-tasks fails
2017-01-12 14:28:22 -05:00
Tomas Kopecek
6282a70948
don't try to upload image if task failed
2017-01-12 14:28:22 -05:00
Tomas Kopecek
43859db56f
fix default value for --can-fail
2017-01-12 14:28:22 -05:00
Tomas Kopecek
ec2b8370f0
CLI options for failing arches
2017-01-12 14:28:22 -05:00
Tomas Kopecek
763f577d8a
remove unused import
2017-01-12 14:28:22 -05:00
Tomas Kopecek
a757bf41e9
typo fixes
2017-01-12 14:28:22 -05:00
Tomas Kopecek
5ba8ed9b22
Basic test for task canfail
2017-01-12 14:28:22 -05:00
Tomas Kopecek
ce0f1884e1
update tests
2017-01-12 14:28:22 -05:00
Mike McLean
e1a136156b
... partial....
2017-01-12 14:28:22 -05:00
Mike McLean
aed4682411
don't error when waiting on 'canfail' tasks
2017-01-12 14:28:22 -05:00
Mike McLean
316ed1f952
fix ref to task id
2017-01-12 14:28:22 -05:00
Mike McLean
3a1d13a7b5
adjustments to WaitTestTask
2017-01-12 14:28:22 -05:00
Mike McLean
b5d6d2ebda
support optional_arches in livemedia builds
2017-01-12 14:28:22 -05:00
Mike McLean
00f387b226
canfail option for BaseTaskHandler.wait()
2017-01-12 14:28:22 -05:00
Mike McLean
7f15bcc128
Merge PR#264 unify CLI parsing of multiple architectures
...
Merges #264
https://pagure.io/koji/pull-request/264
Fixes #206
2017-01-12 10:26:03 -05:00
Tomas Kopecek
6a72638fd3
unify CLI parsing of multiple architectures
2017-01-12 10:20:50 -05:00
Mike McLean
b0d622526a
Merge #265 fix poll_interval ref in list-history cmd
2017-01-12 15:19:59 +00:00
Mike McLean
66a80fef1a
fix poll_interval ref in list-history cmd
2017-01-12 10:00:46 -05:00
Mike McLean
6f4c576906
Merge #272 fix default values for buildroot.container_type
2017-01-12 14:59:24 +00:00
Tomas Kopecek
659acb6954
fix default values for buildroot.container_type
2017-01-12 10:42:13 +01:00
Mike McLean
cc51c11aa7
Merge PR#242 Make tests compatible with rhel7/centos7
...
Merges #242
https://pagure.io/koji/pull-request/242
2017-01-11 21:30:24 -05:00
Tomas Kopecek
8999162807
convert test data to json
2017-01-11 21:28:34 -05:00
Your Name
897df962a6
Make tests compatible with rhel7/centos7
2017-01-11 21:28:34 -05:00
Mike McLean
babf279296
Merge #267 more direct tag functions for the hub
2017-01-11 21:42:15 +00:00
Mike McLean
99de501257
more direct tag functions for the hub
...
followup to PR#212
https://pagure.io/koji/pull-request/212
2017-01-09 22:14:17 -05:00
Mike McLean
dfba927a3b
Merge #256 update url and source in spec
2016-12-19 21:12:21 +00:00
Mike McLean
9e5682f03b
update url and source in spec
2016-12-19 16:10:10 -05:00
Mike McLean
c1d35fa066
Merge #257 Clarify purpose of cfgmap
2016-12-19 21:06:18 +00:00
Till Maas
8e30249401
Clarify purpose of cfgmap
2016-12-19 21:48:12 +01:00
Mike McLean
abf8f9c94e
Merge #245 Rewrite koji.util.rmtree to avoid forming long paths
2016-12-19 17:34:21 +00:00
Mike McLean
ab99443414
Update exception syntax in rmtree()
2016-12-19 12:31:01 -05:00
Mike McLean
d4590637a1
replace old rmtree with the new one
2016-12-19 12:28:10 -05:00
Mike McLean
8f42fda97d
keep going on errors
2016-12-19 12:28:10 -05:00
Mike McLean
949f23dd7b
add a note
2016-12-19 12:28:10 -05:00
Mike McLean
e58850eb05
first stab at rmtree for long filenames
2016-12-19 12:28:10 -05:00
Mike McLean
3f5eeb95f6
Merge PR#244 Add krb_rdns to koji-shadow
...
Merges #244
https://pagure.io/koji/pull-request/244
2016-12-19 12:26:25 -05:00
Patrick Uiterwijk
de89ddcd34
Add krb_rdns to koji-shadow
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-19 12:25:14 -05:00
Mike McLean
5da75e16d3
Merge PR#246 Revert "default krb_rdns to True"
...
Merges #246
https://pagure.io/koji/pull-request/246
2016-12-19 12:24:00 -05:00
Till Maas
baa6afca60
koji-gc: Set default value for krb_rdns to False
...
In Fedora infra krb_rdns needs to be set to False. This matches
https://pagure.io/koji/pull-request/244
2016-12-19 12:20:09 -05:00
Till Maas
987984e863
Revert "default krb_rdns to True"
...
This reverts commit 02128ee577 .
The second column in cfgmap is an alias and "True" is not a valid alias.
It was mistaken in the reverted commit as a default value, which it is
not. Reverting this commit should fix the following traceback that
koji-gc in Fedora currenty raises:
Traceback (most recent call last):
File "/usr/sbin/koji-gc", line 901, in <module>
options, args = get_options()
File "/usr/sbin/koji-gc", line 159, in get_options
if config.has_option(*alias):
TypeError: has_option() argument after * must be a sequence, not bool
2016-12-19 12:20:09 -05:00
Mike McLean
883c994506
Merge PR#248 Make koji-gc also work with principal and keytab
...
Merges #248
https://pagure.io/koji/pull-request/248
2016-12-19 12:16:15 -05:00
Patrick Uiterwijk
3300e29b5c
Make koji-gc also work with principal and keytab
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-19 12:15:35 -05:00
Mike McLean
c800a23aee
Merge PR#253 Updated links in docs/code
...
Merges #253
https://pagure.io/koji/pull-request/253
2016-12-19 11:49:42 -05:00
Tomas Kopecek
f4ede5339f
Update http:// to https:// in code
...
Where https is working, code was updated to use it.
2016-12-19 11:49:11 -05:00
Tomas Kopecek
9852064e35
Update http:// to https:// in docs
...
Where site is running https, URL was updated.
2016-12-19 11:49:11 -05:00