Commit graph

2091 commits

Author SHA1 Message Date
Yuming Zhu
434bfb86f4 check if tag exists and refine some code 2016-10-13 00:16:15 -04:00
Mike McLean
9440f9bcb7 drop debug code 2016-10-13 00:16:15 -04:00
Mike McLean
6fcc1190eb partial - mostly working 2016-10-13 00:16:15 -04:00
Mike McLean
b6671701d2 PR#170: Allow buildArch tasks to continue when sibling fails
Merges #170
https://pagure.io/koji/pull-request/170

Fixes #48
2016-10-13 00:07:01 -04:00
Tomas Kopecek
44e7e93804 config default updated 2016-10-13 00:06:40 -04:00
Tomas Kopecek
eaa0943a1a Don't cancel subtask when other fails
In some cases it makes sense to continue with sibling task even if some of
them already failed. E.g. with kernel build it could be of use if submitter
knows for which archs it succeed and for which it fails. Repeated builds
could take a lot of time and resources.

Option is turned on by 'build_arch_can_fail' in kojid.conf and it is turned
on per builder. Note, that it shouldn't be enabled by default as it could
result in unnecessary resource consumption.
2016-10-13 00:06:40 -04:00
Mike McLean
3bd647ae21 Merge #182 use dateutil to parse timestamp args in list-history 2016-10-12 21:01:05 +00:00
Mike McLean
6ee65b14d0 use dateutil to parse timestamp args in list-history
Fixes: #181
2016-10-11 09:26:00 -04:00
Mike McLean
bfc5d6c395 Merge #183 always encode hello to utf-8 2016-10-11 13:21:03 +00:00
Tomas Kopecek
439f77272b always encode hello to utf-8 2016-10-11 14:09:50 +02:00
Mike McLean
3a3c7cfa25 Merge #180 reject builds with hyphens in the version or release 2016-10-07 15:09:18 +00:00
Mike McLean
e1de395d67 add unit tests for check_NVR[A] functions 2016-10-06 17:40:51 -04:00
Mike McLean
30226706e1 fix cut and paste errors 2016-10-06 17:40:51 -04:00
Mike McLean
b481229d8f assert basic nvr sanity for cg imports 2016-10-06 17:40:51 -04:00
Mike McLean
6350dd139d fix issue report link in README.md 2016-10-05 17:14:01 -04:00
Mike McLean
7e4f9b85ce PR#173: Nicer runroot taskinfo page
Merges #173
https://pagure.io/koji/pull-request/173

Fixes #163
https://pagure.io/koji/issue/163
2016-10-04 11:32:37 -04:00
Tomas Kopecek
c8d4224fb3 Nicer runroot taskinfo page
fixes: https://pagure.io/koji/issue/163
2016-10-04 11:27:49 -04:00
Mike McLean
1785e75078 PR#174: createTag method should support to set extra data for a tag
Merges #174
https://pagure.io/koji/pull-request/174
2016-10-04 11:16:09 -04:00
Mike McLean
a10aa2c326 handle values containing "=" in add-tag and edit-tag 2016-10-04 11:13:06 -04:00
Tomas Kopecek
dcf8f52e8f add extra data option to create_tag
related https://pagure.io/koji/issue/166
2016-10-04 11:13:06 -04:00
Tomas Kopecek
7ebf9a44fe update old_edit_tag to support extra tag data 2016-10-04 11:13:06 -04:00
Mike McLean
f62fec8131 Merge #175 Minimal code cleanup 2016-10-04 15:10:46 +00:00
Tomas Kopecek
36f5be2b3f unused returns (handled by env) 2016-10-04 16:12:52 +02:00
Tomas Kopecek
c37effcbd7 remove unused variables/methods 2016-10-04 15:48:54 +02:00
Tomas Kopecek
921258749a removed unused imports 2016-10-04 15:48:54 +02:00
Tomas Kopecek
7b954b8cd5 fixing unimported exceptions 2016-10-04 15:48:54 +02:00
Tomas Kopecek
5f39a832b3 remove asterisk import 2016-10-04 15:48:54 +02:00
Mike McLean
b0dd3d4046 fix readme formatting 2016-09-30 17:38:17 -04:00
Mike McLean
c323802b3a Merge #167 add README 2016-09-30 21:36:24 +00:00
Ken Dreyer
dbb0623802 add README
Import the content from the fedorahosted.org Trac wiki's homepage and
convert it to markdown.

This provides an introduction to Koji for users who are browsing the
Pagure UI.

fedorahosted.org is going away:
https://lists.fedoraproject.org/archives/list/announce@lists.fedoraproject.org/message/RLL3LFUPLYMAUKGZ5B3O64XKJXBT24KZ/
2016-09-29 12:44:48 -06:00
Mike McLean
202fce2b0d Merge #161 support arbitary build types for content generator imports 2016-09-29 18:13:44 +00:00
Mike McLean
6cfe982475 drop stale planning comment 2016-09-28 18:20:09 -04:00
Mike McLean
28a912a4f1 make resetBuild a complete reset 2016-09-28 18:20:09 -04:00
Mike McLean
4a1170f262 fix typos in readTaggedBuilds 2016-09-28 18:20:09 -04:00
Mike McLean
73276f7ca8 fix task_id ref in recycle_build 2016-09-28 18:20:09 -04:00
Mike McLean
f16f55aa81 unit test for recycle_build 2016-09-28 18:20:09 -04:00
Mike McLean
cef08dd67f provide imageID value to query 2016-09-28 18:20:09 -04:00
Mike McLean
fffed47252 unit test for add_btype 2016-09-28 18:20:09 -04:00
Mike McLean
2514b3fd3b unit tests for list_btypes 2016-09-28 18:20:09 -04:00
Mike McLean
f7f2959ec9 only admins can add btypes 2016-09-28 18:20:09 -04:00
Mike McLean
0a419e885d also clear image_archives rows in reset_build 2016-09-28 18:20:09 -04:00
Mike McLean
1942595cba typo: image builds are not maven builds 2016-09-28 18:20:09 -04:00
Mike McLean
3fc396db83 fixes to cgen2 schema update 2016-09-28 18:20:09 -04:00
Mike McLean
fa1fa1d401 update unit tests 2016-09-28 18:20:09 -04:00
Mike McLean
f003cb65f9 fix callback in recycle_build 2016-09-28 18:20:09 -04:00
Mike McLean
500dbb0df6 fix new_typed_build invocations 2016-09-28 18:20:09 -04:00
Mike McLean
1846f92228 make sure rpm btype is set when appropriate 2016-09-28 18:20:09 -04:00
Mike McLean
264cd22ee5 recycled builds: more checks, clear type info 2016-09-28 18:20:09 -04:00
Mike McLean
127926e3dd move build recycling logic into its own function 2016-09-28 18:20:09 -04:00
Mike McLean
35e7be5c52 warn instead of error when sphinx-build is absent 2016-09-28 18:20:09 -04:00