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
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