Tomas Kopecek
9afe5e3866
fix flake8
2020-05-22 09:36:21 +02:00
Tomas Kopecek
637be55ef4
cli: drop unneeded activate_session
...
Fixes: https://pagure.io/koji/issue/2070
2020-05-22 09:36:21 +02:00
Tomas Kopecek
be57b32f42
cli: flush stdout during watch-logs
...
Fixes: https://pagure.io/koji/issue/2227
2020-05-20 10:42:49 +02:00
Tomas Kopecek
dac7bffcf5
cli: fix variable name
...
Fixes: https://pagure.io/koji/issue/2210
2020-05-18 11:39:38 +02:00
Tomas Kopecek
4c54ea5743
cli: extend docs for --before/--after options
...
Fixes: https://pagure.io/koji/issue/2077
2020-05-18 11:34:35 +02:00
Yu Ming Zhu
21ff8143c4
warning for both cli and config file option
2020-05-18 09:29:04 +02:00
Yu Ming Zhu
80cf5ac94a
deprecated warning for cli option --ca as well
...
fixes : #2182
2020-05-18 09:29:04 +02:00
Tomas Kopecek
47985f76ab
cli: fix un/lock-tag permission handling
...
Fixes: https://pagure.io/koji/issue/2216
2020-05-14 16:17:17 +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
64a0033150
fix additional flake8 problems
2020-05-13 09:56:36 +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
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
f873934473
replace print + return 1 with error()
2020-04-22 14:54:10 +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
eb7c33a170
fix list-signed --tag memory issues
...
Fixes: https://pagure.io/koji/issue/2102
2020-04-22 11:05:02 +02:00
Mike McLean
0790f98468
clone-tag: avoid marking and then unmarking for deletion
...
Between this and the last change, the filtering of bdellist is no longer needed
2020-04-14 09:09:49 +02:00
Mike McLean
9446861752
clone-tag: force extra builds last if not removing them
2020-04-14 09:09:49 +02:00
Mike McLean
6ad343db01
comments
2020-04-14 09:09:49 +02:00
Tomas Kopecek
b8d56fa920
fix ordering for retagged builds
2020-04-14 09:09:49 +02:00
Tomas Kopecek
af14fc4a69
overtag existing builds
2020-04-14 09:09:49 +02:00
Tomas Kopecek
bd9ce26461
clone-tag --no-delete mode
...
Fixes: https://pagure.io/koji/issue/1384
2020-04-14 09:09:49 +02:00
Mike McLean
067d30080e
more grammar changes
2020-04-02 10:55:30 +02:00
Tomas Kopecek
b176902013
fix grammar
2020-04-02 10:55:30 +02:00
Tomas Kopecek
4bf09bd398
Better help for build/latest-build
...
People can be confused by buildtag/desttag/target. Shed some light in
these commands' helps.
Fixes: https://pagure.io/koji/issue/1808
2020-04-02 10:55:30 +02:00
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