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
Jana Cupova
21c8c0f681
Remove krbLogin API
...
Fixes: https://pagure.io/koji/issue/3593
2022-11-24 13:59:17 +01:00
Tomas Kopecek
eb73457684
PR#3575: [WIP] Release notes 1.31
...
Merges #3575
https://pagure.io/koji/pull-request/3575
Fixes : #3574
https://pagure.io/koji/issue/3574
Release notes 1.31
2022-11-21 13:53:53 +01:00
Tomas Kopecek
a90f6cdf84
Release notes 1.31
...
Related: https://pagure.io/koji/issue/3574
2022-11-21 11:07:11 +01:00
Tomas Kopecek
79c41924f1
PR#3592: Use inspect.getfullargspec instead of getargspec on hub and web
...
Merges #3592
https://pagure.io/koji/pull-request/3592
Fixes : #3591
https://pagure.io/koji/issue/3591
Fedora 37 kojiweb: AttributeError: module 'inspect' has no attribute 'getargspec'
2022-11-21 10:45:38 +01:00
Jana Cupova
7b53236925
Use inspect.getfullargspec instead of getargspec on hub and web
...
Fxes: https://pagure.io/koji/issue/3591
2022-11-20 09:32:23 +01:00
Tomas Kopecek
1d9e96b5ff
fix typos from QP rewrite
2022-11-16 15:10:17 +01:00
Tomas Kopecek
de2df168f8
PR#3585: kiwi: Make /dev mounting by magic
...
Merges #3585
https://pagure.io/koji/pull-request/3585
2022-11-16 11:36:45 +01:00
Igor Raits
4d0de9de3d
kiwi: Bind-mount /dev into the buildroot for old-chroot
...
The OEM images can't be build with nspawn as they require mocking with
device-mapper which is near to impossible to properly to set up in the
container so those ones have to be built in old chroot where /dev can
and must be bind-mounted. In opposite for nspawn, bind-mounting /dev
breaks build completely.
Let's just dynamically decide based on the chroot type what to do.
2022-11-16 11:36:15 +01:00
Tomas Kopecek
05851ac0c9
Revert "PR#3568: kiwi: don't bind builders's /dev"
...
This reverts commit 56cea9adc2 , reversing
changes made to e9b5ec215d .
mock was changed meanwhile to automatically bind device mapper into the
buildroot.
Related: https://pagure.io/koji/issue/3567
https://pagure.io/koji/pull-request/3585
https://github.com/rpm-software-management/mock/pull/1005
2022-11-15 14:20:22 +01:00
Tomas Kopecek
1ece0d459e
PR#3586: Fix logout when hub is older than CLI
...
Merges #3586
https://pagure.io/koji/pull-request/3586
Fixes : #3396
https://pagure.io/koji/issue/3396
Simultaneous Session Logons
2022-11-15 12:24:16 +01:00
Jana Cupova
e5367b088f
Fix logout when hub is older than CLI
...
https://pagure.io/koji/issue/3396
2022-11-15 12:19:31 +01:00
Tomas Kopecek
1b8a73e67c
PR#3407: build policy
...
Merges #3407
https://pagure.io/koji/pull-request/3407
Fixes : #3323
https://pagure.io/koji/issue/3323
Do not build if you cannot tag
2022-11-11 09:25:36 +01:00
Tomas Kopecek
e9ebe2250d
build policy
...
New 'build' policy replacing 'build_from_srpm' and 'build_from_repo_id'.
Related: https://pagure.io/koji/issue/3323
Author: Tomas Kopecek <tkopecek@redhat.com>
2022-11-10 15:47:44 +01:00