Tomas Kopecek
64a0033150
fix additional flake8 problems
2020-05-13 09:56:36 +02:00
Tomas Kopecek
1ac3ae1fd1
PR#2233: fix flake8 errors
...
Merges #2233
https://pagure.io/koji/pull-request/2233
2020-05-12 15:38:43 +02:00
Tomas Kopecek
64640e4328
fix flake8 errors
2020-05-12 15:37:26 +02:00
Tomas Kopecek
8f2d02c346
PR#2151: koji-gc: support request_kerberos
...
Merges #2151
https://pagure.io/koji/pull-request/2151
Fixes : #2143
https://pagure.io/koji/issue/2143
koji-gc does not support requests-kerberos
2020-05-12 15:28:22 +02:00
Tomas Kopecek
bd59d3f985
replace krb_login with gssapi_login
2020-05-12 15:28:15 +02:00
Tomas Kopecek
b1eac8a903
koji-gc: support request_kerberos
...
Fixes: https://pagure.io/koji/issue/2143
2020-05-12 15:28:15 +02:00
Tomas Kopecek
fe736a7ddb
PR#2211: koji-gc: test existence of trashcan tag
...
Merges #2211
https://pagure.io/koji/pull-request/2211
Fixes : #2190
https://pagure.io/koji/issue/2190
koji-gc: check existence of trashcan during startup
2020-05-12 15:27:09 +02:00
Tomas Kopecek
919d189c2e
koji-gc: test existence of trashcan tag
...
Fixes: https://pagure.io/koji/issue/2190
2020-05-12 15:27:02 +02:00
Tomas Kopecek
c818da85b8
PR#2132: listSideTags returns also user info
...
Merges #2132
https://pagure.io/koji/pull-request/2132
Fixes : #2131
https://pagure.io/koji/issue/2131
Provide owner name in listSideTags API call
2020-05-06 14:55:40 +02:00
Tomas Kopecek
51fe882951
listSideTags returns also user info
...
Fixes: https://pagure.io/koji/issue/2131
2020-05-06 14:55:31 +02:00
Tomas Kopecek
1d5b4e32d8
PR#2187: koji-sweep-db: use "Type=oneshot" for systemd
...
Merges #2187
https://pagure.io/koji/pull-request/2187
Fixes #2191
https://pagure.io/koji/issue/2191
2020-05-05 11:08:18 +02:00
Ken Dreyer
819db9b642
koji-sweep-db: use "Type=oneshot" for systemd
...
"oneshot" is the appropriate choice for periodic cleanup scripts.
2020-05-05 11:08:11 +02:00
Tomas Kopecek
2012b1c734
PR#2213: Correct docstring about deleting inheritance rules
...
Merges #2213
https://pagure.io/koji/pull-request/2213
2020-05-05 10:45:35 +02:00
Carl George
7382eabe43
Correct docstring about deleting inheritance rules
...
The docstring for the setInheritanceData method states that a special
"remove link" key set to True will remove an inheritance rule. The
_writeInheritanceData function actually looks for a "delete link" key.
The commit updates the docstring to reflect reality.
2020-05-04 23:52:18 -05:00
Tomas Kopecek
53c9fa3709
PR#2209: koji-utils: only requires /usr/bin/python2 on rhel<=7
...
Merges #2209
https://pagure.io/koji/pull-request/2209
Fixes : #2208
https://pagure.io/koji/issue/2208
koji-utils requires /usr/bin/python3 on rhel7
2020-04-29 14:26:04 +02:00
Yu Ming Zhu
c60080fb79
koji-utils: only requires /usr/bin/python2 on rhel<=7
...
fixes : #2208
2020-04-29 14:25:52 +02:00
Tomas Kopecek
0e54195c9a
PR#2205: doc: fix koji-sweep-db filename typo
...
Merges #2205
https://pagure.io/koji/pull-request/2205
2020-04-29 10:15:52 +02:00
Ken Dreyer
9bdb0687d4
doc: fix koji-sweep-db filename typo
...
"sweepd" -> "sweep"
2020-04-29 10:15:44 +02:00
Tomas Kopecek
5c8075bc3a
PR#2206: doc: indent SQL query for user ID discovery
...
Merges #2206
https://pagure.io/koji/pull-request/2206
2020-04-29 10:14:44 +02:00
Ken Dreyer
aa17d743bc
doc: indent SQL query for user ID discovery
...
Prior to this change, Sphinx rendered the SQL query outside of the
"Note" box.
Indent the query further so that Sphinx renders it inside the "Note"
border.
2020-04-29 10:14:37 +02:00
Tomas Kopecek
f4b05ab953
PR#2207: cli: improve grant-permission --new --help message
...
Merges #2207
https://pagure.io/koji/pull-request/2207
2020-04-29 10:13:51 +02:00
Ken Dreyer
235018eca6
cli: improve grant-permission --new --help message
...
The --new option only creates a new permission if the permission does
not already exist. Update the --help message to indicate this.
2020-04-29 10:13:44 +02:00
Tomas Kopecek
9b67c6c892
PR#2203: hub: admin can't force tag now
...
Merges #2203
https://pagure.io/koji/pull-request/2203
Fixes : #2202
https://pagure.io/koji/issue/2202
Admin can't force tag now
2020-04-29 10:09:04 +02:00
Tomas Kopecek
9c7b4b91b1
don't traceback on missing user
2020-04-29 10:08:52 +02:00
Tomas Kopecek
913bc4026b
hub: admin can't force tag now
...
Fixes: https://pagure.io/koji/issue/2202
2020-04-29 10:08:52 +02:00
Tomas Kopecek
ebf9255c2a
PR#2194: remove obsoleted note
...
Merges #2194
https://pagure.io/koji/pull-request/2194
Fixes : #2170
https://pagure.io/koji/issue/2170
admins should not restart kojira after creating each new tag
2020-04-28 09:37:12 +02:00
Tomas Kopecek
9f6e273774
docs: remove obsoleted recommendation to restart kojira
...
Fixes: https://pagure.io/koji/issue/2170
2020-04-28 09:35:25 +02:00
Tomas Kopecek
65d26d0e91
PR#2158: hub: document addExternalRepoToTag arguments
...
Merges #2158
https://pagure.io/koji/pull-request/2158
Fixes #2164
https://pagure.io/koji/issue/2164
2020-04-27 15:17:52 +02:00
Ken Dreyer
0049e8604f
hub: document addExternalRepoToTag arguments
...
Describe the types of each argument to the addExternalRepoToTag() method.
2020-04-27 15:17:44 +02:00
Tomas Kopecek
62fea17e10
PR#2172: hub: document createUser arguments
...
Merges #2172
https://pagure.io/koji/pull-request/2172
2020-04-27 10:00:14 +02:00
Ken Dreyer
a14a21b2c2
hub: document createUser arguments
...
Describe the types of each argument to the createUser() method.
2020-04-23 17:33:51 -06:00
Tomas Kopecek
d95eab0e92
PR#2180: cli: fix "list-history --help" text for "--cg"
...
Merges #2180
https://pagure.io/koji/pull-request/2180
2020-04-23 09:23:54 +02:00
Ken Dreyer
7faa36f523
cli: fix "list-history --help" text for "--cg"
...
Fix a bad copy-and-paste in the --help text for the "koji list-history"
command.
2020-04-22 13:29:31 -06:00
Tomas Kopecek
6a07c50356
PR#2044: Unify error messages in CLI
...
Merges #2044
https://pagure.io/koji/pull-request/2044
Fixes : #2043
https://pagure.io/koji/issue/2043
Unify error messages in CLI - next round
2020-04-22 14:54:18 +02:00
Tomas Kopecek
04f6ba886e
fix tests
2020-04-22 14:54:10 +02:00
Tomas Kopecek
f873934473
replace print + return 1 with error()
2020-04-22 14:54:10 +02:00
Tomas Kopecek
58ef1338a8
fix flake8
2020-04-22 14:52:37 +02:00
Tomas Kopecek
fd9243ec87
PR#2024: queue log file for kojira
...
Merges #2024
https://pagure.io/koji/pull-request/2024
Fixes : #2023
https://pagure.io/koji/issue/2023
Display queue state in kojira
2020-04-22 13:54:39 +02:00
Tomas Kopecek
b4c1169da8
kojira: queue_file docs
2020-04-22 13:53:47 +02:00
Tomas Kopecek
539e024257
kojira: queue status file
...
Fixes: https://pagure.io/koji/issue/2023
2020-04-22 13:53:08 +02:00
Tomas Kopecek
b3feacaffe
PR#2136: replace logging.warn with warning
...
Merges #2136
https://pagure.io/koji/pull-request/2136
Fixes : #2135
https://pagure.io/koji/issue/2135
logging.warn is deprecated in 3.7
2020-04-22 13:50:44 +02:00
Tomas Kopecek
0132313f92
replace logging.warn with warning
...
call is deprected in python 3.7
Fixes: https://pagure.io/koji/issue/2135
2020-04-22 13:47:15 +02:00
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