Mike McLean
9321ffebec
avoid using getLastHostUpdate
2023-05-16 13:14:16 +02:00
Jana Cupova
a87c6aedbe
Add component/built archives in list-buildroot
...
Fixes: https://pagure.io/koji/issue/3759
2023-05-09 09:20:44 +02:00
Jana Cupova
9a6daef300
Fix backward compatibility
...
Fixes: https://pagure.io/koji/issue/3715
2023-04-03 15:25:20 +02:00
Jana Cupova
de192e10f1
Add repoID in listBuildroots and create repoinfo command
...
Add repoID param in listBuildroots and show result in repoInfo
Create new command repoinfo which provides equivalent info as repoInfo
Add number of buildroots related to repo in repoinfo page
Fixes: https://pagure.io/koji/issue/2549
2023-04-03 15:20:18 +02:00
Jana Cupova
175c618e5b
CLI list-untagged: One space only instead of double space before references
...
Fixes: https://pagure.io/koji/issue/3730
2023-03-23 13:21:38 +01:00
Mike McLean
00f3a78f09
list-tagged: only check for build dir when --sigs is given
2023-03-20 13:40:27 +01:00
Tomas Kopecek
21dba45bfc
Fix mtime logic for py2.x
...
Related: https://pagure.io/koji/issue/3711
2023-03-16 09:46:54 +01:00
Tomas Kopecek
8acb4a4fd3
fix py26 compatibility
2023-03-07 12:50:10 +01:00
Yanko Kaneti
d520dce8a2
download-build: preserve build artefacts last modification time
2023-03-07 12:50:10 +01:00
Jana Cupova
334bc39375
CLI: cancel error msg
...
cancel returns error msg when build is not existing
cancel returns error mgs for all not existing tasks/builds
Fixes: https://pagure.io/koji/issue/3715
2023-03-06 14:24:53 +01:00
Jana Cupova
378ea8ef2f
Delete double check existing source tag, --batch option is unvisible
...
Fixes: https://pagure.io/koji/issue/3705
2023-03-06 14:23:00 +01:00
Tomas Kopecek
c8ad0479de
unify kwargs for gssapi_login
2023-03-03 09:28:29 +01:00
Frank Buettner
b9565c6c78
Let "--principal=" works for users using multiple TGT's
...
fix for https://pagure.io/koji/issue/3680
2023-03-03 09:28:29 +01:00
Jana Cupova
ed72318ce4
CLI download-tasks has sorted tasks in check closed/not closed tasks
...
Fixes: https://pagure.io/koji/issue/3671
2023-02-02 10:56:41 +01:00
Tomas Kopecek
5c1718337c
fix tests
2023-01-23 11:46:15 +01:00
Ken Dreyer
d7a080cb68
cli: improve help for call --python option
...
The --python option is for input values, not output values. Update the
--help message to explain this.
2023-01-23 11:23:13 +01:00
Tomas Kopecek
6e1ae7231e
replace deprecated distutils
...
distutils will get removed in python 3.12. It is usage is now replaced
by sysconfig. For py2 version code stays in specfile.
https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated
Related: https://pagure.io/koji/issue/3514
2023-01-16 12:36:04 +01:00
Jana Cupova
fd9239cba0
Add test cases for help
...
Fixes: https://pagure.io/koji/issue/3651
2023-01-09 11:02:30 +01:00
Jana Cupova
36a071edb3
Fix typo in CLI add-tag-inheritance error msg
...
Fixes: https://pagure.io/koji/issue/3640
2023-01-03 13:53:59 +01:00
Jan Kaluza
ecef2ea1d0
Support deleted build tag in taskinfo.
...
This commit handles a situation when build tag is removed for
a task for which the taskinfo is called.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2022-12-12 09:10:35 +01:00
Tomas Kopecek
be554fef99
cli: drop nvr sorting from list-builds
...
We've never prperly supported this option as it would need rpm compare
algorithm and there is also no other place in koji where we compare
NVRs. More sense makes to order builds by id (age) by default.
Related: https://pagure.io/koji/issue/3416
2022-11-07 14:34:05 +01:00
Tomas Kopecek
08809355fa
Error on list-tagged --sigs --paths without mount
...
Related: https://pagure.io/koji/issue/934
2022-11-07 09:59:06 +01:00
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