Commit graph

4291 commits

Author SHA1 Message Date
Mike McLean
7a302ce6ad new table for notification blocks 2019-07-09 13:34:36 -04:00
Mike McLean
72554e493c PR#1515: add debug message to new multicall to match original
Merges #1515
https://pagure.io/koji/pull-request/1515

Fixes: #1514
https://pagure.io/koji/issue/1514
Add batch debug message into new multicall interface
2019-07-01 17:21:55 -04:00
Mike McLean
0b92bd3d44 add debug message to new multicall to match original
Fixes https://pagure.io/koji/issue/1514
2019-06-27 10:30:20 -04:00
Mike McLean
fac81bd7be PR#1480: Add raw-gz and compressed QCOW2 archive types.
Merges #1480
https://pagure.io/koji/pull-request/1480

Fixes #1481
https://pagure.io/koji/issue/1481
2019-06-26 16:08:32 -04:00
Mike McLean
97f8f829ae change moved to 1.18, so adjust schema upgrade scripts 2019-06-26 16:08:04 -04:00
Ben Howard
8d0624bf2f Add raw-gz and compressed QCOW2 archive types. 2019-06-26 16:06:59 -04:00
Mike McLean
90464796e0 PR#1260: use LANG=C for running all tests
Merges #1260
https://pagure.io/koji/pull-request/1260

Fixes: #1259
https://pagure.io/koji/issue/1259
tests are failing in non-C LANGs
2019-06-26 15:58:55 -04:00
Tomas Kopecek
6fd33bfd1f use LANG=C for running tests comparing human-readable output 2019-06-26 15:58:48 -04:00
Mike McLean
a1be473a6e PR#1447: handle deleted tags in kojira
Merges #1447
https://pagure.io/koji/pull-request/1447

Fixes: #1298
https://pagure.io/koji/issue/1298
if tag is deleted/renamed, kojira will not handle that
2019-06-26 15:40:38 -04:00
Mike McLean
656af0f581 avoid duplicate ManagedRepo instance 2019-06-26 15:38:10 -04:00
Mike McLean
2fb80ba6d0 fix a logging error 2019-06-26 15:35:54 -04:00
Mike McLean
0b0fd39384 fix getTag invocation 2019-06-26 15:35:54 -04:00
Mike McLean
6ea2529155 provide value for repo in untracked case 2019-06-26 15:35:54 -04:00
Tomas Kopecek
a624d7241a handle deleted tags in kojira
Fixes: https://pagure.io/koji/issue/1298
2019-06-26 15:35:54 -04:00
Mike McLean
f49409eb91 PR#1513: Allow hub policy to match version and release
Merges #1513
https://pagure.io/koji/pull-request/1513

Fixes: #1134
https://pagure.io/koji/issue/1134
Hub policy match on version and release
2019-06-26 11:44:29 -04:00
Mikolaj Izdebski
de161628b0 Allow hub policy to match version and release
Fixes https://pagure.io/koji/issue/1134

Based on work from https://pagure.io/koji/pull-request/1135
2019-06-26 11:44:23 -04:00
Mike McLean
4ef89a4ae2 PR#1462: rebuildSRPM task
Merges #1462
https://pagure.io/koji/pull-request/1462

Fixes: #1396
https://pagure.io/koji/issue/1396
RFE: rebuild srpms before building
2019-06-26 07:36:32 -04:00
Tomas Kopecek
5882bc249b remove unneeded chown 2019-06-26 09:06:48 +02:00
Tomas Kopecek
2bef7c16dc rename source_srpm to srpm 2019-06-26 09:06:48 +02:00
Mike McLean
17128a67fd use getBuildConfig with event_id to check for rebuild_srpm setting 2019-06-26 09:06:48 +02:00
Tomas Kopecek
279e6533f6 rebuildSRPM task
New task rebuildSRPM for srpms uploaded to koji. If policy
'rebuild_srpm' returns True, build task will spawn rebuildSRPM task
first to recreate SRPM with updated buildroot macros, typically 'dist'.
Policy has access to same data as build_from_srpm and build_from_repo_id
policies. (user_id, source, task_id, build_tag, skip_tag, target, tag)

Fixes: https://pagure.io/koji/issue/1396
2019-06-26 09:06:48 +02:00
Mike McLean
bdfac5b12d PR#1498: Pass bytes to md5_constructor
Merges #1498
https://pagure.io/koji/pull-request/1498

Fixes: #1486
https://pagure.io/koji/issue/1486
Fix kojiweb's _getUserCookie/_setUserCookie to pass bytes to hash constructors
2019-06-24 18:11:08 -04:00
Tomas Kopecek
15e4d07763 encode to bytes only under py3
Related: https://pagure.io/koji/pull-request/1498
2019-06-24 18:09:10 -04:00
Mengjing Shi
2d88836a4b Pass bytes to md5_constructor
Fixes login TypeError on koji-web
2019-06-24 18:07:23 -04:00
Mike McLean
e73bd368e5 PR#1502: Don't pass block list in bare merge mode
Merges #1502
https://pagure.io/koji/pull-request/1502

Relates: #1404
https://pagure.io/koji/issue/1404
RFE: add repo merge mode to support modularity
2019-06-19 11:16:46 -04:00
Mike McLean
0899f74de3 Don't pass block list in bare merge mode
Related: https://pagure.io/koji/issue/1404

mergerepos_c doesn't allow -b without --koji
2019-06-19 11:16:35 -04:00
Mike McLean
bc16f4e5c1 PR#1489: pass bytes to sha1 constructor
Merges #1489
https://pagure.io/koji/pull-request/1489

Fixes: #1486
https://pagure.io/koji/issue/1486
Fix kojiweb's _getUserCookie/_setUserCookie to pass bytes to hash constructors
2019-06-19 11:08:28 -04:00
Tomas Kopecek
9326cebd32 pass bytes to sha1 constructor
As preparation to use hashlib's constructors, fix passing correct
datatype to sha1 constructor in web ui.

Fixes: https://pagure.io/koji/issue/1486
2019-06-19 11:08:22 -04:00
Mike McLean
3b0028ae07 PR#1499: remove merge option from edit-external-repo
Merges #1499
https://pagure.io/koji/pull-request/1499

Related: #1404
https://pagure.io/koji/issue/1404
RFE: add repo merge mode to support modularity
2019-06-18 18:20:50 -04:00
Tomas Kopecek
79f1c8b359 remove merge option from edit-external-repo
Related: https://pagure.io/koji/issue/1404
2019-06-18 18:20:45 -04:00
Mike McLean
65e23afb01 PR#1427: Fix typo in getArchiveTypes docstring
Merges #1427
https://pagure.io/koji/pull-request/1427
2019-06-17 16:45:03 -04:00
Jana Cupova
421437b52b Drop new line 2019-06-17 16:45:02 -04:00
Jana Cupova
9ae15acf54 Fix typo in getArchiveTypes dosctring 2019-06-17 16:45:02 -04:00
Mike McLean
d612eac1a0 PR#957: New multicall interface
Merges #957
https://pagure.io/koji/pull-request/957
2019-06-17 10:19:15 -04:00
Mike McLean
19bb507b5e fix typo 2019-06-17 10:19:12 -04:00
Mike McLean
71c4146638 update multicall docs 2019-06-17 10:19:12 -04:00
Mike McLean
14b25b1f4b use multicall in a few more places in the cli 2019-06-17 10:19:12 -04:00
Mike McLean
29f62a090b update docstring 2019-06-17 10:19:12 -04:00
Mike McLean
37e8afcf8c support batch option in MultiCallSession 2019-06-17 10:19:12 -04:00
Mike McLean
78e3f48d8b expand unit test a little 2019-06-17 10:19:12 -04:00
Mike McLean
64249cf753 provide multicall attribute for backwards compat 2019-06-17 10:19:12 -04:00
Mike McLean
c06c34c529 stub unit test 2019-06-17 10:19:12 -04:00
Mike McLean
32290e4a3e cleanup 2019-06-17 10:19:12 -04:00
Mike McLean
80a9d05d65 store args/kwargs in VirtualCall instances 2019-06-17 10:19:12 -04:00
Mike McLean
4e0fe71acb strict option for MultiCallSession class 2019-06-17 10:19:12 -04:00
Mike McLean
abcc993b00 get a MultiCallSession by calling session.multicall 2019-06-17 10:19:12 -04:00
Mike McLean
cecffa8432 add a context manager 2019-06-17 10:19:12 -04:00
Mike McLean
75982719c1 Use VirtualCall helper 2019-06-17 10:19:12 -04:00
Mike McLean
bb110da972 first stab at a new multicall approach 2019-06-17 10:19:12 -04:00
Mike McLean
790bc251de PR#1280: put fix_pyver before printing command help
Merges #1280
https://pagure.io/koji/pull-request/1280

Fixes: #1276
https://pagure.io/koji/issue/1276
CLI plugin resolution occurs before pyver is honored
2019-06-14 16:15:42 -04:00