Commit graph

2267 commits

Author SHA1 Message Date
Mike McLean
a37db7ff51 Also set WSGIApplicationGroup to %{GLOBAL} for the web
see:
- https://pagure.io/koji/issue/214
- https://pagure.io/koji/pull-request/197
2016-12-13 21:38:10 -05:00
Mike McLean
f8d4680da0 Merge #238 make the tlstimeout class compatible with newer versions of qpid 2016-12-13 22:30:33 +00:00
Mike Bonnet
240fc690dd make the tlstimeout class compatible with newer versions of qpid
Recent versions of qpid have added the write_retry attribute to the tls class.
Add it to our subclass for compatibility.
2016-12-13 17:04:58 -05:00
Mike McLean
7b053d73ac fix version in docs 2016-12-08 23:35:39 -05:00
Mike McLean
9b882e23fd Merge #234 1.11 release 2016-12-09 04:22:14 +00:00
Mike McLean
deabb3188a spec changelog 2016-12-08 22:30:03 -05:00
Mike McLean
22b263a9b9 migration doc 2016-12-08 22:30:03 -05:00
Mike McLean
aed5f1ff53 add some comments to the interim cgen schema update scripts 2016-12-08 22:30:03 -05:00
Mike McLean
afa3699244 schema upgrade script for 1.11 2016-12-08 22:30:03 -05:00
Mike McLean
6f8adfdb67 Merge #235 a couple ssl fixes 2016-12-09 03:29:04 +00:00
Mike McLean
a12f26b07d add another pattern to is_requests_cert_error() 2016-12-08 18:37:02 -05:00
Mike McLean
8d3a736637 allow setting no_ssl_verify in client config 2016-12-08 18:37:02 -05:00
Mike McLean
d23d1a7cf8 Merge #229 Don't require protonmsg on rhel5 2016-12-08 16:52:40 +00:00
Mike McLean
48b78fc63a Don't require protonmsg on rhel5 2016-12-08 11:50:12 -05:00
Mike McLean
123c045312 more README formatting 2016-12-08 10:45:17 -05:00
Mike McLean
0b5a072097 Fix README formatting now that pagure has enabled nl2br 2016-12-08 10:43:09 -05:00
Mike McLean
c4d027cfab Merge PR#208 kojiweb/cli: [rpminfo]rename "Payload Hash" to "SIGMD5"
Merges #208
https://pagure.io/koji/pull-request/208
2016-12-08 09:40:13 -05:00
Yuming Zhu
57d8729551 kojiweb: [rpminfo] add tooltip for SIGMD5 field 2016-12-08 09:39:41 -05:00
Yuming Zhu
e083ddf058 cli: [rpminfo]rename "Payload" to "SIGMD5" 2016-12-08 09:39:41 -05:00
Yuming Zhu
1e0d856f00 kojiweb: [rpminfo]rename "Payload Hash" to "SIGMD5" 2016-12-08 09:39:41 -05:00
Mike McLean
d7e85708ad PR#138 don't bind-mount /dev for LiveMediaTask (RHBZ #1315541)
Merges #138
https://pagure.io/koji/pull-request/138
2016-12-07 16:12:18 -05:00
Adam Williamson
c72090b1ff don't bind-mount /dev for LiveMediaTask (RHBZ #1315541)
This is an alternative to https://pagure.io/koji/pull-request/137
which keeps the /dev bind mount for ApplianceTask and LiveCDTask,
only dropping it for LiveMediaTask. It seems from the test we
ran that appliance-creator may still need it, at least for the
present - some of the createAppliance tasks seemed to hang their
builders.
2016-12-07 15:14:51 -05:00
Mike McLean
316f233e73 Merge #224 doc: Highlight string supposed to be in setting 2016-11-30 14:55:41 +00:00
Lubomír Sedlář
23cd7d87e2 doc: Highlight string supposed to be in setting
In the conversion of hyphens to underscores both the original and
modified value should be marked as code.
2016-11-30 11:00:52 +01:00
Mike McLean
561ba8f6cf Merge #197 work around in OpenSSL issue on the hub 2016-11-23 19:17:10 +00:00
Mike McLean
a9d46d0fe2 work around in OpenSSL issue on the hub 2016-11-23 14:16:25 -05:00
Mike McLean
60c8ab6d12 PR#222 missing check on number of arguments
Merges #222
https://pagure.io/koji/pull-request/222
2016-11-23 12:53:19 -05:00
Tomas Kopecek
e9625f8240 missing check on number of arguments 2016-11-23 12:52:01 -05:00
Mike McLean
f044e81ede Merge #217 Maintain non-strict behavior in getTaskInfo 2016-11-23 17:51:00 +00:00
Mike McLean
ad521d5eb2 Maintain non-strict behavior in getTaskInfo
Fixes: #216
https://pagure.io/koji/issue/216
2016-11-23 12:26:52 -05:00
Mike McLean
2918ba296a Merge branch 'gssapi-fixes'
Merges #219
Merges #220
Merges #221
https://pagure.io/koji/pull-request/219
https://pagure.io/koji/pull-request/220
https://pagure.io/koji/pull-request/221

Various fixes for the gssapi code
2016-11-23 12:22:19 -05:00
Mike McLean
bc0e8c0856 avoid try..except..finally 2016-11-23 11:14:23 -05:00
Mike McLean
127d38fbef don't mask kwargs in callMethod 2016-11-23 11:05:48 -05:00
Patrick Uiterwijk
6ec1fc28e4 Restore baseurl to original if GSSAPI login didn't work
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-23 10:58:21 -05:00
Patrick Uiterwijk
fc176d7de4 Disable automatic request retries for GSSAPI authentication
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-23 10:52:41 -05:00
Patrick Uiterwijk
e85e442dcd Allow callMethod calls to specify that no retries should be attempted
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-23 10:52:39 -05:00
Patrick Uiterwijk
699865de19 Determine if a request error is caused by certificates with requests
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-23 10:52:29 -05:00
Mike McLean
771adfe86d Merge #218 Header values need to be strings 2016-11-23 15:14:00 +00:00
Patrick Uiterwijk
c1593411db Header values need to be strings
This has seemingly always been documented, and broken in a recent release.

Reference: https://github.com/kennethreitz/requests/issues/3477

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-22 23:26:19 +00:00
Mike McLean
1d93396b90 Merge use-requests-2-gssapi
Fixes: #134
https://pagure.io/koji/pull-request/134

This is the python-requests version of Patrick's patch. See comments
in the referenced PR for details.
2016-11-22 16:46:06 -05:00
Patrick Uiterwijk
480cdfb540 Implement GSSAPI login
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-22 16:45:31 -05:00
Mike McLean
06f8d24967 Merge #213 Use python-requests 2016-11-22 21:42:50 +00:00
Mike McLean
feb619f460 unit tests for new_session() 2016-11-22 16:41:31 -05:00
Mike McLean
53d315788d add test for ClientSession.serverPrincipal 2016-11-22 16:41:31 -05:00
Mike McLean
d97d568c39 more compatrequests unit tests 2016-11-22 16:41:31 -05:00
Mike McLean
29a7c9e816 still more tests 2016-11-22 16:41:31 -05:00
Mike McLean
ed986086dc uncovered import exception 2016-11-22 16:41:31 -05:00
Mike McLean
8eb69799ad more unit tests for compatrequests 2016-11-22 16:41:31 -05:00
Mike McLean
e9a8c60a3a some unit tests for koji.compatrequests 2016-11-22 16:41:31 -05:00
Mike McLean
f3a6bc86bc more smarts for ssl bug workaround 2016-11-22 16:41:31 -05:00