Tomas Kopecek
af311184fc
dropping six from hub/web
2020-06-18 15:41:35 +02:00
Tomas Kopecek
b61df1bcc5
sidetag: parenthesis typo
...
Related: https://pagure.io/koji/issue/2321
2020-06-18 13:05:29 +02:00
Nils Philippsen
cad3e63ee5
Allow admins to operate on all sidetags
...
Fixes : #2321
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-06-17 11:52:58 +02:00
Nils Philippsen
a8c72a7740
Actually return results from is_sidetag()/_owner()
...
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-06-17 11:52:58 +02:00
Tomas Kopecek
64a0033150
fix additional flake8 problems
2020-05-13 09:56:36 +02:00
Tomas Kopecek
51fe882951
listSideTags returns also user info
...
Fixes: https://pagure.io/koji/issue/2131
2020-05-06 14:55:31 +02:00
Tomas Kopecek
0132313f92
replace logging.warn with warning
...
call is deprected in python 3.7
Fixes: https://pagure.io/koji/issue/2135
2020-04-22 13:47:15 +02:00
Tomas Kopecek
40c02699a6
fixes
2020-04-08 12:48:51 +02:00
Tomas Kopecek
fa4a4a6339
edit rpm macros
2020-04-08 12:48:51 +02:00
Tomas Kopecek
f603231450
simplify checks
2020-04-08 12:48:51 +02:00
Tomas Kopecek
39d45e550f
add is_sidetag policy test
2020-04-08 12:48:51 +02:00
Tomas Kopecek
5668436073
introduce is_sidetag_owner policy
2020-04-08 12:48:14 +02:00
Tomas Kopecek
a143c440dd
remove un/block part
2020-04-08 12:48:14 +02:00
Tomas Kopecek
76352587fa
editSideTag API call
...
New API call for editing basic info on sidetags. Needs to be applied
with proper policies.
Fixes: https://pagure.io/koji/issue/1998
2020-04-08 12:48:14 +02:00
Tomas Kopecek
625c8c5b57
fix typo
2020-03-31 13:49:35 +02:00
Tomas Kopecek
2a621b337c
allow debuginfo for sidetag repos
...
Fixes: https://pagure.io/koji/issue/540
2020-03-31 13:49:35 +02:00
Tomas Kopecek
475bf17f05
fix tests
2020-03-30 15:10:30 +02:00
Tomas Kopecek
f039220a9c
better logging in protonmsg
...
Related: https://pagure.io/koji/issue/2017
2020-03-30 15:10:30 +02:00
Tomas Kopecek
dd9c929729
use correct json dump
...
Related: https://pagure.io/koji/issue/2017
2020-03-30 15:10:30 +02:00
Tomas Kopecek
52236bab4b
use buildinfo copy
2020-03-25 09:07:15 +01:00
Tomas Kopecek
d1e055f1b2
limit size of extra field in proton msgs
...
Fixes: https://pagure.io/koji/issue/2017
2020-03-25 09:07:15 +01: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
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
Yu Ming Zhu
49504073b1
refine import style
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
a5ff1f0d68
insert path before import kojihub
...
fix theproblem introduced by PR #763
this doesn't impact hub functionality, and is only related to some special cases like running runroot_hub script alone
2020-02-15 08:19:22 +00:00
Tomas Kopecek
7158c85241
announce utf-8 coding
2020-02-18 11:20:51 +01:00
Tomas Kopecek
b445a6f614
remove unused imports
2020-02-12 13:16:28 +01:00
Tomas Kopecek
b485dfeb55
fix basetag argument
2020-02-12 13:16:28 +01:00
Tomas Kopecek
b9e0597ccd
Merge sidetag plugin
...
Originally living in https://pagure.io/sidetag-koji-plugin
Fixes: https://pagure.io/koji/issue/1955
2020-02-12 13:16:28 +01:00
Tomas Kopecek
e016e6624d
Emit user in PackageListChange messages
...
Fixes: https://pagure.io/koji/issue/1035
2020-02-04 09:22:43 +01:00
Yu Ming Zhu
90cc76573f
sort imports in plugins
2019-12-12 11:00:56 +00:00
Yuming Zhu
7a6ebc851f
improve test and clean targets in Makefiles
2019-11-27 15:42:30 +01:00
Tomas Kopecek
37a88310c2
allow comma/space delimiter for allowed_methods
...
Example config says, that comma is allowed, but it was not true.
Fixes: https://pagure.io/koji/issue/1744
2019-11-08 09:47:06 -05:00
Yuming Zhu
b2b8d5f9cc
strict per item in config_files
2019-10-15 09:14:16 +02:00
Yu Ming Zhu
4c1928f377
extract read_config_files util for config parsing
2019-10-15 09:14:16 +02:00
Mike McLean
e5b36d8f21
hub plugins: use joinpath instead of os.path.join
2019-10-09 08:41:15 -04:00
Tomas Kopecek
167eba3394
fail runroot task on non-existing tag
...
Fixes: https://pagure.io/koji/issue/1139
2019-05-22 13:12:19 -04:00
Tomas Kopecek
70968aba33
Remove python2.4 OptionParse fix
...
Fixes: https://pagure.io/koji/issue/1341
2019-03-20 16:09:44 -04:00
Mike McLean
89b6c01c47
fix unit test for runroot cli plugin
2019-03-04 09:57:15 -05:00
Mike McLean
2b5f953430
drop unused import in runroot plugin
2019-03-04 09:57:15 -05:00
Mike McLean
b4b6e2e6cc
simpler function for dumping bytes to stdout
2019-03-04 09:57:15 -05:00
Tomas Kopecek
a4d41bd078
wrapper function for writing to stdout
2019-02-19 17:29:25 -05:00
Tomas Kopecek
f6125e2a03
handle byte-compiling for fedora
2019-02-17 22:33:52 -05:00