Commit graph

7171 commits

Author SHA1 Message Date
Mike McLean
b5950bb209 kojira no_repo_effective_age setting 2023-05-23 17:54:17 +02:00
Tomas Kopecek
9aab5d5bde PR#3832: fix release notes version
Merges #3832
https://pagure.io/koji/pull-request/3832
2023-05-23 17:30:57 +02:00
Tomas Kopecek
0676543d1c fix release notes version 2023-05-23 17:29:38 +02:00
Tomas Kopecek
151e88c3c2 PR#3822: Koji 1.33 release notes
Merges #3822
https://pagure.io/koji/pull-request/3822

Fixes: #3821
https://pagure.io/koji/issue/3821
1.33 release notes
2023-05-23 17:21:07 +02:00
Tomas Kopecek
cb009f019d Koji 1.33 release notes
Related: https://pagure.io/koji/issue/3821
2023-05-23 17:21:00 +02:00
Tomas Kopecek
94a79c9eda PR#3820: db_lock() function
Merges #3820
https://pagure.io/koji/pull-request/3820

Fixes: #3790
https://pagure.io/koji/issue/3790
2023-05-22 10:09:15 +02:00
Tomas Kopecek
0a48d6a688 fix flake8
Related: https://pagure.io/koji/issue/3790
2023-05-17 11:02:32 +02:00
Tomas Kopecek
b9e9dd6c4b migration script 2023-05-17 11:02:30 +02:00
Mike McLean
14c2e1b38c avoid upsert in db_lock 2023-05-17 11:02:08 +02:00
Mike McLean
bc5088f881 add a note in db_lock 2023-05-17 11:02:08 +02:00
Mike McLean
4913bd0c0a use db_lock in protonmsg 2023-05-17 11:02:08 +02:00
Mike McLean
0d61c94250 add db_lock function and locks table 2023-05-17 11:02:08 +02:00
Tomas Kopecek
576e5d6f3b PR#3819: track update time in host table
Merges #3819
https://pagure.io/koji/pull-request/3819

Fixes: #3789
https://pagure.io/koji/issue/3789
2023-05-17 10:58:12 +02:00
Tomas Kopecek
d3c561ebcd fix flake8 2023-05-17 10:22:09 +02:00
Tomas Kopecek
721a97e771 PR#3823: update docs for kickstart/build_rpm policy
Merges #3823
https://pagure.io/koji/pull-request/3823

Fixes: #3183
https://pagure.io/koji/issue/3183
Build non-scratch images using local kickstart file
2023-05-17 10:06:18 +02:00
Tomas Kopecek
2ddfd5e977 update docs for kickstart/build_rpm policy
Related: https://pagure.io/koji/issue/3183
2023-05-17 10:04:35 +02:00
Tomas Kopecek
70c9b3e37a PR#3756: Add more logging to rmtree
Merges #3756
https://pagure.io/koji/pull-request/3756

Fixes: #3815
https://pagure.io/koji/issue/3815
Additional rmtree logging

Relates: #3755
https://pagure.io/koji/issue/3755
koji-gc occasionally gets Directory not empty fault on delete
2023-05-17 09:35:20 +02:00
Mike McLean
6455974fd5 adjust unit tests for new args 2023-05-17 09:35:11 +02:00
Mike McLean
d744364d71 more rmtree logging 2023-05-17 09:35:11 +02:00
Mike McLean
facfddb73d additional logging in rmtree 2023-05-17 09:35:11 +02:00
Tomas Kopecek
4ce5fc1424 PR#3729: Build image from uploaded kickstart
Merges #3729
https://pagure.io/koji/pull-request/3729

Fixes: #3183
https://pagure.io/koji/issue/3183
Build non-scratch images using local kickstart file
2023-05-17 09:31:42 +02:00
Tomas Kopecek
0986c118fd fix unit tests 2023-05-17 09:31:35 +02:00
geargyri
0eedf36c41 add policy check
Related: https://pagure.io/koji/issue/3183
2023-05-17 09:31:35 +02:00
Tomas Kopecek
7f7df0165c fix tests
Related: https://pagure.io/koji/issue/3789
2023-05-16 13:14:16 +02:00
Tomas Kopecek
8dce3fc9b1 upgrade schema 2023-05-16 13:14:16 +02:00
Mike McLean
506e4d1429 avoid ambiguous columns refs 2023-05-16 13:14:16 +02:00
Mike McLean
48b8deef6e fix unit tests 2023-05-16 13:14:16 +02:00
Mike McLean
0b935caf85 fix import 2023-05-16 13:14:16 +02:00
Mike McLean
d82edd9757 track update time in host table 2023-05-16 13:14:16 +02:00
Mike McLean
9321ffebec avoid using getLastHostUpdate 2023-05-16 13:14:16 +02:00
Tomas Kopecek
112730c77e PR#3775: Import koji archive types
Merges #3775
https://pagure.io/koji/pull-request/3775

Fixes: #3736
https://pagure.io/koji/issue/3736
koji doesn't know to archive *.sha256 files as artifacts of the build
2023-05-16 12:58:05 +02:00
Tomas Kopecek
896b75d4c6 Import koji archive types
Related: https://pagure.io/koji/issue/3736
2023-05-16 12:57:57 +02:00
Tomas Kopecek
7da6dcf919 PR#3816: kiwi: remove tech-preview warning
Merges #3816
https://pagure.io/koji/pull-request/3816
2023-05-11 17:06:38 +02:00
Tomas Kopecek
eb68be0547 kiwi: remove tech-preview warning 2023-05-11 17:05:09 +02:00
Tomas Kopecek
68f08612fc PR#3800: avoid noisy chained tracebacks when converting Faults
Merges #3800
https://pagure.io/koji/pull-request/3800

Fixes: #3801
https://pagure.io/koji/issue/3801
Noisy chained tracebacks on hub Faults
2023-05-11 15:06:48 +02:00
Mike McLean
cf94d9ad24 avoid noisy chained tracebacks when converting Faults 2023-05-11 15:06:41 +02:00
Tomas Kopecek
eb28e50ccc PR#3782: Fix typo
Merges #3782
https://pagure.io/koji/pull-request/3782
2023-05-11 15:02:29 +02:00
Tomas Kopecek
fddb5de41f Fix typo 2023-05-11 15:02:23 +02:00
Tomas Kopecek
52e19b2546 PR#3803: createTag raises error when perm ID isn't exists
Merges #3803
https://pagure.io/koji/pull-request/3803

Fixes: #3802
https://pagure.io/koji/issue/3802
uncaught DB exception in createTag with non-existing permission ID
2023-05-09 10:10:25 +02:00
Jana Cupova
de01baece7 createTag raises error when perm ID isn't exists
Fixes: https://pagure.io/koji/issue/3802
2023-05-09 10:10:18 +02:00
Tomas Kopecek
f349b0d2ff PR#3799: Increase sidetag CLI tests
Merges #3799
https://pagure.io/koji/pull-request/3799

Relates: #3723
https://pagure.io/koji/issue/3723
Increase unit tests for hub/cli/sidetags
2023-05-09 09:27:15 +02:00
Jana Cupova
b87cbb2fda Increase sidetag CLI tests
Related: https://pagure.io/koji/issue/3723
2023-05-09 09:27:07 +02:00
Tomas Kopecek
ddc0dbdb76 PR#3804: use fakehub as a user
Merges #3804
https://pagure.io/koji/pull-request/3804

Fixes: #3805
https://pagure.io/koji/issue/3805
use fakehub as a user
2023-05-09 09:24:49 +02:00
Mike McLean
c4b5c5a107 fakehub --exclusive option 2023-05-09 09:24:34 +02:00
Mike McLean
39db0015fe fakehub --user option 2023-05-09 09:24:34 +02:00
Tomas Kopecek
14dcab596c PR#3769: Add component/built archives in list-buildroot
Merges #3769
https://pagure.io/koji/pull-request/3769

Fixes: #3759
https://pagure.io/koji/issue/3759
list-buildroot command doesn't show component archives
2023-05-09 09:20:54 +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
Tomas Kopecek
747f17824a PR#3760: Add renewal session timeout
Merges #3760
https://pagure.io/koji/pull-request/3760

Fixes: #3596
https://pagure.io/koji/issue/3596
Renewal timeout option
2023-05-09 09:16:48 +02:00
Jana Cupova
44742bc5f8 Drop default Null for renew_time in sql 2023-05-09 09:16:40 +02:00
Jana Cupova
6a033ea948 Add renew_ts column and check with renew_ts 2023-05-09 09:16:40 +02:00