Commit graph

3713 commits

Author SHA1 Message Date
Tomas Kopecek
f464160ac6 fix tuple expansion in args 2018-07-11 17:37:40 -04:00
Tomas Kopecek
d9ac4ed85c python-modernize -f lib2to3.fixes.fix_numliterals 2018-07-11 17:37:40 -04:00
Tomas Kopecek
6f7f828f77 python-modernize -f lib2to3.fixes.fix_except 2018-07-11 17:37:40 -04:00
Tomas Kopecek
9b3cf26dc2 fix sort(l) vs l.sort() typo 2018-07-11 17:37:40 -04:00
Tomas Kopecek
242e143b97 fix double import typo 2018-07-11 17:37:40 -04:00
Tomas Kopecek
caae1a0a8b workaround unnecessary list conversions 2018-07-11 17:37:40 -04:00
Tomas Kopecek
56095e8018 fix unicode type checks 2018-07-11 17:37:40 -04:00
Tomas Kopecek
b37236d7ae fix incorrect divisions 2018-07-11 17:37:40 -04:00
Tomas Kopecek
8e61dc7c56 python-modernize -f libmodernize.fixes.fix_classic_division 2018-07-11 17:37:40 -04:00
Tomas Kopecek
bc425033b5 fix rest of int/long 2018-07-11 17:37:40 -04:00
Tomas Kopecek
220e889f2b python-modernize -f libmodernize.fixes.fix_int_long_tuple 2018-07-11 17:37:40 -04:00
Tomas Kopecek
707c6b7774 python-modernize -f libmodernize.fixes.fix_map 2018-07-11 17:37:39 -04:00
Tomas Kopecek
be535c2854 python-modernize -f libmodernize.fixes.fix_imports_six 2018-07-11 17:37:39 -04:00
Tomas Kopecek
f03646bab5 python-modernize -f lib2to3.fixes.fix_methodattrs 2018-07-11 17:37:39 -04:00
Tomas Kopecek
9173587056 python-modernize -f lib2to3.fixes.fix_funcattrs 2018-07-11 17:37:39 -04:00
Tomas Kopecek
d92fa1fa9c python-modernize -f libmodernize.fixes.fix_file 2018-07-11 17:37:39 -04:00
Tomas Kopecek
5ad9027320 python-modernize -f libmodernize.fixes.fix_basestring 2018-07-11 17:37:39 -04:00
Tomas Kopecek
7f6b717eb6 python-modernize -f libmodernize.fixes.fix_import 2018-07-11 17:37:39 -04:00
Tomas Kopecek
bcee24e50c python-modernize -f libmodernize.fixes.fix_dict_six 2018-07-11 17:37:39 -04:00
Tomas Kopecek
b96092334d python-modernize -f libmodernize.fixes.fix_xrange_six 2018-07-11 17:37:39 -04:00
Mike McLean
e67bd0f3a7 PR#962: put source target scratch into policy_data in make_task
Merges #962
https://pagure.io/koji/pull-request/962

Fixes: #150
https://pagure.io/koji/issue/150
no target info in channel policy for non-rpm tasks
2018-06-29 16:55:32 -04:00
Mike McLean
862c5090bd minor adjustments for readability 2018-06-29 16:55:16 -04:00
Mike McLean
bb1e136324 drop redundant warning 2018-06-29 16:55:16 -04:00
Yuming Zhu
1b085035d9 put source target scratch into policy_data in make_task 2018-06-29 16:55:16 -04:00
Mike McLean
ef977eaebb PR#980: cli: rename _unique_path to unique_path, and deprecate the old one
Merges #980
https://pagure.io/koji/pull-request/980

Fixes: #975
https://pagure.io/koji/issue/975
Make _unique_path public
2018-06-28 12:39:19 -04:00
Yuming Zhu
1c76cd0c0f cli: rename _unique_path to unique_path, and deprecate the old one 2018-06-28 12:39:12 -04:00
Mike McLean
967704b9a3 PR#900: enable batch multiCall in clone-tag
Merges #900
https://pagure.io/koji/pull-request/900

Fixes: #885
https://pagure.io/koji/issue/885
cli: clone-tag raises "GenericError: Request too long"
2018-06-27 11:36:22 -04:00
Yuming Zhu
74dfee90ea rebase bad reference change 2018-06-27 11:34:50 -04:00
Mike McLean
f274b3602f give user option to use avoid using batches 2018-06-27 11:34:50 -04:00
Mike McLean
ae025524ab clean up docstring for multiCall() 2018-06-27 11:34:50 -04:00
Mike McLean
9b1f5b504e drop unecessary warning 2018-06-27 11:34:50 -04:00
Yuming Zhu
60a23818a1 add warning for batch usage in clone-tag 2018-06-27 11:34:50 -04:00
Yuming Zhu
3bddf540b4 set default batch to None and use generator instead of list 2018-06-27 11:34:50 -04:00
Yuming Zhu
b65d2c3fcf cli: unittest for multiCall 2018-06-27 11:33:34 -04:00
Yuming Zhu
70db1c5650 cli: enable batch for clone-tag 2018-06-27 11:33:34 -04:00
Yuming Zhu
073a8bd043 cli: add batch option in multiCall 2018-06-27 11:33:34 -04:00
Mike McLean
005d0a5cb4 PR#973: Check empty arches before spawning dist-repo
Merges #973
https://pagure.io/koji/pull-request/973
2018-06-19 10:00:59 -04:00
Tomas Kopecek
cfe859e184 Check empty arches before spawning dist-repo
Fixes: https://pagure.io/koji/issue/974
2018-06-19 10:00:48 -04:00
Mike McLean
e4767e53c7 PR#959: fix wrong tagNotification in tagBuildBypass API
Merges #959
https://pagure.io/koji/pull-request/959

Fixes: #958
https://pagure.io/koji/issue/958
Notification for tagBuildBypass is writing message untagged from, expected message tagged into
2018-06-15 17:04:00 -04:00
Yuming Zhu
0a417f10e0 fix wrong tagNotification in tagBuildBypass API
fixes #958
2018-06-15 17:03:52 -04:00
Mike McLean
fb626d803d PR#969: Enable python3 on RHEL8 build
Merges #969
https://pagure.io/koji/pull-request/969

Fixes: #968
https://pagure.io/koji/issue/968
Default enable python3 on RHEL8
2018-06-15 16:58:25 -04:00
Franz Chih-Ping Hsieh
d1d5a14cfc Enable python3 on RHEL8 build
Fixes: #968
2018-06-15 16:58:18 -04:00
Mike McLean
797449d146 PR#970: Add RISC-V (riscv64) to distrepo task
Merges #970
https://pagure.io/koji/pull-request/970
2018-06-14 10:05:49 -04:00
David Abdurachmanov
c4cf933458 Add RISC-V (riscv64) to distrepo task
This has been successfully used in Fedora RISC-V.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-06-14 10:05:41 -04:00
Mike McLean
4a2e8757f5 PR#897: Fix use_host_resolv with new mock version (2017 Nov 22+)
Merges #897
https://pagure.io/koji/pull-request/897

Fixes: #847
https://pagure.io/koji/issue/847
spin-livecd failed with "Could not resolve host"

Fixes: #932
https://pagure.io/koji/issue/932
Fix use_host_resolv with new mock version
2018-06-13 12:30:27 -04:00
David Abdurachmanov
16a4850ea3 Add missing config_opts['rpmbuild_networking'] to mock test data
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-06-13 12:30:19 -04:00
David Abdurachmanov
5b2014f8c0 Fix use_host_resolv with new mock version (2017 Nov 22+)
The change done in mock on 2017 Nov 22:

    782e150ffda41c55351c56eff6601a2cc1b8e4fe / [RHBZ#1514028]

now requires rpmbuild_networking to be used together with use_host_resolv
otherwise it does not have an affect. While setting up Fedora RISC-V koji
instance we noticed that /etc/resolv.conf was never copied into chroot,
while /ets/hosts was always present.

The following was tested on Fedora RISC-V instance and resolved the original
problem (buildSRPMFromSCM was failing on fedpkg sources as it couldn't
resolve src.fedoraproject.org)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-06-13 12:30:19 -04:00
Mike McLean
f37e203889 PR#868: allow force for pkglist_add
Merges #868
https://pagure.io/koji/pull-request/868

Fixes: #867
https://pagure.io/koji/issue/867
Use packageListBlock should raise better message GenericError without use packageListAdd before this
2018-06-08 16:55:29 -04:00
Mike McLean
118f796a1f fix unittest ref 2018-06-08 16:54:53 -04:00
Tomas Kopecek
3801e7504a use unittest2 only if available 2018-06-08 16:54:53 -04:00