Commit graph

3729 commits

Author SHA1 Message Date
Yuming Zhu
da59f12bb8 hub: [getTaskInfo] add strict behavior 2018-09-26 13:53:26 -04:00
Mike McLean
787d956885 PR#1098: cli: [download-task] readable error when no task found
Merges #1098
https://pagure.io/koji/pull-request/1098

Fixes: #1080
https://pagure.io/koji/issue/1080
CLI download-task should respond "No such task" for task which is not exists.
2018-09-25 10:20:11 -04:00
Yuming Zhu
684e6c689b cli: [download-task] readable error when no task found 2018-09-25 10:19:59 -04:00
Mike McLean
55888578df PR#1096: cli: fix typos in *-notification error msg
Merges #1096
https://pagure.io/koji/pull-request/1096

Fixes: #1092
https://pagure.io/koji/issue/1092
Typo in add-notification error msg

Fixes: #1093
https://pagure.io/koji/issue/1093
Typo in edit-notification error msg
2018-09-20 18:09:09 -04:00
Yuming Zhu
36d1a10497 cli: fix typos in *-notification error msg 2018-09-20 18:08:59 -04:00
Mike McLean
2a18090ede PR#1072: Include WadersOS mention to 'koji runs here' doc
Merges #1072
https://pagure.io/koji/pull-request/1072
2018-09-20 18:04:49 -04:00
Niko Kortstrom
4b73075b59 Include WadersOS mention to 'koji runs here' doc 2018-09-20 18:04:42 -04:00
Mike McLean
3413eecb8c PR#1094: hub: [postBuildStateChange] passing the newest build info
Merges #1094
https://pagure.io/koji/pull-request/1094

Fixes: #1033
https://pagure.io/koji/issue/1033
Build complete messages don't show the updated build state and completion_time
2018-09-20 16:31:57 -04:00
Yuming Zhu
0c3fc85bb5 hub: [postBuildStateChange] passing the newest build info 2018-09-20 16:31:47 -04:00
Mike McLean
e08e279f6b PR#1066: Simple mode for mergerepos
Merges #1066
https://pagure.io/koji/pull-request/1066
2018-09-20 12:37:32 -04:00
Tomas Kopecek
3d6b640c56 Modify SQL update scripts 2018-09-20 12:37:26 -04:00
Tomas Kopecek
9effd55c39 create pkgorigins 2018-09-20 12:37:26 -04:00
Mike McLean
3273d249cd merge mode is part of tag connection rather than inherent to repo 2018-09-20 12:37:26 -04:00
Mike McLean
d63bf7f3df cli adjustments 2018-09-20 12:37:26 -04:00
Mike McLean
a2c61d3992 simple mode for mergerepos 2018-09-20 12:37:26 -04:00
Mike McLean
3a5dd71686 let merge repos deal with it 2018-09-20 12:37:26 -04:00
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