Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | update changelogmock-0.8.0 | Michael E Brown | 2007-10-20 | 2 | -0/+20 | |
| | ||||||
* | dont try to compile ppc stuff. also clean test dir before starting. | Michael E Brown | 2007-10-20 | 1 | -1/+2 | |
| | ||||||
* | set exit code properly on error. | Michael E Brown | 2007-10-20 | 1 | -0/+7 | |
| | ||||||
* | little more generic release tests. | Michael E Brown | 2007-10-20 | 1 | -4/+6 | |
| | ||||||
* | add release testing script to ensure basic stuff works before release. | Michael E Brown | 2007-10-20 | 1 | -0/+33 | |
| | ||||||
* | disable ccache for epel builds by default because they dont have ccache ↵ | Michael E Brown | 2007-10-20 | 6 | -0/+18 | |
| | | | | available in their repos. | |||||
* | 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 | |||||
* | better defaults.cfg examples. | Michael E Brown | 2007-10-20 | 1 | -21/+56 | |
| | ||||||
* | uniform spacing and layout for config files. | Michael E Brown | 2007-10-20 | 11 | -11/+0 | |
| | ||||||
* | remove unneeded 'import os' from config files. | Michael E Brown | 2007-10-20 | 17 | -23/+0 | |
| | ||||||
* | 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 deps for tar/gzip | Michael E Brown | 2007-10-19 | 1 | -1/+1 | |
| | ||||||
* | add options to force enable/disable of caches on cmdline. | Michael E Brown | 2007-10-19 | 1 | -0/+11 | |
| | ||||||
* | need python to build. | Michael E Brown | 2007-10-19 | 1 | -0/+1 | |
| | ||||||
* | need to return output from mock in some circumstances (depsolving). | Michael E Brown | 2007-10-19 | 1 | -3/+4 | |
| | ||||||
* | loathe autoconf. finally fix distcheck and 'make distclean' removes ↵ | Michael E Brown | 2007-10-19 | 4 | -37/+61 | |
| | | | | src/mock.py problem. | |||||
* | 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 | |
| | ||||||
* | test program to test orphanskill feature. | Michael E Brown | 2007-10-19 | 1 | -0/+96 | |
| | ||||||
* | 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. | |||||
* | simple tweaks to logging to get rid of default debugging info in normal output. | Michael E Brown | 2007-10-19 | 1 | -18/+27 | |
| | ||||||
* | 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 | |
| |