Commit graph

728 commits

Author SHA1 Message Date
Brendan Reilly
74e085572e Deprecating list-tag-history and tagHistory 2020-02-10 15:50:30 +01:00
Tomas Kopecek
4edb9b15c2 don't user full listTags in list-groups call
Fixes: https://pagure.io/koji/issue/1954
2020-02-10 15:35:48 +01:00
Tomas Kopecek
4e28eda265 fix usage message for add-pkg
Fixes: https://pagure.io/koji/issue/1212
2020-02-04 10:33:34 +01:00
Tomas Kopecek
396555f606 fix flags display for list-tag-inheritance
Fixes: https://pagure.io/koji/issue/1928
2020-02-04 09:21:43 +01:00
Tomas Kopecek
72811e5fd1 don't allow setTaskPriority on closed task
Fixes: https://pagure.io/koji/issue/1153
2020-02-04 09:18:31 +01:00
Tomas Kopecek
c1d80310c9 print warn to stderr instead of stdout
Fixes: https://pagure.io/koji/issue/1152
2020-02-04 09:17:39 +01:00
Tomas Kopecek
11aa2bcead fix help message for list-groups
Fixes: https://pagure.io/koji/issue/1189
2020-02-04 09:15:28 +01:00
Yu Ming Zhu
d78f686a52 cli: [list-signed] check rpm/build existance earlier 2020-01-23 16:28:41 +01:00
Yu Ming Zhu
477fb6927f cli: make list-signed accepting integer params
fixes: #1884
2020-01-23 16:28:41 +01:00
Ken Dreyer
0065b341b4 cli: add "--new" option in "grant-permission" help summary
Prior to this change, "koji grant-permission -h" showed the "--new"
option at the bottom of the output, but not in the summary. This made it
easy to visually skip over this option.

Update the help text example so users can quickly understand how to use
the --new option.
2020-01-06 15:26:14 -07:00
Tomas Kopecek
ac42f9b8ba basic zchunk support for dist-repo
Fixes: https://pagure.io/koji/issue/1198
2020-01-02 11:30:55 +01:00
Tomas Kopecek
4d03794657 limit distRepo tasks per tag
Introduces 'distrepo.cancel_others` extra flag for tags. If enabled, new
distRepo task will cancel previous non-finished ones leaving only new
one.

Fixes: https://pagure.io/koji/issue/1630
2020-01-02 11:26:20 +01:00
Yu Ming Zhu
cb2480fd5b fix import of get_usage_str in commands.py 2019-12-12 11:12:11 +00:00
Yu Ming Zhu
5b83c682e4 remove unused imports 2019-12-12 11:00:58 +00:00
Yu Ming Zhu
8c21aa7e6d sort imports in cli 2019-12-12 11:00:57 +00:00
Tomas Kopecek
418376dc81 build can wait for actual repo
New options --wait-for-build and --wait-for-repo for build command are
simplification of using wait-repo + build command succession. They have
same semantices as the original one.

Fixes: https://pagure.io/koji/issue/1619
2019-12-12 15:29:27 +01:00
Tomas Kopecek
4ae799c93d browsable api
Fixes: https://pagure.io/koji/issue/1813
2019-12-11 13:26:25 +01:00
Tomas Kopecek
98ab70dcff fix permission check in CLI 2019-12-11 11:47:02 +01:00
Tomas Kopecek
502e7ed2ca fix tests 2019-12-11 11:47:02 +01:00
Tomas Kopecek
dd4a7edcfd get_usage_str 2019-12-11 11:47:01 +01:00
Tomas Kopecek
68637cbefb unify BNF options 2019-12-11 11:47:01 +01:00
Tomas Kopecek
b57238f1ce fix translation strings 2019-12-11 11:47:01 +01:00
Tomas Kopecek
94b5970ea6 remove asserts
they shouldn't be needed if parser.error is used everywhere
2019-12-11 11:47:01 +01:00
Tomas Kopecek
bf45d6927f unify return values for permission denied
Fixes: https://pagure.io/koji/issue/1776
2019-12-11 11:47:01 +01:00
Yuming Zhu
15f409c5fc list-pkgs: fix opts check
fixes: #1779
2019-12-03 09:40:19 +01:00
Yuming Zhu
7a6ebc851f improve test and clean targets in Makefiles 2019-11-27 15:42:30 +01:00
Tomas Kopecek
a3a172a16b rewrite list-untagged to use buildReferences 2019-11-26 12:26:29 +01:00
Tomas Kopecek
242fbd00af some list-pkgs options work only in combinations
Fixes: https://pagure.io/koji/issue/1779
2019-11-25 14:55:53 +01:00
Tomas Kopecek
98b83eff69 fix downloads w/o content-length
Fixes: https://pagure.io/koji/issue/982
2019-11-25 14:51:08 +01:00
Tomas Kopecek
7c510f7dcd clarify --ts usage
Fixes: https://pagure.io/koji/issue/1774
2019-11-25 11:45:57 +01:00
Yu Ming Zhu
5249df98c9 cli: refine output of list-signed 2019-11-22 08:27:46 +01:00
Mohan Boddu
5b3dbd4fd8 Remove title option for livemedia-creator
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2019-11-21 15:19:58 +01:00
Tomas Kopecek
93c4f49af9 --disabled alias for --not-enabled in list-hosts
Fixes: https://pagure.io/koji/issue/1737
2019-11-07 11:42:30 -05:00
Yu Ming Zhu
135ac0d6ae clean python compiled binaries for non *.py code
fixes: #1698
2019-10-31 13:20:53 +01:00
Christopher O'Brien
0e3e9380e9 check for tag or target permission in addition to admin for relevant CLI calls 2019-10-31 11:40:16 +01:00
Yu Ming Zhu
f66bb81a85 cli: fix typo in edit-user cmd
fixes: #862
2019-10-22 10:44:55 +00:00
Yu Ming Zhu
088767a58c cli: fix edit-user command for multiple kerberos support 2019-10-15 09:16:43 +02:00
Yuming Zhu
b2b8d5f9cc strict per item in config_files 2019-10-15 09:14:16 +02:00
Yu Ming Zhu
4c1928f377 extract read_config_files util for config parsing 2019-10-15 09:14:16 +02:00
Mike McLean
a6c5baa0eb move flags to front 2019-10-15 08:50:16 +02:00
Mike McLean
04bbfbf161 display flags in list-tag-inheritance 2019-10-15 08:50:16 +02:00
Mike McLean
d53fefa640 Split out inheritance flags formatting 2019-10-15 08:50:16 +02:00
Brendan Reilly
fda86ce710 Added editUser api call
Fixes: #862
2019-10-14 10:14:50 +02:00
Brendan Reilly
bc7250f312 Added CLI counterpart to groupListRemove
Fixes: #893
2019-10-11 15:54:08 -04:00
Yu Ming Zhu
2034695e88 add an option to set server realm for all clients 2019-10-10 16:37:56 +02:00
Yu Ming Zhu
831f0dfdaf cli: fix moshimoshi for krbLogin 2019-10-10 16:37:56 +02:00
Tomas Kopecek
b1db812e47 check options for list-signed
Fixes: https://pagure.io/koji/issue/1552
2019-10-10 11:45:24 +02:00
Yuming Zhu
90d3447e44 cli: [make-task] raise readable error when no args 2019-10-08 10:40:03 +02:00
Tomas Kopecek
0b4f0fb3a1 query builds per chunks in prune-signed-builds
For bigger installations query all builds can run out of memory on hub
side. Query these in 50k chunks.

Fixes: https://pagure.io/koji/issue/1587
2019-09-26 16:00:08 +02:00
Tomas Kopecek
3de3f61fbb move tag/package owners to separate table
Changing owner is triggering repo regeneration in kojira. As it is
something which doesn't have any effect on repodata, let's put it to
separate table and let kojira ignore these changes.

Fixes: https://pagure.io/koji/issue/956
2019-08-29 15:44:24 +02:00