Commit graph

7191 commits

Author SHA1 Message Date
Tomas Kopecek
f42464820d Basic vim syntax highlighting for hub/gc policy
Related: https://pagure.io/koji/issue/3853
2023-06-27 12:32:56 +02:00
Tomas Kopecek
5ae0e251f1 PR#3813: list-history: fix [still active] display for edit entries
Merges #3813
https://pagure.io/koji/pull-request/3813

Fixes: #3814
https://pagure.io/koji/issue/3814
list-history does not show edits as active when they are
2023-06-22 15:32:35 +02:00
Mike McLean
4fe784fdb5 list-history: fix [still active] display for edit entries 2023-06-22 15:32:27 +02:00
Tomas Kopecek
81767d0930 PR#3834: wait with writing timestamps after results dir is created
Merges #3834
https://pagure.io/koji/pull-request/3834

Fixes: #3833
https://pagure.io/koji/issue/3833
log_timestamps can fail during init
2023-06-21 11:06:38 +02:00
Tomas Kopecek
6a402cb3e7 write timestamps to workdir
To avoid resultsdir createion race condition.

Related: https://pagure.io/koji/issue/3833
2023-06-21 11:06:30 +02:00
Tomas Kopecek
5206338674 PR#3726: fix docstring getTaskInfo
Merges #3726
https://pagure.io/koji/pull-request/3726
2023-06-13 15:19:12 +02:00
Tomas Kopecek
724838968c fix docstring getTaskInfo 2023-06-13 15:19:05 +02:00
Tomas Kopecek
b5dc2ab077 PR#3840: doc: readTaggedRPMS/Builds API documentation
Merges #3840
https://pagure.io/koji/pull-request/3840

Fixes: #3811
https://pagure.io/koji/issue/3811
wrappers of readTaggedRPMS/Builds are losing API docs
2023-06-12 13:16:53 +02:00
Tomas Kopecek
de9c26dbb2 doc: readTaggedRPMS/Builds API documentation
Related: https://pagure.io/koji/issue/3811
2023-06-12 13:16:38 +02:00
Tomas Kopecek
6f4b3caffa PR#3836: add support for sw_64 and loongarch64
Merges #3836
https://pagure.io/koji/pull-request/3836

Related #3837
https://pagure.io/koji/issue/3837
2023-06-12 12:59:08 +02:00
Xun Zhong
72de874dac add support for sw_64 and loongarch64 2023-06-01 17:43:54 +08:00
Tomas Kopecek
f4121bfe37 PR#3835: explain _ord() method
Merges #3835
https://pagure.io/koji/pull-request/3835
2023-05-31 09:35:38 +02:00
Ken Dreyer
6b842439b0 explain _ord() method
This method is a historical oddity that we needed to deal with pieces of
RPM headers (strings) on Python 2. Since ord() no longer exists on
Python 3, it's difficult for new developers to understand what this code
is.  Add comments so it's easier to read.
2023-05-30 14:44:56 -04:00
Tomas Kopecek
d3d83dd649 PR#3817: Remove get_sequence_value in 1.34
Merges #3817
https://pagure.io/koji/pull-request/3817

Fixes: #3635
https://pagure.io/koji/issue/3635
Remove get_sequence_value
2023-05-24 09:38:12 +02:00
Jana Cupova
0c00dceb07 Remove get_sequence_value in 1.34
Fixes: https://pagure.io/koji/issue/3635
2023-05-24 09:38:05 +02:00
Tomas Kopecek
70eaf800a8 PR#3818: Remove koji.AUTHTYPE_* in 1.34
Merges #3818
https://pagure.io/koji/pull-request/3818

Fixes: #3441
https://pagure.io/koji/issue/3441
Drop koji.AUTHTYPE_*
2023-05-24 09:37:30 +02:00
Jana Cupova
8f9a4d438e Remove koji.AUTHTYPE_* in 1.34
Fixes: https://pagure.io/koji/issue/3441
2023-05-24 09:37:22 +02:00
Tomas Kopecek
c248a1c305 PR#3830: kojira no_repo_effective_age setting
Merges #3830
https://pagure.io/koji/pull-request/3830

Fixes: #3831
https://pagure.io/koji/issue/3831
 kojira: no_repo_effective_age setting
2023-05-23 17:54:25 +02:00
Mike McLean
2360e6f9a2 typo 2023-05-23 17:54:17 +02:00
Mike McLean
07e4193160 unit test 2023-05-23 17:54:17 +02:00
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