Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | make plugin conf options match: *_opts and *_enable. fix for not doing 'yum ↵ | Michael E Brown | 2007-10-21 | 2 | -11/+13 | |
| | | | | install' when --no-clean, but, rather 'yum update'. update defaults.cfg to match new options. | |||||
* | finish implementing bind mount plugin. | Michael E Brown | 2007-10-21 | 1 | -6/+5 | |
| | ||||||
* | small optimizations to not unpack root cache for --no-clean. fix accounting ↵ | Michael E Brown | 2007-10-21 | 1 | -3/+4 | |
| | | | | typo so we dont re-create root cache for non-clean builds. | |||||
* | renamed bind.py to bind_mount.py as that is a bit more explicit. | Michael E Brown | 2007-10-21 | 1 | -40/+0 | |
| | ||||||
* | new plugin to optionally bind-mount host dirs into buildroot. not configured ↵ | Michael E Brown | 2007-10-21 | 3 | -6/+94 | |
| | | | | by default. | |||||
* | update copyrights. dont put full header in every source file, just ref main ↵ | Michael E Brown | 2007-10-21 | 9 | -127/+31 | |
| | | | | copying. | |||||
* | fix disable/enable plugin cmdline to write to correct config entry. | Michael E Brown | 2007-10-21 | 1 | -2/+2 | |
| | ||||||
* | version bump to 0.8.1 | Michael E Brown | 2007-10-21 | 1 | -1/+1 | |
| | ||||||
* | create plugin infrastructure. move all caching related stuff to plugins. | Michael E Brown | 2007-10-21 | 5 | -204/+356 | |
| | ||||||
* | set exit code properly on error. | Michael E Brown | 2007-10-20 | 1 | -0/+7 | |
| | ||||||
* | enable specific dep check as it does affect build. 'yum install foo' doesnt ↵ | Michael E Brown | 2007-10-20 | 1 | -8/+4 | |
| | | | | fail if foo doesnt exist. | |||||
* | make --enable-cache consistent with other opts in '-' vs '_' department. add ↵ | Michael E Brown | 2007-10-20 | 1 | -2/+7 | |
| | | | | better help if user gets it wrong. | |||||
* | add couple friendly messages to explain why chroot is cleaned in case user ↵ | Michael E Brown | 2007-10-20 | 1 | -0/+6 | |
| | | | | forgets they set the config option. add message for <CTRL>-C exit. | |||||
* | attempt to kill off any process group children before we finish fork(). Trap ↵ | Michael E Brown | 2007-10-20 | 1 | -32/+38 | |
| | | | | all errors so child doesnt escape from its branch of the if. | |||||
* | add cleanup_on_{success,failure} options. separate out do_rebuild() function ↵ | Michael E Brown | 2007-10-20 | 2 | -28/+70 | |
| | | | | as it was getting a bit long. make ccache default to a bit smaller max size (4GB). Ensure we unmount fs on CTRL-C | |||||
* | allow installdeps cmd to be used on normal rpm. | Michael E Brown | 2007-10-20 | 2 | -3/+3 | |
| | ||||||
* | add exception for bad/wrong cmdline usage. | Michael E Brown | 2007-10-19 | 1 | -0/+7 | |
| | ||||||
* | add --cleanup-after option. move most exception handling out of main() and ↵ | Michael E Brown | 2007-10-19 | 1 | -67/+82 | |
| | | | | into main()'s caller. | |||||
* | fix ccache to use chroot ccache instead of host ccache | Michael E Brown | 2007-10-19 | 1 | -3/+6 | |
| | ||||||
* | dont double-initialize logging when building multiple srpms. | Michael E Brown | 2007-10-19 | 1 | -1/+6 | |
| | ||||||
* | fix one backwards compat FC6 buglet. BaseException is python 2.5+. | Michael E Brown | 2007-10-19 | 1 | -1/+5 | |
| | ||||||
* | add start message so we know which srpm we are working on when multiple are ↵ | Michael E Brown | 2007-10-19 | 1 | -0/+1 | |
| | | | | specified. | |||||
* | four tweaks and a bugfix. 1) roll ccache install into same yum call as ↵ | Michael E Brown | 2007-10-19 | 1 | -15/+15 | |
| | | | | installdeps. 2) dont delete yum cache metadata unless it is older than 1 day. 3) remove separate depsolve pass which was only for UI cleanness. 4) dont do verbose tar pack/unpack 5) bugfix: dont untar cache twice. | |||||
* | print integer minutes. | Michael E Brown | 2007-10-19 | 1 | -1/+1 | |
| | ||||||
* | dont add hooks more than once. | Michael E Brown | 2007-10-19 | 1 | -3/+4 | |
| | ||||||
* | print pretty time statistics after build done. | Michael E Brown | 2007-10-19 | 1 | -2/+5 | |
| | ||||||
* | drop privs to create result dir since it is user-changeable. | Michael E Brown | 2007-10-19 | 1 | -1/+7 | |
| | ||||||
* | add options to force enable/disable of caches on cmdline. | Michael E Brown | 2007-10-19 | 1 | -0/+11 | |
| | ||||||
* | need to return output from mock in some circumstances (depsolving). | Michael E Brown | 2007-10-19 | 1 | -3/+4 | |
| | ||||||
* | lock buildroot before clean. lock root cache. | Michael E Brown | 2007-10-19 | 1 | -8/+44 | |
| | ||||||
* | re-add root cache feature. | Michael E Brown | 2007-10-19 | 2 | -5/+53 | |
| | ||||||
* | better message for failed command when output disabled. | Michael E Brown | 2007-10-19 | 1 | -1/+4 | |
| | ||||||
* | remove statedir as it really isnt used. move logs to resultdir to match old ↵ | Michael E Brown | 2007-10-19 | 2 | -14/+2 | |
| | | | | mock behaviour. | |||||
* | implement orphanskill feature. | Michael E Brown | 2007-10-19 | 1 | -0/+8 | |
| | ||||||
* | add orphansKill() function. Kills off everything with a specific root dir. | Michael E Brown | 2007-10-19 | 1 | -0/+13 | |
| | ||||||
* | raise specific exception for when buildroot is locked so we know not to ↵ | Michael E Brown | 2007-10-19 | 1 | -0/+6 | |
| | | | | orphankill. print filename in default logs. | |||||
* | raise specific exception for when buildroot is locked so we know not to ↵ | Michael E Brown | 2007-10-19 | 1 | -2/+2 | |
| | | | | orphankill. print filename in default logs. | |||||
* | add 'mock install' command to yum install packages into buildroot. clean up ↵ | Michael E Brown | 2007-10-18 | 2 | -7/+25 | |
| | | | | help option. | |||||
* | dont overwrite log files on subsequent builds. per request from mbonnet. | Michael E Brown | 2007-10-18 | 1 | -1/+1 | |
| | ||||||
* | completely drop privs (real and effective) when running RPM commands. add a ↵ | Michael E Brown | 2007-10-18 | 2 | -37/+44 | |
| | | | | bit of infrastructure to mock.util.do() to handle this. Change mock.util.do to not return output by default. No users use the output, and it can be switched on via karg. | |||||
* | shell and chroot cmds are identical. merge them save LOC. switch to ↵ | Michael E Brown | 2007-10-18 | 1 | -10/+2 | |
| | | | | os.system. Yes, it is a layering violation, but hey, it fixes a huge wart in mock.util.do. | |||||
* | small buglets hiding in uid code, leftover from switchover to push/pop | Michael E Brown | 2007-10-18 | 1 | -6/+9 | |
| | ||||||
* | add lots of comments. fork() so that we can drop privs permanently before ↵ | Michael E Brown | 2007-10-18 | 1 | -6/+38 | |
| | | | | rpmbuild | |||||
* | unneeded debug statement | Michael E Brown | 2007-10-18 | 1 | -2/+0 | |
| | ||||||
* | print suid wrapper version on startup. | Michael E Brown | 2007-10-18 | 1 | -0/+2 | |
| | ||||||
* | finish moving to traceLog... fix import. | Michael E Brown | 2007-10-18 | 1 | -1/+1 | |
| | ||||||
* | trace()->traceLog(...). remove verbose/debug options which did nothing. | Michael E Brown | 2007-10-18 | 1 | -13/+6 | |
| | ||||||
* | remove unused trace() decorator since everything uses traceLog() now. | Michael E Brown | 2007-10-18 | 1 | -16/+0 | |
| | ||||||
* | remove historical since it has now been re-implemented. | Michael E Brown | 2007-10-18 | 1 | -134/+0 | |
| | ||||||
* | move banner to before chroot obj prints its first msg. typo fix. | Michael E Brown | 2007-10-18 | 1 | -2/+2 | |
| |