Commit graph

584 commits

Author SHA1 Message Date
Mike McLean
a2c61d3992 simple mode for mergerepos 2018-09-20 12:37:26 -04:00
Mike McLean
3a5dd71686 let merge repos deal with it 2018-09-20 12:37:26 -04:00
Tomas Kopecek
3cc443df97 Fix isinstance with lists
Fixes: https://pagure.io/koji/issue/1011
2018-08-08 11:34:39 -04:00
Tomas Kopecek
caae1a0a8b workaround unnecessary list conversions 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
be535c2854 python-modernize -f libmodernize.fixes.fix_imports_six 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
bcee24e50c python-modernize -f libmodernize.fixes.fix_dict_six 2018-07-11 17:37:39 -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
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
Tomas Kopecek
0dafaa7440 remove deprecated BuildRoot.scrub()
Fixes: https://pagure.io/koji/issue/854
2018-06-04 10:58:45 -04:00
Franz Chih-Ping Hsieh
f356ac4f17 force using python2 to run script
Fixes #945
2018-05-24 00:01:30 -04:00
Mike McLean
7a0acc00cb put dist repo rpms under Packages/ 2018-05-03 16:05:16 -04:00
Mike McLean
cb714b7427 no need for subtask to return its upload dir 2018-05-03 16:05:16 -04:00
Mike McLean
387f92b5dd drop unused params 2018-05-03 16:05:16 -04:00
Mike McLean
c032bdf6bc upload a repo manifest 2018-05-03 16:05:16 -04:00
Mike McLean
72a57611f1 also upload subrepo metadata 2018-05-03 16:05:16 -04:00
Mike McLean
fb5da35edf refactor uploaded file data 2018-05-03 16:05:16 -04:00
Mike McLean
c5f126a7b0 streamline subrepo logic a bit 2018-05-03 16:05:16 -04:00
Mike McLean
86043223c2 record dist subrepo in kojipkgs 2018-05-03 16:05:16 -04:00
Mike McLean
869dc3b57b fix debuginfo check and logfile name 2018-05-03 16:05:16 -04:00
Mike McLean
f26eb7560c actually do the debuginfo split 2018-05-03 16:05:16 -04:00
Mike McLean
6e3482ea22 trying to use kojipkgs data instead of fs lookups 2018-05-03 16:05:16 -04:00
Mike McLean
8158613e4a trying to separate pkglist calculation from output generation 2018-05-03 16:05:16 -04:00
Mike McLean
356a64386e standardize pathinfo usage in createDistRepoTask 2018-05-03 16:05:16 -04:00
Mike McLean
7862bd94d0 drop unused var 2018-05-03 16:05:16 -04:00
Mike McLean
df0a6b28fa attempt to handle empty tag more gracefully 2018-05-03 16:05:16 -04:00
Mike McLean
01a47750d1 simplify do_createrepo a bit 2018-05-03 16:05:16 -04:00
Mike McLean
8fd08cce7e disconnect createdistrepo and createrepo task handlers 2018-05-03 16:05:16 -04:00
Mike McLean
a2d5f63b60 avoid including noarch in src repos 2018-05-03 16:05:16 -04:00
Mike McLean
534d8db8ec add some comments 2018-05-03 16:05:16 -04:00
Mike McLean
2b7447ef32 misc cleanup 2018-05-03 16:05:16 -04:00
Tomas Kopecek
169aed66c5 make py2 files parseable with py3 2018-05-03 15:56:56 -04:00
Mike McLean
6ea252ef9a whitespace/lint cleanup 2018-05-03 15:01:23 -04:00
Yuming Zhu
6a91a3ba6b change default value of oz_install_timeout to 0 2018-05-03 15:00:34 -04:00
Yuming Zhu
38f3d919af kojid: make install timeout of imagefactory conf configurable 2018-05-03 15:00:34 -04:00
Tomas Kopecek
5882904aea make timestamp logs configurable 2018-05-03 14:52:25 -04:00
Tomas Kopecek
78ba6ef12e split timestamp log tu multiple files 2018-05-03 14:52:24 -04:00
Tomas Kopecek
35b4d04561 add debug timestamp log for logs
Fixes: https://pagure.io/koji/issue/776
2018-05-03 14:52:24 -04:00
Tomas Kopecek
119e23d315 remove duplicate ignore 2018-04-27 11:53:37 -04:00
Tomas Kopecek
72d619929e use 'ignore' in hash computation 2018-04-27 11:53:37 -04:00
Tomas Kopecek
54e52e469e move rpmdiff to koji lib 2018-04-27 11:53:37 -04:00
Tomas Kopecek
fa9183a18a cache rpmdiff results 2018-04-27 11:53:37 -04:00
Tomas Kopecek
506f114e89 mavenBuild uses wrong session
Fixes: https://pagure.io/koji/issue/859
2018-04-03 16:15:49 -04:00
Mike McLean
4c07073403 simplify check for krbV module 2018-04-02 16:38:27 -04:00
Mike McLean
91b306e108 Avoid failing at import time if krbV module is missing
Several parts of Koji already handled this absence gracefully. This change
extends that behavior to all places where krbV is imported.
2018-04-02 16:38:27 -04:00