Commit graph

2111 commits

Author SHA1 Message Date
Yuming Zhu
75c6d2d28b pep8 format for tests/test_cli 2016-10-13 00:48:58 -04:00
Yuming Zhu
63ecac12eb ut: cli - test_edit_host 2016-10-13 00:48:58 -04:00
Yuming Zhu
1814b11aff ut: cli - test_add_host 2016-10-13 00:48:58 -04:00
Yuming Zhu
afe91cd3d3 ut: cli - test_add_group 2016-10-13 00:48:58 -04:00
Yuming Zhu
cab2b2ee69 ut: cli - watch_tasks with KeyboardInterrupt
change display_tasklist_status() to _display_tasklist_status()
               display_task_results() to _display_task_results()
2016-10-13 00:48:48 -04:00
Yuming Zhu
2da05e9e59 ut: cli - test_watch_tasks 2016-10-13 00:40:21 -04:00
Mike McLean
d06d15bea3 PR#178: Expose optional rpm deps
Merges #178
https://pagure.io/koji/pull-request/178

Fixes #142
2016-10-13 00:30:59 -04:00
Mike McLean
386704a190 rename test spec file 2016-10-13 00:29:39 -04:00
Tomas Kopecek
82ea17e808 don't show optional deps if they are not supported by rpm 2016-10-13 00:29:39 -04:00
Tomas Kopecek
78d34d7b9d ignore optional deps for rpm < 4.12 2016-10-13 00:29:39 -04:00
Tomas Kopecek
1e103eb94d show optional deps in web ui 2016-10-13 00:29:39 -04:00
Tomas Kopecek
51eca7346e getRPMDeps exposes additional deps
Adding Conflicts, Suggests, Enhances, Supplements and Recommend header fields
in addition to original Requires, Conflicts, Obsoletes and Provides

relates: https://pagure.io/koji/issue/142
2016-10-13 00:29:39 -04:00
Mike McLean
0e664ad779 PR#184: Port Koji comps/group functionality from yum.comps to libcomps
Merges #170
https://pagure.io/koji/pull-request/170

Fixes #184
2016-10-13 00:16:40 -04:00
Yuming Zhu
3e04ab172b require python-libcomps on rhel7 2016-10-13 00:16:15 -04:00
Yuming Zhu
766f572503 add generate_out_calls for tests 2016-10-13 00:16:15 -04:00
Mike McLean
9693482ae2 skip some subtests of modules missing 2016-10-13 00:16:15 -04:00
Mike McLean
491210a2af require python-libcomps on Fedora 2016-10-13 00:16:15 -04:00
Mike McLean
f6f6f17466 remove stale comment 2016-10-13 00:16:15 -04:00
Yuming Zhu
54bf49505c ut: skip the tests for large file comps-example.xml by default 2016-10-13 00:16:15 -04:00
Yuming Zhu
86822c6399 ut: cli - test_import_comps 2016-10-13 00:16:15 -04:00
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