Ken Dreyer
25d7970c54
koji-gc: add systemd unit files
2020-05-13 13:45:30 +02:00
Tomas Kopecek
1bf711347f
kojira: use cached getTag for external repos
...
Fixes: https://pagure.io/koji/issue/2156
2020-05-13 12:51:31 +02:00
Tomas Kopecek
c636f56526
update comments
2020-05-13 10:45:37 +02:00
Tomas Kopecek
0e5b54f32d
cli: deprecate --ca
...
Fixes: https://pagure.io/koji/issue/2182
2020-05-13 10:45:37 +02:00
Tomas Kopecek
64640e4328
fix flake8 errors
2020-05-12 15:37:26 +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
919d189c2e
koji-gc: test existence of trashcan tag
...
Fixes: https://pagure.io/koji/issue/2190
2020-05-12 15:27:02 +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
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
58ef1338a8
fix flake8
2020-04-22 14:52:37 +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
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
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
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
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
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
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
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
c899049fac
reverse score ordering for tags
...
Fixes: https://pagure.io/koji/issue/2021
2020-03-26 14:26:42 +01:00
Tomas Kopecek
02a630ec3a
fix table name
...
Fixes: https://pagure.io/koji/issue/2055
2020-03-26 14:25:46 +01:00
Yuming Zhu
20ee6081e0
flake8: apply rules for koji-sidetag-cleanup
2020-03-03 21:38:22 +08:00
Yuming Zhu
d21083a11b
still use BaseException for logging purpose
2020-03-03 21:38:22 +08:00
Yuming Zhu
cf34706f04
use Exception instead of BaseException for bare expection
2020-03-03 21:38:22 +08:00
Yuming Zhu
2a2c5cb729
flake8: apply W rules (prefering W503)
2020-03-03 21:38:22 +08:00
Yuming Zhu
c5db34a8e1
flake8: apply E501 with max-line-length=99
2020-03-03 21:38:22 +08:00
Yuming Zhu
f1ba6cefd7
flake8: apply all rest E7 rules
2020-03-03 21:38:22 +08:00
Yuming Zhu
6ed30954b2
flake8: apply E71x rule
2020-03-03 21:38:22 +08:00
Yuming Zhu
6dd77e0fa4
flake8: apply E502 rule
2020-03-03 21:38:22 +08:00
Yuming Zhu
0f727a2ab4
flake8: apply E3 rules
2020-03-03 21:38:22 +08:00
Yuming Zhu
05340b146b
flake8: apply E2 rules except E266
2020-03-03 21:38:21 +08:00
Yuming Zhu
ce1f9928af
flake8: apply E1 rules
2020-03-03 21:38:21 +08:00
Yuming Zhu
450f9249cd
flake8: apply E265 for util/koji-*
2020-03-03 21:35:08 +08:00
Yuming Zhu
0a0ee577ec
flake8: apply F rules for koji-shadow
2020-03-03 21:35:08 +08:00
Yuming Zhu
a0a9dd74ca
flake8: util/koji-* were ignored
2020-03-03 21:35:08 +08:00
Yuming Zhu
97cfaa4fcf
flake8: follow E265 rule
2020-03-03 21:35:08 +08:00
Tomas Kopecek
1cfe6e50e4
add missing koji-sidetag-cleanup script
...
Fixes: https://pagure.io/koji/issue/2005
2020-03-02 14:27:15 +01:00
Tomas Kopecek
638f6cc6f2
replace xmlrpc_client exception with requests
...
It is broken in startup function for kojid and kojivmd from the
introduction of requests.
Fixes: https://pagure.io/koji/issue/1914
2020-02-21 12:40:42 +01:00
Tomas Kopecek
d670fcf1ec
more detailed help message
2020-02-12 14:41:31 +01:00
Tomas Kopecek
610ecdd199
default value for --lock-file option
2020-02-12 14:41:31 +01:00
Tomas Kopecek
608441aa5f
add file-locking to koji-gc
...
Fixes: https://pagure.io/koji/issue/1332
2020-02-12 14:41:31 +01:00
Atanas Zhelev
1ad35ce521
Add smtp authentication support to koji-gc
2020-02-12 14:39:00 +01:00
Brendan Reilly
74e085572e
Deprecating list-tag-history and tagHistory
2020-02-10 15:50:30 +01:00
Tomas Kopecek
4e404fcc7c
analyze/vacuum all affected tables
...
Fixes: https://pagure.io/koji/issue/1941
2020-02-04 10:30:17 +01:00
Tomas Kopecek
77933e9e20
remove unused option --with-src in kojira
...
Fixes: https://pagure.io/koji/issue/1933
2020-01-23 16:32:23 +01:00
Yuming Zhu
89f1b67e55
koji-gc: fix nvr refs
2020-01-16 14:48:33 +01:00
Tomas Kopecek
92a8fdfe95
use more multicalls in koji-gc
...
Fixes: https://pagure.io/koji/issue/1697
2020-01-02 11:23:36 +01:00
Tomas Kopecek
b09fd01677
additional options to clean database
...
Fixes: https://pagure.io/koji/issue/1707
2019-12-19 13:55:06 +01:00