Commit graph

7208 commits

Author SHA1 Message Date
Tomas Kopecek
616f191040 Koji 1.33.1 release notes
Related: https://pagure.io/koji/issue/3869
2023-07-11 16:01:14 +02:00
Tomas Kopecek
3c2d7873d6 PR#3865: fix tests/flake8
Merges #3865
https://pagure.io/koji/pull-request/3865
2023-07-04 09:10:52 +02:00
Tomas Kopecek
030e37e1fb fix tests/flake8 2023-07-04 09:09:57 +02:00
Tomas Kopecek
c1fae34cb4 PR#3846: cli: streamline python/json options in call command
Merges #3846
https://pagure.io/koji/pull-request/3846

Fixes #3852
https://pagure.io/koji/issue/3852
2023-07-04 08:55:20 +02:00
Mike McLean
5fb2dfa8ca avoid using fstrings in client code 2023-07-04 08:55:12 +02:00
Mike McLean
61675aec2f be pickier about keyword args and add a note about them in usage 2023-07-04 08:55:12 +02:00
Mike McLean
65d0bbb897 additional unit tests 2023-07-04 08:55:12 +02:00
Mike McLean
97932391de unit tests 2023-07-04 08:55:12 +02:00
Mike McLean
d1ff157086 cli: streamline python/json options in call command 2023-07-04 08:55:12 +02:00
Tomas Kopecek
bc597c256f PR#3828: better handling of deleted tags in kojiweb
Merges #3828
https://pagure.io/koji/pull-request/3828

Fixes: #3827
https://pagure.io/koji/issue/3827
taskinfo page fails on some deleted tags
2023-07-04 08:54:39 +02:00
Mike McLean
4e5841bbf5 include new template 2023-07-04 08:54:32 +02:00
Mike McLean
77aeee7e6b better handling of deleted tags in kojiweb
1. notifications might reference deleted tags
2. tasks might reference deleted tags
3. handle deleted tags in taskinfo page
2023-07-04 08:54:32 +02:00
Tomas Kopecek
7168575f71 PR#3864: drop stray typing hint
Merges #3864
https://pagure.io/koji/pull-request/3864

Fixes: #3863
https://pagure.io/koji/issue/3863
kojivmd fails to start on older python
2023-07-04 08:48:08 +02:00
Mike McLean
1c1807ef6d drop stray typing hint
typo from https://pagure.io/koji/pull-request/3679
2023-07-03 17:13:43 -04:00
Tomas Kopecek
e5c78e3967 PR#3857: Fix duplicate build link on CG taskinfo page
Merges #3857
https://pagure.io/koji/pull-request/3857

Fixes: #3856
https://pagure.io/koji/issue/3856
Duplicate build link on CG taskinfo pages
2023-06-27 12:38:03 +02:00
Tomas Kopecek
f6c72b8ac8 Fix duplicate build link on CG taskinfo page
Related: https://pagure.io/koji/issue/3856
2023-06-27 12:37:54 +02:00
Tomas Kopecek
7134f6bde5 PR#3839: basic vim syntax highlighting for hub policy
Merges #3839
https://pagure.io/koji/pull-request/3839

Fixes #3853
Related: https://pagure.io/koji/issue/3853
2023-06-27 12:34:49 +02:00
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