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
Mike McLean
ab928e6196
add unit test for convert_datetime decorator
2017-08-07 12:41:40 -04:00
Mike McLean
1df193ea2b
use datetime compatibility for messagebug and protonmsg plugins
2017-08-07 12:41:40 -04:00
Mike McLean
842754c2d3
datetime compatibility option for callbacks
2017-08-07 12:41:40 -04:00
Mike McLean
658953af54
PR#524: Add support for debugsource
...
Merges #524
https://pagure.io/koji/pull-request/524
2017-08-03 12:19:09 -04:00
Igor Gnatenko
eea35fa5a6
make is_debuginfo() one-line
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Igor Gnatenko
785e23b2c0
use if 'x' in s instead of str.find()
...
It's more readable.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Igor Gnatenko
7a3bf2791e
handle debugsource same way as debuginfo packages
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Mike McLean
9c4348e55b
PR#528: allow some missing path sections in runroot config
...
Merges #528
https://pagure.io/koji/pull-request/528
Fixes #527
https://pagure.io/koji/issue/527
2017-08-01 08:00:17 -04:00
Mike McLean
e1bc3664ad
unit test: nonsequential path numbers in runroot config
2017-07-31 12:53:03 -04:00
Tomas Kopecek
032e2aaddd
allow some missing path sections in runroot config
...
Fixes: https://pagure.io/koji/issue/527
Before path sections were expected to have zero-based numbering. If some
item was missing, parsing ended there.
Now we are more benevolent and we pick all path\d+ sections and sort
them by ordering number.
2017-07-31 12:53:03 -04:00
Mike McLean
675e854ac0
PR#530: Spelling fixes
...
Merges #530
https://pagure.io/koji/pull-request/530
2017-07-31 10:32:57 -04:00
Ville Skyttä
10bc242c32
Spelling fixes
2017-07-30 12:49:19 +03:00
Mike McLean
8ac8167570
PR#506: Track artifacts coming from koji itself
...
Merges #506
https://pagure.io/koji/pull-request/506
2017-07-26 10:45:51 -04:00
Mike McLean
b405701b53
hub: rework match_kojifile() and add a unit test
2017-07-25 16:45:25 -04:00
Tomas Kopecek
1f91bdfeeb
check also filename/size
2017-07-25 12:37:46 -04:00
Tomas Kopecek
64f2467fd0
kojifile component type
2017-07-25 12:37:46 -04:00
Mike McLean
05c266b7d1
PR#499: runroot: use /builddir/runroot.log instead of /tmp/runroot.log
...
Merges #499
https://pagure.io/koji/pull-request/499
2017-07-25 12:36:14 -04:00
Mike McLean
14ec03f596
runroot: use /builddir/runroot.log instead of /tmp/runroot.log
...
With --new-chroot, /tmp is set up as a tmpfs mount, which does not persist,
so using /builddir instead.
Related: #482 (but not a fix)
https://pagure.io/koji/issue/482
2017-07-25 12:30:32 -04:00
Mike McLean
a9dc698774
PR#509: CLI block-group command
...
Merges #509
https://pagure.io/koji/pull-request/509
Fixes #462
https://pagure.io/koji/issue/462
2017-07-25 12:28:07 -04:00
Tomas Kopecek
c1257a6a22
simplify SQL test comparison
2017-07-25 12:14:26 -04:00
Tomas Kopecek
6c68b6ab34
CLI block-group command
...
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Mike McLean
3fe2d4b1a5
PR#514: Fix resubmit
...
Merges #514
https://pagure.io/koji/pull-request/514
2017-07-25 11:26:32 -04:00
Patrick Uiterwijk
21523a57fd
Fix the poll_interval access in handle_resubmit
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Patrick Uiterwijk
b511c6599f
Fix the call to _printTaskInfo in handle_resubmit
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Mike McLean
76d6082742
PR#521: update links in README.md
...
Merges #521
https://pagure.io/koji/pull-request/521
2017-07-25 10:42:52 -04:00
Mike McLean
7e225da19c
update links in README.md
2017-07-24 09:45:39 -04:00
Mike McLean
856c7a420c
PR#502: download-build: suppress output on quiet and add --noprogress
...
Merges #502
https://pagure.io/koji/pull-request/502
2017-07-11 10:34:53 -04:00
Yanko Kaneti
addf7cdd01
download-build: suppress output on quiet and add --noprogress
2017-07-11 10:29:26 -04:00
Mike McLean
65910bbf9b
PR#511: unit tests for delete_tag() [Open]
...
Merges #511
https://pagure.io/koji/pull-request/511
2017-07-11 10:19:29 -04:00
Mike McLean
6f987daf5a
unit tests for delete_tag()
2017-07-07 12:21:22 -04:00