summaryrefslogtreecommitdiffstats
path: root/src/py-libs
Commit message (Collapse)AuthorAgeFilesLines
...
* remove becomeUser(0) from backend and have mock.py do it ahead of time. ↵Michael E Brown2007-10-221-3/+1
| | | | remove password from mockbuild user so you can 'mock shell' and then su - mockbuild.
* avoid infinite loop in error handling.Michael E Brown2007-10-221-1/+1
|
* try harder to remove buildroot if it fails.Michael E Brown2007-10-221-7/+19
|
* fix for FC6mock-0.8.2Michael E Brown2007-10-211-0/+7
|
* comment minor edits.mock-0.8.1Michael E Brown2007-10-211-1/+2
|
* make plugin conf options match: *_opts and *_enable. fix for not doing 'yum ↵Michael E Brown2007-10-211-1/+3
| | | | install' when --no-clean, but, rather 'yum update'. update defaults.cfg to match new options.
* finish implementing bind mount plugin.Michael E Brown2007-10-211-6/+5
|
* small optimizations to not unpack root cache for --no-clean. fix accounting ↵Michael E Brown2007-10-211-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 Brown2007-10-211-40/+0
|
* new plugin to optionally bind-mount host dirs into buildroot. not configured ↵Michael E Brown2007-10-212-0/+80
| | | | by default.
* update copyrights. dont put full header in every source file, just ref main ↵Michael E Brown2007-10-218-123/+27
| | | | copying.
* create plugin infrastructure. move all caching related stuff to plugins.Michael E Brown2007-10-214-185/+334
|
* enable specific dep check as it does affect build. 'yum install foo' doesnt ↵Michael E Brown2007-10-201-8/+4
| | | | fail if foo doesnt exist.
* attempt to kill off any process group children before we finish fork(). Trap ↵Michael E Brown2007-10-201-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 Brown2007-10-201-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 Brown2007-10-201-2/+2
|
* add exception for bad/wrong cmdline usage.Michael E Brown2007-10-191-0/+7
|
* fix ccache to use chroot ccache instead of host ccacheMichael E Brown2007-10-191-3/+6
|
* dont double-initialize logging when building multiple srpms.Michael E Brown2007-10-191-1/+6
|
* fix one backwards compat FC6 buglet. BaseException is python 2.5+.Michael E Brown2007-10-191-1/+5
|
* four tweaks and a bugfix. 1) roll ccache install into same yum call as ↵Michael E Brown2007-10-191-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 Brown2007-10-191-3/+4
|
* drop privs to create result dir since it is user-changeable.Michael E Brown2007-10-191-1/+7
|
* need to return output from mock in some circumstances (depsolving).Michael E Brown2007-10-191-3/+4
|
* lock buildroot before clean. lock root cache.Michael E Brown2007-10-191-8/+44
|
* re-add root cache feature.Michael E Brown2007-10-191-5/+51
|
* better message for failed command when output disabled.Michael E Brown2007-10-191-1/+4
|
* remove statedir as it really isnt used. move logs to resultdir to match old ↵Michael E Brown2007-10-191-10/+2
| | | | mock behaviour.
* add orphansKill() function. Kills off everything with a specific root dir.Michael E Brown2007-10-191-0/+13
|
* raise specific exception for when buildroot is locked so we know not to ↵Michael E Brown2007-10-191-0/+6
| | | | orphankill. print filename in default logs.
* raise specific exception for when buildroot is locked so we know not to ↵Michael E Brown2007-10-191-2/+2
| | | | orphankill. print filename in default logs.
* add 'mock install' command to yum install packages into buildroot. clean up ↵Michael E Brown2007-10-181-0/+6
| | | | help option.
* dont overwrite log files on subsequent builds. per request from mbonnet.Michael E Brown2007-10-181-1/+1
|
* completely drop privs (real and effective) when running RPM commands. add a ↵Michael E Brown2007-10-182-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/popMichael E Brown2007-10-181-6/+9
|
* add lots of comments. fork() so that we can drop privs permanently before ↵Michael E Brown2007-10-181-6/+38
| | | | rpmbuild
* unneeded debug statementMichael E Brown2007-10-181-2/+0
|
* remove unused trace() decorator since everything uses traceLog() now.Michael E Brown2007-10-181-16/+0
|
* remove historical since it has now been re-implemented.Michael E Brown2007-10-181-134/+0
|
* don't overwrite gid or we end up with unwriteable dirs in buildroot.Michael E Brown2007-10-181-1/+1
|
* add locking for yum cacheMichael E Brown2007-10-181-1/+25
|
* lock buildroot to prevent simultaneous multiple access. build srpm as well ↵Michael E Brown2007-10-181-26/+54
| | | | as rpm. move a couple functions around with no code changes.
* remove historical file that has been completely reimplemented.Michael E Brown2007-10-181-170/+0
|
* change uidManager to push/pop so we can overlap regions. enforce naming ↵Michael E Brown2007-10-182-42/+72
| | | | convention on all class functions.
* remove all trailing whitespace. move all caching functions together.Michael E Brown2007-10-181-25/+25
|
* prune yum cache old files. add ability to limit ccache size.Michael E Brown2007-10-181-10/+47
|
* get ccache workingMichael E Brown2007-10-181-0/+15
|
* factor caching stuff to standalone functions.Michael E Brown2007-10-181-29/+78
|
* ensure that HOME var is set properly for rpmbuild.Michael E Brown2007-10-181-1/+2
|
* properly mount/umount around rpmbuild callMichael E Brown2007-10-181-2/+3
|