Commit graph

4569 commits

Author SHA1 Message Date
Tomas Kopecek
6d72bba3fd fix typo in table column name
Fixes: https://pagure.io/koji/issue/1759
2019-11-05 16:42:07 -05:00
Tomas Kopecek
f60940b19b PR#1753: Fix hub reporting of bogus ownership data
Merges #1753
https://pagure.io/koji/pull-request/1753
2019-11-05 09:00:23 -05:00
Jim Foraker
b1aaf531aa hub: Fix permissions in readPackageList()
The recent changes to kerberos principal handling broke proper reporting
of package ownership, due to an obvious typo.

Signed-off-by: Jim Foraker <foraker1@llnl.gov>
2019-11-04 15:05:23 -08:00
Tomas Kopecek
a24af06343 PR#1695: clean python compiled binaries for non *.py code
Merges #1695
https://pagure.io/koji/pull-request/1695

Fixes #1698
python code without .py can not be clean by `make clean`
https://pagure.io/koji/issue/1698
2019-10-31 13:20:57 +01:00
Yu Ming Zhu
135ac0d6ae clean python compiled binaries for non *.py code
fixes: #1698
2019-10-31 13:20:53 +01:00
Tomas Kopecek
353eefea1d PR#1733: allow tag or target permissions as appropriate (on master)
Merges #1733
https://pagure.io/koji/pull-request/1733

Fixes: #1729
https://pagure.io/koji/issue/1729
koji CLI still checks for admin permission instead of tag/target/host
2019-10-31 11:40:22 +01:00
Christopher O'Brien
52088adbb1 make tests work 2019-10-31 11:40:16 +01:00
Christopher O'Brien
0e3e9380e9 check for tag or target permission in addition to admin for relevant CLI calls 2019-10-31 11:40:16 +01:00
Tomas Kopecek
a03157d11a PR#1739: More default values in example kojihub.conf
Merges #1739
https://pagure.io/koji/pull-request/1739

Fixes: #1661
https://pagure.io/koji/issue/1661
Configure python's logging module in koji's config
2019-10-31 11:24:44 +01:00
Tomas Kopecek
1a2b10ae8e More default values in example kojihub.conf
Fixes: https://pagure.io/koji/issue/1661
2019-10-31 11:24:40 +01:00
Brendan Reilly
2e3641b1aa PR#1736: 1.19 release
Merges #1736
https://pagure.io/koji/pull-request/1736

Fixes: #1735
https://pagure.io/koji/issue/1735
Create release notes for 1.19
2019-10-30 14:50:10 -04:00
Brendan Reilly
4de3f6fa0f Updated changelog 2019-10-30 09:13:32 -04:00
Brendan Reilly
6a57c7db21 Updated migration doc 2019-10-30 09:12:24 -04:00
Brendan Reilly
fc566e4b31 1.19 release 2019-10-30 09:12:24 -04:00
Tomas Kopecek
beff0de500 PR#1720: backward-compatible db conversion
Merges #1720
https://pagure.io/koji/pull-request/1720

Fixes: #1718
https://pagure.io/koji/issue/1718
postgresql<= 9.4 doesn't support INSERT INTO ... ON  CONFLICT ... syntax
2019-10-30 10:52:50 +01:00
Tomas Kopecek
5bbdc5d539 backward-compatible db conversion
PG <= 9.4 doesn't support INSERT INTO ... ON CONFLICT ... syntax

Fixes: https://pagure.io/koji/issue/1718
2019-10-30 10:52:47 +01:00
Tomas Kopecek
b8c1ac4ea6 require python-qpid-proton on RHEL7 2019-10-23 13:10:41 +02:00
Tomas Kopecek
0befa5ce34 PR#1713: cli: fix typo in edit-user cmd
Merges #1713
https://pagure.io/koji/pull-request/1713

Fixes: #862
cli: fix typo in edit-user cmd
https://pagure.io/koji/pull-request/1713
2019-10-22 14:50:10 +02:00
Yu Ming Zhu
f66bb81a85 cli: fix typo in edit-user cmd
fixes: #862
2019-10-22 10:44:55 +00:00
Tomas Kopecek
87685df50e PR#1662: CGUninitBuild for cancelling CG reservations
Merges #1662
https://pagure.io/koji/pull-request/1662

Fixes: #1610
https://pagure.io/koji/issue/1610
[RFE] Cancel CG reservation
2019-10-16 10:03:51 +02:00
Tomas Kopecek
79a7da7c0b CGUninitBuild for cancelling CG reservations
Fixes: https://pagure.io/koji/issue/1610
2019-10-16 10:03:46 +02:00
Tomas Kopecek
29755ceac9 PR#1681: add all used permissions to db
Merges #1681
https://pagure.io/koji/pull-request/1681

Fixes: #1637
https://pagure.io/koji/issue/1637
dist-repo permission not added in schema update?
2019-10-16 10:02:55 +02:00
Tomas Kopecek
22dc480b18 add all used permissions to db
Fixes: https://pagure.io/koji/issue/1637
2019-10-16 10:01:43 +02:00
Tomas Kopecek
17a26ab27f PR#1702: fix log message to show package name
Merges #1702
https://pagure.io/koji/pull-request/1702

Fixes: #1693
https://pagure.io/koji/issue/1693
host.tagBuild returns incorrect error message for not listed package
2019-10-16 09:20:55 +02:00
Tomas Kopecek
86fc5cdbd3 fix log message to show package name
Fixes: https://pagure.io/koji/issue/1693
2019-10-16 09:20:51 +02:00
Tomas Kopecek
8b3d3ad234 PR#1682: mostly only mock exit code 10 ends in build.log
Merges #1682
https://pagure.io/koji/pull-request/1682

Fixes: #1679
https://pagure.io/koji/issue/1679
New mock exit codes not recognized
2019-10-16 09:08:48 +02:00
Tomas Kopecek
3f64a486a9 mostly only mock exit code 10 ends in build.log
Fixes: https://pagure.io/koji/issue/1679
2019-10-16 09:08:44 +02:00
Tomas Kopecek
004dda1654 PR#1694: doc: change user creating sql for kerberos auth
Merges #1694
https://pagure.io/koji/pull-request/1694

Related: #1629
support multiple realms by kerberos auth(both krbV and GSSAPI)
https://pagure.io/koji/issue/1629
2019-10-15 13:07:24 +02:00
Yu Ming Zhu
353fe2c510 doc: change user creating sql for kerberos auth
a follow-up of PR #1648
2019-10-15 13:07:20 +02:00
Tomas Kopecek
1a31a18e28 PR#1706: fix test for RHEL6
Merges #1706
https://pagure.io/koji/pull-request/1706
2019-10-15 12:56:16 +02:00
Tomas Kopecek
b96f828e7b fix test for RHEL6 2019-10-15 12:55:14 +02:00
Tomas Kopecek
97cee1c390 PR#1701: fix user operations typos
Merges #1701
https://pagure.io/koji/pull-request/1701

Fixes: #1629
support multiple realms by kerberos auth(both krbV and GSSAPI)
https://pagure.io/koji/issue/1629

Fixes: #862
rfe: add user edit
https://pagure.io/koji/issue/862
2019-10-15 09:16:46 +02:00
Yuming Zhu
4ff3da3b6b fix unitest import for el6 2019-10-15 09:16:43 +02:00
Yu Ming Zhu
088767a58c cli: fix edit-user command for multiple kerberos support 2019-10-15 09:16:43 +02:00
Yu Ming Zhu
3e124f685a fix editUser api for multiple kerberos support 2019-10-15 09:16:43 +02:00
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