Commit graph

7501 commits

Author SHA1 Message Date
Mike McLean
0d274b7970 ... 2023-10-03 15:23:01 +02:00
Mike McLean
5c38457662 update scheduler runs as tasks are updated 2023-10-03 15:23:01 +02:00
Mike McLean
d9cf62dcf3 tweak clause order 2023-10-03 15:23:01 +02:00
Mike McLean
44eda4ce28 use db_lock in scheduler 2023-10-03 15:23:01 +02:00
Mike McLean
ca4fe038fe XXX TEST 2023-10-03 15:23:01 +02:00
Mike McLean
c763efd625 table lock 2023-10-03 15:23:01 +02:00
Mike McLean
d3acd7288d cleanup 2023-10-03 15:23:01 +02:00
Mike McLean
1bf429a4d9 ... 2023-10-03 15:23:01 +02:00
Mike McLean
cc33d2b124 more work 2023-10-03 15:23:01 +02:00
Mike McLean
13fdf54709 typo 2023-10-03 15:23:01 +02:00
Mike McLean
555418454a ... 2023-10-03 15:23:01 +02:00
Mike McLean
bcab8f7c1e tinkering 2023-10-03 15:23:01 +02:00
Mike McLean
5ad9640b9e pull scheduler stub code from old branch 2023-10-03 15:23:01 +02:00
Mike McLean
3ba25fc96b revert changes to freeTask 2023-10-03 15:23:01 +02:00
Mike McLean
2ecb9b2684 present task runs as assigned tasks to hosts using old api 2023-10-03 15:23:01 +02:00
Mike McLean
4b2074feca return channels in getLoadData 2023-10-03 15:23:01 +02:00
Mike McLean
46af52c608 typo 2023-10-03 15:23:01 +02:00
Mike McLean
6308e8f0ad move convert_value to util lib 2023-10-03 15:23:01 +02:00
Mike McLean
95b2a3c7e7 basic getTaskRuns function 2023-10-03 15:23:01 +02:00
Mike McLean
b379db8376 stub to let hub run 2023-10-03 15:23:01 +02:00
Mike McLean
c59ea1de2b ... 2023-10-03 15:23:01 +02:00
Mike McLean
159eed548c partial: pulling work from other branch 2023-10-03 15:23:01 +02:00
Tomas Kopecek
4241098f46 replace old calls 2023-10-03 15:23:01 +02:00
Tomas Kopecek
6a23a12fd0 wip 2023-10-03 15:23:01 +02:00
Tomas Kopecek
c3c0a6a139 PR#3842: Don't spawn createrepo if not needed
Merges #3842
https://pagure.io/koji/pull-request/3842

Fixes: #3808
https://pagure.io/koji/issue/3808
RFE: Copy/link/use the initial side tag repo from parent (to avoid worflow delays)
2023-10-03 15:20:55 +02:00
Tomas Kopecek
3e90e62f3f replace f-strings with older syntax 2023-10-03 15:20:53 +02:00
Tomas Kopecek
f1747a649f remove debug print 2023-10-03 15:20:53 +02:00
Tomas Kopecek
5e61ad7711 update top-level repo.json 2023-10-03 15:20:53 +02:00
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
9f1f5b674d short option for watch-logs --follow
Related: https://pagure.io/koji/issue/3909
2023-09-22 09:26:31 +02: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