Commit graph

13 commits

Author SHA1 Message Date
Yu Ming Zhu
f41b8c70a7 Bandit [B411]: use defusedxml to prevent remote XML attacks
- putting xmlrpc stuff into koji.xmlrpcplus
- adding koji.xmlrpcplus.xmlrpc_server to refer
- replacing refs of original xmlrpc.client.dumps to enhanced
  koji.xmlrpcplus.dumps

fixes: #3964
2024-02-02 09:08:18 +01:00
Tomas Kopecek
2d132aebc2 missing option action 2022-05-18 14:56:27 +02:00
Tomas Kopecek
93f0f91f97 koji-sidetag-cleanup: delete inactive tags
Sidetags which don't have any activity (un/tagging builds) are not worth
of existence. They just trigger unnecessary repo regenerations. It
should be safe to delete them e.g. after one month. It is an additional
check compared to --old-delay and --empty-delay. These can hit the
middle ground between these two limits (empty shortest, inactive middle,
old longest).

Related: https://pagure.io/koji/issue/3293
2022-05-18 14:55:23 +02:00
Tomas Kopecek
2af7e756dd fix mode 2022-05-16 10:54:03 +02:00
Jana Cupova
9bfefe782e Hub, plugins and tools inputs validation
Fixes: https://pagure.io/koji/issue/3319
2022-05-02 06:55:44 +02:00
Jana Cupova
32b5377392 Remove translation stub functions
Fixes: https://pagure.io/koji/issue/3072
2021-10-21 13:25:16 +02:00
Tomas Kopecek
e711e7dbe5 utils in py3 2020-10-06 15:00:23 +02:00
Tomas Kopecek
d75a3f3b52 remove remaining options 2020-07-24 15:08:47 -04:00
Tomas Kopecek
f8419e3626 remove deprecated krbV support
Fixes: https://pagure.io/koji/issue/1991
2020-07-24 15:08:47 -04:00
Kevin Fenzi
fa8ac96d54 clean_old option was duplicated on clean_empty
The --no-old option wouldn't work because the check was checking for
--no-empty, and --no-empty was disabling both checks. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-23 12:32:51 +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
Yuming Zhu
20ee6081e0 flake8: apply rules for koji-sidetag-cleanup 2020-03-03 21:38:22 +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