Yu Ming Zhu
180cf894e2
hub: [get_group_members] return field is not named as alias
2019-10-15 09:16:43 +02:00
Yu Ming Zhu
ea52707f1d
fix typos in auth.py
2019-10-15 09:16:43 +02:00
Yu Ming Zhu
68901dde1c
hub: [getUser] support dict userInfo
2019-10-15 09:16:43 +02:00
Tomas Kopecek
c05d8ea9d7
PR#1296: extract read_config_files util for config parsing
...
Merges #1296
https://pagure.io/koji/pull-request/1296
Fixes : #865
Consolidate config reading style
https://pagure.io/koji/issue/865
2019-10-15 09:14:53 +02:00
Yuming Zhu
b2b8d5f9cc
strict per item in config_files
2019-10-15 09:14:16 +02:00
Yu Ming Zhu
153ac4058d
fix test_runroot_builder tests
2019-10-15 09:14:16 +02:00
Yu Ming Zhu
081aacbdeb
use RawConfigParser for kojid
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
Tomas Kopecek
d5f67d648a
PR#1670: verifyChecksum fails for non-output files
...
Merges #1670
https://pagure.io/koji/pull-request/1670
Fixes : #1669
https://pagure.io/koji/issue/1669
verifyChecksum fails for non-output files
2019-10-15 09:10:19 +02:00
Tomas Kopecek
46f85c9b86
verifyChecksum fails for non-output files
...
PR #967 introduced another error. Before verifyChecksum was used only
from kojikamid and it made sense, that it failed on other files. Now it
is used also for build requires, etc. As it makes no harm (read-only),
we can extend this check for other paths.
Fixes: https://pagure.io/koji/issue/1669
2019-10-15 09:10:10 +02:00
Tomas Kopecek
6c97ff4309
PR#1492: bundle db maintenance script to hub
...
Merges #1492
https://pagure.io/koji/pull-request/1492
Fixes : #1478
https://pagure.io/koji/issue/1478
missing note about cleaning sessions table
2019-10-15 09:00:27 +02:00
Tomas Kopecek
ba54425854
clean build_reservations table
2019-10-15 09:00:22 +02:00
Tomas Kopecek
54d6630345
Add vaccum to sessions cleanup
2019-10-15 09:00:22 +02:00
Tomas Kopecek
f609f2c2af
remove typo
2019-10-15 09:00:22 +02:00
Tomas Kopecek
2da8d92bae
improve docs
2019-10-15 09:00:22 +02:00
Tomas Kopecek
0d0c879458
remove Install section
2019-10-15 09:00:22 +02:00
Tomas Kopecek
f68eeb6cc0
bundle db maintenance script to hub
...
Fixes: https://pagure.io/koji/issue/1478
2019-10-15 09:00:22 +02:00
Tomas Kopecek
66f8cd4cd7
PR#1160: hub: new listCGs RPC
...
Merges #1160
https://pagure.io/koji/pull-request/1160
Fixes : #1566
hub: new listCGs RPC
https://pagure.io/koji/issue/1566
2019-10-15 08:54:37 +02:00
Ken Dreyer
c01820e50d
hub: new listCGs RPC
...
Add a new hub method for listing new content generator records.
The purpose of this change is to make it easier for administrators to
determine what content generators are present and what user accounts
have access to those.
2019-10-15 08:54:34 +02:00
Tomas Kopecek
8e54896276
PR#1120: Show inheritance flags in list-tag-inheritance output
...
Merges #1120
https://pagure.io/koji/pull-request/1120
Fixes : #1625
Show in inheritance flags in inheritance listing
https://pagure.io/koji/issue/1625
2019-10-15 08:51:11 +02:00
Mike McLean
a6c5baa0eb
move flags to front
2019-10-15 08:50:16 +02:00
Mike McLean
04bbfbf161
display flags in list-tag-inheritance
2019-10-15 08:50:16 +02:00
Mike McLean
d53fefa640
Split out inheritance flags formatting
2019-10-15 08:50:16 +02:00
Tomas Kopecek
106be174b4
PR#1683: in f30+ python-devel defaults to python3
...
Merges #1683
https://pagure.io/koji/pull-request/1683
Fixes : #1585
https://pagure.io/koji/issue/1585
koji doesn't build in rawhide
2019-10-14 10:28:21 +02:00
Tomas Kopecek
5aa3e3b29f
in f30+ python-devel defaults to python3
...
Fixes: https://pagure.io/koji/issue/1585
2019-10-14 10:28:07 +02:00
Tomas Kopecek
281a664a07
PR#1685: Tag permission can be used for un/tagBuildBypass
...
Merges #1685
https://pagure.io/koji/pull-request/1685
Fixes : #1510
tag permission vs un/tagBuildBypass
https://pagure.io/koji/issue/1510
2019-10-14 10:25:43 +02:00
Brendan Reilly
32bdc10d16
Updated docs for tag permission
2019-10-14 10:25:39 +02:00
Brendan Reilly
fb82f04837
Tag permission can be used for un/tagBuildBypass
...
Fixes : #1510
2019-10-14 10:25:39 +02:00
Tomas Kopecek
be159d7aaa
PR#902: Added editUser api call
...
Merges #902
https://pagure.io/koji/pull-request/902
Fixes: 862
rfe: add user edit
https://pagure.io/koji/issue/862
2019-10-14 10:14:53 +02:00
Brendan Reilly
fda86ce710
Added editUser api call
...
Fixes : #862
2019-10-14 10:14:50 +02:00
Tomas Kopecek
5f3694ecfe
PR#1684: use preferred arch if there is more options
...
Merges #1684
https://pagure.io/koji/pull-request/1684
Fixes : #1620
https://pagure.io/koji/issue/1620
[RFE] edit-external-repo should be able to change mode
2019-10-14 10:13:01 +02:00
Tomas Kopecek
dd8fd935f4
use preferred arch if there is more options
...
https://pagure.io/koji/pull-request/323 introduced option to force an
arch for noarch packages. Nevertheless, it is only task architecture and
not buildroot one. So, if builder can provide more possible archs (32/64
bit), it will pick one of these randomly and can go against preferred arch.
Patch introduces "preferred_arch" option for find_arch and use the
task's one when it works with noarch rpm.
Fixes: https://pagure.io/koji/issue/789
2019-10-14 10:12:40 +02:00
Tomas Kopecek
f94deee618
PR#1700: README: fix bullet indentation
...
Merges #1700
https://pagure.io/koji/pull-request/1700
2019-10-14 10:10:19 +02:00
Ken Dreyer
9cd1757db5
README: fix bullet indentation
...
Prior to this change, Pagure did not render the mailing list items as
children of the parent bullet. Indent the children further so Pagure
will render them as sub-bullets.
2019-10-14 10:10:14 +02:00
Tomas Kopecek
23cd44b5e0
PR#1159: enforce unique content generator names in database
...
Merges #1159
https://pagure.io/koji/pull-request/1159
Fixes: 1668
enforce unique content generator names in database
https://pagure.io/koji/issue/1668
2019-10-14 10:07:44 +02:00
Ken Dreyer
f5a845be14
enforce unique content generator names in database
...
Set a uniqueness constraint on the content generator name in the
database.
Prior to this change, we were only enforcing this in the hub application
layer. Configure this in postgres for safety.
2019-10-14 10:07:41 +02:00
Tomas Kopecek
ee47301987
PR#1699: remove references to PythonOption
...
Merges #1699
https://pagure.io/koji/pull-request/1699
2019-10-14 10:05:12 +02:00
Ken Dreyer
ae3fac1242
web: remove reference to PythonOption
...
With mod_python we could use Apache's PythonOption directive. That
directive does not exist with mod_wsgi and we have to use SetEnv
instead.
Remove the PythonOption directive and describe how to use SetEnv.
2019-10-14 10:05:08 +02:00
Ken Dreyer
d2a8c10efc
hub: remove reference to PythonOption
...
With mod_python we could use Apache's PythonOption directive. That
directive does not exist with mod_wsgi and we have to use SetEnv
instead.
Remove the PythonOption directive and describe how to use SetEnv.
2019-10-14 10:05:08 +02:00
Tomas Kopecek
9c3e39f7cb
PR#923: Remove Groups CLI Call
...
Merges #923
https://pagure.io/koji/pull-request/923
Fixes : #893
Delete comps group
https://pagure.io/koji/issue/893
2019-10-14 10:02:15 +02:00
Brendan Reilly
bc7250f312
Added CLI counterpart to groupListRemove
...
Fixes : #893
2019-10-11 15:54:08 -04:00
Tomas Kopecek
9f2684381d
PR#1696: fix typo in createUser
...
Merges #1696
https://pagure.io/koji/pull-request/1696
Fixes : #1629
https://pagure.io/koji/issue/1629
support multiple realms by kerberos auth(both krbV and GSSAPI)
2019-10-11 10:02:52 +02:00
Yuming Zhu
45ce49a643
fix typo in createUser
2019-10-11 14:21:46 +08:00
Tomas Kopecek
8a0c39f4dd
PR#1419: checking kerberos prinicipal instead of username in GSSAPI authentication
...
Merges #1419
https://pagure.io/koji/pull-request/1419
Fixes : #1400
https://pagure.io/koji/issue/1400
username - principal name mapping of GSSAPI authentication
2019-10-10 17:05:06 +02:00
Tomas Kopecek
0fa9eb08d6
PR#1648: support multiple realms by kerberos auth
...
Merges #1648
https://pagure.io/koji/pull-request/1648
Fixes : #1629
https://pagure.io/koji/issue/1629
support multiple realms by kerberos auth(both krbV and GSSAPI)
Related: #1419
https://pagure.io/koji/issue/1419
checking kerberos prinicipal instead of username in GSSAPI authentication
2019-10-10 16:38:00 +02:00
Yu Ming Zhu
cace979532
fix unittests
2019-10-10 16:37:57 +02:00
Yu Ming Zhu
30ff46f1b0
fix error msg and regex sytax
2019-10-10 16:37:57 +02:00
Yu Ming Zhu
855ffa6b5c
hub: fix condition mistake in get_user
2019-10-10 16:37:57 +02:00
Yu Ming Zhu
2034695e88
add an option to set server realm for all clients
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
6179d8f9d8
hub: remove asList in queryOpts of list_user_krb_principals
2019-10-10 16:37:56 +02:00