Commit graph

5407 commits

Author SHA1 Message Date
Mike McLean
c406f2a04f add migration note regarding dropped krb configuration options
Fixes https://pagure.io/koji/issue/2425
2020-08-06 11:30:42 -04:00
Tomas Kopecek
f3563f7751 PR#2395: cli: don't check size for signed rpms
Merges #2395
https://pagure.io/koji/pull-request/2395

Fixes: #2394
https://pagure.io/koji/issue/2394
download_rpm fail on size check for signed rpms
2020-08-03 09:50:31 +02:00
Tomas Kopecek
53d1081f27 cli: don't check size for signed rpms
We store only size of unsigned copy in db, so checking it for signed
rpms results in error.

Fixes: https://pagure.io/koji/issue/2394
2020-08-03 09:50:22 +02:00
Tomas Kopecek
15bb8b6656 PR#2412: kojid: explicit binary writing mode
Merges #2412
https://pagure.io/koji/pull-request/2412

Fixes: #2411
https://pagure.io/koji/issue/2411
wrapperRPM fails on writing to spec under py3
2020-07-30 16:26:58 +02:00
Tomas Kopecek
1b600d10a4 kojid: explicit binary writing mode
Fixes: https://pagure.io/koji/issue/2411
2020-07-30 15:57:27 +02:00
Tomas Kopecek
563e519708 PR#2410: document setting rpm macros for build tags
Merges #2410
https://pagure.io/koji/pull-request/2410

Fixes: #2370
https://pagure.io/koji/issue/2370
Document setting rpm macros
2020-07-30 13:00:06 +02:00
Mike McLean
0258cb8f2d document setting rpm macros for build tags
Fixes https://pagure.io/koji/issue/2370
2020-07-29 14:57:55 -04:00
Tomas Kopecek
144e157f7e PR#2409: editTag: make compat perm_id option an alias for perm
Merges #2409
https://pagure.io/koji/pull-request/2409

Fixes: #2375
https://pagure.io/koji/issue/2375
cli: edit-tag --no-perm does not work as expected
2020-07-29 15:47:11 +02:00
Mike McLean
d6d342a74b fix unit test 2020-07-29 15:47:02 +02:00
Mike McLean
7beeb838b1 for editTag2, perm option is preferred over perm_id alias
Versions 1.21 and 1.22 of kojihub will throw an error if perm_id=None is given
For details see: https://pagure.io/koji/issue/2375
2020-07-29 15:47:02 +02:00
Mike McLean
4e46be954e editTag: make compat perm_id option an alias for perm
Fixes https://pagure.io/koji/issue/2375
2020-07-29 15:47:02 +02:00
Tomas Kopecek
1216d17b34 PR#2404: release bump and changelog
Merges #2404
https://pagure.io/koji/pull-request/2404

Fixes: #2403
https://pagure.io/koji/issue/2403
Bump release and add changelog for 1.22
2020-07-28 10:17:32 +02:00
Mike McLean
f0b5c60eeb and changelog entry for this PR too 2020-07-28 10:17:23 +02:00
Mike McLean
6890c74cf7 release bump and changelog
Fixes https://pagure.io/koji/issue/2403
2020-07-28 10:17:23 +02:00
Tomas Kopecek
44bf6526be PR#2393: release notes - 1.22
Merges #2393
https://pagure.io/koji/pull-request/2393

Fixes: #2360
https://pagure.io/koji/issue/2360
koji 1.22 release notes
2020-07-28 10:16:48 +02:00
Mike McLean
031174e4a7 drop a few trivial entries 2020-07-28 07:41:54 +00:00
Mike McLean
9c447876fb drop docs-only items from release notes and move "miscellaneous" changes elsewhere. 2020-07-28 07:41:45 +00:00
Mike McLean
59e6866940 more relnotes updates 2020-07-28 07:41:24 +00:00
Mike McLean
20b2a01879 fix ref 2020-07-28 07:41:12 +00:00
Yu Ming Zhu
65ef02ab00 more recent changes 2020-07-28 03:48:24 +08:00
Yu Ming Zhu
141474546e add PR#2340 2020-07-28 03:48:24 +08:00
Yu Ming Zhu
7e33e6cbcb more break lines 2020-07-28 03:48:24 +08:00
Mike McLean
18a62e734c misc relnotes updates 2020-07-28 03:48:24 +08:00
Mike McLean
cd21cba7d8 some migrations notes changes 2020-07-28 03:48:24 +08:00
Mike McLean
bad5cf0649 fix kojira ref 2020-07-28 03:48:24 +08:00
Mike McLean
3727c2a7ac fix broken links 2020-07-28 03:48:24 +08:00
Yu Ming Zhu
1ba20b8329 release notes - 1.22
fixes: #2360
2020-07-28 03:48:24 +08:00
Tomas Kopecek
d561f8da19 PR#2397: kojira: remove unused delete_batch_size
Merges #2397
https://pagure.io/koji/pull-request/2397

Fixes: #2396
https://pagure.io/koji/issue/2396
kojira: delete_batch_size is useless
2020-07-27 13:44:29 +02:00
Yu Ming Zhu
92dd493e98 add delete_batch_size into legacy_opts 2020-07-27 08:59:40 +00:00
Yu Ming Zhu
2aa7ff67bb kojira: remove unused delete_batch_size
fixes: #2396
2020-07-27 08:58:42 +00:00
Tomas Kopecek
cee7d4fca2 PR#2401: kojira: drop reference to krb_login
Merges #2401
https://pagure.io/koji/pull-request/2401

Fixes: #2400
https://pagure.io/koji/issue/2400
lingering krb_login in kojira
2020-07-27 10:06:25 +02:00
Mike McLean
7afc7628ad kojira: drop reference to krb_login
this call to krb_login was accidentally re-introduced with a merge commit.

Fixes https://pagure.io/koji/issue/2400
2020-07-24 17:21:08 -04:00
Mike McLean
18e0e8803f PR#2280: Use requests_gssapi instead of requests_kerberos
Merges #2280
https://pagure.io/koji/pull-request/2280

Fixes: #882
https://pagure.io/koji/issue/882
Investigate and replace python-requests-kerberos with python-requests-gssapi
2020-07-24 15:58:23 -04:00
Simo Sorce
2c663f0b73 Use requests_gssapi instead of requests_kerberos
Retain ability to use the old requests_kerberos where request_gssapi is
not available yet.

Signed-off-by: Simo Sorce <simo@redhat.com>
2020-07-24 15:32:42 -04:00
Mike McLean
9063f33b07 PR#2244: remove deprecated krbV support
Merges #2244
https://pagure.io/koji/pull-request/2244

Fixes: #1991
https://pagure.io/koji/issue/1991
Remove deprecated krbV code
2020-07-24 15:10:30 -04:00
Tomas Kopecek
d75a3f3b52 remove remaining options 2020-07-24 15:08:47 -04:00
Tomas Kopecek
bbe8ce9700 backward compat wrapper for krb_login 2020-07-24 15:08:47 -04:00
Tomas Kopecek
f8419e3626 remove deprecated krbV support
Fixes: https://pagure.io/koji/issue/1991
2020-07-24 15:08:47 -04:00
Tomas Kopecek
ee93da4177 PR#2340: kojira: threaded repo deletion
Merges #2340
https://pagure.io/koji/pull-request/2340

Fixes: #2336
https://pagure.io/koji/issue/2336
kojira: thread for repo deletion
2020-07-24 13:40:36 +02:00
Tomas Kopecek
40a55908ab kojira: estimate better expire_ts 2020-07-24 13:40:26 +02:00
Tomas Kopecek
74f18b687e kojira: threaded repo deletion
Fixes: https://pagure.io/koji/issue/2336
2020-07-24 13:40:26 +02:00
Mike McLean
63834751c3 PR#2337: align option naming with mock
Merges #2337
https://pagure.io/koji/pull-request/2337

Fixes: #84
https://pagure.io/koji/issue/84
[Feature Request] Allow koji-builder to use Mock's sign plugin to automatically sign package after build
2020-07-23 11:18:27 -04:00
Tomas Kopecek
f8b26a1bcf align option naming with mock
Related: https://pagure.io/koji/issue/84
2020-07-23 11:18:23 -04:00
Tomas Kopecek
90921a8485 PR#2363: sphinx formatting fixes for hub policy doc
Merges #2363
https://pagure.io/koji/pull-request/2363
2020-07-23 10:46:19 +02:00
Ken Dreyer
fe866a1065 doc: preformatted text for hub policy names
Use preformatted text to distinguish each hub policy name.
2020-07-23 10:46:10 +02:00
Ken Dreyer
6ceff14946 doc: section title formatting for hub policy example
Add section title formatting for the complex hub policy example
2020-07-23 10:46:10 +02:00
Tomas Kopecek
86bd0ae845 PR#2377: hub: document listBType return value when query matches no entries
Merges #2377
https://pagure.io/koji/pull-request/2377
2020-07-23 10:16:08 +02:00
Ken Dreyer
07bc3a82d6 hub: document listBType return value when query matches no entries
When a user calls listBType with a query parameter and that query
matches no existing btypes, the listBType method returns an empty list.
Add this information to the listBType docstring.
2020-07-23 10:16:01 +02:00
Mike McLean
44cc51c846 PR#2123: Pass buildroot to preSCMCheckout and postSCMCheckout where applicable.
Merges #2123
https://pagure.io/koji/pull-request/2123

Fixes: #2122
https://pagure.io/koji/issue/2122
RFE: pass the broot object into the postSCMCheckout callback in i.e. buildSRPMfromSCM task
2020-07-22 11:38:05 -04:00
Adam Saleh
066c651aab Pass buildroot to preSCMCheckout and postSCMCheckout where applicable.
This includes BuildMavenTask, WrapperRPMTask, ImageTask and BuildSRPMfromRPMTask.

Signed-off-by: Adam Saleh <asaleh@redhat.com>
2020-07-22 11:38:00 -04:00