| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | remove becomeUser(0) from backend and have mock.py do it ahead of time. ↵ | Michael E Brown | 2007-10-22 | 1 | -3/+1 | |
| | | | | | remove password from mockbuild user so you can 'mock shell' and then su - mockbuild. | |||||
| * | avoid infinite loop in error handling. | Michael E Brown | 2007-10-22 | 1 | -1/+1 | |
| | | ||||||
| * | try harder to remove buildroot if it fails. | Michael E Brown | 2007-10-22 | 1 | -7/+19 | |
| | | ||||||
| * | fix for FC6mock-0.8.2 | Michael E Brown | 2007-10-21 | 1 | -0/+7 | |
| | | ||||||
| * | comment minor edits.mock-0.8.1 | Michael E Brown | 2007-10-21 | 1 | -1/+2 | |
| | | ||||||
| * | make plugin conf options match: *_opts and *_enable. fix for not doing 'yum ↵ | Michael E Brown | 2007-10-21 | 1 | -1/+3 | |
| | | | | | 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 | 2 | -0/+80 | |
| | | | | | by default. | |||||
| * | update copyrights. dont put full header in every source file, just ref main ↵ | Michael E Brown | 2007-10-21 | 8 | -123/+27 | |
| | | | | | copying. | |||||
| * | create plugin infrastructure. move all caching related stuff to plugins. | Michael E Brown | 2007-10-21 | 4 | -185/+334 | |
| | | ||||||
| * | 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. | |||||
| * | 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 | 1 | -3/+13 | |
| | | | | | 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 | 1 | -2/+2 | |
| | | ||||||
| * | add exception for bad/wrong cmdline usage. | Michael E Brown | 2007-10-19 | 1 | -0/+7 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | 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. | |||||
| * | dont add hooks more than once. | Michael E Brown | 2007-10-19 | 1 | -3/+4 | |
| | | ||||||
| * | drop privs to create result dir since it is user-changeable. | Michael E Brown | 2007-10-19 | 1 | -1/+7 | |
| | | ||||||
| * | 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 | 1 | -5/+51 | |
| | | ||||||
| * | 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 | 1 | -10/+2 | |
| | | | | | mock behaviour. | |||||
| * | 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 | 1 | -0/+6 | |
| | | | | | 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. | |||||
| * | 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 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | don't overwrite gid or we end up with unwriteable dirs in buildroot. | Michael E Brown | 2007-10-18 | 1 | -1/+1 | |
| | | ||||||
| * | add locking for yum cache | Michael E Brown | 2007-10-18 | 1 | -1/+25 | |
| | | ||||||
| * | lock buildroot to prevent simultaneous multiple access. build srpm as well ↵ | Michael E Brown | 2007-10-18 | 1 | -26/+54 | |
| | | | | | as rpm. move a couple functions around with no code changes. | |||||
| * | remove historical file that has been completely reimplemented. | Michael E Brown | 2007-10-18 | 1 | -170/+0 | |
| | | ||||||
| * | change uidManager to push/pop so we can overlap regions. enforce naming ↵ | Michael E Brown | 2007-10-18 | 2 | -42/+72 | |
| | | | | | convention on all class functions. | |||||
| * | remove all trailing whitespace. move all caching functions together. | Michael E Brown | 2007-10-18 | 1 | -25/+25 | |
| | | ||||||
| * | prune yum cache old files. add ability to limit ccache size. | Michael E Brown | 2007-10-18 | 1 | -10/+47 | |
| | | ||||||
| * | get ccache working | Michael E Brown | 2007-10-18 | 1 | -0/+15 | |
| | | ||||||
| * | factor caching stuff to standalone functions. | Michael E Brown | 2007-10-18 | 1 | -29/+78 | |
| | | ||||||
| * | ensure that HOME var is set properly for rpmbuild. | Michael E Brown | 2007-10-18 | 1 | -1/+2 | |
| | | ||||||
| * | properly mount/umount around rpmbuild call | Michael E Brown | 2007-10-18 | 1 | -2/+3 | |
| | | ||||||
