Commit graph

1070 commits

Author SHA1 Message Date
Jana Cupova
4527c054c6 Add regex --filter and --skip option for download-task
Fixes: https://pagure.io/koji/issue/3551
2022-10-31 13:51:07 +01:00
Jana Cupova
583056140e CLI list-hosts fix when list of channels is empty
Fixes: https://pagure.io/koji/issue/3532
2022-10-26 14:17:49 +02:00
Jana Cupova
f11628000e CLI edit-channel set default value for None and error msg to stderr.
Fixes: https://pagure.io/koji/issue/3534
2022-10-24 10:02:56 +02:00
Jana Cupova
bdc1121c14 Add number and size for download-build
Fixes: https://pagure.io/koji/issue/3515
2022-10-11 13:23:17 +02:00
Jana Cupova
d2c580a3f8 CLI download-task more specific info for not CLOSED tasks.
Fixes: https://pagure.io/koji/issue/3487
2022-10-07 14:31:07 +02:00
Jana Cupova
293f7508b4 Download all files, skip downloaded files
Fixes: https://pagure.io/koji/issue/3499
2022-10-03 11:42:04 +02:00
Tomas Kopecek
df44502792 cli: allow redirects for file size checking
Related: https://pagure.io/koji/issue/3463
2022-09-27 14:11:43 +02:00
Jana Cupova
cb5515aca4 Order download tasks and download only first srpm
Fixes: https://pagure.io/koji/issue/3461
2022-08-25 13:33:23 +02:00
Jana Cupova
c1f7b9db04 Allow rewrite src.rpm files in download-task
Fixes: https://pagure.io/koji/issue/3461
2022-08-19 06:42:44 +02:00
Jana Cupova
f017ec28f6 Fix arch in download-task
Fixes: https://pagure.io/koji/issue/3456
2022-08-18 11:12:17 +02:00
Jana Cupova
310331c3f7 CLI: More details when files conflict in download-task
Fixes: https://pagure.io/koji/issue/3433
2022-08-18 10:10:13 +02:00
Tomas Kopecek
4daea4dab9 rename function 2022-08-01 15:33:29 +02:00
Tomas Kopecek
4e6aca0bd0 exception-free watch_builds
Related: https://pagure.io/koji/issue/2981
2022-08-01 15:33:29 +02:00
Otto Urpelainen
d2247940b6 Add utility function to watch builds
External tools that interact with Koji
need to wait for builds to appear in a repo.
For example, Fedora cli tools 'bodhi' and 'fedpkg'
can create buildroot overrides,
which only become useful
after the override's build appears in the correct repo.
At the moment, 'bodhi' waits for a repo
by invoking the 'koji wait-repo' cli tool
while 'fedpkg' does not wait at all.
In order to make it easier for such tools to wait for a repo,
the wait implementation from 'koji wait-repo'
is moved to koji_cli.lib namespace
where it is available for use through Python import.
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
2bc6873099 Fix download-task with wait option 2022-07-11 10:21:10 +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
Tomas Kopecek
35735780e6 fix arch processing
Related: https://pagure.io/koji/issue/3304
2022-05-16 16:15:03 +02:00
Pat Riehecky
4203fbee14 kojid: permit forcing the target arch within mock per tag 2022-05-16 16:15:03 +02:00
Pat Riehecky
a50ca237c7 kojid: permit forcing releasever within mock per tag 2022-05-16 16:15:03 +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
Tomas Kopecek
88ff7758e5 cli: fix more users in userinfo
Fixes: https://pagure.io/koji/issue/3324
2022-05-11 09:52:50 +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
Ken Dreyer
5704beb99c cli: document "list-signed" requires filesystem access
The "list-signed" command does not work with HTTP (topurl). It only
works with direct filesystem access (topdir).
2022-04-27 10:39:41 +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
Ken Dreyer
5469452da7 cli: rename "args" var for list-tags command
Instead of re-using the "args" variable, name this variable something
more descriptive to reflect that these are tag name patterns.
2022-04-01 13:12:14 -04:00
Jana Cupova
49f5f72a9f Same format output for list-builroot with verbose for py3/py2
Fixes: https://pagure.io/koji/issue/3299
2022-03-24 12:59:58 +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
c0b8223d2c Remove json check from import-cg CLI
Fixes: https://pagure.io/koji/issue/3241
2022-02-03 10:16:08 +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
355c713044 Taginfo page shows packages with/without blocked
Fixes: https://pagure.io/koji/issue/1350
2021-12-20 09:08:47 +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
Tomas Kopecek
a3edb7a4b9 Return mistakenly dropped option (--keytab)
PR https://pagure.io/koji/pull-request/3051 was wrongly merged
https://pagure.io/koji/c/071533206e6d29f665d7a5864eda75087488a3ce?branch=master
and deleted wrong line. Reverting it.

Fixes: https://pagure.io/koji/issue/3171
2021-12-14 14:16:05 +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
Yu Ming Zhu
ab87d70d55 PR#3090: Add option for UTC time in list-history
Merges #3090
https://pagure.io/koji/pull-request/3090

Fixes: #1136
https://pagure.io/koji/issue/1136
Show koji list-history information in UTC time
2021-11-11 07:49:13 +00:00
Jana Cupova
29ceea4ef0 Fix older hub errors
Fixes: https://pagure.io/koji/issue/1401
2021-11-07 09:33:22 +00:00
Ken Dreyer
071533206e cli: mention --profile in --config help text
It's easy for new users to confuse the "--config" and "--profile"
settings.

We want to guide users towards using non-default profile names (eg
"stream" or "cbs", etc) where possible. If a user is pointing at a
non-standard configuration file location, they should really use the
--profile option also to keep their configuration sane.

Update the --help text for the --config option to emphasize the
--profile option.
2021-10-26 11:21:58 +02: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