summaryrefslogtreecommitdiffstats
path: root/py/mock/plugins
Commit message (Collapse)AuthorAgeFilesLines
* fix intermittent problems generating root cache tarball (BZ# 540997)Clark Williams2009-11-251-5/+12
| | | | | | | | | Patch submitted by Paul Howarth <paul@city-fan.org> to prevent race condition when creating root cache tarballs and to remove partial tarballs on error. Signed-off-by: Clark Williams <williams@redhat.com> CC: Paul Howarth <paul@city-fan.org>
* Support configurable root cache compressionLubomir Rintel2009-03-271-3/+9
| | | | | | | | | | | | | This patch adds configuration options that influence how is the root cache compressed: config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "gzip" config_opts['plugin_conf']['root_cache_opts']['extension'] = ".gz" Motivation to do this was to be able to use lzma compression. While it takes a long time to compress, for me it was more than two times faster than gzip when decompressing. Since I only seldom regenerate the root cache while doing a lot of builds, I was able to gain a considerable speed up.
* added panu's fix for strange rpm behaviorClark Williams2008-10-151-2/+4
|
* workaround new rpm issues by deleting rpmdb temp files after unpacking root ↵Clark Williams2008-08-291-7/+13
| | | | cache
* modify rootcache logic to rebuild cache if config files have newer timestampClark Williams2008-02-291-1/+10
|
* Merge branch 'master' of /var/ftp/pub/Applications/git/mockMichael E Brown2008-01-224-11/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of /var/ftp/pub/Applications/git/mock: get rid of one level of shell indirection where possible. revert accidental comment-out of test cleanup that I was using to debug tar problem. add back in dropped '.' to tar cvf command that is causing root cache creation to fail. Add debug logging for running commands. convert mock.util.do() to use subprocess.Popen() rather than raw fork/exec.\nThis cleans up the code considerably. Also, start reducing the places where we use a shell in the subcommand. better unit test error message. mount everything when running chroot command. updated change log added compat symlinks version bump update manpage with new site-defaults ref. the great config file rename. some manpage clarifications and arrangements. clarify info message to make it obvious that root cache is being unpacked. cleanup trailing whitespace. cleanup trailing whitespace. add ability to conditionally enable tmpfs based on minimum ram availability. add initfailed hook so tmpfs plugin can properly unmount tmpfs on failure. make sure we call postbuild hooks even on failure.
| * get rid of one level of shell indirection where possible.Michael E Brown2008-01-201-1/+1
| |
| * add back in dropped '.' to tar cvf command that is causing root cache ↵Michael E Brown2008-01-201-1/+1
| | | | | | | | creation to fail. Add debug logging for running commands.
| * convert mock.util.do() to use subprocess.Popen() rather than raw ↵Michael E Brown2008-01-202-6/+13
| | | | | | | | fork/exec.\nThis cleans up the code considerably. Also, start reducing the places where we use a shell in the subcommand.
| * clarify info message to make it obvious that root cache is being unpacked.Michael E Brown2008-01-091-1/+1
| |
| * cleanup trailing whitespace.Michael E Brown2008-01-082-4/+4
| |
| * add ability to conditionally enable tmpfs based on minimum ram availability.Michael E Brown2008-01-081-1/+10
| |
| * add initfailed hook so tmpfs plugin can properly unmount tmpfs on failure. ↵Michael E Brown2008-01-081-0/+2
| | | | | | | | make sure we call postbuild hooks even on failure.
* | we now run /etc/profile, so no need to manually do ccache stuff.Michael E Brown2008-01-221-16/+1
|/
* unmount tmpfs when done or we run into problems with clean.Michael E Brown2007-12-181-0/+7
|
* fixup typo: makeChrootPath is a method on self.rootObj.Michael E Brown2007-12-181-1/+2
|
* add initial tmpfs plugin and default options.Michael E Brown2007-12-181-0/+33
|
* remove uses of chroot rootdir attribute and use accessor.Michael E Brown2007-12-142-4/+2
|
* changed more uses of .rootdir to makeChrootPath(); updated man page for ↵Clark Williams2007-12-133-11/+9
| | | | --copyin and --copyout; updated plugins to use makeChrootPath(); updated releasetests.sh so that daemon tests uses --copyin
* separate out function tracing from verbosityMichael E Brown2007-12-064-31/+26
|
* fixup error where var/cache/yum in buildroot disappears due to clean.Michael E Brown2007-12-051-1/+1
|
* make sure dir exists before opening yum lock.Michael E Brown2007-12-041-2/+2
|
* init yumCacheLock file object in __init__. No need to wait until tryLock to ↵Michael E Brown2007-12-031-1/+1
| | | | open it.
* few changes to make pychecker happy.Michael E Brown2007-12-014-4/+4
|
* move things around so that we can run mock.py from the build tree instead of ↵Michael E Brown2007-11-304-0/+299
having to install it.