summaryrefslogtreecommitdiffstats
path: root/src/mock.py
Commit message (Collapse)AuthorAgeFilesLines
* move things around so that we can run mock.py from the build tree instead of ↵Michael E Brown2007-11-301-458/+0
| | | | having to install it.
* fixup error message for misconfigured logging.ini. pass system exit ↵Michael E Brown2007-11-291-3/+3
| | | | exception so we dont run eg. orphankill. log exception using correct logger.
* add verbosity control (-q/-v)Michael E Brown2007-11-291-23/+62
|
* basic logger config a bit earlier so we can possibly catch log messages from ↵Michael E Brown2007-11-291-7/+6
| | | | submodule imports.
* dont init buildroot for install/installdepsMichael E Brown2007-11-291-3/+4
|
* bypass privStack by calling _becomeUser directly in mock setup.Michael E Brown2007-11-291-2/+2
|
* Merge commit 'origin/master'Michael E Brown2007-11-281-0/+1
|\ | | | | | | | | | | * commit 'origin/master': add option to disable internal /dev setup. turn output back on for yum install commands. better user feedback.
| * add option to disable internal /dev setup.Michael E Brown2007-11-281-0/+1
| |
* | Merge branch 'master' of ssh://duo/~/mockworkMichael E Brown2007-11-281-8/+17
|\ \ | |/ |/| | | | | | | | | | | | | * 'master' of ssh://duo/~/mockwork: move uid stuff to its own module. start updating release instructions. uid stuff in its own submodule drop privs early to parse cmdline args and config files. pick them up again before we start doing real work. better end-user error messages for messed up config files
| * drop privs early to parse cmdline args and config files. pick them up again ↵Michael E Brown2007-11-281-4/+8
| | | | | | | | before we start doing real work.
| * better end-user error messages for messed up config filesMichael E Brown2007-11-281-4/+9
| |
* | Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mockMichael E Brown2007-11-281-1/+4
|\ \
| * | add length check to old behavior check in command_parse()Clark Williams2007-11-271-1/+1
| | |
| * | merge resolvedClark Williams2007-11-271-42/+54
| |\|
| * | fix for no logging.ini situationClark Williams2007-11-151-1/+4
| | |
* | | place online param where chroot obj can find it.Michael E Brown2007-11-281-1/+4
| | |
* | | first (untested) try at adding offline mode.Michael E Brown2007-11-281-2/+9
| |/ |/|
* | version bumpMichael E Brown2007-11-261-1/+1
| |
* | fix bz#400161 - broken 'shell' commandMichael E Brown2007-11-261-1/+1
| |
* | small optimization on LOC for detecting if we need to clean chroot.Michael E Brown2007-11-201-3/+1
| |
* | forgot to put back return value for command_parse().Michael E Brown2007-11-201-0/+2
| |
* | fix syntax error typo.Michael E Brown2007-11-201-2/+2
| |
* | unify command mode parsing using optparse with backward compatibility for ↵Michael E Brown2007-11-201-37/+35
| | | | | | | | old style.
* | another old-python fix for rhel5 python 2.4 support.Michael E Brown2007-11-191-2/+5
| |
* | version bumpMichael E Brown2007-11-191-1/+1
| |
* | Fix python 2.4. traceback on logging module bug.Michael E Brown2007-11-191-0/+2
| |
* | allow mock builds by root. potentially unsafe if building untrusted code, ↵Michael E Brown2007-11-191-1/+1
| | | | | | | | but there is no reason to hardcode a ban on it.
* | move ctypes check down a level into setup_default_config_opts function.Michael E Brown2007-11-171-8/+5
| |
* | use internal setarch rather than calling external.Michael E Brown2007-11-171-4/+3
| |
* | hand-code setarch to remove dep on /usr/bin/setarchMichael E Brown2007-11-171-6/+13
| |
* | make setarch configurable because suse doesnt have it.Michael E Brown2007-11-171-1/+6
| |
* | run setarch internally based on target_archMichael E Brown2007-11-171-1/+1
| |
* | print accurate config name. sharedRootName could have been anything.Michael E Brown2007-11-171-1/+2
| |
* | re-fix problem when missing logging.iniMichael E Brown2007-11-161-1/+1
|/
* version bumpMichael E Brown2007-11-121-1/+1
|
* extra log format just for state log.Michael E Brown2007-11-121-1/+1
|
* Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mockMichael E Brown2007-11-121-0/+2
|\
| * dont clean chroot on shell,chroot,install, or installdepsMichael E Brown2007-11-121-0/+2
| |
* | first pass at making logging format configurable per-logfile from the config ↵Michael E Brown2007-11-121-9/+17
|/ | | | file.
* version bumpmock-0.8.7Michael E Brown2007-11-061-1/+1
|
* better defaults for root/yum cache age. remove unused max_age_days from ↵Michael E Brown2007-10-301-3/+3
| | | | ccache_opts. Exit with non-zero return code on bad command line.
* more info in start/done messages. better messages for when build fails.Michael E Brown2007-10-251-3/+7
|
* Merge ssh://mock/~/git/mockMichael E Brown2007-10-251-2/+7
|\ | | | | | | | | | | * ssh://mock/~/git/mock: better error message for when logging.ini doesnt exist. version bump. version bump
| * better error message for when logging.ini doesnt exist. version bump.Michael E Brown2007-10-241-2/+7
| |
* | Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mockMichael E Brown2007-10-241-0/+1
|\|
| * suse support -- allow override useradd cmd in config fileMichael E Brown2007-10-241-0/+1
| |
* | allow noncontiguous cache dir specifications.Michael E Brown2007-10-241-3/+3
|/
* version bumpmock-0.8.4Michael E Brown2007-10-221-1/+1
|
* ensure we only use gid specified. chroot operations always change uid/gid to ↵Michael E Brown2007-10-221-2/+0
| | | | gid specified. fixes 'bad owner/group' message from rpm.
* version bumpmock-0.8.3Michael E Brown2007-10-221-1/+1
|