Commit graph

34 commits

Author SHA1 Message Date
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
Tomas Kopecek
6128204714 config file 2017-03-30 09:25:51 -04:00
Tomas Kopecek
ebe1522d9c make stripped paths configurable 2017-03-30 09:25:51 -04:00
Tomas Kopecek
437afbb720 CLI for save_failed_tree 2017-03-30 09:25:51 -04:00
Tomas Kopecek
dd5425f23e Basic functionality for save_failed_tree plugin 2017-03-30 09:25:51 -04:00
Tomas Kopecek
b133f9c983 more runroot tests 2017-03-29 18:13:39 -04:00
Tomas Kopecek
93034f64f3 idioms 2017-03-17 11:35:53 -04:00
Tomas Kopecek
22bedc900d whitespace formatting 2017-03-17 11:35:53 -04:00
Tomas Kopecek
cc9fff9840 remove has_key (not working in python3) 2017-03-07 08:15:20 -05:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Mike McLean
a1c8808544 ImportErrors are uncovered 2016-10-25 17:16:12 -04:00
Ian McLeod
0273b77682 A stab at --new-chroot support for rhe runroot plugin 2016-09-28 18:02:59 -04:00
Dennis Gilmore
6e224af9a8 enable dns to work in runroot buildroots
Signed-off-by: Dennis Gilmore <dennis@ra.ausil.us>
2016-05-26 15:26:52 -05:00
Ralph Bean
7fd256cde1
Add subdirectory for builder plugin configuration. 2016-04-08 12:15:07 -04:00
Ralph Bean
43ba5a6071
Install both hub and builder plugins.
This is a different take at https://pagure.io/koji/pull-request/45

Instead of installing just the runroot builder plugin explicitly, here we
separate the plugins out into hub and builder plugins explicitly and install
each type in turn.
2016-04-08 10:05:28 -04:00