Commit graph

235 commits

Author SHA1 Message Date
Tomas Kopecek
ba908fd2de report versions of components
Fixes: https://pagure.io/koji/issue/2430
2020-09-30 10:43:19 +02:00
Tomas Kopecek
08494de774 block inherited extra tag info
Fixes: https://pagure.io/koji/issue/2283
2020-09-28 11:03:43 +02:00
Tomas Kopecek
c1cd6a6327 cli: list-tag-inheritance - description of flags
Fixes: https://pagure.io/koji/issue/2296
2020-09-23 13:59:28 +02:00
Jana Cupova
f62c0d0080 prune-signed-copies fix help message
Fixes: https://pagure.io/koji/issue/2488
2020-09-22 10:18:55 +02:00
Tomas Kopecek
df8ce93699 fix test 2020-09-09 14:02:42 +02:00
Tomas Kopecek
e407957c0a cli: clone-tag fails on failed multicalls
Fixes: https://pagure.io/koji/issue/2010
2020-09-09 14:00:51 +02:00
Tomas Kopecek
aa16b5ccea cli: don't require --config in clone-tag
Fixes: https://pagure.io/koji/issue/2012
2020-09-08 11:00:38 +02:00
Tomas Kopecek
0eec5acd34 lowercase sigkeys during import/query where needed
Fixes: https://pagure.io/koji/issue/2434
2020-09-01 14:06:06 +02:00
Tomas Kopecek
69d81e3c2d fix flake8 2020-08-27 13:48:32 +02:00
Mike McLean
a1593f5243 cli: add --task and --source options to list-builds command
Fixes https://pagure.io/koji/issue/2356

The api already accepted these parameters. This just provides access to use them
via the command line.
2020-08-27 13:48:32 +02:00
Tomas Kopecek
4240e269bc fix create_ts for repos 2020-08-26 09:26:00 +02:00
Tomas Kopecek
7855b98ca2 formatTime/Long can handle timestamp
Also replaced *_time with *_ts wherever possible.
2020-08-26 09:26:00 +02:00
Tomas Kopecek
bcdf0165c9 remove deprecated list-tag-history / tagHistory
Fixes: https://pagure.io/koji/issue/2215
2020-08-18 16:31:21 +02:00
Mike McLean
7beeb838b1 for editTag2, perm option is preferred over perm_id alias
Versions 1.21 and 1.22 of kojihub will throw an error if perm_id=None is given
For details see: https://pagure.io/koji/issue/2375
2020-07-29 15:47:02 +02:00
Mike McLean
9ada058abc whitespace to make flake8 happy 2020-07-22 10:17:37 -04:00
Mike McLean
a15d1c521d cli: list-tags: fall back to old behavior on ParameterError
Fixes https://pagure.io/koji/issue/2379
2020-07-22 10:17:37 -04:00
Yuming Zhu
45a4867e67 cli clone-tag - get srctag info with event
So that tag config and extra honor `event` for clone-tag cmd

fixes: #2101
2020-07-15 11:44:02 -04:00
Tomas Kopecek
d47a45f576 cli: fix image-build-indirection --wait
Fixes: https://pagure.io/koji/issue/2046
2020-07-15 11:17:43 -04:00
Tomas Kopecek
1cbc9340db cli: --wait for download-task
If task is not finished yet, wait for it and download output then.

Fixes: https://pagure.io/koji/issue/2052
2020-07-02 14:23:42 +02:00
Tomas Kopecek
03b55bf39e hub: allow glob matching for listTags
server-side filtering would be better than CLI/client side filtering.

Fixes: https://pagure.io/koji/issue/2086
2020-06-30 14:20:32 +02:00
Yu Ming Zhu
a893e8bf2b a wrapper ignoring FIPS for hashlib.md5 2020-06-24 14:42:00 +02:00
Tomas Kopecek
5b94c9eb01 hide local --debug options
Fixes: https://pagure.io/koji/issue/2084
2020-06-24 10:53:38 +02:00
Tomas Kopecek
ac38549992 make mock depsolver policy configurable
Fixes: https://pagure.io/koji/issue/826
2020-06-23 09:02:15 +02:00
Tomas Kopecek
2bb460bc23 cli: output extra['rpm.macro.*'] to mock-config
Fixes: https://pagure.io/koji/issue/1859
2020-06-16 10:13:12 +02:00
Tomas Kopecek
1169f4be83 fix option name 2020-06-09 14:38:23 +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
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
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
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
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