Tomas Kopecek
d3213b888f
save modified .kiwi files per arch
...
Related: https://pagure.io/koji/issue/3210
2022-01-31 10:24:27 +01:00
Tomas Kopecek
bf23bf904e
fix flake8
2022-01-19 15:29:59 +01:00
Tomas Kopecek
49dfa51bc5
fix working dir path
2022-01-19 15:26:32 +01:00
Tomas Kopecek
7521198a8c
optional "make prep"
2022-01-19 15:26:32 +01:00
Tomas Kopecek
25cf5f78e1
remove unused code
2022-01-19 15:26:32 +01:00
Igor Raits
5c8f9c3e09
kiwi: Collect all files from bundle directory
...
Bundle directory has slightly different files (compressed, etc.) and
does not contain any JSON files so let's just collect all files from
there.
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-01-19 15:26:32 +01:00
Tomas Kopecek
dfc5b01c9c
fix packaging
2022-01-19 15:26:32 +01:00
Tomas Kopecek
565f59459e
kiwi: use separate --release
2022-01-19 15:26:32 +01:00
Tomas Kopecek
e423263f51
kiwi: Implant releasever into the kiwi description
...
Related: https://pagure.io/koji/issue/3194
2022-01-19 15:26:32 +01:00
Igor Raits
d737bb4597
Store disk_image type of kiwi files
...
For example, it is used by .raw (OEM) images.
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-01-19 15:26:32 +01:00
Igor Raits
74c414ee1c
Add support for kiwi.result.json
...
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-01-19 15:26:32 +01:00
Tomas Kopecek
f0f227f0ab
fix flake8
2021-11-18 11:12:48 +01:00
Tomas Kopecek
79e1841c96
fix bandit
2021-11-18 11:12:48 +01:00
Tomas Kopecek
2d6a14845f
alter name by selected profile
2021-11-18 11:12:48 +01:00
Tomas Kopecek
336573c0fd
code simplification
2021-11-18 11:12:48 +01:00
Tomas Kopecek
86c8fdc177
use json results
2021-11-18 11:12:48 +01:00
Tomas Kopecek
8c1a7337ab
kiwi: check include directive
2021-11-18 11:12:48 +01:00
Tomas Kopecek
86ee135dd1
json results
2021-11-18 11:12:48 +01:00
Tomas Kopecek
d31306e2f6
basic kiwi support
2021-11-18 11:12:48 +01:00
Tomas Kopecek
5f9fbf660e
runroot: use --chroot instead of chroot mock command
...
Former is no officially supported anymore
Fixes: https://pagure.io/koji/issue/3133
2021-11-18 11:05:34 +01:00
Tomas Kopecek
ba2e1e520b
basic security checks with bandit
...
Fixes: https://pagure.io/koji/issue/3042
2021-10-20 15:20:14 +02:00
Tomas Kopecek
c6e69b4f8b
backport py27 compatible file open with encoding
...
client and builder needs to run on py27 which doesn't support
open(encoding='utf-8')
Related: https://pagure.io/koji/issue/2641
2021-02-16 14:13:03 +01:00
Tomas Kopecek
96ae0ecef5
explicit encoding for text file operations
...
Fixes: https://pagure.io/koji/issue/2641
2021-01-26 13:36:25 +01:00
Tomas Kopecek
0132313f92
replace logging.warn with warning
...
call is deprected in python 3.7
Fixes: https://pagure.io/koji/issue/2135
2020-04-22 13:47:15 +02:00
Yuming Zhu
2a2c5cb729
flake8: apply W rules (prefering W503)
2020-03-03 21:38:22 +08:00
Yuming Zhu
c5db34a8e1
flake8: apply E501 with max-line-length=99
2020-03-03 21:38:22 +08:00
Yuming Zhu
6dd77e0fa4
flake8: apply E502 rule
2020-03-03 21:38:22 +08:00
Yuming Zhu
05340b146b
flake8: apply E2 rules except E266
2020-03-03 21:38:21 +08:00
Yuming Zhu
ce1f9928af
flake8: apply E1 rules
2020-03-03 21:38:21 +08:00
Yuming Zhu
97cfaa4fcf
flake8: follow E265 rule
2020-03-03 21:35:08 +08:00
Yu Ming Zhu
90cc76573f
sort imports in plugins
2019-12-12 11:00:56 +00:00
Yu Ming Zhu
4c1928f377
extract read_config_files util for config parsing
2019-10-15 09:14:16 +02:00
Tomas Kopecek
009081c0fc
bundle rpmUtils.arch
2019-02-12 16:09:19 -05:00
Tomas Kopecek
d3766c19b5
replace obsoleted libs
2019-02-12 16:06:00 -05:00
Tomas Kopecek
be535c2854
python-modernize -f libmodernize.fixes.fix_imports_six
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
c68396c059
Use unittest2 for rhel6 compatibility
...
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00
Tomas Kopecek
d0238943be
Allow t use new/old-chroot in runroot
...
Fixes: https://pagure.io/koji/issue/772
2018-04-18 18:02:54 -04:00
Mike McLean
30749fa2d0
add internal_dev_setup option to runroot plugin
2018-02-28 08:19:29 -05:00
Tomas Kopecek
f639b99a71
more runroot tests
...
Related: https://pagure.io/koji/issue/641
2017-10-30 13:20:37 +01:00
Mike McLean
2347aee632
runroot: friendlier parsing of path_subs config
2017-08-08 12:15:42 -04:00
Tomas Kopecek
032e2aaddd
allow some missing path sections in runroot config
...
Fixes: https://pagure.io/koji/issue/527
Before path sections were expected to have zero-based numbering. If some
item was missing, parsing ended there.
Now we are more benevolent and we pick all path\d+ sections and sort
them by ordering number.
2017-07-31 12:53:03 -04:00
Mike McLean
14ec03f596
runroot: use /builddir/runroot.log instead of /tmp/runroot.log
...
With --new-chroot, /tmp is set up as a tmpfs mount, which does not persist,
so using /builddir instead.
Related: #482 (but not a fix)
https://pagure.io/koji/issue/482
2017-07-25 12:30:32 -04:00
Tomas Kopecek
a1551a78be
Remove deprecated compat_mode from runroot plugin
...
Fixes: https://pagure.io/koji/issue/501
2017-07-06 11:25:46 -04:00
Tomas Kopecek
03218a3fd3
use old tarfile arguments
2017-05-17 12:56:30 -04:00
Tomas Kopecek
7eb264eb4c
updated tests
2017-03-30 09:25:51 -04:00
Mike McLean
d1ab4ed287
refactor
2017-03-30 09:25:51 -04:00
Tomas Kopecek
3b82594a32
change config separator to whitespace
2017-03-30 09:25:51 -04:00
Tomas Kopecek
78a87f725e
check that correct builder is used
2017-03-30 09:25:51 -04:00
Tomas Kopecek
af8038fa12
utilize multiple volume support
2017-03-30 09:25:51 -04:00