Commit graph

298 commits

Author SHA1 Message Date
Tomas Kopecek
4e6aca0bd0 exception-free watch_builds
Related: https://pagure.io/koji/issue/2981
2022-08-01 15:33:29 +02:00
Jana Cupova
44f5ebaabb Authtype as enum and getSessionInfo prints authtype name
Fixes: https://pagure.io/koji/issue/3436
2022-07-26 14:36:00 +02:00
Jana Cupova
8be1521a6d Fix download-task all files in build/buildArch method tasks 2022-07-01 09:50:01 +02:00
Jana Cupova
26cdb3a8af CLI: Remove --paths option from list-buildroot
Fixes: https://pagure.io/koji/issue/3106
2022-06-30 08:56:17 +02:00
Jana Cupova
52026bcfcb Remove deprecated remove-channel/removeChannel
Fixes: https://pagure.io/koji/issue/3356
2022-06-30 08:53:43 +02:00
Tomas Kopecek
165694004b server-side clonetag
Related: https://pagure.io/koji/issue/3307
2022-06-27 14:58:30 +02:00
Jana Cupova
fc49738843 CLI: list-channels with specific arch
Fixes: https://pagure.io/koji/issue/1877
2022-06-20 09:33:41 +02:00
Jana Cupova
681620c51d Download output for all type of task in download-task
Fixes: https://pagure.io/koji/issue/3182
2022-06-20 09:32:35 +02:00
Jana Cupova
952ddf4861 koji download-task retry download file
Fixes: https://pagure.io/koji/issue/3375
2022-06-14 15:39:37 +02:00
Jana Cupova
4acb8f7476 CLI: download-task prints "No files for download found." to stdout
Fixes: https://pagure.io/koji/issue/3400
2022-06-14 14:54:01 +02:00
Jana Cupova
3c84d99bf4 Add header separaton to list-hosts and list-channels
Fixes: https://pagure.io/koji/issue/3337
2022-05-11 09:56:48 +02:00
Tomas Kopecek
d8dbadede4 Fix list-permissions ordering and header
https://pagure.io/koji/issue/3335
2022-05-11 09:53:43 +02:00
Jana Cupova
75d545e740 Add extra param to listTagged*
Fixes: https://pagure.io/koji/issue/3110
2022-05-09 14:04:24 +02:00
Jana Cupova
6c8359fd44 Download-logs with nvr without task ID downloads a logs
Fixes: https://pagure.io/koji/issue/3232
2022-05-03 12:53:13 +02:00
Jana Cupova
83f17e2892 Skip activate_session when logged
Fixes: https://pagure.io/koji/issue/3253
2022-04-19 12:43:24 +02:00
Jana Cupova
a8f11fbf9c Increase CLI test cases 2022-03-21 14:42:08 +01:00
Jana Cupova
d561ded4fa allow untag-build for blocked packages
https://pagure.io/koji/issue/3134
2022-03-21 14:32:23 +01:00
Tomas Kopecek
3ee95baa5f mock.module_setup_commands tag extra option
Fixes: https://pagure.io/koji/issue/2483
2022-02-07 09:33:14 +01:00
Jana Cupova
4c50c5fe92 Increase CLI unit tests 2022-02-07 09:20:58 +01:00
Jana Cupova
1252129136 Add description for permissions
Fixes: https://pagure.io/koji/issue/335
2022-01-31 10:21:58 +01:00
Jana Cupova
18b136d386 Remove rename-channel CLI and use editChannel in renameChannel
Fixes: https://pagure.io/koji/issue/3035
2021-12-15 15:28:19 +01:00
Jana Cupova
c7fd26aeda Deprecated remove-channel CLI and removeChannel API
Fixes: https://pagure.io/koji/issue/1206
2021-12-15 15:26:11 +01:00
Jana Cupova
5232ea5aa1 error function instead of print with sys.exit in CLI commands
Fixes: https://pagure.io/koji/issue/3112
2021-12-15 15:19:18 +01:00
Jana Cupova
8d7b9508f1 Add unit test for get_options
Fixes: https://pagure.io/koji/issue/3181
2021-12-15 15:12:12 +01:00
Jana Cupova
f528fd9ca4 CLI mock-config: when topdir option, remove topurl value
Fixes: https://pagure.io/koji/issue/2675
2021-12-13 17:00:22 +01:00
Jana Cupova
54055c8ed0 Deprecated --paths option in list-buildroot
Fixes: https://pagure.io/koji/issue/2473
2021-12-13 16:34:53 +01:00
Jana Cupova
c310d6692d Pytest instead of nose in unittest
Fixes: https://pagure.io/koji/issue/3140
2021-12-06 12:17:29 +01:00
Jana Cupova
c3e89500f2 Add and upfate CLI unit tests
Fixes: https://pagure.io/koji/issue/729
2021-11-29 15:39:10 +01:00
Jana Cupova
4c68011596 Add option for UTC time in list-history
Fixes: https://pagure.io/koji/issue/1136
2021-10-25 15:17:28 +02:00
Tomas Kopecek
1925b0c7b8 fix tests 2021-10-21 12:58:29 +02:00
Jana Cupova
9b235763cd Add CLI unit tests 2021-10-18 13:01:54 +02:00
Jana Cupova
d3ef00fff4 Dist-repo with write-signed-rpm option
Fixes: https://pagure.io/koji/issue/2806
2021-10-18 13:00:11 +02:00
Tomas Kopecek
7ae27cc88a fix typo 2021-09-29 11:05:50 +02:00
Tomas Kopecek
a92a52473a tests: fix version test
Removed hard-coded version expectations.

Fixes: https://pagure.io/koji/issue/3053
2021-09-29 10:03:21 +02:00
Jana Cupova
3b8b231a07 Add unit tests notifications, list-channels 2021-09-20 13:26:21 +02:00
Patrick Uiterwijk
af25fc2e24 Support packages that are head-signed
This supports packages which do not have the RPMv3 signature scheme
(over the full RPM header+payload), but instead only have signatures
over the header (v4 scheme).
For the v4 scheme, the signature is only stored in SIGTAG_RSA (or
SIGTAG_DSA).

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2021-09-15 12:43:06 +02:00
Tomas Kopecek
5d86608931 Honour --force-auth for anonymous commands
Fixes: https://pagure.io/koji/issue/2657
2021-09-14 13:26:11 +02:00
Ken Dreyer
f6aeec9265 add warnings for remove-sig
Update all references to remove-sig to explain that admins should not
normally run this.
2021-09-10 11:13:39 -04:00
Jana Cupova
e48d813433 Add all types to docs latest-build and readTaggedBuilds
Fixes: https://pagure.io/koji/issue/2953
2021-09-08 17:17:23 +02:00
Jana Cupova
43421a8e76 CLI channels, hosts methods works with older hub
Fixes: https://pagure.io/koji/issue/2990
2021-08-30 09:24:22 +02:00
Ken Dreyer
0adec2fd38 fix "an user" -> "a user" grammar in help text and errors 2021-08-24 10:54:03 -04:00
Ken Dreyer
4878f50fa7 cli: clarify that download-logs operates on tasks 2021-08-16 13:51:01 +02:00
Mike McLean
6af614b71b avoid masking hub errors, avoid duplicate check 2021-07-29 08:22:10 -04:00
Mike McLean
d227f0f626 fix unit tests, use error() 2021-07-28 15:22:37 -04:00
Jana Cupova
fb8cfc5678 Add delete-rpm-sig CLI and deleteRPMSig hub call
Fixes: https://pagure.io/koji/issue/2665
2021-07-21 13:43:09 +02:00
Jana Cupova
bc2a51350d Enable/disable channel
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Jana Cupova
88b4f7fa2d Increase coverage of CLI unit tests 2021-07-19 14:04:15 +02:00
Jana Cupova
9682a2840c Remove unnecessary line from unlock-tag CLI
Fixes: https://pagure.io/koji/issue/2940
2021-07-19 09:17:30 +02:00
Jana Cupova
31f0db591a dist-repo takes inherited arch when arch is not set
Fixes: https://pagure.io/koji/issue/2805
2021-06-29 14:45:36 +02:00
Jana Cupova
aec9fba121 Add CLI related to channels + add comments to channels
Fixes: https://pagure.io/koji/issue/1711
Fixes: https://pagure.io/koji/issue/1849
2021-06-29 14:44:47 +02:00