Commit graph

4930 commits

Author SHA1 Message Date
Tomas Kopecek
bb9c72092b use only gssapi_login in CLI
Fixes: https://pagure.io/koji/issue/1906
2020-03-09 15:13:36 +01:00
Tomas Kopecek
5b09f4de5f PR#2016: Add detail about known koji signatures to buildinfo
Merges #2016
https://pagure.io/koji/pull-request/2016

Fixes: #1980
https://pagure.io/koji/issue/1980
Koji buildinfo NVR should report any stored signatures
2020-03-09 15:11:46 +01:00
Tomas Kopecek
f05427e89d Add detail about known koji signatures to buildinfo
Fixes: https://pagure.io/koji/issue/1980
2020-03-09 15:11:41 +01:00
Tomas Kopecek
2678617444 PR#2027: raise GenericError instead of TypeError in filterResults
Merges #2027
https://pagure.io/koji/pull-request/2027

Fixes: #1421
https://pagure.io/koji/issue/1421
API filterResults returns Fault for API call which not returns list and non exist API call
2020-03-09 11:35:22 +01:00
Tomas Kopecek
1f391a7edc raise GenericError on non-existing API call
count, filterResults and countAndFilterResults now raises GenericError
if unknown API call is made

Fixes: https://pagure.io/koji/issue/1421
2020-03-05 16:27:32 +01:00
Tomas Kopecek
1919ce80de raise GenericError instead of TypeError in filterResults
Fixes: https://pagure.io/koji/issue/1421
2020-03-05 16:23:02 +01:00
Tomas Kopecek
ebbe59a48c PR#2009: CG: add and update buildinfo.extra.typeinfo if it doesn't exist
Merges #2009
https://pagure.io/koji/pull-request/2009

Fixes: #2008
https://pagure.io/koji/issue/2008
CG: when build.extra.typeinfo doesn't exist, legacy build.extra.(image|win|maven) isn't copied to typeinfo
2020-03-05 15:18:01 +01:00
Yu Ming Zhu
853953b625 CG: add and update buildinfo.extra.typeinfo if it doesn't exist
fixes: #2008
2020-03-05 15:17:54 +01:00
Tomas Kopecek
694b5ce565 PR#2032: 1.20.1 release notes
Merges #2032
https://pagure.io/koji/pull-request/2032

Fixes: #2031
https://pagure.io/koji/issue/2031
1.20.1 release notes
2020-03-05 14:05:19 +01:00
Tomas Kopecek
2cf1373afb update for last fix 2020-03-05 14:02:47 +01:00
Tomas Kopecek
f59257ef13 fix typo 2020-03-05 14:02:47 +01:00
Tomas Kopecek
e4fa53f8ea 1.20.1 release notes
Fixes: https://pagure.io/koji/issue/2031
2020-03-05 14:02:47 +01:00
Tomas Kopecek
86827f7bb3 PR#2060: build_references: fix the type of event_id used by max
Merges #2060
https://pagure.io/koji/pull-request/2060

Fixes: #1961
https://pagure.io/koji/issue/1961
SQL effectivity for build_references
2020-03-05 13:50:48 +01:00
Yuming Zhu
fa613108a5 build_references: fix the type of event_id used by max
fixes: #1961
2020-03-04 16:58:29 +08:00
Mike McLean
25fb4e673c PR#2049: extending flake8 rules
Merges #2049
https://pagure.io/koji/pull-request/2049

Fixes: #2050
https://pagure.io/koji/issue/2050
extending flake8 rules
2020-03-03 18:00:12 -05:00
Yuming Zhu
20ee6081e0 flake8: apply rules for koji-sidetag-cleanup 2020-03-03 21:38:22 +08:00
Yuming Zhu
d21083a11b still use BaseException for logging purpose 2020-03-03 21:38:22 +08:00
Yuming Zhu
cf34706f04 use Exception instead of BaseException for bare expection 2020-03-03 21:38:22 +08:00
Yuming Zhu
b3b0c8d51e flake8: ignore F812 rule for PY2 2020-03-03 21:38:22 +08:00
Yuming Zhu
a3d3604416 flake8: update contribution guide for flake8 2020-03-03 21:38:22 +08:00
Yuming Zhu
31006ed775 add test-requirements.txt to install testing related modules by pip 2020-03-03 21:38:22 +08:00
Yuming Zhu
8c76bcde74 flake8: apply all rules after rebasing 2020-03-03 21:38:22 +08:00
Yuming Zhu
2a2c5cb729 flake8: apply W rules (prefering W503) 2020-03-03 21:38:22 +08:00
Yuming Zhu
c5db34a8e1 flake8: apply E501 with max-line-length=99 2020-03-03 21:38:22 +08:00
Yuming Zhu
f1ba6cefd7 flake8: apply all rest E7 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
6ed30954b2 flake8: apply E71x rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
fa69c4904e flake8: apply E70x rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
6dd77e0fa4 flake8: apply E502 rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
1416630e42 flake8: apply E4 rules and ignore E402 in sidetag_hub plugin 2020-03-03 21:38:22 +08:00
Yuming Zhu
0f727a2ab4 flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
05340b146b flake8: apply E2 rules except E266 2020-03-03 21:38:21 +08:00
Yuming Zhu
ce1f9928af flake8: apply E1 rules 2020-03-03 21:38:21 +08:00
Yuming Zhu
450f9249cd flake8: apply E265 for util/koji-* 2020-03-03 21:35:08 +08:00
Yuming Zhu
0a0ee577ec flake8: apply F rules for koji-shadow 2020-03-03 21:35:08 +08:00
Yu Ming Zhu
49504073b1 refine import style 2020-03-03 21:35:08 +08:00
Yuming Zhu
a0a9dd74ca flake8: util/koji-* were ignored 2020-03-03 21:35:08 +08:00
Yuming Zhu
97cfaa4fcf flake8: follow E265 rule 2020-03-03 21:35:08 +08:00
Yuming Zhu
642508ccf6 flake8: follow all F rules 2020-03-03 21:35:08 +08:00
Tomas Kopecek
7b4c7aa3d1 PR#1891: Disable notifications from clone-tag by default
Merges #1891
https://pagure.io/koji/pull-request/1891

Fixes: #1890
https://pagure.io/koji/issue/1890
clone-tag should not generate notifications
2020-03-03 14:13:53 +01:00
Christopher O'Brien
ff1996564c Disable notifications from clone-tag by default
The tagBuildBypass and untagBuildBypass invocations in the clone-tag
CLI were not setting the notify option, leaving it at the default of
True. This means in some cases many hundreds of notification events
would be triggered from a clone-tag call.

Change the default behavior of clone-tag to explicitly disable
notifications

Add a new --notify option to clone-tag to re-enable notifications for
tagging and untagging of builds.

Fixes: #1890
2020-03-03 14:13:48 +01:00
Christopher O'Brien
e4062ea1ea allow python to find its own version of nose rather than looking for a binary which may not exist 2020-03-03 14:13:48 +01:00
Tomas Kopecek
5dc492ada4 PR#2006: add missing koji-sidetag-cleanup script
Merges #2006
https://pagure.io/koji/pull-request/2006

Fixes: #2005
https://pagure.io/koji/issue/2005
sidetag plugin merge missed cleanup script
2020-03-02 14:27:22 +01:00
Tomas Kopecek
1cfe6e50e4 add missing koji-sidetag-cleanup script
Fixes: https://pagure.io/koji/issue/2005
2020-03-02 14:27:15 +01:00
Mike McLean
de92fc1cb6 PR#2025: Include livemedia builds in accepted wrapperRPM methods
Merges #2025
https://pagure.io/koji/pull-request/2025
2020-02-26 18:04:39 -05:00
Brendan Reilly
67b30845fc Include livemedia builds in accepted wrapperRPM methods 2020-02-26 18:04:36 -05:00
Tomas Kopecek
a5cff3a7c5 PR#2045: insert path before import kojihub
Merges #2045
https://pagure.io/koji/pull-request/2045
2020-02-26 13:29:12 +01:00
Tomas Kopecek
4c315dddc0 PR#2034: update docs to current jenkins setup
Merges #2034
https://pagure.io/koji/pull-request/2034

Fixes: #1871
https://pagure.io/koji/issue/1871
flake8 to check code style
2020-02-25 10:31:55 +01:00
Tomas Kopecek
d86273e39d update docs to current jenkins setup
Fixes: https://pagure.io/koji/issue/1871
2020-02-25 10:31:45 +01:00
Tomas Kopecek
5f026cd752 PR#1987: Add doc string for virtual methods
Merges #1987
https://pagure.io/koji/pull-request/1987

Fixes: #1533
https://pagure.io/koji/issue/1533
Add doc string for virtual methods
2020-02-25 10:25:05 +01:00
Tomas Kopecek
344f00a2a5 move _apidoc cache to session
Fixes: https://pagure.io/koji/issue/1533
2020-02-25 10:24:55 +01:00