Mike McLean
95591103ca
support merge_mode field
2018-09-20 12:37:26 -04:00
Mike McLean
f2b2a82c4b
merge_mode field for external repos
2018-09-20 12:37:26 -04:00
Mike McLean
d8f903347b
PR#1091: more informative error for invalid scm schemes
...
Merges #1091
https://pagure.io/koji/pull-request/1091
2018-09-13 18:27:14 -04:00
Mike McLean
dab29276e0
more informative error for invalid scm schemes
2018-09-07 16:23:02 -04:00
Mike McLean
6e8d180c17
PR#1003: update jenkins configuration
...
Merges #1003
https://pagure.io/koji/pull-request/1003
2018-08-22 15:58:56 -04:00
Tomas Kopecek
2713e51f05
update jenkins configuration
2018-08-20 10:21:26 +02:00
Mike McLean
d4e3d2dac7
PR#947: exclude py compiled files under util/
...
Merges #947
https://pagure.io/koji/pull-request/947
2018-08-16 13:51:01 -04:00
Yuming Zhu
fa30c67e20
exclude py compiled files under util/
2018-08-16 13:50:57 -04:00
Mike McLean
ef998c6418
PR#965: check rpm headers support directly
...
Merges #965
https://pagure.io/koji/pull-request/965
Fixes : #931
https://pagure.io/koji/issue/931
Koji hub will not render weak dependencies on an EL7.5 host, even though host rpm can read them
2018-08-16 13:36:12 -04:00
Tomas Kopecek
dfb692bc0a
fix test
2018-08-16 13:36:07 -04:00
Tomas Kopecek
1886fe54a6
check rpm headers support directly
2018-08-16 13:36:07 -04:00
Mike McLean
d1be3c234b
PR#978: get_next_release should check also running builds
...
Merges #978
https://pagure.io/koji/pull-request/978
Fixes : #977
https://pagure.io/koji/issue/977
Don't fail image_builds (qcow2) on "build already in progress"
2018-08-16 09:22:03 -04:00
Tomas Kopecek
771ad4b526
get_next_release should check also running builds
...
Fixes: https://pagure.io/koji/issue/977
2018-08-16 09:21:51 -04:00
Mike McLean
5efc150392
PR#1041: fix utf-8 output in CLI
...
Merges #1041
https://pagure.io/koji/pull-request/1041
Fixes : #1010
https://pagure.io/koji/issue/1010
koji fails runroot because of `UnicodeDecodeError`
2018-08-16 09:17:25 -04:00
Tomas Kopecek
c64f3389c7
fix utf-8 output in CLI
...
Fixes: https://pagure.io/koji/issue/1010
2018-08-16 09:17:11 -04:00
Mike McLean
8334878deb
PR#1036: Add more test patterns for rpmdiff unit test.
...
Merges #1036
https://pagure.io/koji/pull-request/1036
Related: #994
https://pagure.io/koji/issue/994
rpmdiff calculate wrong results
2018-08-16 09:12:42 -04:00
Franz Chih-Ping Hsieh
92f5cbc8b9
Add more test patterns for rpmdiff unit test.
2018-08-16 09:12:26 -04:00
Mike McLean
96a964ddbe
PR#1023: Expand user directory from config
...
Merges #1023
https://pagure.io/koji/pull-request/1023
Fixes : #1022
https://pagure.io/koji/issue/1022
home directories in config paths are not expanded
2018-08-16 09:09:41 -04:00
Tomas Kopecek
27abb872c6
Expand user directory from config
...
Fixes: https://pagure.io/koji/issue/1022
2018-08-16 09:09:29 -04:00
Mike McLean
7ca9d7829d
PR#1002: prioritize unittest2
...
Merges #1002
https://pagure.io/koji/pull-request/1002
Fixes : #1001
https://pagure.io/koji/issue/1001
unittest is still used in some places instead of unittest2
2018-08-16 09:03:16 -04:00
Tomas Kopecek
bd649d2723
prioritize unittest2
...
Make all imports consistent with
https://pagure.io/koji/issue/830
Fixes: https://pagure.io/koji/issue/1001
2018-08-16 09:03:09 -04:00
Mike McLean
cd761147ae
PR#1000: Fix target handling in make_task
...
Merges #1000
https://pagure.io/koji/pull-request/1000
Fixes : #998
https://pagure.io/koji/issue/998
cancel build doesn't work for images
2018-08-14 17:12:12 -04:00
Tomas Kopecek
f9d1de99f6
Fix target handling in make_task
...
Fixes: https://pagure.io/koji/issue/998
2018-08-14 17:12:05 -04:00
Mike McLean
05e791374e
PR#997: Fix rpmdiff's ignoring of size
...
Merges #997
https://pagure.io/koji/pull-request/997
Fixes : #994
https://pagure.io/koji/issue/994
rpmdiff calculate wrong results
2018-08-10 15:48:44 -04:00
Mike McLean
e559653ab5
simplify ignore logic in rpmdiff function
2018-08-10 15:47:46 -04:00
Tomas Kopecek
d1544e7f05
Correctly ignore all values in rpmdiff
...
Related: https://pagure.io/koji/issue/994
2018-08-10 15:47:46 -04:00
Franz Chih-Ping Hsieh
e25603dd97
copy data from static variable instead of use it directly to prevent caching.
...
also update test cases to verfiy this issue.
Fixes : #994
https://pagure.io/koji/issue/994
2018-08-10 15:47:46 -04:00
Mike McLean
304b1708c4
PR#1012: Fix isinstance with lists
...
Merges #1012
https://pagure.io/koji/pull-request/1012
Fixes : #1011
https://pagure.io/koji/issue/1011
isinstance doesn't accept list of classes
2018-08-08 11:34:46 -04:00
Tomas Kopecek
3cc443df97
Fix isinstance with lists
...
Fixes: https://pagure.io/koji/issue/1011
2018-08-08 11:34:39 -04:00
Mike McLean
fd4eb9fadc
PR#1030: Create symlinks for builds imported onto non-default volumes
...
Merges #1030
https://pagure.io/koji/pull-request/1030
Fixes : #1025
https://pagure.io/koji/issue/1025
missing default volume symlink for imported builds affected by volume policy
2018-08-08 11:25:29 -04:00
Mike McLean
549d9d7955
more checks in unit test
2018-08-08 11:22:59 -04:00
Mike McLean
d9c44735cc
actually add unit test
2018-08-08 11:22:59 -04:00
Mike McLean
484bf0181a
create parent dir for symlink if needed
2018-08-08 11:22:59 -04:00
Mike McLean
b92afc0fed
ensure volume symlinks in import pathways
2018-08-08 11:22:59 -04:00
Mike McLean
f8947a9215
add ensure_volume_symlink() function
2018-08-08 11:22:59 -04:00
Mike McLean
0d7e69ddd2
PR#1021: Raise error for non-200 codes in download_file
...
Merges #1021
https://pagure.io/koji/pull-request/1021
Fixes : #1020
https://pagure.io/koji/issue/1020
download_file function doesn't raise errors for non-200 codes
2018-08-08 11:20:40 -04:00
Tomas Kopecek
913efc47d1
Raise error for non-200 codes in download_file
...
Fixes: https://pagure.io/koji/issue/1020
2018-08-08 11:20:33 -04:00
Mike McLean
a9d23403dd
PR#1005: Add unit tests for check volume id substitution list
...
Merges #1005
https://pagure.io/koji/pull-request/1005
2018-08-08 11:06:46 -04:00
Jana Cupova
9f9a72f4d6
Fix code review
2018-08-08 11:06:41 -04:00
Jana Cupova
8173ec7bac
Change to one test with variants
2018-08-08 11:06:41 -04:00
Jana Cupova
4f2a632c98
Add unit tests for check volume id substitution list
2018-08-08 11:06:41 -04:00
Mike McLean
e05f871b4a
PR#1027: [kojihub] add strict parameter in getBuildNotification
...
Merges #1027
https://pagure.io/koji/pull-request/1027
Fixes : #1009
https://pagure.io/koji/issue/1009
getBuildNotification API call should raise GenericError exception for non existing notification ID
2018-08-08 10:09:52 -04:00
Yuming Zhu
b4c5c95684
[kojihub] add strict parameter in getBuildNotification
2018-08-08 10:09:46 -04:00
Mike McLean
4a214437ee
PR#1016: raise Error when user not found in getBuildNotifications
...
Merges #1016
https://pagure.io/koji/pull-request/1016
Fixes : #1013
https://pagure.io/koji/issue/1013
getBuildNotifications API call should raise GenericError exception for non existing user ID
2018-08-07 16:09:07 -04:00
Yuming Zhu
5a229a092e
raise Error when user not found in getBuildNotifications
2018-07-31 17:50:07 +08:00
Mike McLean
e50cd283b8
PR#1008: decode_args(): make a copy of the opts dict, rather than modifying it in-place
...
Merges #1008
https://pagure.io/koji/pull-request/1008
Fixes : #1007
https://pagure.io/koji/issue/1007
decode_args() might result in --package parameter missing in runroot command
2018-07-27 15:56:44 -04:00
Franz Chih-Ping Hsieh
646c43561a
decode_args(): make a copy of the opts dict, rather than modifying it in-place
...
Fixes : #1007
https://pagure.io/koji/issue/1007
Author: Mike Bonnet <mikeb@redhat.com>
Date: Wed Jul 18 17:03:56 2018 -0700
The commit changes make_task() to call decode_args() on the arglist before
it is saved to the db. If the method was called with keyword arguments, those
would be passed in a dict at the end of the arglist, with a __starstar entry.
decode_args() edits that dict in place, removing the __starstar entry and
making the arglist appear to end in a single dict argument, effectively
removing the keyword arguments. This change makes a copy of the dict before
2018-07-25 15:07:11 -04:00
Mike McLean
38e6a4f401
PR#989: additional info on builders in channelinfo page
...
Merges #989
https://pagure.io/koji/pull-request/989
Fixes : #988
https://pagure.io/koji/issue/988
[RFE] more info about builders in channelinfo page
2018-07-11 18:11:25 -04:00
Tomas Kopecek
167b296311
additional info on builders in channelinfo page
...
Fixes: https://pagure.io/koji/issue/988
2018-07-11 18:11:18 -04:00
Mike McLean
147f781183
PR#685: Rest of automated conversion from py3 changes
...
Merges #685
https://pagure.io/koji/pull-request/685
2018-07-11 17:37:45 -04:00