Commit graph

5037 commits

Author SHA1 Message Date
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
Tomas Kopecek
f60fe79379 remove unneeded condition 2020-03-30 16:48:43 +02:00
Tomas Kopecek
79f6333629 delete main part of data 2020-03-30 16:48:43 +02:00
Tomas Kopecek
e3b7f326ef add real delete 2020-03-30 16:48:43 +02:00
Tomas Kopecek
98d25bf384 delete oldest failed buildroot, when there is no space
Fixes: https://pagure.io/koji/issue/1913
2020-03-30 16:48:43 +02:00
Tomas Kopecek
df4e5eb8e5 PR#2115: Correct json.dumps usage
Merges #2115
https://pagure.io/koji/pull-request/2115

Fixes: #2017
https://pagure.io/koji/issue/2017
protonmsg should send only basic info
2020-03-30 15:10:35 +02:00
Tomas Kopecek
475bf17f05 fix tests 2020-03-30 15:10:30 +02:00
Tomas Kopecek
f039220a9c better logging in protonmsg
Related: https://pagure.io/koji/issue/2017
2020-03-30 15:10:30 +02:00
Tomas Kopecek
dd9c929729 use correct json dump
Related: https://pagure.io/koji/issue/2017
2020-03-30 15:10:30 +02:00
Tomas Kopecek
c64ca5fbee PR#2113: don't break on invalid task
Merges #2113
https://pagure.io/koji/pull-request/2113

Fixes: #2112
https://pagure.io/koji/issue/2112
For invalid task, web doesn't work in some places
2020-03-30 15:09:25 +02:00
Tomas Kopecek
758f0a0311 don't break on invalid task
Fixes: https://pagure.io/koji/issue/2112
2020-03-30 15:03:34 +02:00
Tomas Kopecek
afc8217399 PR#2058: merge_scratch: Compare SCM URLs only if built from an SCM
Merges #2058
https://pagure.io/koji/pull-request/2058

Fixes: #1903
https://pagure.io/koji/issue/1903
 merge_scratch: Compare SCM URLs only if built from an SCM
2020-03-30 09:24:25 +02:00
Tomas Kopecek
357096bdf8 add param parsing also to base task 2020-03-30 09:23:07 +02:00
Tomas Kopecek
8529a1baa3 use library functions
Fixes: https://pagure.io/koji/issue/1903
2020-03-30 09:15:45 +02:00
Thomas Oulevey
076d54c029 Compare SCM URLs only if build from an SCM
This patch allow to merge source rpm not only build for SCMs.
2020-03-30 09:15:45 +02:00