Commit graph

3059 commits

Author SHA1 Message Date
Tomas Kopecek
f22dcaf563 override build_arch_can_fail settings
Fixes: https://pagure.io/koji/issue/413
2017-09-18 16:56:22 -04:00
Mike McLean
345dc57033 PR#566: allow profiles to request a specific python version
Merges #566
https://pagure.io/koji/pull-request/566
2017-09-18 16:38:17 -04:00
Mike McLean
ea89245352 allow profiles to request a specific python version 2017-09-18 16:26:55 -04:00
Mike McLean
249415f046 PR#554: deprecate importBuildInPlace hub call
Merges #554
https://pagure.io/koji/pull-request/554
2017-09-18 16:11:32 -04:00
Mike McLean
45844af8ef deprecate importBuildInPlace hub call
Related: #553
https://pagure.io/koji/issue/553
2017-09-18 16:10:56 -04:00
Mike McLean
525102bfab PR#590: support repo_include_all tag extra option
Merges #590
https://pagure.io/koji/pull-request/590
2017-09-18 16:07:53 -04:00
Mike McLean
e8d46e2e94 support repo_include_all tag extra option
Fixes #588
https://pagure.io/koji/issue/588
2017-09-18 16:06:25 -04:00
Mike McLean
0120429573 PR#582: Content generator metadata documentation update
Merges #582
https://pagure.io/koji/pull-request/582
2017-09-18 10:14:36 -04:00
Tim Waugh
1ed62c399a Content generator metadata documentation update
For 'docker-image' output, add a new 'digests' map.

Signed-off-by: Tim Waugh <twaugh@redhat.com>
2017-09-18 10:11:59 -04:00
Mike McLean
97fd4c27a9 PR#579: ignore inodes when running rpmdiff.
Merges #579
https://pagure.io/koji/pull-request/579
2017-09-18 10:10:03 -04:00
Dennis Gilmore
b1eac7d030 ignore inodes when running rpmdiff.
https://koji.fedoraproject.org/koji/taskinfo?taskID=21649395
failed in the rpmdiff stage with
BuildError: The following noarch package built differently on different architectures: python3-ipaserver-4.6.0-1.fc27.noarch.rpm
rpmdiff output was:
error: cannot open Packages index using db5 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
error: cannot open Packages database in /var/lib/rpm
....N...... /usr/lib/python3.6/site-packages/ipaserver/install/__pycache__/ipa_pkinit_manage.cpython-36.opt-1.pyc
....N...... /usr/lib/python3.6/site-packages/ipaserver/install/__pycache__/ipa_pkinit_manage.cpython-36.pyc
on investigation the files on aarch64 and ppc64 were using 2 inodes
on x86_64, i686, armv7hl, ppc64le, and s390x using 1 inode.
if I manually run the diff with --ignore S changed to N the diff passes
given that we already ignore sizes we should ignore inodes used also

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-09-18 10:03:40 -04:00
Mike McLean
9a1562fa00 PR#493: modify activate_session to be easily used without CLI
Merges #493
https://pagure.io/koji/pull-request/493

Fixes #436
https://pagure.io/koji/issue/436
2017-09-15 00:06:06 -04:00
Mike McLean
aa9a7b8841 avoid mocking isfile in unit test 2017-09-14 23:34:47 -04:00
Mike McLean
9bd9e07b42 unit tests for activate_session 2017-09-14 22:59:41 -04:00
Mike McLean
3233dc760f don't assume runas option in activate_session 2017-09-14 22:59:11 -04:00
Tomas Kopecek
bc43f8bdfc modify activate_session to be easily used without CLI
Related: https://pagure.io/koji/issue/436
2017-09-14 18:18:35 -04:00
Mike McLean
c9719ace3f PR#589: fix scratch ref for scm callback
Merges #589
https://pagure.io/koji/pull-request/589
2017-09-14 10:06:19 -04:00
Mike McLean
1c6051a78c fix scratch ref for scm callback 2017-09-13 14:10:28 -04:00
Mike McLean
c2c06d0c34 Merges #587
https://pagure.io/koji/pull-request/587
2017-09-13 10:46:15 -04:00
Yuming Zhu
61b2aee390 add build_tag argument in postSCMCheckout callback 2017-09-13 16:10:46 +08:00
Mike McLean
03fd3cd292 PR#583: support rpm LONG*SIZE header fields
Merges #583
https://pagure.io/koji/pull-request/583

Fixes #570
https://pagure.io/koji/issue/570
2017-09-08 16:51:36 -04:00
Mike McLean
71089f449c test case where rpm size header gives None, but no longsize header 2017-09-08 16:33:09 -04:00
Mike McLean
3f0d107c2e handle LONGFILESIZES rpm header field 2017-09-08 16:33:09 -04:00
Mike McLean
062a38c1b6 handle all long rpm size headers 2017-09-08 16:33:09 -04:00
Mike McLean
f564c08a1e PR#526: Added list builds command to koji CLI
Merges #526
https://pagure.io/koji/pull-request/526

Fixes #362
https://pagure.io/koji/issue/362
2017-09-08 16:22:26 -04:00
Brendan Reilly
09426d131e Removed special maven case, added sorting option, now displays state 2017-09-08 16:20:17 -04:00
Brendan Reilly
f9f41b46e6 Added better state handling, prefix option, tz handling, sorting to list-builds 2017-09-08 16:20:17 -04:00
Brendan Reilly
571d68c223 Added more failure handling for list-builds 2017-09-08 16:20:17 -04:00
Brendan Reilly
0de93237f1 Added list builds command to koji CLI 2017-09-08 16:20:17 -04:00
Mike McLean
4f4b7fb59f PR#581: Add a note to get_build docstring
Merges #581
https://pagure.io/koji/pull-request/581
2017-09-08 09:26:57 -04:00
Mike McLean
b744195c14 Add a note to get_build docstring
Related: #549
https://pagure.io/koji/issue/549
2017-09-08 09:23:16 -04:00
Mike McLean
a4cb055f1f Merge #575 add xjb and yaml type in archivetypes table 2017-08-30 20:21:36 +00:00
Yuming Zhu
12121dc191 add xjb and yaml type in archivetypes table
to fix [issue#574](https://pagure.io/koji/issue/574)
2017-08-29 18:07:43 +08:00
Mike McLean
4cec371933 PR#571: Support large ints over xmlrpc using i8 tag
Merges #571
https://pagure.io/koji/pull-request/571

Fixes #464
https://pagure.io/koji/issue/464
2017-08-25 16:50:44 -04:00
Mike McLean
a3bc0f6871 we need xmlrpcplus in py3 too 2017-08-25 16:48:02 -04:00
Mike McLean
cea43dd458 correct range for i8 (64 bit signed) 2017-08-25 16:48:02 -04:00
Mike McLean
2dfbd7d998 another unit test 2017-08-25 16:48:02 -04:00
Mike McLean
ae4e4e7b51 unit test corner cases. xmlrpcplus coverage 100% 2017-08-25 16:48:02 -04:00
Mike McLean
5bcaf7cebe include some unicode in unit test data 2017-08-25 16:48:02 -04:00
Mike McLean
4eabd8b7da py3 fixes for xmlrpcplus 2017-08-25 16:48:02 -04:00
Mike McLean
6c1d2e637a use python six to get xmlrpc_client in unit tests 2017-08-25 16:48:02 -04:00
Mike McLean
1604610248 allow_none is always on for us 2017-08-25 16:48:02 -04:00
Mike McLean
bce7c414ae more xmlrpcplus unit tests 2017-08-25 16:48:02 -04:00
Mike McLean
2925e1cf93 some unit tests for xmlrpcplus 2017-08-25 16:48:02 -04:00
Mike McLean
98f8b150aa can't use __dump from parent class 2017-08-25 16:48:02 -04:00
Mike McLean
6835409a2b allow_none is the default for our dumps 2017-08-25 16:48:02 -04:00
Mike McLean
a59dd67765 hub returns datetime objects as strings 2017-08-25 16:48:02 -04:00
Mike McLean
3d44e974d3 expand a bit on the xmlrpc extensions in the docs 2017-08-25 16:48:02 -04:00
Mike McLean
be2fae90ae move custom xmlrpc marshaller to its own file 2017-08-25 16:48:02 -04:00
Tomas Kopecek
32e6eedca1 docs update for xmlrpc i8 extension 2017-08-25 16:48:02 -04:00