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
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