Mike McLean
c03bf228c5
rename arg
2021-01-26 14:09:48 +01:00
Mike McLean
1864078973
history query by key
...
Fixes: https://pagure.io/koji/issue/2590
2021-01-26 14:09:48 +01:00
Tomas Kopecek
96ae0ecef5
explicit encoding for text file operations
...
Fixes: https://pagure.io/koji/issue/2641
2021-01-26 13:36:25 +01:00
Tomas Kopecek
932994f720
update help text
2021-01-25 13:31:51 +01:00
Tomas Kopecek
e63508f8a0
cli: hide import-sig --write option
...
It is no more used, hide it from the user.
Fixes: https://pagure.io/koji/issue/2620
2021-01-19 13:37:56 +01:00
Tomas Kopecek
b3732c508b
lower batches in clone-tag multicalls
...
Fixes: https://pagure.io/koji/issue/2616
2021-01-13 16:17:10 +01:00
Tomas Kopecek
ae6d61a15f
cli: return error if add/remove-tag-inheritance can't be applied
...
Fixes: https://pagure.io/koji/issue/2604
2021-01-13 14:32:28 +01:00
Ken Dreyer
8321df159b
cli: raise NotImplementedError with btype name
...
Print the exact unhandled btype name to the user, so it's clearer why
we're exiting early here.
2021-01-12 13:17:42 +01:00
Tomas Kopecek
866c81cb63
cli: some options are not supplied in all _list_tasks calls
...
Fixes: https://pagure.io/koji/issue/2585
2021-01-04 10:42:34 +01:00
Tomas Kopecek
254c766b1f
cli: create after/before OptionParser helper
2020-12-01 14:40:51 +01:00
Tomas Kopecek
0256282a84
cli: list-task --after/--before/--all
...
allow querying for closed tasks
Fixes: https://pagure.io/koji/issue/2565
2020-12-01 13:02:25 +01:00
Michal Privoznik
66ba134859
Install into /usr/lib rather than /usr/lib64/
...
In koji-1.22.0-129-g0ef3c751 I've changed the way how
site-packages directory is obtained. What I did not realize back
then is there can be multilib systems which will not search for
packages in /usr/lib64. But 64bit systems do look into /usr/lib.
Therefore, let's pick the location where both systems work.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1894261
Fixes : #2578
https://pagure.io/koji/issue/2578
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2020-11-27 10:00:52 +01:00
Tomas Kopecek
24bd694865
external repos can have specified arch list
...
Fixes: https://pagure.io/koji/issue/2538
2020-11-24 13:56:29 +01:00
Tomas Kopecek
4fa9d54a7e
cli: list-hosts can display description/comment
...
Fixes: https://pagure.io/koji/issue/2553
2020-11-23 14:08:50 +01:00
Tomas Kopecek
0f56d39487
remove deprecated --ca option
...
Fixes: https://pagure.io/koji/issue/2192
2020-11-23 11:03:38 +01:00
lrossett
3c1c1bd5c4
fix not found build id error for list-builds
2020-11-23 09:12:44 +01:00
Yu Ming Zhu
23c1ee9f44
catch the exception on old hub
2020-11-17 23:16:00 +00:00
Yu Ming Zhu
3f57163c3f
hub: [listBuilds] add nvr glob pattern support
...
fixes : #2554
--pattern is also added in list-builds command
2020-11-17 22:59:32 +00:00
Tomas Kopecek
7f44d1f7a2
cli: allow removal of unused external repo even with --alltags
...
Fixes: https://pagure.io/koji/issue/2061
2020-11-12 15:49:30 +01:00
Brendan Reilly
b97813d6e2
Add option to use repos from kickstart for livemedia builds
...
Fixes: https://pagure.io/koji/issue/2260
2020-11-12 15:48:47 +01:00
Brendan Reilly
c62f15172f
Add nomacboot option for spin-livemedia
...
Fixes: https://pagure.io/koji/issue/2259
2020-10-27 14:37:01 +01:00
Tomas Kopecek
2518e8106f
cli: fix tests
...
Related: https://pagure.io/koji/issue/1870
2020-10-06 14:58:15 +02:00
Tomas Kopecek
34f2cbd272
cli: load plugins also from /usr/lib64
...
Fixes: https://pagure.io/koji/issue/2524
2020-10-06 14:23:22 +02:00
Tomas Kopecek
2a8fc19600
cli: clone-tag --config clones also extra info
...
Fixes: https://pagure.io/koji/issue/2371
2020-10-06 14:02:44 +02:00
Tomas Kopecek
fedf3ee9f9
extend to config_inheritance
2020-10-05 12:35:07 +02:00
Tomas Kopecek
90ab8e7266
fix backward compatibility
2020-10-05 12:34:59 +02:00
Tomas Kopecek
c2570f76bd
cli: taginfo displays inherited extra
...
Fixes: https://pagure.io/koji/issue/1870
2020-10-05 12:34:59 +02:00
Tomas Kopecek
bc478c2d68
cli: show log urls for failed tasks
...
Fixes: https://pagure.io/koji/issue/2188
2020-10-02 12:44:07 -04:00
Tomas Kopecek
4b1cbe0789
flake8 fix
2020-09-30 10:43:19 +02:00
Tomas Kopecek
a14a1fee39
fix for older hub
2020-09-30 10:43:19 +02:00
Tomas Kopecek
5f472413c9
drop host versions
2020-09-30 10:43:19 +02:00
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
Michal Privoznik
0ef3c75185
Simplify obtaining of PKGDIR
...
So far, in all Makefiles we have a complicated way to construct
PKGDIR path which is used to install python modules into.
Firstly, python version is obtained, and then system prefix and
these are then used to construct the PKGDIR path. Well, we can do
better. We can use 'site.getsitepackages()[0]' to obtain exactly
the path we are after.
This also fixes the problem on distributions which have split
/usr/lib and /usr/lib64 directories, because with the way we are
constructing the PKGDIR path we assume that the directories are
the same (or one is a symlink to another). Well, that is not
always the case.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2020-09-22 13:45:48 +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
c0ffe4ed27
cli: propagate system exit codes
...
Fixes: https://pagure.io/koji/issue/2273
2020-09-15 16:11:01 +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
dbd0c9ac9c
cli: delete downloaded file with zero size
...
Fixes: https://pagure.io/koji/issue/2451
2020-09-07 10:10:59 +02:00
Tomas Kopecek
7223e278d3
don't check size for signed rpms
2020-09-04 08:28:15 +02:00
Tomas Kopecek
ecf50429ed
cli: download_file redownload if we've larger file
...
Fixes: https://pagure.io/koji/issue/2465
2020-09-04 08:28:15 +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
Tomas Kopecek
53d1081f27
cli: don't check size for signed rpms
...
We store only size of unsigned copy in db, so checking it for signed
rpms results in error.
Fixes: https://pagure.io/koji/issue/2394
2020-08-03 09:50:22 +02:00