Commit graph

5390 commits

Author SHA1 Message Date
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
Mike McLean
b88d87e469 PR#2257: BuildSRPMFromSCMTask: Support auto-selecting a matching specfile name
Merges #2257
https://pagure.io/koji/pull-request/2257

Related: #1905
https://pagure.io/koji/issue/1905
RFE: Add support for spawning multiple builds from one buildSRPMFromSCM task
2020-07-22 10:33:38 -04:00
Tomas Kopecek
8cd79f48e7 builder: py2 fixes
Relates: https://pagure.io/koji/issue/1905
2020-07-22 10:33:33 -04:00
Stephen Gallagher
47696c8895 BuildSRPMFromSCMTask: Support auto-selecting a matching specfile name
There are cases where having two files with the .spec suffix in the
same dist-git repository makes sense, such as maintaining a common
dist-git structure for different distributions where the package
name might be different.

This patch would allow the build-system to use the matching spec
file name for the current SCM checkout path if it exists.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-07-22 10:33:33 -04:00
Mike McLean
2d27453ac1 PR#2387: cli: list-tags: fall back to old behavior on ParameterError
Merges #2387
https://pagure.io/koji/pull-request/2387

Fixes: #2379
https://pagure.io/koji/issue/2379
list-tags fails against older hub
2020-07-22 10:17:41 -04:00
Mike McLean
9ada058abc whitespace to make flake8 happy 2020-07-22 10:17:37 -04:00
Mike McLean
a15d1c521d cli: list-tags: fall back to old behavior on ParameterError
Fixes https://pagure.io/koji/issue/2379
2020-07-22 10:17:37 -04:00
Mike McLean
ea1b7a6a60 PR#2353: turn off dnf_warning in mock.cfg
Merges #2353
https://pagure.io/koji/pull-request/2353

Related: #2026
https://pagure.io/koji/issue/2026
Mock 2.0 is lands Fedora/EPEL stable
2020-07-21 23:57:25 -04:00
Tomas Kopecek
72c701225b turn off dnf_warning in mock.cfg
Related: https://pagure.io/koji/issue/2026
2020-07-21 23:57:20 -04:00
Mike McLean
47c9146add PR#2385: doc: exporting repositories
Merges #2385
https://pagure.io/koji/pull-request/2385

Fixes: #1964
https://pagure.io/koji/issue/1964
What to use instead of mash?
2020-07-21 23:49:42 -04:00
Mike McLean
f3db46765c rewrite 2020-07-21 23:49:38 -04:00
Mike McLean
eb833883ce fix typos and minor grammar problems 2020-07-21 23:49:38 -04:00
Tomas Kopecek
4396dd09b5 doc: dist-repo and exporting repos
Fixes: https://pagure.io/koji/issue/1964
2020-07-21 23:49:38 -04:00
Mike McLean
a04f6413b8 PR#2372: TaskManager: clean both result and results dirs
Merges #2372
https://pagure.io/koji/pull-request/2372

Fixes: #1988
https://pagure.io/koji/issue/1988
kojid should also cleanup any 'bootstrap' repos
2020-07-21 23:29:19 -04:00
Yu Ming Zhu
54f047fc2a TaskManager: clean both result and results dirs
fixes: #1988
2020-07-21 23:29:13 -04:00
Mike McLean
d4b6331f42 PR#2376: kojid: use mergerepo_c for all merge modes
Merges #2376
https://pagure.io/koji/pull-request/2376

Fixes: #2183
https://pagure.io/koji/issue/2183
kojid: use mergerepo_c where possible
2020-07-21 23:20:58 -04:00
Yu Ming Zhu
a02762bc7f depress Exception when checking mergerepo_c version 2020-07-16 11:17:44 -04:00
Yu Ming Zhu
cccd7f06a3 flake8: W605 invalid escape sequence '\d' 2020-07-16 11:17:44 -04:00