Mike McLean
60b4ede377
unit test to check that version in docs matches version in spec
2017-08-24 23:37:12 -04:00
Mike McLean
c279a2a02b
update version in sphinx config
2017-08-24 23:37:12 -04:00
Mike McLean
b8925c5fed
PR#548: set task arch for indirection image builds
...
Merges #548
https://pagure.io/koji/pull-request/548
2017-08-24 14:49:53 -04:00
Mike McLean
1e3e99184b
set task arch for indirection image builds
2017-08-24 14:48:14 -04:00
Mike McLean
7030a90141
PR#568: spec: use correct macro - rhel instead redhat for RHEL version
...
Merges #568
https://pagure.io/koji/pull-request/568
Fixes #567
https://pagure.io/koji/issue/567
2017-08-24 14:40:29 -04:00
Yuming Zhu
497734ee14
spec: use correct macro - rhel instead redhat for RHEL version
...
fix [issue#567](https://pagure.io/koji/issue/567 )
2017-08-24 15:24:45 +08:00
Mike McLean
16be245634
PR#558: cli: Fix exit code for building images
...
Merges #558
https://pagure.io/koji/pull-request/558
Fixes : #555
https://pagure.io/koji/issue/555
2017-08-23 15:42:35 -04:00
Lubomír Sedlář
4060e1c026
cli: Fix exit code for building images
...
When spin-livemedia, image-build etc. start a task and watch it, they
never return a correct exit value. Pungi relies on the exit code to
determine if the task failed or not.
Fixes: https://pagure.io/koji/issue/555
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-08-23 15:40:24 -04:00
Mike McLean
21b405b819
PR#559: return result status in save-failed-tree
...
Merges #559
https://pagure.io/koji/pull-request/559
2017-08-23 15:38:29 -04:00
Yuming Zhu
46bdf0535b
return result status in save-failed-tree
2017-08-23 15:35:09 -04:00
Mike McLean
1560f93bb8
PR#561: rename rpm-python to python*-rpm for EOL of F24
...
Merges #561
https://pagure.io/koji/pull-request/561
2017-08-23 15:33:04 -04:00
Yuming Zhu
dfe304bd48
rename rpm-python to python*-rpm for EOL of F24
...
Related Issue: https://pagure.io/koji/issue/454
2017-08-23 15:22:56 -04:00
Mike McLean
3634b6d9d0
PR#562: fix serverca default in kojivmd
...
Merges #562
https://pagure.io/koji/pull-request/562
2017-08-23 15:01:39 -04:00
Mike McLean
ca9bd3941b
kojivmd: fix typo in serverca path and also fix cert value
2017-08-23 15:00:02 -04:00
Mike McLean
3461e334b2
fix serverca default in kojivmd
2017-08-23 15:00:02 -04:00
Mike McLean
2f8c4ac25b
Merge #565 expose graceful reload in kojid service config and init script
2017-08-22 19:56:58 +00:00
Mike McLean
525bc5e7a8
expose graceful reload in kojid service config and init script
2017-08-22 15:06:57 -04:00
Mike McLean
31d12e9353
PR#544: incorrect parameter for error message
...
Merges #544
https://pagure.io/koji/pull-request/544
Fixes #543
https://pagure.io/koji/issue/543
2017-08-08 12:32:31 -04:00
Tomas Kopecek
bdd4d41285
incorrect parameter for error message
...
Related: https://pagure.io/koji/issue/543
2017-08-08 12:30:55 -04:00
Mike McLean
c3f6f4f0a1
PR#510: cli: change download-task to regular curl download
...
Merges #510
https://pagure.io/koji/pull-request/510
Fixes #455
https://pagure.io/koji/issue/455
2017-08-08 12:28:06 -04:00
Yuming Zhu
ba087236dd
cli: using PROGRESSFUNCTION before libcurl 7.32.0 in download_file
2017-08-08 12:26:22 -04:00
Yuming Zhu
5df1e3e6e6
cli: do not print extra blank line when noprogress passed
2017-08-08 12:26:22 -04:00
Yuming Zhu
26bd419054
cli: add noprogress argument for download_file in download_build
2017-08-08 12:26:22 -04:00
Yuming Zhu
c730f2b3aa
fix cli unittest: test_download_task.py for py3
2017-08-08 12:26:22 -04:00
Yuming Zhu
dc0e0303f2
cli: unittest for download_file
2017-08-08 12:26:22 -04:00
Yuming Zhu
2d7ceb2992
cli: add c.close() in download_file and move inner function outside
2017-08-08 12:26:22 -04:00
Yuming Zhu
25c36a8b56
unittest for cli:download-task
2017-08-08 12:26:22 -04:00
Yuming Zhu
1958a2a314
cli: remove unnecessary continue in download_task
2017-08-08 12:26:22 -04:00
Yuming Zhu
1e77866b35
cli: change download-task to regular curl download
...
also make 301/302 redirect acceptable by download-build & download-task
2017-08-08 12:26:22 -04:00
Mike McLean
b84b4fa213
PR#536: fix docs links, plus minor docs cleanup
...
Merges #536
https://pagure.io/koji/pull-request/536
2017-08-08 12:18:59 -04:00
Mike McLean
fcdd342a1d
minor docs cleanup
2017-08-08 12:18:04 -04:00
Mike McLean
83e47bf42a
update docs links in service configs
2017-08-08 12:18:04 -04:00
Mike McLean
9bda5c6bc9
PR#539: runroot: friendlier parsing of path_subs config
...
Merges #539
https://pagure.io/koji/pull-request/539
2017-08-08 12:17:12 -04:00
Mike McLean
2347aee632
runroot: friendlier parsing of path_subs config
2017-08-08 12:15:42 -04:00
Mike McLean
29f286a53c
PR#542: check RPMTAG_LONGSIZE is RPMTAG_SIZE is null
...
Merges #542
https://pagure.io/koji/pull-request/542
2017-08-08 12:14:02 -04:00
Mike McLean
778d466387
unit test: check get_header_fields() with large size
2017-08-08 12:13:06 -04:00
Tomas Kopecek
6930880480
check RPMTAG_LONGSIZE is RPMTAG_SIZE is null
...
Related: https://pagure.io/koji/issue/541
2017-08-08 12:13:06 -04:00
Mike McLean
e7c20f3619
PR#419: Koji support for custom Lorax templates in LiveMedia tasks
...
Merges #419
https://pagure.io/koji/pull-request/419
2017-08-08 11:46:37 -04:00
John Florian
fa1e69a6ef
Change - docstrings for PEP257 compliance
...
Neither of these methods started with a one-line summary.
2017-08-08 11:44:18 -04:00
John Florian
7cd5d6c4ed
Refactor - rename method BuildRoot.relpath for clarity
...
The semantics of "relative" here are atypical of common expectations.
While the method does return a "related" path, it's still absolute.
Hopefully this new name is less confusing.
2017-08-08 11:44:18 -04:00
John Florian
0aa10b925b
Refactor - leverage koji.util.relpath()
...
Per mikem's request:
https://pagure.io/koji/pull-request/233#comment-22971
2017-08-08 11:44:18 -04:00
John Florian
3e2a737e32
New - custom lorax templates for livemedia tasks
...
This adds two new options (--lorax_url and --lorax_dir) to the Koji CLI
so that it's now possible to use custom lorax templates for livemedia
tasks. The custom templates must come from a supported, allowed SCM,
which makes it trivial to inject the whole directory structure of
template files that lorax expects.
In addition to the CLI changes, kojid's LiveMediaTask handler recognizes
these new options and acts accordingly by extending the
livemedia-creator call via its --lorax-templates option.
2017-08-08 11:44:18 -04:00
John Florian
86fa50077d
New - kojid.BuildRoot.relpath()
...
This new method returns an absolute path within the chroot relative the
BuildRoot's chroot.
2017-08-08 11:44:18 -04:00
Mike McLean
a223f29d03
PR#546: fix test_krbv_disabled unit test
...
Merges #546
https://pagure.io/koji/pull-request/546
2017-08-08 11:42:47 -04:00
Mike McLean
c2cb0f1184
fix test_krbv_disabled unit test
2017-08-08 11:39:40 -04:00
Mike McLean
ffdb5d6790
PR#518: Error out if krbV is unavailable and gssapi did not work
...
Merges #518
https://pagure.io/koji/pull-request/518
2017-08-08 11:17:21 -04:00
Patrick Uiterwijk
56b023b158
Error out if krbV is unavailable and gssapi did not work
...
In python3, krbV is unavailable, which means that we should not stay
silent if gssapi login failed.
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-08 11:09:52 -04:00
Mike McLean
4a05467c63
PR#535: datetime compatibility for plugins
...
Merges #535
https://pagure.io/koji/pull-request/535
2017-08-07 14:36:22 -04:00
Mike McLean
0c8d4c8f07
implement caching in _fix_cb_args
2017-08-07 12:41:40 -04:00
Mike McLean
fe7c0b4052
unit test for encode_datetime
2017-08-07 12:41:40 -04:00