Commit graph

6917 commits

Author SHA1 Message Date
Tomas Kopecek
ebf892a1c0 symlink logs to result dir 2023-01-03 14:25:05 +01:00
Tomas Kopecek
0372a8e6a4 kiwi: upload log for failed tasks
Related: https://pagure.io/koji/issue/3597
2023-01-03 14:25:05 +01:00
Tomas Kopecek
ec3fc564c5 PR#3641: Fix typo in CLI add-tag-inheritance error msg
Merges #3641
https://pagure.io/koji/pull-request/3641

Fixes: #3640
https://pagure.io/koji/issue/3640
Typo in add-tag-inheritance
2023-01-03 14:21:52 +01:00
Jana Cupova
36a071edb3 Fix typo in CLI add-tag-inheritance error msg
Fixes: https://pagure.io/koji/issue/3640
2023-01-03 13:53:59 +01:00
Tomas Kopecek
6c9da27987 remove empty file 2022-12-21 14:04:46 +01:00
Tomas Kopecek
e8fbb44cc7 PR#3636: Deprecated get_sequence_value
Merges #3636
https://pagure.io/koji/pull-request/3636

Fixes: #3634
https://pagure.io/koji/issue/3634
Deprecated get_sequence_value
2022-12-20 14:24:27 +01:00
Jana Cupova
8a72187e6b Deprecated get_sequence_value
Fixes: https://pagure.io/koji/issue/3634
2022-12-20 14:24:18 +01:00
Tomas Kopecek
092a2d16b5 PR#3624: unify migration scripts
Merges #3624
https://pagure.io/koji/pull-request/3624

Fixes: #3623
https://pagure.io/koji/issue/3623
Rename migration scripts
2022-12-20 12:47:01 +01:00
Tomas Kopecek
669b99f4c5 unify migration scripts
Related: https://pagure.io/koji/issue/3623
2022-12-20 12:46:55 +01:00
Tomas Kopecek
d79c865874 PR#3630: Use old-style checkout for shortened refs
Merges #3630
https://pagure.io/koji/pull-request/3630

Fixes: #3629
https://pagure.io/koji/issue/3629
Checkout fails for shortened refs
2022-12-20 12:40:09 +01:00
Tomas Kopecek
be4e0cc44d Use old-style checkout for shortened refs
Related: https://pagure.io/koji/issue/3629
2022-12-19 09:43:15 +01:00
Tomas Kopecek
ddcfa61f4a PR#3620: fix typo preventing building docker images
Merges #3620
https://pagure.io/koji/pull-request/3620

Fixes: #3619
https://pagure.io/koji/issue/3619
python typo prevents from building docker images
2022-12-14 12:53:56 +01:00
Tomas Kopecek
49bbb0e55c fix typo preventing building docker images
Related: https://pagure.io/koji/issue/3619
2022-12-14 12:53:49 +01:00
Tomas Kopecek
c667d5bfff fix version numbers 2022-12-12 10:29:39 +01:00
Jan Kaluza
ecef2ea1d0 Support deleted build tag in taskinfo.
This commit handles a situation when build tag is removed for
a task for which the taskinfo is called.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2022-12-12 09:10:35 +01:00
Tomas Kopecek
cbee2ddb4f PR#3614: fix default archivetypes extensions
Merges #3614
https://pagure.io/koji/pull-request/3614

Fixes: #3605
https://pagure.io/koji/issue/3605
The SQL schema creates invalid combination of archive types
2022-12-12 09:09:59 +01:00
Tomas Kopecek
b9e8c03127 fix default archivetypes extensions
Related: https://pagure.io/koji/issue/3605
2022-12-12 09:09:52 +01:00
Tomas Kopecek
bd0c4cb076 PR#3607: Change canceled icon color from red to orange
Merges #3607
https://pagure.io/koji/pull-request/3607

Fixes: #3606
https://pagure.io/koji/issue/3606
Use a different colour for cancelled tasks as they blend with failed tasks
2022-12-08 13:42:50 +01:00
Jana Cupova
1c21f9589e Change canceled icon color from red to orange
Fixes: https://pagure.io/koji/issue/3606
2022-12-08 13:42:42 +01:00
Tomas Kopecek
40aaf08f7e PR#3611: Replace deprecated inspect methods
Merges #3611
https://pagure.io/koji/pull-request/3611

Fixes: #3610
https://pagure.io/koji/issue/3610
listAPI/methoHelp doesn't work on py3.11
2022-12-08 13:42:09 +01:00
Tomas Kopecek
965153c7e9 basic tests for kojixmlrpc 2022-12-08 13:42:02 +01:00
Tomas Kopecek
712fcebe55 Replace deprecated inspect methods
Related: https://pagure.io/koji/issue/3610
2022-12-08 13:42:02 +01:00
Tomas Kopecek
463e469b80 PR#3588: Move hub code to site-packages
Merges #3588
https://pagure.io/koji/pull-request/3588

Fixes: #3587
https://pagure.io/koji/issue/3587
Move hub code to site-packages
2022-12-08 13:39:05 +01:00
Tomas Kopecek
e6e618d0bb fix tests 2022-12-08 13:37:32 +01:00
Tomas Kopecek
556dddc9d0 wip 2022-12-08 10:04:31 +01:00
Tomas Kopecek
4916b368a5 wip 2022-12-08 09:58:14 +01:00
Tomas Kopecek
06350fa230 wip 2022-12-08 09:58:12 +01:00
Tomas Kopecek
5c3edc2ac8 move kojiapp.py and configs to separate directory 2022-12-08 09:57:35 +01:00
Tomas Kopecek
df70ecfbba block py2 building for hub/web/util 2022-12-08 09:57:35 +01:00
Tomas Kopecek
f7324fafa8 import private functions 2022-12-08 09:57:35 +01:00
Tomas Kopecek
8902675489 further changes 2022-12-08 09:57:35 +01:00
Tomas Kopecek
95912eb314 Move hub code to site-packages
Related: https://pagure.io/koji/issue/3587
2022-12-08 09:57:35 +01:00
Tomas Kopecek
4ffcbc65f5 PR#3589: Replace _multiRow, _singleRow, _singleValue with QP
Merges #3589
https://pagure.io/koji/pull-request/3589

Fixes: #3581
https://pagure.io/koji/issue/3581
Replace _mutliRow and _singleRow with QP
2022-12-08 09:22:30 +01:00
Jana Cupova
fa7319c3b1 Fix fields type and dict of query.execute 2022-12-08 09:22:17 +01:00
Jana Cupova
a8dd469091 Replace _multiRow, _singleRow, _singleValue with QP
Fixes: https://pagure.io/koji/issue/3581
2022-12-08 09:22:17 +01:00
Tomas Kopecek
769ac0e178 PR#3601: Create DeleteProcessor class and use it
Merges #3601
https://pagure.io/koji/pull-request/3601

Fixes: #3580
https://pagure.io/koji/issue/3580
DeleteProcessor
2022-12-08 09:19:13 +01:00
Jana Cupova
78dee69de4 Create DeleteProcessor class and use it
Fixes: https://pagure.io/koji/issue/3580
2022-12-08 09:18:55 +01:00
Tomas Kopecek
fb202273b9 PR#3618: handle migrated rpmdb path
Merges #3618
https://pagure.io/koji/pull-request/3618

Fixes: #3617
https://pagure.io/koji/issue/3617
Fedora changed rpmdb location which breaks buildroot listing
2022-12-08 09:15:17 +01:00
Tomas Kopecek
39fc11a439 handle migrated rpmdb path
Related: https://pagure.io/koji/issue/3617
2022-12-08 09:15:14 +01:00
Tomas Kopecek
752c76ab7d fix flake8 2022-12-07 15:35:00 +01:00
Tomas Kopecek
eba7cbd126 PR#3608: koji-gc: use history to query trashcan contents
Merges #3608
https://pagure.io/koji/pull-request/3608
2022-12-07 15:30:24 +01:00
Mike McLean
4899aba292 koji-gc: clean up handle_delete() a bit 2022-12-07 15:30:18 +01:00
Mike McLean
3c0fc0b4b1 koji-gc: use history to query trashcan contents
as a side effect, we get the hub to apply our grace period for us
2022-12-07 15:30:18 +01:00
Tomas Kopecek
0034e9eb8d PR#3562: rpmdiff: replace deprecated rpm call
Merges #3562
https://pagure.io/koji/pull-request/3562

Fixes: #3561
https://pagure.io/koji/issue/3561
Deprecated rpm.fiFromHeader
2022-12-05 13:32:33 +01:00
Tomas Kopecek
323b221bbe fix flake8 2022-12-05 13:32:26 +01:00
Tomas Kopecek
4c55498849 kojihash test 2022-12-05 13:32:26 +01:00
Mike McLean
af183a2686 Emulate old list data 2022-12-05 13:32:26 +01:00
Mike McLean
7015da5f44 alternate approach 2022-12-05 13:32:26 +01:00
Tomas Kopecek
a8c4373c97 rpmdiff: replace deprecated rpm call
Related: https://pagure.io/koji/issue/3561
2022-12-05 13:32:26 +01:00
Tomas Kopecek
eff32f4f05 PR#3599: Remove krbLogin API
Merges #3599
https://pagure.io/koji/pull-request/3599

Fixes: #3593
https://pagure.io/koji/issue/3593
krbLogin API still exists but it always fail
2022-12-05 10:31:25 +01:00