Tomas Kopecek
079c2a6d2f
update test requirements docs
2017-02-14 11:01:53 -05:00
Mike McLean
6375244715
Merge #281 web.conf options for specifying which methods will appear in filter
2017-02-14 15:58:37 +00:00
Tomas Kopecek
96012ee56f
make non-plugin tasks default
2017-02-14 15:03:18 +01:00
Tomas Kopecek
ac070c9ddf
web.conf options for specifying which methods will appear in filter
2017-02-14 14:46:53 +01:00
Mike McLean
7bb84a28a4
Merge #291 Missing --can-fail option for spin-appliance
2017-01-30 10:45:20 +00:00
Tomas Kopecek
919d8b23fb
make optional_arches optional
2017-01-30 11:20:46 +01:00
Mike McLean
400e70a344
Merge PR#209 add disttag handling to get_next_release
...
Merges #209
https://pagure.io/koji/pull-request/209
2017-01-26 17:01:42 +01:00
Mike McLean
4f2d1bc855
be stricter about incrementable release values
2017-01-26 16:57:45 +01:00
Mike McLean
8b5a9cd08b
more complex release values to test
2017-01-26 16:49:35 +01:00
Mike McLean
9e8cc1af73
unit test for get_next_release()
2017-01-26 16:49:35 +01:00
Adam Miller
39e7befc6b
add disttag handling to get_next_release
...
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-01-26 16:49:35 +01:00
Mike McLean
b27a8915dd
Merge PR#262 koji-shadow: allow use without certs
...
Merges #262
https://pagure.io/koji/pull-request/262
2017-01-26 16:39:54 +01:00
Mike McLean
c41881a8b6
preserve old option for compatibility
2017-01-26 16:39:22 +01:00
Dan Horák
552e79d98f
koji-shadow: fix log() invocation
2017-01-26 16:39:22 +01:00
Dan Horák
4b2085e7f7
koji-shadow: remove authca, it's not used for ssl_login any more
2017-01-26 16:39:22 +01:00
Dan Horák
785b567abe
koji-shadow: allow use without certs
2017-01-26 16:39:22 +01:00
Mike McLean
acf6f6f792
Merge #297 Fixed minor typo in writing koji code doc
2017-01-26 13:36:56 +00:00
Brendan Reilly
a08dd9a0dc
Fixed minor typo in writing koji code doc
2017-01-25 14:21:07 -05:00
Mike McLean
d57de0e3c7
Merge PR#289 Don't fail on unimported krbV
...
Merges #289
https://pagure.io/koji/pull-request/289
2017-01-19 17:10:41 -05:00
Tomas Kopecek
5cd8ce8bae
Don't fail on unimported krbV
2017-01-19 17:10:37 -05:00
Mike McLean
6c8e763c94
Merge PR#287 Update content generator metadata documentation
...
Merges #287
https://pagure.io/koji/pull-request/287
2017-01-17 15:45:48 -05:00
Tim Waugh
9352fccac4
Update content generator metadata documentation
...
The extra.typeinfo entry is now described, along with the legacy
types which do not use a typeinfo entry.
Signed-off-by: Tim Waugh <twaugh@redhat.com>
2017-01-17 15:45:35 -05:00
Mike McLean
87d989f918
Merge PR#223 convert the packages page to use paginateMethod()
...
Merges #223
https://pagure.io/koji/pull-request/223
2017-01-17 15:35:00 -05:00
Xibo Ning
208760295c
no need to escape, thanks mikem
2017-01-17 15:08:26 -05:00
Xibo Ning
7e6b4be823
remove useless return value
2017-01-17 15:08:26 -05:00
Xibo Ning
f19944c59c
s/result/results/
2017-01-17 15:08:26 -05:00
Xibo Ning
2d5c661a19
have listPackages() method to support queryOpts option and convert the packages page to use paginateMethod()
2017-01-17 15:08:26 -05:00
Xibo Ning
fe8c5964ca
fix method names to listPackagesSimple and countAndFilterResults.
...
1. replace listPackages call by listPackagesSimple.
2. replace filterResults by countAndFilterResults.
2017-01-17 15:08:26 -05:00
Xibo Ning
fe32d1a447
add method listFlatPackages and CountAndFilterResults
2017-01-17 15:08:26 -05:00
Mike McLean
1b9e04b0f8
PR#240 Convert from pygresql to psycopg2
...
Merges #240
https://pagure.io/koji/pull-request/240
Fixes #230
Fixes #231
2017-01-17 14:39:55 -05:00
Tomas Kopecek
47d49011f5
add psycopg2 requires to spec
2017-01-17 14:36:14 -05:00
Mike Bonnet
f61b223723
convert from pygresql to psycopg2
2017-01-17 14:36:14 -05:00
Mike McLean
86ff1b0abd
Merge PR#239 Allow principal and keytab in cli config
...
Merges #239
https://pagure.io/koji/pull-request/239
2017-01-17 14:26:55 -05:00
Patrick Uiterwijk
253161f229
Allow principal and keytab in cli config
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-01-17 14:12:19 -05:00
Mike McLean
1593e03ec1
Merge PR#263 Error message for missing certificates
...
Merges #263
https://pagure.io/koji/pull-request/263
Fixes #250
https://pagure.io/koji/issue/250
2017-01-13 10:51:48 -05:00
Tomas Kopecek
0407185901
Don't require cert/serverca for kojid
...
Now is demanded from user to supply kojid-specific configuration or
previously expected files are used as defaults
(/etc/kojid/serverca.crt). So, user has no option to not use these and
use just system-wide certificates.
If these values are not specified, python-requests would fall back to
/etc/pki supplied files. If there is also ssl_verify=True (which is
default), everything should work correctly.
2017-01-13 10:46:41 -05:00
Tomas Kopecek
7fb7bd28a9
backward-compatible default value for kojid/kojira/koji-gc certs
2017-01-13 10:46:41 -05:00
Tomas Kopecek
5612b1a709
Error message for missing certificates
2017-01-13 10:46:41 -05:00
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