Commit graph

5051 commits

Author SHA1 Message Date
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
Tomas Kopecek
a143c440dd remove un/block part 2020-04-08 12:48:14 +02:00
Tomas Kopecek
76352587fa editSideTag API call
New API call for editing basic info on sidetags. Needs to be applied
with proper policies.

Fixes: https://pagure.io/koji/issue/1998
2020-04-08 12:48:14 +02:00
Tomas Kopecek
164e4bfb6e PR#2081: new policy for dist-repo
Merges #2081
https://pagure.io/koji/pull-request/2081

Fixes: #1660
https://pagure.io/koji/issue/1660
Add dist-repo to hub policy
2020-04-07 12:28:08 +02:00
Tomas Kopecek
7970e78092 drop "keys" field 2020-04-07 12:27:56 +02:00
Tomas Kopecek
09da0aa1e4 fix typo 2020-04-07 12:27:56 +02:00
Tomas Kopecek
9ef57c0f82 new policy for dist-repo
Fixes: https://pagure.io/koji/issue/1660
2020-04-07 12:27:56 +02:00
Tomas Kopecek
a1973870c9 PR#2129: hub: document deleteExternalRepo arguments
Merges #2129
https://pagure.io/koji/pull-request/2129

Fixes 2134
https://pagure.io/koji/issue/2134
2020-04-06 09:28:10 +02:00
Ken Dreyer
beb7efc0e3 hub: document deleteExternalRepo arguments
Describe the type of the "info" argument to the delete_external_repo(),
and explain the GenericError when the repository does not exist.
2020-04-06 09:28:04 +02:00
Tomas Kopecek
5af4cdf297 PR#2128: hub: document getExternalRepo arguments
Merges #2128
https://pagure.io/koji/pull-request/2128

Relates #2134
https://pagure.io/koji/issue/2134
2020-04-06 09:27:14 +02:00
Ken Dreyer
9247422258 hub: document getExternalRepo arguments
Describe the types of each argument to the get_external_repo() method.
2020-04-06 09:27:09 +02:00
Tomas Kopecek
ffe41f267a PR#2127: fix sanity check in merge_scratch
Merges #2127
https://pagure.io/koji/pull-request/2127

Fixes: #2126
https://pagure.io/koji/issue/2126
mergeScratch API does not accept scratch build
2020-04-06 09:07:30 +02:00
Mike McLean
ab2445f1fa fix sanity check in merge_scratch
Fixes https://pagure.io/koji/issue/2126

Follow up to #2058
https://pagure.io/koji/pull-request/2058
2020-04-06 09:07:23 +02:00
Tomas Kopecek
61ecc225b4 PR#2125: Set default keytab for kojira
Merges #2125
https://pagure.io/koji/pull-request/2125

Fixes #2133
https://pagure.io/koji/issue/2133
2020-04-06 09:05:04 +02:00
Igor Raits
f232e49194
Set default keytab for kojira
kojid and other services koji provide have default keytab, there is no
reason why kojira should not have this.

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-03 18:00:16 +02:00
Tomas Kopecek
ae05aa7654 PR#2071: Better help for build/latest-build
Merges #2071
https://pagure.io/koji/pull-request/2071

Fixes: #1808
https://pagure.io/koji/issue/1808
 cli: Print a warning in latest-build if the tag is not a buildroot
2020-04-02 10:55:37 +02:00
Mike McLean
067d30080e more grammar changes 2020-04-02 10:55:30 +02:00
Tomas Kopecek
21b461ec25 fix test 2020-04-02 10:55:30 +02:00
Tomas Kopecek
b176902013 fix grammar 2020-04-02 10:55:30 +02:00
Tomas Kopecek
4bf09bd398 Better help for build/latest-build
People can be confused by buildtag/desttag/target. Shed some light in
these commands' helps.

Fixes: https://pagure.io/koji/issue/1808
2020-04-02 10:55:30 +02:00
Tomas Kopecek
9639f78ca7 PR#516: kojira monitors external repos changes
Merges #516
https://pagure.io/koji/pull-request/516

Fixes: #512
https://pagure.io/koji/issue/512
RFE: kojira: monitor external repos
2020-04-02 10:45:40 +02:00
Tomas Kopecek
713e657555 remove incomprehensible check 2020-04-02 10:35:16 +02:00
Tomas Kopecek
751862f1b1 kojira monitors external repos changes
Fixes: https://pagure.io/koji/issue/512
2020-04-02 10:35:16 +02:00
Tomas Kopecek
29f3cb8930 PR#2121: kojira: be tolerant of old with_src configuration option
Merges #2121
https://pagure.io/koji/pull-request/2121

Fixes: #2120
https://pagure.io/koji/issue/2120
kojira fails to start with old config
2020-04-02 10:31:51 +02:00
Mike McLean
208ec10f92 kojira: be tolerant of old with_src configuration option
Fixes https://pagure.io/koji/issue/2120
2020-04-02 10:31:41 +02:00
Tomas Kopecek
cb3e530834 PR#2105: always set utf8 pg client encoding
Merges #2105
https://pagure.io/koji/pull-request/2105

Fixes: #2104
https://pagure.io/koji/issue/2104
createUser returns an error if username contains unicode characters
2020-04-01 16:19:11 +02:00
Tomas Kopecek
f2a57c8485 always set utf8 pg client encoding
Related: https://pagure.io/koji/issue/2104
2020-04-01 16:19:03 +02:00
Tomas Kopecek
d5dab2c660 PR#2106: kojira: Allow using Kerberos without krbV
Merges #2106
https://pagure.io/koji/pull-request/2106

Fixes #2114
https://pagure.io/koji/issue/2114
2020-04-01 15:02:26 +02:00
Igor Raits
e46fffe26b kojira: Allow using Kerberos without krbV
"Error: Unknown login error" message is very misleading because no
authentication is being performed when krbV is not installed.

Quit with error message if no authentication has been performed and also
update such error message in kojid to mentioned cert auth.

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-04-01 15:02:18 +02:00
Tomas Kopecek
88f692d45d PR#2088: fix missing /lib/ in hub-plugins path
Merges #2088
https://pagure.io/koji/pull-request/2088

Fixes #2092
https://pagure.io/koji/issue/2092
2020-04-01 13:00:13 +02:00
Nils Philippsen
cc2802a411 fix missing /lib/ in hub-plugins path 2020-04-01 13:00:06 +02:00
Tomas Kopecek
6a3437ebbd PR#2097: display merge mode for external repos
Merges #2097
https://pagure.io/koji/pull-request/2097

Fixes: #2096
https://pagure.io/koji/issue/2096
Display repo merge mode in taginfo
2020-04-01 12:58:49 +02:00
Tomas Kopecek
220eca4319 display merge mode for external repos
Fixes: https://pagure.io/koji/issue/2096
2020-04-01 12:58:41 +02:00
Tomas Kopecek
7e169c81ee PR#2098: move admin force usage to assert_policy
Merges #2098
https://pagure.io/koji/pull-request/2098

Fixes: #1930
https://pagure.io/koji/issue/1930
Log when policy is overridden due to --force
2020-04-01 12:55:46 +02:00
Tomas Kopecek
e8ba56349e add refusal reason to log 2020-04-01 12:55:38 +02:00
Tomas Kopecek
f55c9e4d25 move admin force usage to assert_policy
Fixes: https://pagure.io/koji/issue/1930
2020-04-01 12:55:38 +02:00
Tomas Kopecek
ee615ed0e7 PR#1990: allow debuginfo for sidetag repos
Merges #1990
https://pagure.io/koji/pull-request/1990

Fixes: #540
https://pagure.io/koji/issue/540
Generate debuginfo repositories for build roots
2020-03-31 13:49:47 +02:00
Tomas Kopecek
625c8c5b57 fix typo 2020-03-31 13:49:35 +02:00
Tomas Kopecek
2a621b337c allow debuginfo for sidetag repos
Fixes: https://pagure.io/koji/issue/540
2020-03-31 13:49:35 +02:00
Tomas Kopecek
b972b572a0 PR#2082: delete oldest failed buildroot, when there is no space
Merges #2082
https://pagure.io/koji/pull-request/2082

Fixes: #1913
https://pagure.io/koji/issue/1913
Improve failed buildroot retention policy
2020-03-30 16:48:49 +02:00