Commit graph

5090 commits

Author SHA1 Message Date
Tomas Kopecek
ef0730f5d5 PR#2038: Don't use listTagged(tag, *) for untag-build
Merges #2038
https://pagure.io/koji/pull-request/2038

Fixes: #2037
https://pagure.io/koji/issue/2037
untag-build hangs indefinitely
2020-04-22 13:39:19 +02:00
Tomas Kopecek
995f8e68c2 fix chain iteration
Fixes: https://pagure.io/koji/issue/2037
2020-04-22 13:39:09 +02:00
Tomas Kopecek
b8d4c66329 Don't use listTagged(tag, *) for untag-build
Fixes: https://pagure.io/koji/issue/2037
2020-04-22 13:39:09 +02:00
Tomas Kopecek
4b3c9f33b4 PR#2103: fix list-signed --tag memory issues
Merges #2103
https://pagure.io/koji/pull-request/2103

Fixes: #2102
https://pagure.io/koji/issue/2102
koji list-signed --tag  results in OOM
2020-04-22 13:35:22 +02:00
Tomas Kopecek
eb7c33a170 fix list-signed --tag memory issues
Fixes: https://pagure.io/koji/issue/2102
2020-04-22 11:05:02 +02:00
Tomas Kopecek
8f3885ce23 PR#2150: translate exceptions to GenericError
Merges #2150
https://pagure.io/koji/pull-request/2150

Fixes: #2067
https://pagure.io/koji/issue/2067
API filterResults returns Fault for API call with unexpected keyword
2020-04-22 10:37:23 +02:00
Tomas Kopecek
4d4e569909 translate exceptions to GenericError
Fixes: https://pagure.io/koji/issue/2067
2020-04-22 10:37:14 +02:00
Tomas Kopecek
613bbbd6a9 PR#2176: hub: document editUser method
Merges #2176
https://pagure.io/koji/pull-request/2176
2020-04-22 09:55:06 +02:00
Ken Dreyer
3c7d8c8407 hub: document editUser method
Describe the types of each argument to the edit_user() method. Give some
example values for krb_principal_mappings.
2020-04-22 09:54:58 +02:00
Tomas Kopecek
98d74fd809 PR#2175: kojira: remove duplicate Kerberos configuration boilerplate
Merges #2175
https://pagure.io/koji/pull-request/2175
2020-04-22 09:51:35 +02:00
Ken Dreyer
c932f4cdbc doc: use newer configuration boilerplate for kojira
The Server Howto documentation describes how to configure Kerberos
authentication in kojira.conf.

Prior to this change, the Server Howto documentation's boilerplate
configuration copied the older stale format.
eea730300a added a dedicated section for
Kerberos authentication to kojira.conf. Copy this newer format into the
Server Howto documentation.

This also updates our Server Howto document to use the default
/etc/kojira/kojira.keytab file path, which we added in
f232e49194.
2020-04-22 09:51:28 +02:00
Ken Dreyer
b13487d34f kojira: remove duplicate Kerberos configuration boilerplate
eea730300a added a dedicated section for
Kerberos authentication to kojira.conf. It refers to the canonical
location /etc/kojira/kojira.keytab.

Prior to this change, there were two "kerberos" sections in kojira.conf.
Remove the older stale one, since that refers to the old
"/etc/kojira.keytab" file path, and
f232e49194 defaults to
/etc/kojira/kojira.keytab instead.
2020-04-22 09:51:28 +02:00
Tomas Kopecek
7881ac0714 Merge #2173 hub: document getTagExternalRepos 2020-04-22 07:49:46 +00:00
Tomas Kopecek
5fe65191f9 PR#2177: doc: "koji build" requires a target
Merges #2177
https://pagure.io/koji/pull-request/2177
2020-04-22 09:45:06 +02:00
Ken Dreyer
fbcc6bb43e doc: "koji build" requires a target
The "koji build" command requires a target, not a tag.
2020-04-22 09:44:59 +02:00
Tomas Kopecek
1e30a6c299 PR#2178: docs: Fix sidetag enablement typo
Merges #2178
https://pagure.io/koji/pull-request/2178
2020-04-22 09:44:12 +02:00
Igor Raits
f5349cafa4 docs: Fix sidetag enablement typo
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-22 09:43:57 +02:00
Tomas Kopecek
70f9f54bfe PR#2174: hub: document removeExternalRepoFromTag arguments
Merges #2174
https://pagure.io/koji/pull-request/2174
2020-04-22 09:42:40 +02:00
Ken Dreyer
4c505be0fa hub: document removeExternalRepoFromTag arguments
Describe the types of each argument to the removeExternalRepoFromTag()
method.
2020-04-22 09:42:32 +02:00
Ken Dreyer
5d86ecacf5 hub: document getTagExternalRepos
Describe the types of each argument to the getTagExternalRepos() method.
2020-04-22 09:42:00 +02:00
Tomas Kopecek
8864fd7961 fix docs 2020-04-22 09:31:49 +02:00
Tomas Kopecek
9a805733c4 missing file from 1.21 docs 2020-04-22 09:29:58 +02:00
Ken Dreyer
6f9de4321c hub: document getTagExternalRepos
Describe the types of each argument to the getTagExternalRepos() method.
2020-04-21 11:26:33 -06:00
Tomas Kopecek
f50b3dbf82 PR#2146: Release notes 1.21
Merges #2146
https://pagure.io/koji/pull-request/2146

Fixes: #2118
https://pagure.io/koji/issue/2118
1.21 release notes
2020-04-21 14:50:10 +02:00
Tomas Kopecek
94b3b432ed Release notes 1.21
Fixes: https://pagure.io/koji/issue/2118
2020-04-21 14:50:01 +02:00
Tomas Kopecek
d919ce1769 PR#2168: turn off checking external repos by default
Merges #2168
https://pagure.io/koji/pull-request/2168

Fixes: #2159
https://pagure.io/koji/issue/2159
kojira external repo timestamp check can break
2020-04-21 14:48:39 +02:00
Mike McLean
08e52da156 adjust grammar 2020-04-21 08:25:04 -04:00
Tomas Kopecek
3aca7b43a6 turn off checking external repos by default
Fixes: https://pagure.io/koji/issue/2159
2020-04-21 10:31:24 +02:00
Tomas Kopecek
be61a984f4 PR#2147: hub: assert_policy - use hasPerm instead of assertPerm
Merges #2147
https://pagure.io/koji/pull-request/2147

Fixes: #1930
https://pagure.io/koji/issue/1930
Log when policy is overridden due to --force
2020-04-15 11:53:12 +02:00
Yuming Zhu
293cc87325 hub: assert_policy - use hasPerm instead of assertPerm
fixes: #1930
2020-04-15 11:53:01 +02:00
Tomas Kopecek
bba9907fc4 Fix automatic trailing-space removal 2020-04-15 11:19:32 +02:00
Tomas Kopecek
1a9129c5e3 PR#2057: update docs on httpd configuration
Merges #2057
https://pagure.io/koji/pull-request/2057

Fixes: #1878
https://pagure.io/koji/issue/1878
"SSLVerifyClient require" breaks kojiweb (was: Is Kerberos required by kojiweb?)
2020-04-14 09:13:07 +02:00
Mike McLean
b5f1737ccb Make the docs more in line with our example configs 2020-04-14 09:12:59 +02:00
Tomas Kopecek
672e367263 update docs on httpd configuration
Fixes: https://pagure.io/koji/issue/1878
2020-04-14 09:12:59 +02:00
Tomas Kopecek
207b9a0961 PR#1385: Add --no-delete option to clone-tag
Merges #1385
https://pagure.io/koji/pull-request/1385

Fixes: #1384
https://pagure.io/koji/issue/1384
[RFE] Add --no-delete option to clone-tag
2020-04-14 09:09:57 +02:00
Mike McLean
0790f98468 clone-tag: avoid marking and then unmarking for deletion
Between this and the last change, the filtering of bdellist is no longer needed
2020-04-14 09:09:49 +02:00
Mike McLean
9446861752 clone-tag: force extra builds last if not removing them 2020-04-14 09:09:49 +02:00
Mike McLean
6ad343db01 comments 2020-04-14 09:09:49 +02:00
Tomas Kopecek
a85f51db3a fix tests 2020-04-14 09:09:49 +02:00
Tomas Kopecek
b8d56fa920 fix ordering for retagged builds 2020-04-14 09:09:49 +02:00
Tomas Kopecek
af14fc4a69 overtag existing builds 2020-04-14 09:09:49 +02:00
Tomas Kopecek
bd9ce26461 clone-tag --no-delete mode
Fixes: https://pagure.io/koji/issue/1384
2020-04-14 09:09:49 +02:00
Tomas Kopecek
641011760d PR#2054: editSideTag API call
Merges #2054
https://pagure.io/koji/pull-request/2054

Fixes: #1998
https://pagure.io/koji/issue/1998
un/block packages in sidetags
2020-04-08 13:00:15 +02:00
Tomas Kopecek
b0ef16f293 rebase fixes 2020-04-08 12:55:33 +02:00
Tomas Kopecek
40c02699a6 fixes 2020-04-08 12:48:51 +02:00
Tomas Kopecek
fa4a4a6339 edit rpm macros 2020-04-08 12:48:51 +02:00
Tomas Kopecek
f603231450 simplify checks 2020-04-08 12:48:51 +02:00
Tomas Kopecek
39d45e550f add is_sidetag policy test 2020-04-08 12:48:51 +02:00
Tomas Kopecek
4b5a16008d revert main hub changes 2020-04-08 12:48:51 +02:00
Tomas Kopecek
5668436073 introduce is_sidetag_owner policy 2020-04-08 12:48:14 +02:00