Commit graph

2679 commits

Author SHA1 Message Date
Mike McLean
0ded2a44a9 Merge #421 Extend allowed_scms format to allow explicit blocks 2017-05-22 19:53:12 +00:00
Mike McLean
5f27889296 update docs for allowed_scms 2017-05-22 15:49:38 -04:00
Mike McLean
3b66a81bfc rename variable in unit test. clarify docstring 2017-05-22 15:49:38 -04:00
Mike McLean
38c45ee124 another bad url for assert_allowed test 2017-05-22 15:49:38 -04:00
Mike McLean
5e19c06fce more tests 2017-05-22 15:49:38 -04:00
Mike McLean
39d71efa58 clean up docstring 2017-05-22 15:49:38 -04:00
Mike McLean
c49d8552b8 another test 2017-05-22 15:49:38 -04:00
Mike McLean
49b4d0ae9f another test 2017-05-22 15:49:38 -04:00
Mike McLean
b4ea7c2189 a checkout test 2017-05-22 15:49:38 -04:00
Mike McLean
04b42c8320 tests/fixes for assert_allowed 2017-05-22 15:49:38 -04:00
Mike McLean
dd87bd39e3 scm unit test, partial 2017-05-22 15:49:38 -04:00
Mike McLean
950d6cc4ed first stab at inverted scm rules 2017-05-22 15:49:38 -04:00
Mike McLean
45dd094858 PR#424 handle task fault results in download-logs
Merges #424
https://pagure.io/koji/pull-request/424

Fixes #423
https://pagure.io/koji/issue/423
2017-05-19 10:14:27 -04:00
Mike McLean
d01346796b handle task fault results in download-logs
Fixes #423
https://pagure.io/koji/issue/423
2017-05-19 10:14:23 -04:00
Mike McLean
01b90724d5 PR#431 don't inspect results for failed createImage tasks
Merges #431
2017-05-19 06:50:12 -04:00
Tomas Kopecek
5bcf029d03 don't inspect results for failed createImage tasks 2017-05-19 06:47:51 -04:00
Mike McLean
5b0476a798 PR#430 note about where API docs are found
Merges #430
https://pagure.io/koji/pull-request/430

Fixes #415
https://pagure.io/koji/issue/415
2017-05-19 06:39:56 -04:00
Tomas Kopecek
aba5415bd6 note about where API docs are found 2017-05-19 06:38:56 -04:00
Mike McLean
a0941767a7 PR#403 fixEncoding for changelogs
Merges #403
https://pagure.io/koji/pull-request/403

Fixes #349
https://pagure.io/koji/issue/349
2017-05-17 16:25:29 -04:00
Mike McLean
f359bb8918 extend FixEncoding unit tests 2017-05-17 16:21:21 -04:00
Tomas Kopecek
7a197b62c0 remove non-printable characters from getRPMHeaders result 2017-05-17 13:11:22 -04:00
Tomas Kopecek
a54397adc6 propagate parameters recursively 2017-05-17 13:11:22 -04:00
Tomas Kopecek
eaae5b3212 don't remove nonprintable characters by default 2017-05-17 13:11:22 -04:00
Tomas Kopecek
a21d4bb7e3 less restrictive filter 2017-05-17 13:11:22 -04:00
Tomas Kopecek
993b2660da remove non-printable characters in fixEncoding
Some real-world changelogs contains non-printable characters or invalid
unicode ones. xmlrpc fails on such strings, so we sanitize changelog
strings before passing it to client.

Related: https://pagure.io/koji/issue/349
2017-05-17 13:11:22 -04:00
Mike McLean
17a646b61c PR#402 parse deleted mountpoints
Merges #402
https://pagure.io/koji/pull-request/402

Fixes #387
https://pagure.io/koji/issue/387
2017-05-17 13:05:41 -04:00
Tomas Kopecek
32fa7f0435 parse deleted mountpoints
Related: https://pagure.io/koji/issue/387
2017-05-17 13:04:06 -04:00
Mike McLean
6f06ee498f PR#418 use old tarfile arguments
(a fix for the save_failed_tree plugin)

Merges #418
https://pagure.io/koji/pull-request/418
2017-05-17 13:00:54 -04:00
Tomas Kopecek
03218a3fd3 use old tarfile arguments 2017-05-17 12:56:30 -04:00
Mike McLean
323e4d7511 PR#422 doc: use tag-build instead of alias cmd tag-pkg
Merges #422
https://pagure.io/koji/pull-request/422
2017-05-16 09:11:13 -04:00
Mike McLean
f78d78fa48 also replace tag-pkg ref in HOWTO doc 2017-05-16 09:10:24 -04:00
Yuming Zhu
747497ec9b doc: remove nowiki tag 2017-05-16 20:11:02 +08:00
Yuming Zhu
6964416371 doc: use tag-build instead of alias cmd tag-pkg 2017-05-16 18:05:15 +08:00
Mike McLean
e295802209 PR#404 XZ threads are very bad about memory, so use only two threads.
Merges #404
https://pagure.io/koji/pull-request/404
2017-05-04 10:07:51 -04:00
jdisnard
c360c791ec XZ threads are very bad about memory, so use only two threads.
In koji #380 we setup -T0
That will use all available compute resources.
It also has the potential to exhaust system memnory, and cause errors.
This PR seeks a middle ground with 2 XZ threads similar to createrepo_c.
https://github.com/rpm-software-management/createrepo_c/blob/master/src/compression_wrapper.c#L490

Signed-off-by: jdisnard <jdisnard@redhat.com>
2017-05-04 10:07:28 -04:00
Mike McLean
ee624d69c0 PR#408 Support proxyuser=username in krbLogin
Merges #408
https://pagure.io/koji/pull-request/408

Fixes #410
https://pagure.io/koji/issue/410
2017-05-04 10:03:13 -04:00
Patrick Uiterwijk
7ec0e2c6b0 Make sslLogin use getUserId
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-05-04 10:02:58 -04:00
Patrick Uiterwijk
5a23afaeeb Make proxyuser consistent between ssl and krb
Currently, krb would expect a krb principal where ssl expects a username.
This makes krb use the username, but also accept the krb_principal for
backwards compatibility.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-05-04 10:02:58 -04:00
Mike McLean
c447408967 PR#411 Replace references to cvs with modern git examples
Merges #411
https://pagure.io/koji/pull-request/411
2017-05-04 10:01:33 -04:00
mbooth
88ba6354c8 Replace references to cvs with modern git examples 2017-05-04 11:27:08 +00:00
Mike McLean
f1da184950 PR#381 use /etc/ in the spec file
Merges #381
https://pagure.io/koji/pull-request/381
2017-05-01 15:14:36 -04:00
Dennis Gilmore
4c743d3d4d use /etc/ in the spec file
/etc/ is a little cleaer than %{_sysconfdir} and is allowed ot be used
in the packaging guidelines.
https://pagure.io/packaging-committee/issue/67 is where fpc made the
decision it is allowed.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-05-01 15:03:24 -04:00
Mike McLean
b1e96fb89f PR#380 Make raw-xz faster by using xz threads
Merges #380
2017-05-01 14:40:59 -04:00
jdisnard
d988ff67be Make raw-xz faster by using xz threads (patch #2)
This patch only enabled xz threads -T0, and maximum compresion -9.
This patch removed the -f (--force) in previous patch.
Koji PR #380
Signed-off-by: jdisnard <jdisnard@redhat.com>
2017-05-01 14:40:12 -04:00
jdisnard
b0c6d3d42d ImageBuild: make raw-xz faster by using xz threads
Signed-off-by: jdisnard <jdisnard@redhat.com>
2017-05-01 14:40:12 -04:00
Mike McLean
a22298ed1b PR#397 missing argument
Merges #397
https://pagure.io/koji/pull-request/397
Fixes #396
https://pagure.io/koji/issue/396
2017-05-01 14:35:40 -04:00
Mike McLean
7405f77af8 rpm files not in (file, volume) layout 2017-05-01 14:35:12 -04:00
Mike McLean
df6bdf05c3 typo 2017-05-01 14:35:12 -04:00
Tomas Kopecek
10650fa4b8 missing argument
Related: https://pagure.io/koji/issue/396
2017-05-01 14:35:12 -04:00
Mike McLean
63df56ea7e PR#399 Added hostinfo command to cli
Merges #399
https://pagure.io/koji/pull-request/399
Fixes #364
https://pagure.io/koji/issue/364
2017-05-01 14:32:48 -04:00