Mike McLean
01b0a41639
fix file open mode
2019-03-04 09:28:39 -05:00
Mike McLean
f7f75d20ee
error if volume id is too long
2019-02-21 16:37:35 -05:00
Mike McLean
23b5a40c42
fix references to logger instance
2019-02-21 16:37:35 -05:00
Brendan Reilly
deb738fc1d
Added warnings and failures for too long volid
2019-02-21 16:37:35 -05:00
Brendan Reilly
b92824cca0
Added volume id as argument to livemedia task
2019-02-21 16:37:35 -05:00
Tomas Kopecek
8d62b5f197
python 3 can't index dict.keys()
...
Fixes: https://pagure.io/koji/issue/1262
2019-02-19 11:18:06 +01:00
Tomas Kopecek
b78c1b42aa
fix race-condition with librepo temp directories
...
Same directory is used for all librepo uses. It should be done inside
mock directory.
Fixes: https://pagure.io/koji/issue/1250
2019-02-18 14:50:05 -05:00
Mike McLean
5f15ff218b
drop dnf from yum handler
2019-02-12 16:09:20 -05:00
Tomas Kopecek
5216c54572
distrepo via dnf
2019-02-12 16:09:19 -05:00
Tomas Kopecek
69c2acaebc
use librepo instead of yum where possible
...
librepo is not available from RHEL6 by default, so don't expect it as a
hardrequire for now
2019-02-12 16:09:19 -05:00
Tomas Kopecek
ccf1c41274
fixes
2019-02-12 16:09:19 -05:00
Tomas Kopecek
009081c0fc
bundle rpmUtils.arch
2019-02-12 16:09:19 -05:00
Tomas Kopecek
ed01f8d299
reorder imports
2019-02-12 16:09:19 -05:00
Tomas Kopecek
a7280fb5c0
fix rpm headers access
2019-02-12 16:07:49 -05:00
Tomas Kopecek
e2c7826338
use files in context managers
2019-02-12 16:06:00 -05:00
Tomas Kopecek
5885b526ac
fix librepo workdir
2019-02-12 16:06:00 -05:00
Tomas Kopecek
426a8c2b16
rpm builds
2019-02-12 16:06:00 -05:00
Tomas Kopecek
9fb7a2ffda
simplify .keys() usage
2019-02-12 16:06:00 -05:00
Tomas Kopecek
d3766c19b5
replace obsoleted libs
2019-02-12 16:06:00 -05:00
Tomas Kopecek
1ca24fe567
remove testing hashlib
...
hashlib is in stdlib from python 2.5, no more need for testing its
existence.
2019-02-12 16:06:00 -05:00
Tomas Kopecek
6afd45f7b4
remove unused variables
2019-02-12 16:06:00 -05:00
Mike McLean
586e23f228
allow setting task_avail_delay in kojid.conf
2018-12-03 15:54:07 -05:00
Patrick Uiterwijk
4ed093ea70
Do not require split_debuginfo
...
Fixes : #1114
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-10-18 11:37:15 +02:00
Tomas Kopecek
9effd55c39
create pkgorigins
2018-09-20 12:37:26 -04:00
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
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
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