Commit graph

7109 commits

Author SHA1 Message Date
Tomas Kopecek
fe438fb2f0 PR#3741: vm: ignore B113: request_without_timeout
Merges #3741
https://pagure.io/koji/pull-request/3741
2023-04-20 10:00:41 +02:00
Tomas Kopecek
39ecf0538a vm: ignore B113: request_without_timeout
Bandit warning for missing timeout. It would be caught on VM level
https://bandit.readthedocs.io/en/1.7.5/plugins/b113_request_without_timeout.html
2023-04-20 10:00:34 +02:00
Tomas Kopecek
ae793a2cee PR#3784: remove Host.getTask method
Merges #3784
https://pagure.io/koji/pull-request/3784
2023-04-20 09:59:08 +02:00
Mike McLean
f56c270d70 remove Host.getTask method
Unused code, was previously exported, but that export was removed in
https://pagure.io/koji/pull-request/2406
2023-04-20 09:59:00 +02:00
Tomas Kopecek
8e0fcc5f4b PR#3783: fakehub --pdb option
Merges #3783
https://pagure.io/koji/pull-request/3783
2023-04-20 09:47:11 +02:00
Mike McLean
128d02be79 fakehub: --pdb option 2023-04-19 21:09:42 -04:00
Mike McLean
5307b3d2c5 fakehub: fix typo 2023-04-19 21:09:42 -04:00
Mike McLean
63cd77f049 fakehub: avoid commits after debugging errors 2023-04-19 21:09:42 -04:00
Mike McLean
dca12896a2 fakehub: drop into pdb on exception 2023-04-19 21:09:42 -04:00
Mike McLean
4ee35ddfe6 fix fakehub imports 2023-04-19 21:09:42 -04:00
Tomas Kopecek
175ecb5e8f PR#3780: tagNotification: user_id is int when get_user is used
Merges #3780
https://pagure.io/koji/pull-request/3780

Fixes: #3779
https://pagure.io/koji/issue/3779
tagNotification: when user_id is not int, it uses dict in user_id
2023-04-18 13:48:07 +02:00
Jana Cupova
b1d0361f18 tagNotification: user_id is int when get_user is used
Fixes: https://pagure.io/koji/issue/3779
2023-04-18 13:48:04 +02:00
Tomas Kopecek
4a953c0092 PR#3781: Set COLUMNS for tests to handle different terminals
Merges #3781
https://pagure.io/koji/pull-request/3781
2023-04-18 13:45:44 +02:00
Tomas Kopecek
c3f42e2ed5 Set COLUMNS for tests to handle different terminals 2023-04-18 13:44:17 +02:00
Tomas Kopecek
8ae2d9be41 PR#3778: docs: Emphasize new build_from_scm hub policy
Merges #3778
https://pagure.io/koji/pull-request/3778
2023-04-18 10:23:09 +02:00
Tomas Kopecek
35add0c62b docs: Emphasize new build_from_scm hub policy 2023-04-18 10:10:18 +02:00
Tomas Kopecek
86ba6c8c8c PR#3773: Fix prune-signed-copies unit tests
Merges #3773
https://pagure.io/koji/pull-request/3773
2023-04-17 09:36:00 +02:00
Jana Cupova
542d5c80fd Fix prune-signed-copies unit tests 2023-04-17 09:35:46 +02:00
Tomas Kopecek
100411c1cd PR#3751: Save task_id correctly also in CGInitBuild
Merges #3751
https://pagure.io/koji/pull-request/3751

Fixes: #3750
https://pagure.io/koji/issue/3750
CGImport + CGInitBuild fail to save task_id
2023-04-17 09:30:11 +02:00
Tomas Kopecek
dadce1de7d Save task_id correctly also in CGInitBuild
Related: https://pagure.io/koji/issue/3750
2023-04-17 09:29:58 +02:00
Tomas Kopecek
da9a9c572e PR#3763: Update deprecated policy comments
Merges #3763
https://pagure.io/koji/pull-request/3763
2023-04-13 10:19:31 +02:00
Jana Cupova
b0a9985235 Update deprecated policy comments 2023-04-13 10:19:24 +02:00
Tomas Kopecek
650a149bea PR#3771: prune-signed-copies unit tests
Merges #3771
https://pagure.io/koji/pull-request/3771

Relates: #3723
https://pagure.io/koji/issue/3723
Increase unit tests for hub/cli/sidetags
2023-04-11 15:30:51 +02:00
Jana Cupova
5aea4e2d54 prune-signed-copies unit tests 2023-04-11 15:13:19 +02:00
Tomas Kopecek
642f59b867 PR#3765: Release notes 1.32.1
Merges #3765
https://pagure.io/koji/pull-request/3765

Fixes: #3764
https://pagure.io/koji/issue/3764
Koji 1.32.1 release notes
2023-04-04 13:26:42 +02:00
Tomas Kopecek
b58527fa1d Release notes 1.32.1
Related: https://pagure.io/koji/issue/3764
2023-04-04 13:26:34 +02:00
Tomas Kopecek
12e11e0606 PR#3768: Fix coveragerc after moving hub code
Merges #3768
https://pagure.io/koji/pull-request/3768

Fixes: #3767
https://pagure.io/koji/issue/3767
Fix coveragerc
2023-04-04 13:07:39 +02:00
Tomas Kopecek
17c7307e61 Fix coveragerc after moving hub code
Related: https://pagure.io/koji/issue/3767
2023-04-04 12:58:43 +02:00
Tomas Kopecek
00a5f3be20 PR#3754: Unify behavior when result is empty in get_maven/image/win/build
Merges #3754
https://pagure.io/koji/pull-request/3754

Fixes: #3753
https://pagure.io/koji/issue/3753
Unify behavior for empty result in get_maven_build as get_image_build and get_win_build
2023-04-03 15:28:29 +02:00
Jana Cupova
027cca702d Unify behavior when result is empty in get_maven/image/win/build
Fixes: https://pagure.io/koji/issue/3753
2023-04-03 15:28:22 +02:00
Tomas Kopecek
ad8ab366fd PR#3746: Fix backward compatibility
Merges #3746
https://pagure.io/koji/pull-request/3746

Fixes: #3715
https://pagure.io/koji/issue/3715
CLI: cancel returns False when build is not existing and cancel returns first error message when more tasks are not existing
2023-04-03 15:25:27 +02:00
Jana Cupova
9a6daef300 Fix backward compatibility
Fixes: https://pagure.io/koji/issue/3715
2023-04-03 15:25:20 +02:00
Tomas Kopecek
002891e1ac PR#3740: ArgumentParser instead of ArgumentParser in sidetag CLI plugin
Merges #3740
https://pagure.io/koji/pull-request/3740

Fixes: #3739
https://pagure.io/koji/issue/3739
Sidetag CLI: OptionParser instead of ArgumentParser for consistency with all CLI commands
2023-04-03 15:23:28 +02:00
Jana Cupova
2139b237d0 ArgumentParser instead of ArgumentParser in sidetag CLI plugin
Fixes: https://pagure.io/koji/issue/3739
2023-04-03 15:23:21 +02:00
Tomas Kopecek
3f3c56fd75 PR#3707: Add repoID in listBuildroots and create repoinfo command
Merges #3707
https://pagure.io/koji/pull-request/3707

Fixes: #2549
https://pagure.io/koji/issue/2549
RFE: query buildroots by repo
2023-04-03 15:20:25 +02:00
Jana Cupova
de192e10f1 Add repoID in listBuildroots and create repoinfo command
Add repoID param in listBuildroots and show result in repoInfo
Create new command repoinfo which provides equivalent info as repoInfo
Add number of buildroots related to repo in repoinfo page

Fixes: https://pagure.io/koji/issue/2549
2023-04-03 15:20:18 +02:00
Tomas Kopecek
a48172924f PR#3752: Increase hub unit tests 03-02
Merges #3752
https://pagure.io/koji/pull-request/3752
2023-03-29 14:05:25 +02:00
Jana Cupova
bbd841c0d4 Increase hub unit tests 03-02 2023-03-29 13:49:32 +02:00
Tomas Kopecek
6d01a3f63d PR#3747: Fix editSidetag fstring variable formats and fix test unit tests
Merges #3747
https://pagure.io/koji/pull-request/3747

Fixes: #3748
https://pagure.io/koji/issue/3748
editSidetag: fstring variables have {variable:r} and it returns error
2023-03-27 12:43:57 +02:00
Jana Cupova
889770e74c Fix editSidetag fstring variable formats and fix test unit tests
Fixes: https://pagure.io/koji/issue/3748
2023-03-24 11:40:44 +01:00
Tomas Kopecek
b208e77f6a PR#3722: Increate sidetag hub unit tests
Merges #3722
https://pagure.io/koji/pull-request/3722

Relates: #3723
https://pagure.io/koji/issue/3723
Increase unit tests for hub/cli/sidetags
2023-03-23 14:01:48 +01:00
Jana Cupova
c8bcb496d4 Increate sidetag hub unit tests 2023-03-23 14:01:41 +01:00
Tomas Kopecek
d5eea0c6a5 PR#3745: Fix pkglist_add when extra_arches is None
Merges #3745
https://pagure.io/koji/pull-request/3745

Fixes: #3744
https://pagure.io/koji/issue/3744
[hub] pkgListAdd rewrites extra_arches value None to empty string
2023-03-23 13:23:50 +01:00
Jana Cupova
fe0bf6dc86 Fix pkglist_add when extra_arches is None
Fixes: https://pagure.io/koji/issue/3744
2023-03-23 13:23:42 +01:00
Tomas Kopecek
f472ab9724 PR#3731: CLI list-untagged: One space only instead of double space before references
Merges #3731
https://pagure.io/koji/pull-request/3731

Fixes: #3730
https://pagure.io/koji/issue/3730
Double space before references in list-untagged
2023-03-23 13:21:53 +01:00
Jana Cupova
175c618e5b CLI list-untagged: One space only instead of double space before references
Fixes: https://pagure.io/koji/issue/3730
2023-03-23 13:21:38 +01:00
Tomas Kopecek
c0d537c4f0 PR#3703: RawHeader improvements
Merges #3703
https://pagure.io/koji/pull-request/3703

Fixes: #3713
https://pagure.io/koji/issue/3713
RawHeader - get list of strings items
2023-03-23 13:20:14 +01:00
Mike McLean
54996d9e63 fix unit test 2023-03-23 13:20:06 +01:00
Mike McLean
106ccbcde5 single opt for get, plus simple unit test 2023-03-23 13:20:06 +01:00
Mike McLean
898af45e4f flake8 fix 2023-03-23 13:20:06 +01:00