Tomas Kopecek
15c115e71e
hub: policy test buildtag_inheritance
...
Fixes: https://pagure.io/koji/issue/2870
2021-05-24 10:38:01 +02:00
Tomas Kopecek
3fed02c8ad
cleanup removed options
2021-04-19 15:15:53 +02:00
Tomas Kopecek
02ea2901e2
remove with_owners from readTaggedBuilds
2021-04-19 15:15:53 +02:00
Tomas Kopecek
89b00d4e77
updated API docs
2021-04-19 15:15:53 +02:00
Tomas Kopecek
91aa557391
use listTagged with_owner=False
2021-04-19 15:15:53 +02:00
Tomas Kopecek
fc42bb7e71
x
2021-04-19 15:15:53 +02:00
Tomas Kopecek
1e1f25c474
readTaggedBuilds with_owners option
2021-04-19 15:15:53 +02:00
Tomas Kopecek
6730c46ce0
update API docs
2021-04-19 15:15:53 +02:00
Tomas Kopecek
0b9437c723
use with_owners=False
2021-04-19 15:15:53 +02:00
Tomas Kopecek
66175ccfd8
hub: add with_owners option to readPackageList
...
Related: https://pagure.io/koji/issue/2780
2021-04-19 15:15:53 +02:00
Jana Cupova
6a2c6e7586
Repo info with task id
...
Fixes: https://pagure.io/koji/issue/888
2021-04-19 15:15:10 +02:00
Jana Cupova
3d33e2e628
api: getVolume with strict
...
Fixes: https://pagure.io/koji/issue/1592
2021-04-19 15:11:41 +02:00
Igor Raits
1a2d68223a
hub: Fix typo in postRepoInit callback from distRepo
...
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2021-04-13 09:59:11 +02:00
Jana Cupova
9dc0efd476
api getLastHostUpdate returns timestamp
...
fixes: https://pagure.io/koji/issue/2497
2021-03-29 11:23:06 +02:00
Yuming Zhu
8845b9eba1
Be tolerant with duplicate parents in _writeInheritanceData
...
Now setInheritanceData API supports duplicate parents in data again.
And we choose to clean the other fields from "delete link" items, so that the ineffective update after deletion which was reported in #1435 .
fixes : #2614
relates: #1434
relates: #1435
2021-03-29 11:19:40 +02:00
Jana Cupova
9c6483f197
API: createWinBuild with wrong win/build info
...
createWinBuild returns an error when win info is empty, is not a dict or
doesn't contain platform key
createWinBuild returns an error when build info is string and build is
not existing
Fixes: https://pagure.io/koji/issue/1103
Fixes: https://pagure.io/koji/issue/1102
2021-03-17 10:12:45 +01:00
Jana Cupova
36284cdea9
api: createMavenBuild wrong buildinfo/maveninfo
...
Fixes: https://pagure.io/koji/issue/1104
Fixes: https://pagure.io/koji/issue/1105
2021-03-16 15:25:15 +01:00
Jana Cupova
8a24a70159
api: createImageBuild non-existing build wrong buildinfo
...
createImageBuild returns an error when build is not existing and buildinfo
is not a dict
Fixes: https://pagure.io/koji/issue/1106
2021-03-16 13:08:57 +01:00
Jana Cupova
e784373000
Unify error messages
...
Unify error messages for CLI
Unify error messages for hub
Fixes: https://pagure.io/koji/issue/2720
2021-03-16 08:43:33 +01:00
Tomas Kopecek
29a34f31a5
cli: show connection exception
...
For anonymous calls (whose use ensure_connection) is now shown also
original exception if --debug is specified.
Fixes: https://pagure.io/koji/issue/2592
2021-03-10 15:31:11 +01:00
Mike McLean
87f3dd6a8c
appease flake8
2021-03-03 15:17:20 +01:00
Mike McLean
1f884a3287
alter priority policy result syntax, catch ValueError
2021-03-03 15:17:20 +01:00
Tomas Kopecek
1d69126589
fix typo
2021-03-03 15:17:20 +01:00
Tomas Kopecek
425cd528a1
hub: priority policy
...
Fixes: https://projects.engineering.redhat.com/browse/RHELBLD-4275
2021-03-03 15:17:20 +01:00
Ken Dreyer
555e647c50
hub: document getNextRelease method
...
Update the getNextRelease RPC docstring to describe what this method
does and what the parameter and return values are.
2021-02-22 20:53:40 -07:00
Mike McLean
e901d66dc0
set correct import_type for volume policy in completeImageBuild
...
Fixes https://pagure.io/koji/issue/2712
2021-02-18 14:27:30 -05:00
Yu Ming Zhu
8b9aa559c8
fix the mode of tarfile.open
...
fixes : #2641
2021-02-03 10:04:38 +00:00
Mike McLean
32b71964fe
make policy test thread safe
...
Fixes https://pagure.io/koji/issue/2650
2021-02-01 15:36:24 +01:00
Tomas Kopecek
d797573faa
readFullInheritance stops/jumps deprecation
...
Fixes: https://pagure.io/koji/issue/2606
2021-02-01 15:15:54 +01:00
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
Mike McLean
9a56b0617b
handle plugins and generator results in count and countAndFilterResults
...
Fixes: https://pagure.io/koji/issue/2632
2021-01-26 14:09:05 +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
234ced2838
update image volume in db ASAP
...
Fixes: https://pagure.io/koji/issue/2634
2021-01-13 15:08:17 +01:00
Ken Dreyer
0c8501e6ea
hub: remove global SSLVerifyClient option
...
Stop recommending that clients set "SSLVerifyClient require" globally on
the hub httpd server.
In the latest versions of the koji CLI, we perform many RPCs anonymously
in order to improve performance, and this is incompatible with hubs that
enforce "SSLVerifyClient require" globally.
2021-01-13 14:35:20 +01:00
Tomas Kopecek
fed1826616
fix nightly getNextReelase format
...
Fixes: https://pagure.io/koji/issue/2629
2021-01-13 13:55:18 +01:00
Tomas Kopecek
2f6c1f228e
hub: fix py2-like 'stop' usage in getFullInheritance
...
Fixes: https://pagure.io/koji/issue/2602
2021-01-04 10:41:16 +01:00
Ken Dreyer
7bd7ef34cc
hub: doc listArchive types param for content generators
...
Update the listArchive docstring to explain that callers can select any
type of archive, not just the older three options ("maven", "win",
"image").
2020-12-16 14:25:11 -07:00
Tomas Kopecek
f5ddbbf97d
hub: limit CGImport to allow only one CG per import
...
Related: https://pagure.io/koji/issue/2511
2020-11-30 17:35:32 +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
35bb2acad0
parse arches
2020-11-24 13:56:29 +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
47025a1060
hub: use CTE for build_references
...
Fixes: https://pagure.io/koji/issue/2535
2020-11-24 13:45:21 +01:00
Yu Ming Zhu
7d3bf21612
fix typo of quote
2020-11-18 04:53:38 +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
d231fa02cb
to_list is not needed in py3 code
...
Fixes: https://pagure.io/koji/issue/2514
2020-10-27 12:55:59 +01:00
Tomas Kopecek
f1b6cdc401
doc: api docs
...
Fixes: https://pagure.io/koji/issue/2110
2020-10-23 09:06:23 +02:00
Tomas Kopecek
309c4e0a62
builder: fix error logging to accept more types
2020-10-21 17:03:05 +02:00
Tomas Kopecek
fedf3ee9f9
extend to config_inheritance
2020-10-05 12:35:07 +02:00
Tomas Kopecek
172c861442
hub: getBuildConfig - return inheritance info
2020-10-05 12:34:57 +02:00