Tomas Kopecek
a459b00a54
fix path
2023-10-03 15:20:53 +02:00
Tomas Kopecek
8b8a8729a7
use correct repo.json
2023-10-03 15:20:53 +02:00
Tomas Kopecek
d0880b0fef
additional fixes
2023-10-03 15:20:53 +02:00
Tomas Kopecek
c0c1f3c33d
Don't spawn createrepo if not needed
...
Related: https://pagure.io/koji/issue/3808
2023-10-03 15:20:52 +02:00
Tomas Kopecek
f9368c6194
PR#3917: fix tests
...
Merges #3917
https://pagure.io/koji/pull-request/3917
2023-10-03 15:20:03 +02:00
Tomas Kopecek
5a368dd72f
fix tests
...
Text change introduced in PR 3915
2023-10-03 15:18:51 +02:00
Tomas Kopecek
f9d3088802
PR#3915: cli: fix wait-repo message when missing builds
...
Merges #3915
https://pagure.io/koji/pull-request/3915
2023-10-02 09:54:49 +02:00
Ken Dreyer
cb244fb382
cli: fix wait-repo message when missing builds
...
The wait-repo command performs a sanity-check when the user specifies an
NVR with "--build". If there are no builds of the package in the tag at
all, wait-repo will print a warning.
The text of that warning was not accurate. The package itself may be in
the tag (listPackages), but there are no builds of that package
(getLatestBuilds). Correct the warning text to clarify the exact problem
to the user.
2023-09-28 12:12:23 -04:00
Tomas Kopecek
1310f22b80
PR#3761: doc: More XMLRPC-related docs
...
Merges #3761
https://pagure.io/koji/pull-request/3761
Fixes : #1109
https://pagure.io/koji/issue/1109
document xmlrpc API
2023-09-20 12:05:11 +02:00
Tomas Kopecek
e421f0bcb7
doc: More XMLRPC-related docs
...
Related: https://pagure.io/koji/issue/1109
2023-09-20 12:04:54 +02:00
Mike McLean
a40ce2119c
PR#3794: Unify getSessionInfo output
...
Merges #3794
https://pagure.io/koji/pull-request/3794
Fixes : #3793
https://pagure.io/koji/issue/3793
getSessionInfo returns fewer items when user_id is used than default
Trivial rebase conflict in unit test
2023-09-13 18:35:45 -04:00
Jana Cupova
48b34b4680
Unify getSessionInfo output
...
Fixes: https://pagure.io/koji/issue/3793
2023-09-13 18:32:36 -04:00
Tomas Kopecek
cda3163d1f
PR#3843: Package migration scripts to koji-hub
...
Merges #3843
https://pagure.io/koji/pull-request/3843
Fixes : #3762
https://pagure.io/koji/issue/3762
Move sql schema + migrations to hub package.
2023-09-13 12:17:19 +02:00
Tomas Kopecek
ae96bca24c
package sql just for py3
2023-09-13 12:17:10 +02:00
Tomas Kopecek
23ba4c2c3b
Move sql files to schemas directory
2023-09-13 12:17:10 +02:00
Tomas Kopecek
cc4763f7e7
Package migration scripts to /usr/share/koji
...
In original location it was packages as docs. E.g. in containers
it is often installed with --nodocs.
Related: https://pagure.io/koji/issue/3762
2023-09-13 12:17:10 +02:00
Tomas Kopecek
2fb1a8521a
PR#3898: Update Containerfiles
...
Merges #3898
https://pagure.io/koji/pull-request/3898
2023-09-11 13:54:25 +02:00
Tomas Kopecek
5b9ea2b5b0
Update Containerfiles
2023-09-11 13:52:12 +02:00
Tomas Kopecek
fad51f81af
PR#3895: hub: new_build: build in error should be the old one
...
Merges #3895
https://pagure.io/koji/pull-request/3895
Fixes : #3896
https://pagure.io/koji/issue/3896
hub: new_build: build in error should be the old one
2023-09-06 14:55:05 +02:00
Yuming Zhu
65fb4f47d3
hub: new_build: build in error should be the old one
2023-09-06 14:54:56 +02:00
Tomas Kopecek
503e49bde4
PR#3893: Clean rpm db directory of broken symlinks
...
Merges #3893
https://pagure.io/koji/pull-request/3893
Fixes : #3892
https://pagure.io/koji/issue/3892
mock + rpm + db site migration can lead to broken builds
2023-09-05 13:28:29 +02:00
Tomas Kopecek
a1ad698630
Clean rpm db directory of broken symlinks
...
Related: https://pagure.io/koji/issue/3892
2023-09-05 13:25:03 +02:00
Tomas Kopecek
303c4daeb1
PR#3889: cli: handle hub w/o getKojiVersion in cancel tasks
...
Merges #3889
https://pagure.io/koji/pull-request/3889
2023-09-05 12:32:25 +02:00
Nicolas Chauvet
93a5ca5abe
cli: handle hub w/o getKojiVersion in cancel tasks
...
Cancel tasks are used from newer fedora koji client on some hubs that
are lacking any getKojiVersion method, so assumes older_hub = True
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
2023-09-04 21:53:17 +02:00
Tomas Kopecek
32901980ba
PR#3888: kojid: Fix mock_bootstrap_image parameter name in the default config
...
Merges #3888
https://pagure.io/koji/pull-request/3888
2023-09-04 09:37:54 +02:00
Vasil Velichkov
b986805e07
kojid: Fix mock_bootstrap_image parameter name in the default config
...
There was a typo and the parameter name was incorrect
2023-09-04 09:37:47 +02:00
Tomas Kopecek
37d9b5f4cd
PR#3537: Switch to WatchedFileHandler for logger
...
Merges #3537
https://pagure.io/koji/pull-request/3537
Fixes : #3392
https://pagure.io/koji/issue/3392
kojid/kojira logging does not play nice with logrotate
2023-09-04 09:20:23 +02:00
Tomas Kopecek
9b48b9c01d
Switch to filewwatcher logger
...
Don't use koji's logrotate and let system handle it.
Related: https://pagure.io/koji/issue/3392
2023-09-04 09:20:16 +02:00
Tomas Kopecek
7f8c75d941
PR#3850: Inherit group permissions
...
Merges #3850
https://pagure.io/koji/pull-request/3850
Relates: #3849
https://pagure.io/koji/issue/3849
Inheriting group permissions
2023-09-04 09:16:33 +02:00
Tomas Kopecek
f5f8e6c6a2
refactor get_user_perms
2023-09-04 09:16:21 +02:00
Tomas Kopecek
e1ea85f184
getUserPermsInheritance
2023-09-04 09:16:21 +02:00
Tomas Kopecek
66fec3a117
fix query
2023-09-04 09:16:21 +02:00
Tomas Kopecek
97986ff0e3
fix sanity checks in revoke/grantPermission
2023-09-04 09:16:21 +02:00
Tomas Kopecek
255ec21d00
Inherit group permissions
...
Related: https://pagure.io/koji/issue/3849
2023-09-04 09:16:21 +02:00
Tomas Kopecek
d324f601c8
PR#3851: sidetag: extend is_sidetag_owner for untag ops
...
Merges #3851
https://pagure.io/koji/pull-request/3851
Fixes : #3848
https://pagure.io/koji/issue/3848
is_sitetag policy does not work for untag operations
2023-08-28 16:37:36 +02:00
Tomas Kopecek
b7a05820f5
better variable naming
2023-08-28 16:37:28 +02:00
Tomas Kopecek
13097dff36
sidetag: extend is_sidetag_owner for untag ops
...
Related: https://pagure.io/koji/issue/3848
2023-08-28 16:37:28 +02:00
Tomas Kopecek
38a966abd5
PR#3873: disable use_bootstrap_image if bot requested
...
Merges #3873
https://pagure.io/koji/pull-request/3873
Fixes : #3872
https://pagure.io/koji/issue/3872
use_bootstrap_image should have both variants
2023-08-28 13:05:32 +02:00
Tomas Kopecek
1f06c98fda
fix tests
2023-08-28 13:04:50 +02:00
Tomas Kopecek
c0bc73fdc0
disable use_bootstrap_image if not requested
...
Related: https://pagure.io/koji/issue/3872
2023-08-28 12:56:49 +02:00
Tomas Kopecek
a8ff3d9a02
PR#3882: Sort image rpm components before inserting
...
Merges #3882
https://pagure.io/koji/pull-request/3882
Relates: #3637
https://pagure.io/koji/issue/3637
[kiwi] Deadlock in rpminfo_unique_nvra
2023-08-28 11:37:34 +02:00
Mike McLean
3676452468
Sort image rpm components before inserting
...
Related: https://pagure.io/koji/issue/3637
A potential fix for a rare deadlock. This is the same thing we do in
BuildRoot._setList()
2023-08-25 09:44:56 -04:00
Tomas Kopecek
657409d73c
PR#3879: Example of how to enable a module via mock.module_setup_commands
...
Merges #3879
https://pagure.io/koji/pull-request/3879
2023-08-21 13:02:04 +02:00
alisboav
11c2e2e95b
Example of how to enable a module via mock.module_setup_commands
2023-08-21 12:51:23 +02:00
Tomas Kopecek
615264f76f
PR#3861: tox: Don't install coverage every run
...
Merges #3861
https://pagure.io/koji/pull-request/3861
Relates: #3860
https://pagure.io/koji/issue/3860
tox installs coverage every time
2023-08-03 12:56:07 +02:00
Tomas Kopecek
0b415345c1
tox: Don't install coverage every run
...
Subsequent test runs are bit faster.
Related: https://pagure.io/koji/issue/3860
2023-08-03 12:55:59 +02:00
Tomas Kopecek
308467999b
PR#3855: Extend getUser to get user groups
...
Merges #3855
https://pagure.io/koji/pull-request/3855
Fixes : #3854
https://pagure.io/koji/issue/3854
get user groups for given user
2023-08-03 12:52:18 +02:00
Tomas Kopecek
9ed7ccda19
fix returned data after rebase
2023-08-02 12:54:05 +02:00
Tomas Kopecek
9d03e43a6a
use auth.get_user_groups
2023-08-02 12:46:40 +02:00
Tomas Kopecek
60722acf09
Extend getUser to get user groups
...
Related: https://pagure.io/koji/issue/3854
2023-08-02 12:46:40 +02:00