Commit graph

2995 commits

Author SHA1 Message Date
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
Mike McLean
2865f2421b avoid using encode_int in some of the client code 2017-08-25 16:48:02 -04:00
Mike McLean
ab48fa80b2 move xmlrpc marshaller into lib and use i8 for large ints 2017-08-25 16:48:02 -04:00
Tomas Kopecek
448924e2c6 Patch xmlrpclib for 64-bit integers
Related: https://pagure.io/koji/issue/464
2017-08-25 16:48:02 -04:00
Mike McLean
2395ea2890 PR#538: protonmsg plugin: test mode
Merges #538
https://pagure.io/koji/pull-request/538
2017-08-25 00:11:13 -04:00
Mike McLean
fcfa6789c4 unit test: get protonmsg coverage back up to 100%, ensure test config is read 2017-08-25 00:10:10 -04:00
Mike McLean
bce4e28ed8 protonmsg plugin: test mode 2017-08-25 00:10:10 -04:00
Mike McLean
60774a4eb8 PR#547: update version in sphinx config
Merges #547
https://pagure.io/koji/pull-request/547
2017-08-24 23:38:12 -04:00
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