Tomas Kopecek
220eca4319
display merge mode for external repos
...
Fixes: https://pagure.io/koji/issue/2096
2020-04-01 12:58:41 +02:00
Tomas Kopecek
291f04301b
download_archive / download_rpm methods for CLI
...
Fixes: https://pagure.io/koji/issue/1880
2020-03-25 14:03:47 +01:00
Frank Ch. Eigler
18d7fc8f82
Range: header: use old school fmt % operator
...
This should be more compatible with old pythons.
2020-03-25 14:03:47 +01:00
Frank Ch. Eigler
41b0f6d86e
issues/1880: send Range: header to accelerate duplicate/partial downloads
2020-03-25 14:03:47 +01:00
Tomas Kopecek
5eafede60b
add-host work even if host already tried to log in
...
Fixes: https://pagure.io/koji/issue/1874
2020-03-25 13:51:36 +01:00
Yuming Zhu
bc4beeae0b
cli: extend edit-external-repo to support change of priority and merge mode
2020-03-25 13:39:30 +01:00
Tomas Kopecek
718321298e
allow to skip SRPM rebuild for scratch builds
...
Fixes: https://pagure.io/koji/issue/1719
2020-03-19 15:40:55 +01:00
Tomas Kopecek
9207a8e2af
trivial flake8 warning fix
2020-03-10 12:19:45 +01:00
Tomas Kopecek
bb9c72092b
use only gssapi_login in CLI
...
Fixes: https://pagure.io/koji/issue/1906
2020-03-09 15:13:36 +01:00
Tomas Kopecek
f05427e89d
Add detail about known koji signatures to buildinfo
...
Fixes: https://pagure.io/koji/issue/1980
2020-03-09 15:11:41 +01: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
fa69c4904e
flake8: apply E70x 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
Yu Ming Zhu
49504073b1
refine import style
2020-03-03 21:35:08 +08:00
Yuming Zhu
97cfaa4fcf
flake8: follow E265 rule
2020-03-03 21:35:08 +08:00
Yuming Zhu
642508ccf6
flake8: follow all F rules
2020-03-03 21:35:08 +08:00
Christopher O'Brien
ff1996564c
Disable notifications from clone-tag by default
...
The tagBuildBypass and untagBuildBypass invocations in the clone-tag
CLI were not setting the notify option, leaving it at the default of
True. This means in some cases many hundreds of notification events
would be triggered from a clone-tag call.
Change the default behavior of clone-tag to explicitly disable
notifications
Add a new --notify option to clone-tag to re-enable notifications for
tagging and untagging of builds.
Fixes : #1890
2020-03-03 14:13:48 +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
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