commit c0346b1450dc4a1ebf3ea830d2426b8dfc0f9d86 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed May 21 08:45:59 2014 +0200 1099676 - require pyliblzma to be able to read rawhide (F21) repodata. commit fa9e73a339a4b83eb51c63ca84e36317052d6388 Author: Ken Dreyer <ktdreyer@ktdreyer.com> Date: Mon May 19 07:52:38 2014 -0600 Use RHEL 7 RC mirrorlist URLs Red Hat has published a release candidate for RHEL 7 that supercedes the RHEL 7 Beta. This release candidate is available at the "rhel-7" mirrormanager URL. Point the mirrorlist URL for EPEL 7 at this new URL. commit 3a6b25f7367ece31bfb94d8ff24fa88f016db0be Author: Ken Dreyer <ktdreyer@ktdreyer.com> Date: Mon May 19 07:50:44 2014 -0600 fix mirrorlist URL for EPEL 7 ppc64 For ppc64 in EPEL, the RHEL 7 URL was accidentally set twice - once for "el", and once for "epel". Adjust the EPEL URL to actually point at EPEL. commit ad7f45dd6166e64faf568cfa47902ef85c8418ab Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri May 16 16:16:41 2014 +0200 add support for subscription-manager (RHSM) commit a5acb0e42e2bef2959274b21b8e29cc73bef697e Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri May 16 13:30:25 2014 +0200 expand tabs for better readablity commit 1494c39bf19e574d44bcc8fa1e69197c36d1627f Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri May 16 13:20:16 2014 +0200 1098477 - cut of everything after decimal point, if there is some commit 6f05f815a28b23449cf350b04b185d8be28ab535 Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri May 16 11:05:36 2014 +0200 Also clarify the logs messages and if builds fail set errcode == 2 commit 19cab5399ec8f811eb15ca1b3f31fadbc0901646 Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri May 16 10:14:58 2014 +0200 better code readablity so devel do not think if branch end when he read empty line commit f61c626f569f9fa2278c3f8707d794d3ba708dce Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri May 16 09:36:27 2014 +0200 use metalink instead of mirrorlist in yum config 1) this is syncing with original yum repo files in fedora 2) metalink is much better then mirrorlist - see http://fedoraproject.org/wiki/Features/YumMetalinks metalink is supported since yum 3.2.20, which means even rhel5. But do not change old repos, and let start with Fedora 20+ commit 571592a809284bba9e9211d0ae07a46b73197d12 Merge: c0e049b 7ff73e6 Author: Clark Williams <clark.williams@gmail.com> Date: Tue Apr 22 09:53:36 2014 -0500 Merge remote-tracking branch 'origin/msuchy-work' into work commit c0e049bbf88467f154676f28c0d01fbff759647a Author: Jerry James <loganjerry@gmail.com> Date: Thu Apr 3 10:04:05 2014 -0500 fix post scriptlet to deal with rawhide [BZ# 1083689] The problem is that the %post script's computation of the version doesn't take Rawhide into account. It computes 21 for the value, then tries to link to /etc/mock/fedora-21-x86_64.cfg instead of /etc/mock/fedora-rawhide-x86_64.cfg. Check for Rawhide in the /etc/fedora-release file and use that if it is there. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 7ff73e6545687074b603f7d3d7e1ff7d1ff37a91 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 15:39:00 2014 +0200 set LC_MESSAGE to C before executing command [BZ# 519258] commit 614e9b9d365b01f169c1132dc4c62830465be836 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 15:08:34 2014 +0200 use ctypes.get_errno() instead of ctypes.c_int.in_dll(_libc, "errno") commit cd3c76d93d228adc2e1b9b871a2c14995503718d Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 14:24:09 2014 +0200 revert 7ec6a1e9d202ab56fb31c914dbf7516c045e56ab python 2.4 workarounds are not needed any more, that is el5 world which is far behind commit a4c49dbe245fbe8a91fdc28aad039cccaa5f619f Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 14:16:17 2014 +0200 buildroot and %clean is not needed for el6 and fedoras and we do not build for el5 any more commit 3baa617f7aa0c0f1dea86318a105948cd97842df Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 14:12:53 2014 +0200 description should always end with dot commit a83461566d34ea338f9903e3cef8ab14075b96ad Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 14:10:03 2014 +0200 E: non-executable-script /usr/lib/python2.7/site-packages/mockbuild/mounts.py 0644L /usr/bin/python commit 2adc4e67a82f897fa04209b73a3bf015b2e7a6a8 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 14:08:23 2014 +0200 %defattr is not needed since rpm 4.4 commit 64b9f44202e6d2ec4f1dd0152fcab36a315cd987 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 14:06:12 2014 +0200 remove el5 conditional no one build mock for el5 now commit 8683458b14d30919e591aa3c5c94fb602842aa40 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 14:03:44 2014 +0200 use createrepo_c which is much faster commit 961bf67d7df8fb2a3dca3b973e5ba90d60789fc6 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 13:54:41 2014 +0200 W:264, 0: Bad indentation. Found 9 spaces, expected 8 (bad-indentation) commit c4154b4286a2d68ace7bae582c62629e10cf3436 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 13:53:49 2014 +0200 whitespace fixes addressing: C: 45, 0: Exactly one space required around assignment mockconfig_path='/etc/mock' ^ (bad-whitespace) C: 66, 0: Exactly one space required after comma parser.add_option('-a','--addrepo', default=[], action='append', ^ (bad-whitespace) C: 75, 0: Exactly one space required after comma parser.add_option('-m','--mock-option', default=[], action='append', ^ (bad-whitespace) C:106, 0: Exactly one space required after comma repoid = baseurl.split('//')[1].replace('/','_') ^ (bad-whitespace) C:108, 0: Exactly one space required around assignment localyumrepo=""" ^ (bad-whitespace) C:120, 0: Exactly one space required after comma for k,v in config_opts.items(): ^ (bad-whitespace) C:176, 0: No space allowed before bracket stderr=subprocess.PIPE ) ^ (bad-whitespace) C:209, 0: Exactly one space required around assignment cfg=opts.chroot ^ (bad-whitespace) C:210, 0: Exactly one space required around assignment pkgs=args[1:] ^ (bad-whitespace) C:250, 0: Exactly one space required around assignment local_baseurl="file://%s" % opts.local_repo_dir ^ (bad-whitespace) C:268, 0: Exactly one space required after assignment res, msg = add_local_repo(my_mock_config, my_mock_config, baseurl) ^ (bad-whitespace) C:326, 0: Exactly one space required after comma log(opts.logfile,"Error building %s" % os.path.basename(pkg)) ^ (bad-whitespace) C:327, 0: Exactly one space required after comma log(opts.logfile,"See logs/results in %s" % opts.local_repo_dir) ^ (bad-whitespace) commit f8246d1d3a7d83ee77110d3176f15ae1a9007174 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 13:43:25 2014 +0200 unused variable username username variable is not used since commit 0d474f92a0e0f1b07e3fe13e947f1ec41b8b292a commit 23c61b9a24f86b9cd94a9f3793cd01d3e555e214 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 13:40:56 2014 +0200 W:588,12: Unused variable 'hdr' (unused-variable) commit 36c0e42332522f8614074d183477a84528bb574c Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Apr 2 13:34:13 2014 +0200 better logging of kernel version [BZ# 1048826] commit 6682746fcfd80034a5d6d70207d720b818899834 Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri Nov 8 13:39:47 2013 +0100 allow to pass options directly to mock [BZ# 1028438] e.g.: -m --define="_vendor mirek" --mock-option='-D _vendor mirek' --mock-option=--define="_vendor mirek" commit 8e0c77d081e33a682b6aebbb64c475a6029e5b28 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Mar 12 11:14:07 2014 +0100 partially revert 9db6edb33cc34a450e762eb5d2bedf9067ebc419 [BZ# 1034805] this line was incorrectly removed in commit 9db6edb33cc34a450e762eb5d2bedf9067ebc419 despite the fact that the removal was not in original patch of BZ 1034805 commit 00204137a23c05535276fc86dfb2cb966e53c431 Author: Miroslav Suchý <msuchy@redhat.com> Date: Wed Feb 5 16:31:35 2014 +0100 learn mockchain about ftp [BZ# 1061776] commit 61eb8ef4b6f952fb6f8a42ed22a536a6d0975cd7 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 31 15:43:51 2014 -0500 configs: update epel-7 koji repo to use correct URL Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 18512bcc97af6ac98366c9248625ec1de14315fb Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 31 13:46:15 2014 -0500 version bump to 1.1.38 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 542afb7f4bbf1cbc796e0bdb0f77bd7d5004e71a Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 31 13:04:27 2014 -0500 Revert "quote --shell args like a shell [BZ# 966144]" This reverts commit 34d0b1d815e4cfa9bf48619590abc4f58fba600f. Using the undocumented (and evidently deprecated) list2cmdline method from the subprocess module breaks the fedora-review program due to incorrect quoting. Revert for now. Signed-off-by: Clark Williams <williams@redhat.com> commit 635aba9ef2740babc70b72875043522a9ab988ed Author: Miroslav Suchý <msuchy@redhat.com> Date: Fri Mar 28 10:47:49 2014 -0500 add missing import of 're' module to mockchain Using the -a option results in a backtrace due to use of re.sub() without corresponding import. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit df09c6173a84f5a9a3adbd6227cafb4642dd484d Author: Clark Williams <clark.williams@gmail.com> Date: Fri Mar 28 10:22:57 2014 -0500 fix incorrect info message [BZ# 1079020] In a couple of places, mock has a message: INFO: Cleaning up build root ('clean_on_success=True') The actual config name is 'cleanup_on_success'. Fix this to avoid confusion. Reported-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 3ab91695895550b0d0007a4b17099e20b030f34a Author: Clark Williams <clark.williams@gmail.com> Date: Fri Mar 28 10:18:38 2014 -0500 fix issue with chrootstate bot being set in finally block Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 2ed0ac01ced2d81dc6e11597e6d097e44342a5ad Author: Clark Williams <clark.williams@gmail.com> Date: Thu Mar 27 11:16:52 2014 -0500 specfile change to fix el6 requires of yum-utils Signed-off-by: Clark Williams <clark.williams@gmail.com> commit d2772f35ab169db69e304fa6b45d661a3b8dc9d6 Author: Clark Williams <clark.williams@gmail.com> Date: Tue Mar 25 14:09:48 2014 -0500 version bump to 1.1.37 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 8be9edce957c79ba8b860c93fe878ba4fe9219bc Author: Clark Williams <clark.williams@gmail.com> Date: Tue Mar 25 10:04:43 2014 -0500 avoid undefined variable error in try/finally block [BZ# 1063275] Define 'chrootstate' variable before entering the try block so that exception handling block may safely refer to it. Reported-by: Tomas Kopecek <tkopecek@redhat.com> Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 3e080a4164636e983feaf4c5660c0e6ece41d47a Author: Rodrigo Dias Cruz <rodrigodc+redhatbugzilla@gmail.com> Date: Mon Mar 24 21:54:45 2014 -0500 fix scm problem with specfiles using rpm macros [BZ# 1056271] Here is a patch that can fix the problem. It basically passes to the scm plugin all command line options with macro definitions (--define="MACRO EXPR"), then the scm plugin tells the RPM module to use those macros when parsing the spec file. The patch is based on the latest master, commit cba8ec7ea5bcac835159f4506a5665b6a1852811. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 4cd7ddb8875800bb6e2262fe9c59292cc3d62a3d Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 24 18:23:21 2014 -0500 filter out aarch64 when running config tests on an x86_64 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 6ae41594a5eb0325c4e40022b4360091d1aa7c5a Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 24 15:36:48 2014 -0500 fix thinko in test script for running configs Setting MOCKCMD inside the test loop threw away any configs that were picked up from tests/testenvironment. Get rid of the assignment and use the MOCKCMD passed in. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 7b480baccd007582257b5fa51cc1912c8cc72d08 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 24 15:35:07 2014 -0500 plugins: turn off package_state plugin by default Problems trying to coordinate the update of repoquery and it's new argument (--installroot). Turn it off by default for now and if you need it turn it on with --enable-plugin=package_state (or use a config file). Signed-off-by: Clark Williams <clark.williams@gmail.com> commit d334c1596a64d08a24fd58d152c4d742086d0bc2 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 24 10:20:23 2014 -0500 fix automake to use 'xz' compression Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 8075bbbb46744d6c98abefdd5d4ffb98fa043c6c Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Mar 6 21:46:19 2014 +0200 Use install @foo instead of groupinstall foo in chroot_setup_cmd Makes it easier to add additional packages to initial roots. (cherry picked from commit 7e3799d61fb987223d9fdc9cdfd8d8b82e3cf980) Signed-off-by: Clark Williams <clark.williams@gmail.com> commit d1f09827eaa5ee0ce16eae8eecfaca27ecf23849 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Mar 1 18:21:19 2014 +0200 Remove Fedora 18 configs Signed-off-by: Clark Williams <williams@redhat.com> commit d3afdd18faabbcc3f25e4a883393f102f91476bc Author: Clark Williams <clark.williams@gmail.com> Date: Fri Feb 28 13:12:50 2014 -0600 additional commits needed by scm commit Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 2b1c515d29d8bdd83861086c77ce3ba5b8a68904 Merge: 202222c f3bf19c Author: Clark Williams <clark.williams@gmail.com> Date: Tue Feb 25 15:25:49 2014 -0600 Merge branch 'scop' of git+ssh://git.fedorahosted.org/git/mock into work commit f3bf19c5b0c0a3babcf5647c92c28935b958087e Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Feb 25 23:06:36 2014 +0200 Install bash completion to proper dir with bash-completion 2. commit dc4ea570291392ab8ec232c761a190acc8c1215b Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Feb 25 23:02:02 2014 +0200 Clean up unused imports. commit 830e5bbdecefc8ef2d903186f2485452315def6a Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Apr 16 21:46:16 2013 +0300 Use xz tarball to save a bit of space. commit 4aad8d1801a8ba6899a8aa843049fdc4af95fbae Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Apr 16 21:40:32 2013 +0300 Use $(mocketcdir) in install-data-hook instead of duplicating its value. commit 202222c1118b878382eeb17ae23ddf74dd1cf881 Merge: 156074d ebce599 Author: Clark Williams <clark.williams@gmail.com> Date: Fri Feb 21 10:17:47 2014 -0600 Merge branch 'master' into work commit 156074d8b7c3a954ec41cce8d9de8c4908627f27 Author: Tomas Kopecek <tkopecek@redhat.com> Date: Mon Feb 10 13:00:00 2014 +0100 internal_dev_setup option used consistently Move check for internal device setup into _setupDev() method so that it's used everywhere, not just in chroot initialization Signed-off-by: Clark Williams <williams@redhat.com> commit eaa759196777943506b350f73975b031dacf6018 Author: Clark Williams <clark.williams@gmail.com> Date: Fri Feb 21 10:09:24 2014 -0600 elevate privs when accessing the chroot rpmdb [BZ# 1051474] raise privledges to root when accessing the rpm db inside the chroot via the package_state plugin. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 3db671f6fcc56be250ff04f30c2a545c1210f165 Author: Peter JoÌnsson <peter.jonsson@klarna.com> Date: Tue Feb 18 22:37:42 2014 +0100 Add support for creating tarballs with scm data still inside For some build systems the git information is required at build time so we add an option to include the git data in the source tar ball. Default is still to exclude vcs information if the tar executable supports this option. Signed-off-by: Peter JoÌnsson <peter.jonsson@klarna.com> commit 5f41eb93a4ae33b9c7aaa5396ed0a7fc411cc627 Author: Tuomo Soini <tis@foobar.fi> Date: Thu Feb 6 17:36:08 2014 -0600 Fix for race in directory creation [BZ# 1052045] When starting several instances of mock at the same time and root_cache plugin is used and /var/cache/mock is empty there is a race condition and only first mock runs successful and other fails with: ERROR: Could not create dir /var/cache/mock/fedora-20-i386/root_cache/. Error: [Errno 17] File exists: '/var/cache/mock/fedora-20-i386/root_cache/' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 69, in mkdirIfAbsent os.makedirs(dirName) File "/usr/lib64/python2.6/os.py", line 157, in makedirs mkdir(name, mode) mkdirIfAbsent doesn't catch situation where directory is created by other instance. Add logic to the exception clause to catch directory existence. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 34d0b1d815e4cfa9bf48619590abc4f58fba600f Author: Clark Williams <clark.williams@gmail.com> Date: Thu Feb 6 10:18:45 2014 -0600 quote --shell args like a shell [BZ# 966144] Signed-off-by: Clark Williams <clark.williams@gmail.com> commit ebce599dca50c7c306aba7be631b1eb03febe9ec Author: Clark Williams <clark.williams@gmail.com> Date: Wed Feb 5 18:52:38 2014 -0600 fixed buildreqs for mock by adding automake Signed-off-by: Clark Williams <clark.williams@gmail.com> commit b6b0ede87cbabcd1126dfe8269506fc773ae6f30 Merge: 712f66c ca2d80c Author: Clark Williams <clark.williams@gmail.com> Date: Wed Feb 5 17:09:07 2014 -0600 Merge remote-tracking branch 'origin/master' Conflicts: etc/mock/fedora-rawhide-sparc.cfg commit 712f66c2f06cfe357456626f3e61b4a05bc45f2b Author: Clark Williams <clark.williams@gmail.com> Date: Wed Feb 5 17:05:38 2014 -0600 versiom bump to 1.1.36 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit ca2d80c6875a7ea04d2292eb2ece6a4b08e2635e Author: Dennis Gilmore <dennis@ausil.us> Date: Tue Feb 4 05:36:24 2014 -0600 remove sparc rawhide configs, she be dead commit ab8d00997425fff0506faccdc20c497ffae900c3 Author: Dennis Gilmore <dennis@ausil.us> Date: Tue Feb 4 05:36:03 2014 -0600 add rawhide aarch64 config commit 1a9255eb0c84a057ce3b500236162ef041c5708e Author: Miroslav Suchý <msuchy@redhat.com> Date: Mon Feb 3 15:03:12 2014 -0600 add releasever config option to configs [BZ# 1056039] add config_opt['releasever'] to mock configs for use in copr Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 51567c5e902ffedc2887c785e2a45cd8cc6fd067 Author: Jon Disnard <jdisnard@gmail.com> Date: Mon Feb 3 14:21:41 2014 -0600 fix --copyout by temporary drop and restore of privs [BZ# 1002142] When doing copyout don't permanently drop privs, just temporarily do so then restore them before tearing down the chroot. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit ac3068cc037a80ac8e47c58a6c4d2408e1e13f50 Author: Yann Droneaud <yann@droneaud.fr> Date: Mon Feb 3 14:17:57 2014 -0600 pass root environment to repoquery calls for proxy config [BZ# 974499] pass in environment variables from root config to repoquery so that proxy variables are used for configuration. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 12fc59ff1c1f301b1888113dd7cebc0efe800ed4 Author: Dennis Gilmore <dennis@ausil.us> Date: Mon Feb 3 13:27:46 2014 -0600 rawhide and f19/f18 is hardware floating point only for arm, drop the unneeded configs Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 1fb79079bf245f7f0fe94c60ccf7995e126a2a65 Author: Jon Disnard <jdisnard@gmail.com> Date: Mon Feb 3 13:21:27 2014 -0600 implement autoreconf call in build phase of mock rpm [BZ# 926154] Ensures the guess files is happy, and updated every build no matter how far behind the bundled files become. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit c25be5631b09eb5e512bfb5fc6aa64940e093961 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Jan 20 15:27:58 2014 -0600 fixups for epel-7 configs Signed-off-by: Clark Williams <clark.williams@gmail.com> commit c058f1eb80d6e69b467855abeb2e0ea02865fa14 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Jan 20 14:55:35 2014 -0600 configs: first cut at epel-7 configs for x86_64 and ppc64 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 16f9dab4df33ae03f836ed20658e8d0509be6fb4 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Jan 15 16:20:56 2014 -0600 Add 'extra_chroot_dirs' config option Add the 'extra_chroot_dirs configuration option to allow creation of directories other than the core set inside the chroot. This is done by setting the variable in a config file: config_opts['extra_chroot_dirs'] = [ '/tmp/foo', '/tmp/bar' ] This will result in the dirs /tmp/foo and /tmp/bar being created in the chroot when it is initialized. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 9db6edb33cc34a450e762eb5d2bedf9067ebc419 Author: Miroslav Suchý <msuchy@redhat.com> Date: Sat Jan 4 14:48:58 2014 -0600 mockchain: Do not pass $ to repo id in mockchain [BZ# 1034805] remove special characters when constructing the internal id for a repo from the passed in parameter 'repoid' Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 9d835882c117bb89b8364ea0722f8c6a8b45c2c6 Author: Clark Williams <clark.williams@gmail.com> Date: Sat Jan 4 13:50:20 2014 -0600 package_state: use new repoquery option --installroot [BZ# 1029352 and 985681] use the new (yum-utils >= 1.1.31) repoquery option --installroot to avoid corrupting host yum cache when running mock. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit cba8ec7ea5bcac835159f4506a5665b6a1852811 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Nov 4 23:02:09 2013 -0600 version bump to 1.1.35 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 7aef6dcc6a3826063c4bc36f381cd95b5c4c4958 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Nov 4 23:00:29 2013 -0600 fixed %%post scriptlet to set default.cfg correctly Previous specfile didn't set the variable 'ver' which was used to form the filename of the file to be symlinked to /etc/mock/default.cfg, resulting in an invalid filename. Fix this to properly select the host system config. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit d26aa0abc5d96190f4a8455a7db5a30ecf36df0d Author: Clark Williams <clark.williams@gmail.com> Date: Wed Oct 30 09:01:40 2013 -0500 version bump to 1.1.34 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 7f886393403148fd8fb6a44d9b2616540c3dfb16 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Oct 30 09:01:17 2013 -0500 update test repo to f19 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 54c0b3c79a4f92d4a6d280f91acde9b7331eebd2 Author: Clark Williams <clark.williams@gmail.com> Date: Tue Oct 29 15:17:39 2013 -0500 add arm config for fedora 19 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 537b8debbba7d43b52c59e06d06bad5910cf713a Author: Cole Robinson <crobinso@redhat.com> Date: Sun Oct 27 10:51:47 2013 -0500 exit mockbuild.util.logOutput() when child process dies [BZ# 885405] Check for child process terminating early and exit logOutput if the process has died. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 63d04a92e552330f3babcbc49a0ce4f27480429e Author: Clark Williams <clark.williams@gmail.com> Date: Sun Oct 27 10:24:12 2013 -0500 add default mode to mount in tmpfs plugin [BZ# 598257] Make sure the tmpfs mount is mounted with a sane mode rather than world writable. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 2aa943f5917076a1649375f43e62b85770f5ba60 Author: Sandro Mani <manisandro@gmail.com> Date: Sat Oct 26 15:14:26 2013 -0500 Pass values of --plugin-option through literal_eval [BZ# 1018359] The value of --plugin-option is set to be of type string when adding the option to the OptionParser. The values are then passed as string to the respective option receivers. This makes it impossible to pass i.e. bind_mount:dirs via --plugin-option, since bind_mount.py expects dirs to be an 2d-iterable (i.e. tuple of tuples), but it will get a string. One possibly clean fix would be to pass all values of --plugin-option though literal_eval. If literal_eval fails, then it is likely an actual string, and it is kept as such. Otherwise, the string is parsed to a python object. The only risk is that the user passes an argument which should be a string but also is valid python syntax. To avoid these issues, the user should quote the value, i.e. --plugin-option="myplugin:key='value'" Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 06464b8f094a1518423fd78eefe43ebc95afa3cb Author: Clark Williams <clark.williams@gmail.com> Date: Thu Oct 24 17:05:08 2013 -0500 use root object environment in package_state plugin [BZ# 921221] Use the root objects enviromnent when running repoquery from the package_state plugin to pick up proxy configurations. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 81bbe233be776c400c11b4c824b2f8635c034bf5 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Oct 24 16:45:51 2013 -0500 do not remove the chroot builddir if not cleaning the chroot [BZ# 483486] Don't delete and recreate the build directory in the chroot if --no-clean has been specified. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 06cb9084a1fa9de3cbefe505115902adb4a10fa0 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Oct 24 15:17:28 2013 -0500 clean up orphan processes even if chroot not cleaned [BZ# 972868] The orphansKill() method is currently only called from the clean() method. Add a check in the chroots alldone() method to clean up orphan processes if the chroot wasn't cleaned. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 223128573e3c4fda43e3cddc0f8373f8e1cb0593 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Oct 24 12:38:28 2013 -0500 raise privs before deleting rpm db files in chroot [BZ# 973617] The rpm database index files (/var/lib/rpm/__db*) sometimes are owned by root:root and require root privs to remove. This change modifies the _nuke_rpm_db() method to first check if the files exist and if so, raise privileges to root, remove them and then drop privs back to previous level. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit ff77db9f928f632596a6d59088fc1e6a55a79e2e Author: Clark Williams <clark.williams@gmail.com> Date: Wed Oct 23 16:01:22 2013 -0500 add the --nocheck option to mock [BZ# 1015790] Add an option that will pass --nocheck to rpmbuild to skip any 'make check' tests that are part of the rpm. Signed-off-by: Clark Williams <clark.williams@gmail.com> Reported-by: baude@us.ibm.com commit fb1cad37e3e64172881d97f1618050c7569878e4 Author: Matthew Gyurgyik <matthew@pyther.net> Date: Wed Oct 23 15:20:32 2013 -0500 set the group defined in chrootgid [BZ# 953519] Patch to drop privs, then read config files, then raise privs and set group specified by config as mock gid. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 1273a15803460a5bc168de2672850698ae95eaf0 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Oct 23 14:40:34 2013 -0500 don't ignore missing dependencies [BZ# 955478] Add a check to _yum_and_check which looks not only for missing packages but also missing dependencies. Signed-off-by: Clark Williams <clark.williams@gmail.com> Reported-by: Max Romanov <max.romanov@gmail.com> commit 3455d5278b230a04d1559c479b4a1776f524dff4 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Oct 23 10:40:52 2013 -0500 attempt to make mock more EL5 friendly [BZ# 949616] catch corner cases when hosted on EL5 system. Modification of original patch from Bjarne Saltbaek. Added utility function mockbuild.util.hostIsEL5() Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 409f724aaa04f9df5047eb5151b937f41ae24a90 Author: Clark Williams <clark.williams@gmail.com> Date: Fri Sep 6 11:44:34 2013 -0500 unconditionally update default.cfg on install [BZ# 858822] Fix problem where /etc/mock/default.cfg goes stale when a distro upgrade (e.g. fedup) takes the host system to a new Fedora release. Do this by deleting the existing symlink and relinking it to the current Fedora platform for the host. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 2082241646486dae5818f5a13605ee774d16cd48 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Sep 5 13:21:53 2013 -0500 package_state: drop privs when writing available_packages data [BZ# 916685] temporarily drop privleges back to original user when running repoquery to generate the available_packages file. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit d18e429dc2e868c9ba6f7a262009e3034ff0fbdd Author: Clark Williams <clark.williams@gmail.com> Date: Wed Aug 21 16:12:57 2013 -0500 fixed specfile to include mass rebuild changelog entry Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 4c004179d074c07a0ffc7868730b528c6653b9d6 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Aug 21 16:07:42 2013 -0500 version bump to 1.1.33 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit d8bd58c253aec5589b63f969a2595a00949af062 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Aug 21 16:07:06 2013 -0500 turned on verbose in tests commit 60eef47dca7c8e2cf3ee2c918a2a0c4488daaf3c Author: Clark Williams <clark.williams@gmail.com> Date: Wed Aug 21 14:24:13 2013 -0500 remove fedora 17 configs (EOL) Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 14093e0f6d98ca226402730a969142db5b4db632 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Aug 21 10:14:13 2013 -0500 add fedora 20 configs Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 36ce278d184b96608eaffb6578eec411e7c34b00 Author: Clark Williams <clark.williams@gmail.com> Date: Wed Aug 21 10:11:39 2013 -0500 allow a gid other than 'mock' to be used in the chroot [BZ# 953519] First cut at allowing a config file change of the mock gid. This probably is not enough by itself but may require changes to pam config file as well. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit a5eae137a34a060d90a5e61aab4038727dfa446e Author: Clark Williams <clark.williams@gmail.com> Date: Wed Aug 21 09:59:12 2013 -0500 tests: change default test config to be f19 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 9719100716352e4bb5d2796fa5f445186b268866 Merge: 5b2ee79 d066ccf Author: Clark Williams <clark.williams@gmail.com> Date: Mon Jul 22 09:35:01 2013 -0500 Merge branch 'master' into work commit d066ccf1e11cd2662ef00d845ed87035ec592791 Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Jun 7 07:21:08 2013 -0500 rawhide and f19 is hardware floating point only for arm, drop the unneeded configs commit 5b2ee794d2115b2b915967f16a7aa5ba0f5cfbaf Author: Clark Williams <clark.williams@gmail.com> Date: Fri May 17 15:32:16 2013 -0500 actually fix mockchain to use mock config default setup [BZ# 962573] make mockchain return config_opts from the util call. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 2fe5776b7c6e455fd32c8f6694aad75b468a253d Author: Clark Williams <clark.williams@gmail.com> Date: Fri May 17 15:20:33 2013 -0500 remove bogus lockfile dir in _setupDirs() [BZ# 894305] Don't create /var/lock/rpm in chroot (no longer needed by rpm). Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 403c9c4646c024b31771701806b683e21d0b852f Author: Clark Williams <clark.williams@gmail.com> Date: Thu May 16 17:06:24 2013 -0500 mockchain: added first cut at regression tests for mockchain Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 107d2fee3cb9b15d7633bdcc8dd78276fbc88dfd Author: Clark Williams <clark.williams@gmail.com> Date: Thu May 16 10:41:22 2013 -0500 tests: have runtests.sh use the common MOCKSRPM variable Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 2135337301164fe3e82c75fe86eead82abeb80ff Author: Clark Williams <clark.williams@gmail.com> Date: Thu May 16 10:40:24 2013 -0500 initial cut at changes to mockchain for configuration defaults First cut at using the mock configuration logic. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 6f25d3b1ac62a58161cc6509259ea20dcfc91654 Author: Clark Williams <clark.williams@gmail.com> Date: Wed May 15 15:05:43 2013 -0500 move config processing code into mockbuild/util.py module Move code for setting config option defaults and code for setting config options based on command line arguments into the util module so that mockchain can use it. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit aa74f3b11f32342b1f7c16d1044fbc24ee93f040 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Apr 18 14:01:03 2013 -0500 version bump to 1.1.32 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 3aed35b65d0c2d6078e3c3edef014123da209fc5 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Apr 18 13:58:17 2013 -0500 fixed incorrect argument to getent in %post scriptlet Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 6481fb53faca02691871bcd11dbf002dc83a1ae2 Author: Clark Williams <clark.williams@gmail.com> Date: Tue Apr 16 10:48:07 2013 -0500 version bump to 1.1.31 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit ddc5f4b74f762361bd663d93c78e9b8f4182bac6 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Apr 15 20:36:00 2013 -0500 get the latest srpm when running tests Modify the tests/testenvironment file to prevent picking up multiple versions of the mock SRPM. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 037c8c9b6be740d5c92e72fe60ff16d861e3d3b0 Author: Clark Williams <clark.williams@gmail.com> Date: Fri Apr 12 17:05:32 2013 -0500 handle --scrub=all called on non-existent chroot [BZ# 875473] The _resetLogging() call tries to access the resultdir, which isn't there on a non-initialized chroot. Avoid this. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit ef545fd1a1c4a1a61fab68fa3f1e056750fa8e83 Author: Marko Myllynen <myllynen@redhat.com> Date: Fri Apr 12 13:49:11 2013 -0500 separate scm module into separate package [BZ# 798367] Move the scm module into a separate sub-package named mock-scm. This is so we can automatically pull in dependencies when someone wants the scm functionality, without needlessly pulling them in when only mock is needed. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit f1a5a36709d3006391fb24f0a2b68a5369dc4ed5 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Apr 11 14:57:55 2013 -0500 initial cut at chroot_scan plugin [BZ# 441090] This plugin, disabled by default, will scan the chroot after a build, looking for files which match the regexes specified by the config (defaults to looking for core* and *.log files). Signed-off-by: Clark Williams <clark.williams@gmail.com> commit e41a2e76cfa90c7f4f288d3f39d667230ca05a6c Author: Clark Williams <clark.williams@gmail.com> Date: Mon Apr 1 16:39:02 2013 -0500 fix logging assumption in main mock file [BZ# 912624] Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 6f08e142bf13a832ff0f4364d4c8625e5c239a8c Author: Marko Myllynen <myllynen@redhat.com> Date: Mon Feb 25 12:37:12 2013 +0200 Handle filenames w/ spaces in SCM/git when setting timestamps [BZ# 915264] Signed-off-by: Clark Williams <clark.williams@gmail.com> commit c6fe3aed2ae3409ab2e6ea9dd8e86173f94a4786 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Apr 1 16:01:56 2013 -0500 configs: removed f16 configurations Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 50910691d16a80afd0a1536ffeda445b1d3f9405 Author: Shad L. Lords <slords@lordsfam.net> Date: Mon Apr 1 16:00:49 2013 -0500 mounts plugin: removed redundant '-t' specified for vfstype [BZ# 910857] Don't need to add '-t' to vfstype pulled in from config file because that causes duplicate options when actually operating on the mount Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 8057694b86c623d6b171a2f1c22f61249f3a0a2b Author: Clark Williams <clark.williams@gmail.com> Date: Mon Apr 1 14:47:06 2013 -0500 selinux plugin: modify to catch yum-builddep in callback [BZ# 923927] Make sure we catch runs of yum-builddep and pass in the --setopt=tsflags=nocontext option to avoid making any selinux labeling changes inside a chroot. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit edab65391ab223e4a127136bf5fde88c41177ebf Author: Justin Lewis Salmon <jsalmon@cern.ch> Date: Sun Mar 31 15:42:18 2013 -0500 root cache plugin: add the --cache-alternations option [BZ# 905363] Add the option --cache-alterations which will cause the root cache image to be rebuilt after whatever modifications are made by the currently running mock. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit ba4df56878ca9a121d6258cc37ad32e12bfb7dfb Author: Marko Myllynen <myllynen@redhat.com> Date: Sun Mar 31 13:02:52 2013 -0500 scm plugin: check to see if tar supports --exlcude-vcs and use it [BZ# 824848] If the installed version of tar supports the --exclude-vcs option then use it to exclude the various vcs dirs (.svn, .git, .cvs, etc.) Signed-off-by: Clark Williams <clark.williams@gmail.com> commit bd9f31f24f9ce0913ecb7b620671af08d1821083 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Mar 28 16:39:40 2013 -0500 version bump to 1.1.30 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 5df47cea2eba158e76b2a82db9038af590a0e4d5 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Mar 28 16:34:32 2013 -0500 beef up cleanup logic to remove RPM db lockfiles inside chroots created the method _nuke_rpm_db() inside Root object and scattered calls to it around various areas (lock/unlock chroot, before build, after any chroot operation, etc.). This routine removes the RPM DB lock files (__db*) that cause issues when crossing DB versions. Not a total solution, but seems to reduce the number of failures attributed to DB version mismatches. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 254b7f036e8b79310ab14949ffb1b243461a292c Author: Clark Williams <clark.williams@gmail.com> Date: Tue Mar 26 13:35:53 2013 -0500 package_state plugin: don't run repoquery when offline [BZ# 927496] Don't run repoquery when the --offline option is specified. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 9821f148b30a04475fb6f9da6dc0f7c905130076 Author: Clark Williams <clark.williams@gmail.com> Date: Mon Mar 18 12:35:33 2013 -0500 added fedora-19 config files [BZ# 922268] Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 64e539dca317d484342a484ea5e73cbd4efb076d Author: Clark Williams <clark.williams@gmail.com> Date: Fri Mar 15 15:05:06 2013 -0500 add backup-before-clean configuration options [BZ# 799639] Add the configuration variables: config_opts['backup_on_clean'] config_opts['backup_base_dir'] When backup_on_clean is True (default is False) any rpms in the specified chroot result dir will be saved off to backup_base_dir before the chroot is cleaned. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 2b6ebb0106d2c449e81d29be2ba0d3650bd0dd24 Merge: ccd9fe3 7d0f121 Author: Clark Williams <clark.williams@gmail.com> Date: Thu Mar 14 16:39:08 2013 -0500 Merge branch 'master' into work Conflicts: mock.spec.in commit 7d0f12194ebf49be38c4b3717cbb4a6d3e492090 Author: Clark Williams <clark.williams@gmail.com> Date: Sun Feb 24 17:21:46 2013 -0600 version bump to 1.1.29 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 761ccae3f36998326a3f2397c3b0e3ea4e5d572e Author: Clark Williams <clark.williams@gmail.com> Date: Fri Feb 22 16:23:12 2013 -0600 remove CLONE_NEWPID (for now) from unshare(2) call [BZ# 894623] remove the bit CLONE_NEWPID from unshare(2) call in mock.py due to behavior change in rawhide kernel (the previous calls were failing but rawhide kernel now succeeds and mock doesn't use the NEWPID correctly) which resulted in a memory exhaustion situation. We will revisit using CLONE_NEWPID with unshare(2) in a future release. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit e8e7476cdaf33992c77aa7437f57a03e5744b485 Author: Clark Williams <williams@redhat.com> Date: Thu Jan 31 12:38:25 2013 -0600 initialize package_state_opts so that package_state plugin will work Signed-off-by: Clark Williams <williams@redhat.com> commit e133a3f761504057716ac2223adf93d02dde19c8 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 30 17:49:39 2013 -0600 make epel-5-* config files safe to eval [BZ# 903686] This patch allows mockchain to run properly on epel-5-* configs by making sure that the config_opts['macros'] option is defined before use (mockchain does not initialize configs the way mock does). Signed-off-by: Clark Williams <williams@redhat.com> commit 6eeb1ce55cd8ede2441ee1f0c003560d28bf9146 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 30 15:07:25 2013 -0600 move CLONE_NEWUTS to extended unshare options [BZ# 890695] Move CLONE_NEWUTS from base options (required) to extended unshare options (optional) so that kernels which don't have UTS_NS configuation built in will still run mock. Signed-off-by: Clark Williams <williams@redhat.com> commit fb9ea141f8f37f9d929b1a0fe4e6b236140449ba Author: Clark Williams <williams@redhat.com> Date: Fri Jan 18 09:57:06 2013 -0600 change default tests environment to be -i386 Change so that any x86 config can run the tests Signed-off-by: Clark Williams <williams@redhat.com> commit 6c4caa1ffbac493a726561b4708742520ffcfb28 Author: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Date: Wed Dec 26 12:04:50 2012 +0200 Fix most bashism in test scripts If /bin/sh is not bash, it may not support some bash-specific contructs. * source => . 'source' is not supported by all bourne shells. It is always safe to replace it with '.'. * == => = While '==' is more readable, and has a slightly different semantics, in simple cases it can be replaced with the posix-compliant '='. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> commit bf0ab799f2bd9e444ca96b27dbe0aba1168f6c04 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 7 13:47:27 2012 -0600 fix initialization of package_state plugin Added package_state to the configured plugins array so that it is enabled by default. Signed-off-by: Clark Williams <williams@redhat.com> commit ccd9fe35b936a7868cb855711f1c24e45d9b3b1d Author: Clark Williams <clark.williams@gmail.com> Date: Sun Feb 24 17:21:46 2013 -0600 version bump to 1.1.29 Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 8cb56794fbf9fb773b648546e7b735b910731dfd Author: Clark Williams <clark.williams@gmail.com> Date: Fri Feb 22 16:23:12 2013 -0600 remove CLONE_NEWPID (for now) from unshare(2) call [BZ# 894623] remove the bit CLONE_NEWPID from unshare(2) call in mock.py due to behavior change in rawhide kernel (the previous calls were failing but rawhide kernel now succeeds and mock doesn't use the NEWPID correctly) which resulted in a memory exhaustion situation. We will revisit using CLONE_NEWPID with unshare(2) in a future release. Signed-off-by: Clark Williams <clark.williams@gmail.com> commit 9912db2697338c5ed11bc86e29ca5a3e10aa7059 Author: Clark Williams <williams@redhat.com> Date: Thu Jan 31 12:38:25 2013 -0600 initialize package_state_opts so that package_state plugin will work Signed-off-by: Clark Williams <williams@redhat.com> commit 8baeb70bd0b4b7a6e0375f3244b1727aac856935 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 30 17:49:39 2013 -0600 make epel-5-* config files safe to eval [BZ# 903686] This patch allows mockchain to run properly on epel-5-* configs by making sure that the config_opts['macros'] option is defined before use (mockchain does not initialize configs the way mock does). Signed-off-by: Clark Williams <williams@redhat.com> commit c08f5036d0b965289b5fd487380ace84f5a63f4f Author: Clark Williams <williams@redhat.com> Date: Wed Jan 30 15:07:25 2013 -0600 move CLONE_NEWUTS to extended unshare options [BZ# 890695] Move CLONE_NEWUTS from base options (required) to extended unshare options (optional) so that kernels which don't have UTS_NS configuation built in will still run mock. Signed-off-by: Clark Williams <williams@redhat.com> commit d1eb0ced3eea32e27cf47f469505f92215de3297 Author: Clark Williams <williams@redhat.com> Date: Fri Jan 18 09:57:06 2013 -0600 change default tests environment to be -i386 Change so that any x86 config can run the tests Signed-off-by: Clark Williams <williams@redhat.com> commit c0e40552b9d810e6e03ae3d8455b2d0abb9ef43f Author: Seth Vidal <skvidal@fedoraproject.org> Date: Tue Jan 15 21:11:56 2013 -0500 so , is a protected character for a yum repo - gotta make it _ instead commit 77794be2fc4a2ca0bb83a8dbb478ecb7a6537e89 Author: Seth Vidal <skvidal@fedoraproject.org> Date: Thu Jan 10 15:25:44 2013 -0500 allow for a non-username tmpdir prefix when we setup the tmp dir prefix - catch the oserror if mockchain is not running from a TTY - thanks to Alasdair Ross for pointing this out commit 4f967c4aac7d4cb240ba8e609de6035b2f855431 Author: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Date: Wed Dec 26 12:04:50 2012 +0200 Fix most bashism in test scripts If /bin/sh is not bash, it may not support some bash-specific contructs. * source => . 'source' is not supported by all bourne shells. It is always safe to replace it with '.'. * == => = While '==' is more readable, and has a slightly different semantics, in simple cases it can be replaced with the posix-compliant '='. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> commit 50b83f20fc55ac39b630702dc9ca8b9356e4b6f6 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 7 13:47:27 2012 -0600 fix initialization of package_state plugin Added package_state to the configured plugins array so that it is enabled by default. Signed-off-by: Clark Williams <williams@redhat.com> commit 98518ed5320002306c65d39d6e82c85326536991 Author: Tim Woods <timw.fedora@gmail.com> Date: Tue Nov 20 18:04:59 2012 -0500 Fix mockchain repo id calculation [BZ# 880849] Fix the repo id calculation to use an underscore instead of a comma as the replacement separator for slash. The comma is not a valid character for the yum configuration section name. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=880849 Signed-off-by: Clark Williams <williams@redhat.com> commit cf8320a2b7e8d90241fc39517ab27a0f95276e6c Author: Clark Williams <williams@redhat.com> Date: Wed Oct 31 16:31:16 2012 -0500 version bump to 1.1.28 Signed-off-by: Clark Williams <williams@redhat.com> commit 765fd95bb6903d2aae66055c4019a2d02d53b94a Author: Clark Williams <williams@redhat.com> Date: Thu Nov 1 13:22:27 2012 -0500 inital checkin of script to verify cfg repos Signed-off-by: Clark Williams <williams@redhat.com> commit 1b4271c6e2b5668ffa83da540732bcc935e59408 Author: Clark Williams <williams@redhat.com> Date: Tue Oct 2 14:50:35 2012 -0500 modify scrub to handle non-existant chroots [BZ# 860368] Handle being passed a config that has not been initialized or has had its directory removed. Put body of scrub ito a try except and pass IOError as ok. Issue a warning when handling IOError though. Signed-off-by: Clark Williams <williams@redhat.com> commit 133569e024f3748631fad694a330d60fe3b17dab Author: Clark Williams <williams@redhat.com> Date: Tue Oct 30 12:51:41 2012 -0500 add updates-testing stanza to fedora-1x-*.cfg [BZ# 610826] Added an updates-testing stanza to all fedora-1x configs. This stanza is disabled by default (enabled=0). Also, fix yum repo stanza names to match name parameter. Signed-off-by: Clark Williams <williams@redhat.com> commit 3f3cde611edd438dbd3fcd4595fc11c345a6f77b Author: Clark Williams <williams@redhat.com> Date: Mon Oct 1 18:32:04 2012 -0500 deal with differing rpmutil versions [BZ# 847473] Put the rpmutil call compareVerOnly inside a try block and call the older compareEVR on exception. This deals with differing rpmutils versions in the EPEL versions. Signed-off-by: Clark Williams <williams@redhat.com> commit 34cdb00fa1b7605a231d67d101d22b54b71bb0dd Author: Clark Williams <williams@redhat.com> Date: Fri Sep 7 13:20:49 2012 -0500 updated specfile template changelog Signed-off-by: Clark Williams <williams@redhat.com> commit ff10f12bd909d0933b85435d14cab42de68a2afb Author: Clark Williams <williams@redhat.com> Date: Fri Sep 7 13:10:50 2012 -0500 version bump to 1.1.27 Signed-off-by: Clark Williams <williams@redhat.com> commit 6713ba92fb1767978f5bee0bc4b90ef390639ba9 Author: Clark Williams <williams@redhat.com> Date: Fri Sep 7 13:08:54 2012 -0500 fixed report to indicate configuration failure number Signed-off-by: Clark Williams <williams@redhat.com> commit 6257c44b769c7d1c33603ab00b549c08ad179858 Author: Mathieu Bridon <bochecha@fedoraproject.org> Date: Thu Sep 6 13:27:53 2012 -0500 fix various start/finish state problems [BZ# 835633] Added code to handle issues with --chroot, device setup and SRPM rebuild. Signed-off-by: Clark Williams <williams@redhat.com> commit 8cefd8fcc83902580229037dce82448739042d1c Author: Clark Williams <williams@redhat.com> Date: Thu Aug 23 18:48:08 2012 -0500 remove dead code, unused array 'legal_arches' Signed-off-by: Clark Williams <williams@redhat.com> commit fbe7f2495bc58c746a9aa86bc69620c5bbb53d56 Author: Colin Walters <walters@redhat.com> Date: Thu Aug 23 17:49:55 2012 -0500 add CLONE_NEWPID and CLONE_NEWIPC to unshare call [BZ# 851340] create new process id namespace and interprocess-communications namespace for the chroot. Handle the fact that the RHEL5 kernel (2.6.18) doesn't have these by catching it in the execption handler. Signed-off-by: Clark Williams <williams@redhat.com> commit 84e0ac9f876c584a0523b62d13ddcd8ba74777ae Author: Clark Williams <williams@redhat.com> Date: Thu Aug 23 14:21:26 2012 -0500 add an 'age_check' parameter to root_cache Add this so that I can turn it off root cache aging out while running the mock tests. Speeds things up on a slow link. Signed-off-by: Clark Williams <williams@redhat.com> commit 4750e497f7a2509152b2907a32a21d2e6c9ea6f8 Author: Clark Williams <williams@redhat.com> Date: Thu Aug 23 14:12:13 2012 -0500 deal with NFS home directories and root_cache issues [BZ# 649192] Detect if we're running on an NFS home and if so chdir to a non-NFS directory so tar doesn't freak out when unpacking the chroot cache. Signed-off-by: Clark Williams <williams@redhat.com> commit 508a4d82cb1e69e3e8c68a8f1bdb85e040e0a19b Author: Mathieu Bridon <bochecha@fedoraproject.org> Date: Thu Aug 23 10:37:02 2012 -0500 fix state mismatch with --chroot option [BZ# 835633] Moved self.finish(state) call into finally block in chroot to make sure we always call it. Signed-off-by: Clark Williams <williams@redhat.com> commit 2ea8430aa43aac5529645fc52bb02fc8e6a8b5bf Author: Mike Miller <mtmiller@ieee.org> Date: Thu Aug 23 10:30:42 2012 -0500 Fix mock kernel version comparison [BZ# 847473] Mock's comparison of kernel versions fails when the version has less than 3 version components (e.g. 3.4). This commit fixes the problem by calling the proper yum function, compareVerOnly, since this is just a version comparison, not an RPM EVR comparison. I also renamed the function to cmpKernelVer, although that can be backed out in the name of API compatibility. Signed-off-by: Clark Williams <williams@redhat.com> commit 48a27fcf10117fb636042a1276e3603fd4d2b7d3 Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Aug 10 08:19:55 2012 -0500 add f18 configs add missing s390 rawhide config commit 8c89ca01a877d4c842df47a2ba9ed0c925e68f12 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 6 12:22:54 2012 -0500 version bump to 1.1.26 Signed-off-by: Clark Williams <williams@redhat.com> commit 4621a3e630ffab750731fc5ccb988bbf5284f0fa Author: Clark Williams <williams@redhat.com> Date: Mon Aug 6 09:37:55 2012 -0500 move the f17 ppc configs into the appropriate directory Signed-off-by: Clark Williams <williams@redhat.com> commit 7f1d5dffd1699c9ad828c4758536758d0077e4a0 Author: Clark Williams <williams@redhat.com> Date: Wed Aug 1 21:05:02 2012 -0500 explicitly disallow multiple arch values to --target [BZ# 822975] Catch multiple arch values early and throw BadCmdline exception. Signed-off-by: Clark Williams <williams@redhat.com> commit 4b85cb77bb2fa15544f7f801e603c3c2c5747c1c Author: Clark Williams <williams@redhat.com> Date: Wed Aug 1 18:34:19 2012 -0500 updated Source: URL to point to tarball snapshots Signed-off-by: Clark Williams <williams@redhat.com> commit 0e4bd280457d9c2ff839e169f748cf7e9944978b Author: Clark Williams <williams@redhat.com> Date: Tue Jul 31 15:11:52 2012 -0500 updated release instructions to be 1.1 branch specific Signed-off-by: Clark Williams <williams@redhat.com> commit 000e71f2ccf7783f789299d83dd9dc9fb6302d0e Author: Clark Williams <williams@redhat.com> Date: Tue Jul 31 13:47:40 2012 -0500 version bump to 1.1.25 Signed-off-by: Clark Williams <williams@redhat.com> commit e192f706d0a6467fd2007f0400d3bcf2f236ff5d Author: Karsten Hopp <karsten@redhat.com> Date: Tue Jul 31 12:04:37 2012 -0500 added ppc and ppc64 configs for fedora 17 Signed-off-by: Clark Williams <williams@redhat.com> commit 4c9829ddf512d4e9ef54061093b47839482ea5bd Author: Clark Williams <williams@redhat.com> Date: Fri Jul 27 16:08:25 2012 -0500 updated koji build instructions Signed-off-by: Clark Williams <williams@redhat.com> commit f9c167f0dadc10e1a073e7f1bfdc6459e0cf1d95 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 27 15:59:37 2012 -0500 version bump to 1.1.24 Signed-off-by: Clark Williams <williams@redhat.com> commit 59b40be83405eeab1bc19117666b5f76c3e24df3 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 27 15:35:26 2012 -0500 changed default test config to fedora-17-x86_64 Signed-off-by: Clark Williams <williams@redhat.com> commit 979175a9dae8c367a40fc571fc3bcd4b9bdc568a Author: Clark Williams <williams@redhat.com> Date: Fri Jul 27 15:34:03 2012 -0500 removed fedora-15 configs Signed-off-by: Clark Williams <williams@redhat.com> commit b9798b15ce00b3c059c50e159f931759a3f6a517 Author: Clark Williams <williams@redhat.com> Date: Thu Jul 26 23:06:08 2012 -0500 replaced call to os.getlogin() for backwards compat [BZ# 843434] os.getlogin() was throwing errors on some systems. Replace with calls to pwd.getpwuid(os.getuid()) to be safe. Signed-off-by: Clark Williams <williams@redhat.com> commit 903dc9155d2f7a84d3dcee4edcc9c55dd4fd4d19 Author: Clark Williams <williams@redhat.com> Date: Thu Jul 26 15:59:18 2012 -0500 add code to allow testing only one config Signed-off-by: Clark Williams <williams@redhat.com> commit 349558631d35b4e60de4ce5ae6dd440df0af56a6 Merge: 0ad4ec6 7291191 Author: Clark Williams <williams@redhat.com> Date: Thu Jul 26 15:27:23 2012 -0500 Merge remote-tracking branch 'origin/master' into work commit 729119191c355e9a17d5e61a053aa3a9ea4e9509 Author: Seth Vidal <skvidal@fedoraproject.org> Date: Thu Jul 26 12:02:04 2012 -0400 add one line of log output to make successful build order obvious commit 0ad4ec67ac4f85fc56799bc9f4fe4e50e111d29e Author: Clark Williams <williams@redhat.com> Date: Fri Jun 29 10:32:06 2012 -0500 turn on package_state_plugin without depending on site-default Signed-off-by: Clark Williams <williams@redhat.com> commit d1a33a91b3fdd524b7fed589fd7d54bd284aef81 Author: Matt McCutchen <matt@mattmccutchen.net> Date: Fri Jun 29 10:30:04 2012 -0500 add a config variable to allow common options to be added to yum commands Signed-off-by: Clark Williams <williams@redhat.com> commit daa5346bf94331fb004e586de7c3690a21baaa13 Author: Clark Williams <williams@redhat.com> Date: Thu Jun 28 10:19:08 2012 -0500 fixed issue with state API change in package_status plugin The finish() method now takes an argument to match the string specified by the start() method. Fixed. Signed-off-by: Clark Williams <williams@redhat.com> commit e4fc3310e10933cc2d39687c609b8459a700e2e6 Merge: ff524a6 e3365d5 Author: Clark Williams <williams@redhat.com> Date: Thu Jun 28 09:02:24 2012 -0500 Merge remote-tracking branch 'origin/package_state_plugin' into work commit e3365d53190b60695559b364feb86030b51fac19 Author: Seth Vidal <skvidal@fedoraproject.org> Date: Wed Jun 27 17:53:53 2012 -0400 add package_state as a plugin to replace available_pkgs set it to load by default. commit ff524a6713538299463c6553d965b5af6193b1fa Author: Clark Williams <williams@redhat.com> Date: Wed Jun 27 14:55:11 2012 -0500 fix state start/finish mismatch in --shell Fixed incorrect ordering of state start/end for "shell" state that caused regression failure in return code. Signed-off-by: Clark Williams <williams@redhat.com> commit 530f476d03690b5b0505e4415daa9f07fed848cd Merge: 0d3bd64 97a8410 Author: Clark Williams <williams@redhat.com> Date: Wed Jun 27 11:17:02 2012 -0500 Merge remote-tracking branch 'origin/available_pkgs_plugin' into work commit 97a8410df1ca055f0143ac6ac35c20b83fc15c7f Author: Seth Vidal <skvidal@fedoraproject.org> Date: Wed Jun 27 11:58:15 2012 -0400 add available_pkgs enable option to site-defaults.cfg commit 0b500d103e9089303147ffe775ae51149b7cd98f Author: Seth Vidal <skvidal@fedoraproject.org> Date: Wed Jun 27 11:44:56 2012 -0400 add available_pkgs plugin to makefile commit e546195c071667ad5f6434fb6983e097a6877718 Author: Seth Vidal <skvidal@fedoraproject.org> Date: Tue Jun 26 17:51:32 2012 -0400 available_pkgs plugin commit 0d3bd645ce9ed3c8b6efcf9cb5b66c58363c9a4d Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Jun 24 21:23:38 2012 +0300 Add mockchain completion. commit 07033cdacbbbc1c3e6c9802b136168fc3e46b45e Author: Clark Williams <williams@redhat.com> Date: Thu Jun 21 13:25:47 2012 -0500 version bump to 1.1.23 Signed-off-by: Clark Williams <williams@redhat.com> commit d6fce3fc663ad5a4c3a685506aa78000d077aa0a Author: Marko Myllynen <myllynen@redhat.com> Date: Sat Jun 9 10:39:38 2012 -0500 Fix write_tar check in scm.py [BZ# 828677] Fixed test of write_tar config option to check for value "true" rather than testing for non-null (empty string is non-null) Signed-off-by: Clark Williams <williams@redhat.com> commit 088ebeead451fcd44590280cb682f2a673ef2a70 Author: Clark Williams <williams@redhat.com> Date: Sat Jun 9 10:13:37 2012 -0500 removed fedora-14 configs Signed-off-by: Clark Williams <williams@redhat.com> commit 0d474f92a0e0f1b07e3fe13e947f1ec41b8b292a Author: Clark Williams <williams@redhat.com> Date: Thu Jun 7 17:28:20 2012 -0500 modify startup code to only set mock group [BZ# 809676] change the mock initialization code to only set the mock gid, rather than inheriting all the gids associated with the uid that is running mock. This will speed startup time when there are large numbers of GIDs and will potentially allow mock to work properly with FreeIPA. Signed-off-by: Clark Williams <williams@redhat.com> commit 774154639a8b01ff32c2a4857e0cb322f54833fb Author: Masatake YAMATO <yamato@redhat.com> Date: Thu Jun 7 14:29:21 2012 -0500 added option to set a plugin parameter value from the commandline [BZ# 754321] This patch adds the --plugin-option command line option, which allows a plugin parameter to be set on the commandline: Ex: mock --plugin-option="ccache:max_cache_size=5G" foo.src.rpm The above will set the cccahe max to be 5 gigabytes Signed-off-by: Clark Williams <williams@redhat.com> commit 440d0e536d48cbe9e42eb0e7ea3781a0f8222c80 Author: Clark Williams <williams@redhat.com> Date: Thu Jun 7 14:20:33 2012 -0500 changed state string from 'yum for init' to 'yum update' Signed-off-by: Clark Williams <williams@redhat.com> commit 5d571122019eada29aa0be1e8df5e058aa3929e3 Merge: 63ace43 126c942 Author: Clark Williams <williams@redhat.com> Date: Thu Jun 7 12:10:34 2012 -0500 Merge remote-tracking branch 'origin/mockchain' into work-state-rework commit 63ace43a76fa379aa1e6a2bce3b5f81133a06600 Merge: 5c81c66 3a07482 Author: Clark Williams <williams@redhat.com> Date: Thu Jun 7 10:38:32 2012 -0500 Merge remote-tracking branch 'origin/mockchain' into work-state-rework commit 5c81c6618ccbb1b27fead8565aeb047269ee90f9 Author: Clark Williams <williams@redhat.com> Date: Thu Jun 7 10:37:14 2012 -0500 reworked state finish() method to take string argument Modified the new state finish() method to take an argument that is the state being finished and compare that to the top of the state stack when called. Throws a state error if the argument and top of state stack do not match. Signed-off-by: Clark Williams <williams@redhat.com> commit 126c9429f5872a0a406024893e5c5b513a177bff Author: Seth Vidal <skvidal@fedoraproject.org> Date: Thu Jun 7 11:21:39 2012 -0400 fix spec file and makefile, again commit 3a0748216fdceb9f67cb53e28d7df6002ec76d5f Author: Seth Vidal <skvidal@fedoraproject.org> Date: Thu Jun 7 10:53:40 2012 -0400 mv mockchain into place - makefile.am commit dceba3336a5c3338b149936040a3b4d67334c53d Merge: 8ce9177 9380e5e Author: Clark Williams <williams@redhat.com> Date: Thu Jun 7 09:42:34 2012 -0500 Merge remote-tracking branch 'origin/scop' into work-state-rework commit 9380e5e631e7314af69c53b7c97af6c7022100d1 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Jun 5 17:29:57 2012 +0300 Spelling fixes. commit 7392b90f970713336a55b490e86d19e2149f6275 Author: Seth Vidal <skvidal@fedoraproject.org> Date: Wed May 23 13:16:34 2012 -0400 add mockchain to mock commit 8ce9177011f83b2a741638e52e553404253d0f09 Author: Clark Williams <williams@redhat.com> Date: Tue May 15 12:30:12 2012 -0500 changed statenames to be a bit more descriptive Signed-off-by: Clark Williams <williams@redhat.com> commit bbce2c055497d297dedb0823827aebf9499a0654 Author: Clark Williams <williams@redhat.com> Date: Fri May 11 10:11:21 2012 -0500 reworked the state mechanism to have start/end and allow nesting Reworked the chroot state to be a stack of states. Added the chroot methods start() and finish() to indicate start and end of a state. Modified the state() method to return the current state at the top of the stack (no modificaiton of stack). Added the alldone() method to check for unfinished states. Signed-off-by: Clark Williams <williams@redhat.com> commit 6f8821cb06ddf8716e7fc4d25cec8784f47f667a Author: Clark Williams <williams@redhat.com> Date: Thu May 10 13:49:15 2012 -0500 added dropcache.py to return cached memory to system when running tests Signed-off-by: Clark Williams <williams@redhat.com> commit b43a280f081bd9431d1608eb55df7699e95c0776 Author: Clark Williams <williams@redhat.com> Date: Thu May 10 13:48:55 2012 -0500 added new files to test suite Signed-off-by: Clark Williams <williams@redhat.com> commit 2fbb09fe87ca5eb0ae5921d7ed741af6c889ffdf Author: Clark Williams <williams@redhat.com> Date: Thu May 10 13:47:38 2012 -0500 reworked regression and configs tests Signed-off-by: Clark Williams <williams@redhat.com> commit 73964745693c1a5b7e97a519a7e5de39c5af9e70 Author: Clark Williams <williams@redhat.com> Date: Wed May 9 18:56:52 2012 -0500 add CLONE_NEWUTS to unshare(2) call [BZ# 818445] To prevent a chroot program from changing the hostname, add the CLONE_NEWUTS flag to our unshare(2) call. This will unshare the UTS namespace and means any hostname change will only hold for the duration of the chroot (and will not affect programs outside the chroot). Signed-off-by: Clark Williams <williams@redhat.com> commit c6b0654fc89e3f99dd91bdeb2199e5ed43c9a5d6 Author: Clark Williams <williams@redhat.com> Date: Wed May 9 18:56:29 2012 -0500 remove unsupported epel-4 configs Signed-off-by: Clark Williams <williams@redhat.com> commit 5b5ac3e4e1657b4b834b779e14586d7194357d49 Merge: 1f66f45 b4f6070 Author: Clark Williams <williams@redhat.com> Date: Thu Mar 29 16:14:57 2012 -0500 Merge branch 'work' Conflicts: py/mockbuild/scm.py commit b4f6070f44b36b5439aaf4e89837c6eea5fff12f Author: Clark Williams <williams@redhat.com> Date: Thu Mar 29 16:13:29 2012 -0500 version bump to 1.1.22 Signed-off-by: Clark Williams <williams@redhat.com> commit 35429beae5eef120526b979d09336e39e5d7432e Author: Clark Williams <williams@redhat.com> Date: Mon Mar 26 12:55:35 2012 -0500 remove EPEL 4 configs Remove the configs since EPEL 4 is no longer supported Signed-off-by: Clark Williams <williams@redhat.com> commit 16c0b808f0342b2a713b45a95143070a09c84fe2 Author: Clark Williams <williams@redhat.com> Date: Mon Mar 19 09:47:22 2012 -0500 fix problem in scm.py with SSH_AUTH_SOCK [BZ# 803217] Make a copy of the environment for the SCM plugin and add the SSH_AUTH_SOCK to it (as well as changing HOME to match the homedir of the active pid). Use the SCM environment when running subprocesses for SCM operations. Add SSH_AUTH_SOCK to the KEEP_ENV_VARS config in consolehelper so that SCM operations work properly. Signed-off-by: Clark Williams <williams@redhat.com> commit e8b8de4d5428a158494ab1d3558d2b5a41a89573 Author: Clark Williams <williams@redhat.com> Date: Wed Mar 21 11:41:22 2012 -0500 fix baseurl (remove dist-) for f17 configs [BZ# 795409] Signed-off-by: Clark Williams <williams@redhat.com> commit 1f66f45127c0c3179965161480bccfb12403e4b2 Author: Clark Williams <williams@redhat.com> Date: Mon Mar 19 09:47:22 2012 -0500 fix problem in scm.py with SSH_AUTH_SOCK [BZ# 803217] Make a copy of the environment for the SCM plugin and add the SSH_AUTH_SOCK to it (as well as changing HOME to match the homedir of the active pid). Use the SCM environment when running subprocesses for SCM operations. Signed-off-by: Clark Williams <williams@redhat.com> commit 3c26c9eea88de8f0b6840bd379d78f56aa70bb6f Author: Clark Williams <williams@redhat.com> Date: Wed Feb 29 19:03:32 2012 -0600 fix incorrect setting of gid in UidManager.changeOwner() [BZ# 782449] For some reason we were setting gid to uid if gid was not passed in. Instead set it to self.unprivGid. Signed-off-by: Clark Williams <williams@redhat.com> commit ce018f7bc9e8cb2fcf6511790c41735593d977d4 Author: Chris St Pierre <chris.a.st.pierre@gmail.com> Date: Wed Feb 29 16:17:31 2012 -0600 allow chroot group to be configurable [BZ# 719099] Modify group check function to take gid from config file rather than assume "mock" group. Signed-off-by: Clark Williams <williams@redhat.com> commit 81c46bb2750ee47d99441d63458c6919ad6381c4 Author: Clark Williams <williams@redhat.com> Date: Wed Feb 8 17:28:19 2012 -0600 version bump to 1.1.21 Signed-off-by: Clark Williams <williams@redhat.com> commit e8fa57ef95c02b4c684e3cf1d8e19bcd13316d2e Author: Dennis Gilmore <dennis@ausil.us> Date: Wed Feb 8 13:05:28 2012 -0600 add Fedora 17 mock configs commit dda54180cfb8ed4d3139c4c661739fd1ad77713f Author: Dennis Gilmore <dennis@ausil.us> Date: Wed Feb 8 13:04:41 2012 -0600 have configs reflect the dropping of dist- for koji repos commit 764510a45d4276f2d03a0e890594fd933f19ab81 Author: Dennis Gilmore <dennis@ausil.us> Date: Wed Feb 8 13:00:09 2012 -0600 add configs for arm hardware floating point commit 332b231a9fac8a7799d0830ae14301172bea3f07 Author: Clark Williams <williams@redhat.com> Date: Wed Feb 1 10:10:55 2012 -0600 updated specfile changelog Signed-off-by: Clark Williams <williams@redhat.com> commit ccfc8d2d9cf8cf8847f0228cacf53dcc0923db8f Author: Clark Williams <williams@redhat.com> Date: Wed Feb 1 08:51:07 2012 -0600 version bump to 1.1.20 Signed-off-by: Clark Williams <williams@redhat.com> commit 86bdf649e53cfffcaa3e1bcafd22fee7556c42a7 Author: Clark Williams <williams@redhat.com> Date: Mon Jan 30 16:10:05 2012 -0600 change [local] repo definition for f16+ configs [BZ# 753735] Change the path for koji local build repositories to match current convention for f16 and later released distributions. This is essentialy: s/dist-f16-build/f16-build/ for all the fedora-16-*.cfg files. Signed-off-by: Clark Williams <williams@redhat.com> commit 742f26240abfca3b58da7647a9033479457b880c Author: Clark Williams <williams@redhat.com> Date: Mon Jan 30 15:55:36 2012 -0600 change back to mockbuild.util.do() when handling createrepo option [BZ# 783926] Don't run createrepo inside the chroot. Signed-off-by: Clark Williams <williams@redhat.com> commit 28b72d74c4ce2b7b14b1416a969a20a54dab1608 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Jan 15 22:03:40 2012 +0200 Allow setting https, ftp, and no proxy in addition to http. commit cec56d7d10c0c21c7b09807b938858a545f2e402 Author: Clark Williams <williams@redhat.com> Date: Sat Jan 14 10:58:20 2012 -0600 fix missing files from Makefile.am Signed-off-by: Clark Williams <williams@redhat.com> commit 49502d7d3f2b23660fcfdd0618ae43dd12082550 Author: Clark Williams <williams@redhat.com> Date: Fri Jan 13 12:15:51 2012 -0600 version bump to 1.1.19 Signed-off-by: Clark Williams <williams@redhat.com> commit 50e5ccb2029da8286422ea73cd8f946ca6e7023c Author: Clark Williams <williams@redhat.com> Date: Fri Jan 13 10:18:29 2012 -0600 added header output for test sections Signed-off-by: Clark Williams <williams@redhat.com> commit 2f9394d5b9fb3a846b419a755be33b47695474b4 Author: Clark Williams <williams@redhat.com> Date: Sun Jan 8 23:04:28 2012 -0600 Added a mount plugin for handling additional user-specified mounts. Note that this code is mostly Daniel Mach's code; I just adapted it to take advantage of the mount handling code I recently added. Signed-off-by: Clark Williams <williams@redhat.com> commit b0082a5d9d274eabb685ab5eda39d01352581364 Author: Marko Myllynen <myllynen@redhat.com> Date: Wed Jan 4 10:20:25 2012 -0600 Allow mock repos to use yum priorities [BZ# 771604] Add support to allow use of the yum-priorities plugin with yum repositories used by mock. Signed-off-by: Clark Williams <williams@redhat.com> commit 22c6aab81336598e363e99d02650c2d6a67e587a Author: Clark Williams <williams@redhat.com> Date: Tue Jan 3 11:30:23 2012 -0600 modify do_rebuild() to use chroot function doChroot() Use the doChroot() function to pickup environment changes from configs rather than default environment. Signed-off-by: Clark Williams <williams@redhat.com> commit 28dd48787d26ca2b4edc9c3c84cab31cdcc30e6d Author: Alfred <alfred@leakybucket.org> Date: Mon Jan 2 10:35:57 2012 -0600 fix dangling symlink when using SCM [BZ# 758781] resolve errors being eaten by too many try/except blocks Signed-off-by: Clark Williams <williams@redhat.com> commit 5ca5fd69752bab22a8d742beabc8cdcb166de9a0 Author: Clark Williams <williams@redhat.com> Date: Mon Jan 2 10:16:58 2012 -0600 remove setting TMPDIR in chroot environment [BZ# 769728] Don't set TMPDIR in default environment as this breaks the eclipse build. Signed-off-by: Clark Williams <williams@redhat.com> commit f30ce762a6f468eb6e6607ff7a282a9a0126ca22 Author: Clark Williams <williams@redhat.com> Date: Mon Jan 2 10:10:28 2012 -0600 add code to allow global proxy in chroot [BZ# 766199] add code to make sure 'http_proxy' is a supported environment variable and allow it's setting in config files. Signed-off-by: Clark Williams <williams@redhat.com> commit f9f02706cf0690abe9e2cc9ea258baf754c5ff95 Author: Clark Williams <williams@redhat.com> Date: Sat Dec 10 12:45:52 2011 -0600 explicitly set unprivileged umask in --shell [BZ# 747119] Setup a umask of 002 for unprivliged shell operations inside the chroot Signed-off-by: Clark Williams <williams@redhat.com> commit d942492dbc3ea3c894814e4303f417ad2f9fc8fa Author: Clark Williams <williams@redhat.com> Date: Fri Dec 9 16:36:07 2011 -0600 add bind-mount config to create sourcedirs [BZ# 706174] Add a config to enable and logic to create non-existent source dirs for bind mounts Signed-off-by: Clark Williams <williams@redhat.com> commit 96327ea5104fce6b2dddd1722d2b7c0aefaafe37 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 9 13:52:36 2011 -0600 move mount management into classes Create a MountPoint class as the base class for file system mountpoints and bind mountpoints. Add the FileSystemMountPoint and BindMountPoint as derived classes from Mountpoint. Add Mounts class to handle all mountpoints. Change call sites in backend.py and plugins to use mount classes rather than directly specifying mount/umount command lines. Signed-off-by: Clark Williams <williams@redhat.com> commit 0d00ab789312993eab310b0d2e17b5cb3f7e01c5 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Dec 3 15:30:57 2011 +0200 Get rid of chrootEnvUpdate, just update backend env directly, and always pass it. commit caedf8837a14073b01e730552d1e26e38f40d9c5 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Dec 3 14:52:17 2011 +0200 Log env when executing commands. commit 00bb54da1c36a43238dd816d2964ff8f06e22af0 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Dec 3 14:47:50 2011 +0200 Fix fallout from previous merge. commit 655f3ae3a168d40bb9099832d08ff4355d062139 Merge: fcf09f5 9cd9bd7 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 2 16:04:46 2011 -0600 Merge remote-tracking branch 'origin/master' Conflicts: py/mockbuild/backend.py py/mockbuild/util.py commit fcf09f56e65040d7ecbb9efde71098f315d93e2f Author: Clark Williams <williams@redhat.com> Date: Sun Nov 27 16:03:06 2011 -0600 version bump to 1.1.18 Signed-off-by: Clark Williams <williams@redhat.com> commit 1655b78b882c7d890a257002fb3d6512b8f25b05 Author: Clark Williams <williams@redhat.com> Date: Sun Nov 27 15:26:11 2011 -0600 add 'lazy umount 'option to all umount commands Still trying to deal with something weird in the EPEL4 C library that causes umount failures. Add lazy umount option in attempt to avoid this. Signed-off-by: Clark Williams <williams@redhat.com> commit 73ed7853c9f55448bdc3634078163c3c85c509a9 Merge: fea2998 18bec6d Author: Clark Williams <williams@redhat.com> Date: Sat Nov 26 10:35:52 2011 -0600 Merge branch 'master' into work commit 9cd9bd7f7b50b8fca76ac98c8aa4665fe124e54b Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Nov 20 21:09:19 2011 +0200 Wrap long comment lines in site-defaults.cfg. commit 09defd7a364b56d444304a61d3eee9d7b9ba1d31 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Nov 20 21:06:06 2011 +0200 Add option for enabling ccache compression. See CCACHE_COMPRESS in ccache(1). commit b3b983dc4a417c08ef4bd4f96716f30ff6c73227 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Nov 20 20:52:37 2011 +0200 Allow mock to work for users whose only (primary) group membership is "mock". commit 70c38cb1b36da1301f7d3df23d788d49d70c6371 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Nov 20 20:49:42 2011 +0200 Fix ccache environment setup (broken since 1.1.16). commit 9149d2661347e6ed43737f0217057715a675b334 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Nov 20 20:45:21 2011 +0200 Add chrootEnvUpdate dict to root for adding to/overriding chroot environment. commit fea29985c2d8fb98dabaac337ff4249893947349 Author: Clark Williams <williams@redhat.com> Date: Fri Nov 18 16:24:04 2011 -0600 remove TZ from default environent [BZ# 75701] Don't set TZ environent variable in chroot since this breaks the previous behavior of copying /etc/localtime into the chroot Signed-off-by: Clark Williams <williams@redhat.com> commit 4a0bfae354508acbfcd45e3ffbac82765aaf6baf Author: Clark Williams <williams@redhat.com> Date: Thu Oct 13 11:02:25 2011 -0500 unbuffer output from --chroot command [BZ# 744761] Add an argument to mockbuild.do to cause output from the command being run to be printed immediately rather than being buffered until the commnand completes. Signed-off-by: Clark Williams <williams@redhat.com> commit 3e2dcf3cc27a622bf2652c0bd649d9bd5102e034 Author: Clark Williams <williams@redhat.com> Date: Fri Nov 11 14:50:29 2011 -0600 add code to tmpfs plugin to try a force umount on umount fail The epel-4 chroots have something that causes the umount of a tmpfs root to fail sporadically. This commit adds code to the exception logic which triggers a umount -n -f on the tmpfs partition of the regular umount fails. Signed-off-by: Clark Williams <williams@redhat.com> commit df808b6abfd20aaf567a62c5db7dec94ce17a7c6 Author: Clark Williams <williams@redhat.com> Date: Fri Nov 11 14:10:51 2011 -0600 prevent exceptions when showing installed packages on EPEL-4 EPEL-4 rpm database format is usually different from latest Fedora and EPEL-6, so the 'rpm -q -a' run following an init will fail. Ignore the failure. Signed-off-by: Clark Williams <williams@redhat.com> commit 9b0013c4185d002c806e3a8286eee4d2834085d9 Author: Davi Arnaut <davi.arnaut@gmail.com> Date: Fri Nov 11 12:59:27 2011 -0600 set chroot environment variables from config files [BZ# 753179] Modification to allow setting of chroot environment variables from mock config files. Signed-off-by: Clark Williams <williams@redhat.com> commit ae3703cc9a968db690ce677e108c5d4dd6dc21d7 Author: Clark Williams <williams@redhat.com> Date: Wed Nov 2 11:31:57 2011 -0500 added -debug stanzas in configs [BZ# 610823] Added {epel, fedora, updates}-debug stanzas to the configs for use when debugging with --shell. All debug stanzas are disabled by default. Signed-off-by: Clark Williams <williams@redhat.com> commit 18bec6d3573a90c59f8991f56e6c8160bcc1a9cc Author: Clark Williams <williams@redhat.com> Date: Wed Nov 2 11:31:57 2011 -0500 added -debug stanzas in configs Added {epel, fedora, updates}-debug stanzas to the configs for use when debugging with --shell. All debug stanzas are disabled by default. Signed-off-by: Clark Williams <williams@redhat.com> commit 615c5184542308814b1227e8a19cd33175466d7c Author: Clark Williams <williams@redhat.com> Date: Wed Nov 2 11:29:57 2011 -0500 deleted unused (or cannot be used) configs The fedora-14 ppc* and sparc* configs are not usable due to no repositories for them. Likewise the fedora-15 ppc* repos are not planned to be updated. Signed-off-by: Clark Williams <williams@redhat.com> commit d679c243fdcd28842fafab2380d1bee7225c1ac9 Author: Clark Williams <williams@redhat.com> Date: Wed Nov 2 11:20:16 2011 -0500 report package contents of chroot after init [BZ# 736858] Add a routine which sends the output of 'rpm -q -a' to the root log after the init routine is finished. Signed-off-by: Clark Williams <williams@redhat.com> commit 891b1cc796b508f73db8ca59b523ab92d9412b92 Author: Clark Williams <williams@redhat.com> Date: Wed Nov 2 11:11:17 2011 -0500 add _umountall() call to clean [BZ# 502922] Added a call to _umountall() inside the clean routine just before we start deleting files, to prevent accidentally nuking things like /dev. Also add a parameter to _umountall (nowarn, defaults to False) to prevent unnecessary warnings. Signed-off-by: Clark Williams <williams@redhat.com> commit 58553253124c442929c9c632b28052ef929d13db Author: Clark Williams <williams@redhat.com> Date: Wed Nov 2 09:53:08 2011 -0500 updated checklist overview and 1.1 checklist Added copy of tarballs to fedorahosted. Also reworked the release checklist overview. Signed-off-by: Clark Williams <williams@redhat.com> commit af4821ccf5a7172bce64b9620cf44765e346d2f7 Author: Clark Williams <williams@redhat.com> Date: Tue Nov 1 16:41:01 2011 -0500 initial checkin of script to check URL validity Signed-off-by: Clark Williams <williams@redhat.com> commit 0551cb6ef17c0c480ff891b298db5f80e67dfcbe Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 20 20:30:44 2011 +0300 Tweak child return code debug message. commit 5ccc10d7e01de6d97a3f4ea5ec0a7c247d88de09 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 20 20:29:46 2011 +0300 Add --remove command. commit f9e35bc930952fbf32396eda5841cb10cca27f93 Author: Clark Williams <williams@redhat.com> Date: Mon Oct 31 17:04:38 2011 -0500 added ville to changelog Signed-off-by: Clark Williams <williams@redhat.com> commit 477efb0a7f5bc24da3e6e2ef7c221368b95073e7 Author: Clark Williams <williams@redhat.com> Date: Mon Oct 31 15:58:48 2011 -0500 version bump to 1.1.17 Signed-off-by: Clark Williams <williams@redhat.com> commit 56868a9b75219fc62cdacb88e9993378c7c6f1e4 Author: Clark Williams <williams@redhat.com> Date: Mon Oct 31 09:33:03 2011 -0500 fix shell command handling The recent rework of shell/chroot broke the handling of commands passed into the --shell option. Fix this. Signed-off-by: Clark Williams <williams@redhat.com> commit adf1f2adb4bbc4c1585a0b7f3aeb4a0acbe6831d Author: Clark Williams <williams@redhat.com> Date: Sat Oct 29 12:42:59 2011 -0500 added files to .gitignore Signed-off-by: Clark Williams <williams@redhat.com> commit ae8fde8ff6a5ac94eb23af5fbbff2e08a2f85b65 Author: Marko Myllynen <myllynen@redhat.com> Date: Thu Oct 27 13:28:23 2011 +0300 Fix SCM integration on RHEL 5 It turned out that RPM Python API differs between RHEL 5/RHEL 6. Also, RHEL 5 tar does not have --xform, rewrite tarball building not to depend on it. commit ac81fa129642070c8421ed17214360ea085da942 Author: Clark Williams <williams@redhat.com> Date: Sat Oct 29 11:17:44 2011 -0500 modifications to --shell behavior Modify the --shell behavior to default to root uid in the chroot, but allow mockbuild uid/gid with the --unpriv option. Also add a config, 'no_root_shells' to disallow interactive root shells. This option implies --nopriv behavior. Signed-off-by: Clark Williams <williams@redhat.com> commit 050f2ebefb714dba9f976bb2fbe90a523b4b6589 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Oct 15 23:35:04 2011 +0300 Tweak --installdeps without SRPM error message. commit 403bb48b365995bb327cf0d8e00b22fc63143b3e Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Oct 15 23:32:57 2011 +0300 bash completion: Treat install like --install. commit 2d05bfad4a4acadd735ab636e6dfb2c5da569fa4 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Oct 15 23:31:33 2011 +0300 bash completion: Don't offer SRPMs for --install. commit 1805c4c59f423dc39759a19cc1e30e7700590488 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Oct 15 23:18:41 2011 +0300 bash completion: Don't trigger yum list for install args starting with ".". commit 92ff6cd958339bd6c28046c14d61970f850fd7c2 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Oct 15 23:16:06 2011 +0300 bash completion: Use [[ instead of [. commit 978446911f21a933397c5cb4379bf6b9c2068a9b Merge: 588ef71 a0e6d6c Author: Clark Williams <williams@redhat.com> Date: Fri Oct 14 08:55:00 2011 -0500 Merge remote-tracking branch 'origin/master' commit 588ef71feeb2393ac64b506b2555574c2c6a4d30 Author: Clark Williams <williams@redhat.com> Date: Thu Oct 13 22:41:49 2011 -0500 version bump to 1.1.16 Signed-off-by: Clark Williams <williams@redhat.com> commit 996832b8ee531b24fe314293fe6117341f5f09dd Author: Clark Williams <williams@redhat.com> Date: Thu Oct 13 22:00:43 2011 -0500 add the --one-file-system option to root_cache creation Adapted patch from Piotr Romanus <tytus64@gmail.com> to tell tar not to cross filesystem boundaries when creating root cache archives. Signed-off-by: Clark Williams <williams@redhat.com> commit 541909892e14b56e6d5be32478de1113d7d7bacd Author: Clark Williams <williams@redhat.com> Date: Thu Oct 13 21:58:37 2011 -0500 added a PATH environment to chroot environment regression tests showed that gcc was failing when run with a --chroot command, due to inability to find compiler file cc1. Add a default PATH to the clean environment to fix this. Signed-off-by: Clark Williams <williams@redhat.com> commit a20b5932743defdb1d3f67c65b28c3c2d0e0cc65 Author: Clark Williams <williams@redhat.com> Date: Thu Oct 13 21:56:30 2011 -0500 fixed --shell command to return shell exit value modified the shell() command to return the exit status of the shell run inside the chroot and modified the main logic to exit with this status after a --shell command. Signed-off-by: Clark Williams <williams@redhat.com> commit 7c07b38e536e8a463509e2a95d44cd01a243fe93 Author: Clark Williams <williams@redhat.com> Date: Thu Oct 13 13:09:52 2011 -0500 Clear environment when running chroot command [BZ# 619533] Use new function clean_env() to generate a reduced environment before running commands inside the chroot. Also, figured out I needed to set PROMPT_COMMAND environment to a command that echo's something prior to the bash prompt. Set it to 'echo -n "<mock-chroot>"' Signed-off-by: Clark Williams <williams@redhat.com> commit 9a0526dacd482739db94938ce434b4dbb247aac7 Author: Marko Myllynen <myllynen@redhat.com> Date: Thu Oct 13 13:18:32 2011 +0300 Fix Git timestamp adjusting commit 020cb266b775eb7c927e20ec67f8336397da1ffe Author: Clark Williams <williams@redhat.com> Date: Wed Oct 12 17:36:28 2011 -0500 removed erroneous exclude from /etc/mock/*-x86_64.cfg [BZ# 533762] Somehow epel-{4,5}-x86_64.cfg got missed when removing this from the other configs. Now it's really gone. Signed-off-by: Clark Williams <williams@redhat.com> commit 6cbb7e3a32de4b0ea63bfe4b103a8589e1f76b79 Author: Marko Myllynen <myllynen@redhat.com> Date: Mon Sep 12 13:22:57 2011 +0300 Support for setting timestamps for Git checkouts [BZ# 745396] CVS sets timestamps by default. Subversion can be configured in ~/.subversion to do the same. Git doesn't support this. Add a configuration option to allow setting timestamps for Git checkout to last modification time instead of checkout time. commit adca4a9c4bae064679a3f3b80987e7c5bc242fd7 Author: Marko Myllynen <myllynen@redhat.com> Date: Mon Sep 12 13:19:06 2011 +0300 Set HOME properly when doing SCM checkouts [BZ# 745394] Tools like Subversion might have some settings under $HOME (e.g., related to certificates) needed for non-interactive checkouts. commit ab6d21b278b30de068507b87de198d02259a6561 Author: Clark Williams <williams@redhat.com> Date: Wed Oct 12 15:53:51 2011 -0500 exclude bind mounts from root cache images [BZ# 744727] check for bind mounts in the root cache plugin and if they exists, generate --exclude arguments to tar before generating the root cache image. Also, add an 'exclude_dirs' config parameter for the root cache plugin. Signed-off-by: Clark Williams <williams@redhat.com> commit 72f3506f82322c2bcd7182e2db6aad6587f43404 Author: Clark Williams <williams@redhat.com> Date: Wed Oct 12 14:27:24 2011 -0500 validate input arguments --spec and --sources [BZ# 743173] Check that the input argument to --spec is an actual file and that the argument to --sources is an actual directory *before* starting any work. Signed-off-by: Clark Williams <williams@redhat.com> commit 39e0073ac469c2ab01883e299a10552c291a827b Author: Yury V. Zaytsev <yury@shurup.com> Date: Sat Sep 24 18:47:24 2011 +0200 mock.py: fix incorrect-fsf-address rpmlint warning [BZ# 741068] Signed-off-by: Yury V. Zaytsev <yury@shurup.com> commit 5187cafa6907ea73dad671249f81e9e05cb19110 Author: Jan Vcelak <jvcelak@redhat.com> Date: Wed Aug 31 14:25:05 2011 +0200 util: resolve SELinux filesystem mountpoint [BZ# 734781] Since Fedora 16, SELinux filesystem is no longer mounted in /selinux but in /sys/fs/selinux. On affected systems, util.selinuxEnabled() always returns False. From this reason, SELinux plugin is not loaded. This patch adds autodetection for SELinux filesystem mountpoint. commit bc2b869576d15ce1b2037e822dbc809aa44c0c19 Author: Clark Williams <williams@redhat.com> Date: Wed Oct 12 13:53:25 2011 -0500 Modified hooks for bind_mount and tmpfs plugins Modified to use {pre,post}shell and {pre,post}chroot hooks for both bind_mount and tmpfs plugins. Signed-off-by: Clark Williams <williams@redhat.com> commit b1f18b0cb4c70e9542049963eefda508a4e3e23e Author: Clark Williams <williams@redhat.com> Date: Wed Oct 12 13:48:15 2011 -0500 moved shell and chroot commands into chroot object created shell and chroot methods in Root class so that both setup directories and devices the same as is done for a package rebuild. Signed-off-by: Clark Williams <williams@redhat.com> commit a0e6d6c9a2b4f4ced690817781ab8c09fbb91f00 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Wed Sep 28 22:56:16 2011 +0300 Fix result dir creation error handling. commit 317839c3ab102ff1311c128751699b5e70300a4f Author: Clark Williams <williams@redhat.com> Date: Fri Sep 23 14:38:26 2011 -0500 version bump to 1.1.15 Signed-off-by: Clark Williams <williams@redhat.com> commit a9f1f5956c6db547c84f1de77d966939cf027e21 Author: Clark Williams <williams@redhat.com> Date: Thu Sep 22 10:19:53 2011 -0500 clean up logging issues (BZ# 739550) Synchronize the /etc/mock/logging.ini names to names actually used in mock.py and mockbuild/backend.py. Signed-off-by: Clark Williams <williams@redhat.com> commit 8e4317c7ebbc785cdfb4738f7c486686d54f9e54 Author: Clark Williams <williams@redhat.com> Date: Thu Sep 22 10:16:54 2011 -0500 move cleanup of old RPM DB files (BZ# 738052) Move where mock backend removes old RPM db files from chroot to before where privledges dropped. Signed-off-by: Clark Williams <williams@redhat.com> commit 285b7997bda1a2089b82051cfdf38eeb9c597e17 Author: Yury V. Zaytsev <yury@shurup.com> Date: Wed Sep 21 11:32:26 2011 -0500 change 'with' to 'try/finally' in selinux plugin The 'with' statement and context managers only appeared in Python 2.5. RHEL5 ships Python 2.4, so using Python 2.5+ syntax breaks mock on RHEL5, unless the SELinux plugin is disabled. Signed-off-by: Clark Williams <williams@redhat.com> commit 3b288582a99c54505ba98d6bb1bfb9183120f265 Author: Clark Williams <williams@redhat.com> Date: Fri Sep 9 14:27:18 2011 -0500 version bump to 1.1.14 Signed-off-by: Clark Williams <williams@redhat.com> commit 5eaeb0090efc0385c72aee193777104c135ed03d Author: Toshio Ernie Kuratomi <a.badger@gmail.com> Date: Fri Sep 9 12:31:28 2011 -0500 Fix install path of mockbuild module and default path to module dir Fix missed modifications to Makefile and autoconf files for namespace collision avoidance Signed-off-by: Clark Williams <williams@redhat.com> commit 97fc09c20bc5b166c7d575c26544ae6e22aa22a1 Author: Clark Williams <williams@redhat.com> Date: Thu Sep 8 13:03:54 2011 -0500 version bump to 1.1.13 Signed-off-by: Clark Williams <williams@redhat.com> commit aa213e58d6408c78789d2fe4ce42cb84b5cfd31e Author: Giam Teck Choon <choon@choon.net> Date: Sat Sep 3 11:11:32 2011 -0500 add support for passing options to yum-buildep via mock cfg This patch add support for passing options to yum-buildep via mock cfg config_opts['yum_builddep_opts'] option. i.e.: config_opts['yum_builddep_opts'] = '--nogpgcheck' Without this patch, mock -r whatever-mock.cfg --installdeps /path/to/whatever.src.rpm will result in the following error: ERROR: Command failed: warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID e0da8890: NOKEY Error: Could not open /path/to/whatever.src.rpm . Try running yum-builddep with the --nogpgcheck option. There was a problem getting the build deps, exiting: Could not open local rpm file: /path/to/whatever.src.rpm: RPM Error opening Package Signed-off-by: Clark Williams <williams@redhat.com> commit 153d145595b3c8216aa4fb5a2b8db6c264ca5c74 Author: Kirby Zhou <kirbyzhou@sogou-inc.com> Date: Wed Aug 17 11:03:11 2011 -0500 remove rpmdb files before rebuilding SRPM [BZ# 719008] As a precaution to prevent RPM version conflicts, remove any /var/lib/rpm/__db* files in the chroot, before rebuilding the SRPM. Signed-off-by: Clark Williams <williams@redhat.com> commit d0419c5bdd0dce2b531dbae06ee4c8ef415b66b0 Author: Clark Williams <williams@redhat.com> Date: Wed Aug 17 10:15:10 2011 -0500 fix namespace collision with python-mock [BZ# 601725] Move installed python files from mock to mockbuild to get out of python-mock's namespace (even though we were here first). Signed-off-by: Clark Williams <williams@redhat.com> commit f63511b05e97d287c8ebb9525ec132c4b311836d Author: Marko Myllynen <myllynen@redhat.com> Date: Tue Aug 16 08:54:33 2011 -0500 integrate mock with RHN It turns out that integrating Mock with RHN is pretty trivial. The only requirement is to have the Yum RHN plugin installed on the build host and the host registered on RHN. Then one just needs to enable Yum plugins in a target configuration file (with plugins=1 in the [main] section of yum.conf) and to enable appropriate channels. For example, to create a RHEL 5 target one needs in the target configuration: ... config_opts['rhnplugin.conf'] = """ [main] enabled = 1 gpgcheck = 0 [rhel-i386-server-5] enabled = 1 [custom-channel] enabled = 1 gpgcheck = 0 """ config_opts['yum.conf'] = """ [main] ... plugins=1 [groups] name=groups baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/i386/ """ This has zero effect on existing target configurations: if Yum plugins are not explicitly enabled and the RHN plugin not configured, nothing changes. Signed-off-by: Clark Williams <williams@redhat.com> commit 6975d9e34567bb86d4491736f491f4160fd9dc8f Author: Clark Williams <williams@redhat.com> Date: Mon Aug 1 10:14:37 2011 -0500 change getLog().warn to getLog().warning for consistency Change calls to getLog().warn() to be getLog().warning(..) even though both will work. Also change the unit test in trace_decorator.py to try both versions. Signed-off-by: Clark Williams <williams@redhat.com> commit 39b7a599437e029a6ff039ff1ea8f610e77f13fe Author: Clark Williams <williams@redhat.com> Date: Thu Jul 28 09:59:48 2011 -0500 add exception for unshare(2) failures Add custom exception and exit code to allow higher level logic calling mock to retry when unshare(2) fails. Signed-off-by: Clark Williams <williams@redhat.com> commit 82562e110e7981932d59adb43f21d21a68434a83 Author: Clark Williams <williams@redhat.com> Date: Tue Jul 26 14:14:09 2011 -0500 version bump to 1.1.12 Signed-off-by: Clark Williams <williams@redhat.com> commit 15a50216c6da5fab831d366d85a1f799a8962a47 Author: Clark Williams <williams@redhat.com> Date: Tue Jul 26 13:44:51 2011 -0500 remove f13 configs Signed-off-by: Clark Williams <williams@redhat.com> commit 19f02f9c96c7a59ef0acce685336c4bc86bc25de Author: Clark Williams <williams@redhat.com> Date: Tue Jul 26 12:15:11 2011 -0500 add execption for when the unshare(2) call fails Signed-off-by: Clark Williams <williams@redhat.com> commit a46e471768f36d0ff8a3813a764583300a05d0c8 Author: Clark Williams <williams@redhat.com> Date: Mon Jul 25 12:06:17 2011 -0500 enabled epel6 configs and removed epel6 filtering in regression test script Signed-off-by: Clark Williams <williams@redhat.com> commit 2f2e3fa7de81cead1fee34cea00ad2a57d17309c Author: Clark Williams <williams@redhat.com> Date: Fri Jul 1 19:15:54 2011 -0500 setup mount of devpts on modern kernels Use option 'newinstance' when mounting /dev/pts inside the chroot and make sure that /dev/ptmx is a symlink to /dev/pts/ptmx. Do this only when hosted on a kernel of version 2.6.29 or greater. Signed-off-by: Clark Williams <williams@redhat.com> commit 5e63065eb8430944d2c3a4ac2f043de269cce723 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 1 19:11:47 2011 -0500 updated release directions Signed-off-by: Clark Williams <williams@redhat.com> commit 1a57fb71e62066a7360c335cee668a9a2416534e Author: Matt Domsch <Matt_Domsch@dell.com> Date: Fri Jun 24 09:33:04 2011 -0500 tmpfs fix Fixed typo in tmpfs plugin. Signed-off-by: Clark Williams <williams@redhat.com> commit a1870e273d2ca09577b9d129f0dec7d619d0a080 Merge: e92545f 8d545d8 Author: Clark Williams <williams@redhat.com> Date: Wed Jun 22 17:43:19 2011 -0500 Merge remote-tracking branch 'origin/master' commit e92545f4a9c0b395d8eec39308ce6dc74ad570bf Author: Clark Williams <williams@redhat.com> Date: Wed Jun 22 17:41:58 2011 -0500 version bump to 1.1.11 Signed-off-by: Clark Williams <williams@redhat.com> commit 104e6cb28c925c33a4db67c44b40f1e17dbd2519 Author: Clark Williams <williams@redhat.com> Date: Wed Jun 22 16:15:09 2011 -0500 added Fedora 16 configuration files Signed-off-by: Clark Williams <williams@redhat.com> commit ccda838032d02efcd019958da47cbfe48b10e34e Author: Clark Williams <williams@redhat.com> Date: Wed Jun 22 14:53:39 2011 -0500 remove 'newinstance' mount parameter from devpts filesystem mount (BZ# 711175) removed code that added 'newinstance' mount parameter to the mount for the devpts filesystem inside the chroot. This was being used (incorrectly) due to the thought that this should be a new instance of the filesystem. Its use prevents use of pts's inside the chroot, so dropping it. Signed-off-by: Clark Williams <williams@redhat.com> commit 542bcdaca22ee9e44212ed6e63118172af28430d Author: Yury V. Zaytsev <yury@shurup.com> Date: Wed Jun 22 09:06:04 2011 -0500 Fix inconsistent permissions fixing on /var/cache/mock in SPEC template (BZ 715286) Mode for /var/lib/mock overidden incorrectly in %post. Fixed as well as removing redundant chmod in %install. Signed-off-by: Clark Williams <williams@redhat.com> commit af49128e643c5b8bd896c114345a1dd14c9931b6 Merge: dcd670d ab8cbaa Author: Clark Williams <williams@redhat.com> Date: Tue Jun 21 19:37:04 2011 -0500 Merge branch 'work-chroot' into work commit ab8cbaab07c260b6f92a68c3b27136b7b729e762 Author: Clark Williams <williams@redhat.com> Date: Tue Jun 21 16:52:25 2011 -0500 modify --chroot command to print command output The --chroot command ignored output from the command run inside the chroot. Call doChroot() so that output from the command is returned and printed if non-null. Signed-off-by: Clark Williams <williams@redhat.com> commit dcd670d15326485725bbe9631114d7b51ba1e095 Author: Clark Williams <williams@redhat.com> Date: Mon Jun 13 09:37:27 2011 -0500 update the python requirement to >= 2.6 for 1.1.x mock branch Signed-off-by: Clark Williams <williams@redhat.com> commit 8d545d89e5a7dd0490c75127694e848b7db144a2 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Apr 24 18:14:56 2011 +0300 Unconfuse Emacs syntax highlighting. commit 112149e08e351372999e3a84e13795164f5e34a0 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Apr 24 18:13:03 2011 +0300 Use "declare -F" instead of "type" to check if a function exists. Avoids some stat calls when it doesn't. commit 364dc87376cec2dc9b7d66d4894e8ff875c82282 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Apr 24 15:28:24 2011 +0300 Make it clearer that macros in config_opts should be %-prefixed. commit 8019dbf8a40106dc9d03e8ce794e4fa39dce6133 Author: James Laska <jlaska@redhat.com> Date: Wed May 25 11:51:43 2011 -0500 fix log message typo in SELinux plugin The atexit except case for when mock fails to remove the faux /proc/filesystems file had a typo that threw another exception. Signed-off-by: Clark Williams <williams@redhat.com> commit 0dee1fb6c123b6b313217bd78a830d7c1f19bf82 Merge: 3de9810 52af389 Author: Clark Williams <williams@redhat.com> Date: Wed May 25 11:49:56 2011 -0500 Merge branch 'master' into work Conflicts: mock.spec.in py/mock.py py/mock/plugins/selinux.py commit 52af389e724468b4dfb031620d760537d85634c3 Author: Clark Williams <williams@redhat.com> Date: Fri May 13 14:10:28 2011 -0500 updated build procedure using fedpkg Signed-off-by: Clark Williams <williams@redhat.com> commit 004967415170e9da7a7f9db64b1c7fe3fad8f4ed Author: Clark Williams <williams@redhat.com> Date: Fri May 13 12:07:01 2011 -0500 version bump to 1.1.10 Signed-off-by: Clark Williams <williams@redhat.com> commit 8748f13358d62a3dbb22a4341c8ac5dba3ba99e1 Author: Dan Horák <dan@danny.cz> Date: Fri May 13 11:42:00 2011 -0500 Add s390 as legal target arch s390 is legal target architecture in Fedora/s390x Signed-off-by: Clark Williams <williams@redhat.com> commit 88b31e04e4c314a474991eeb4554246fa3d2df6d Author: Clark Williams <williams@redhat.com> Date: Fri May 13 10:41:32 2011 -0500 add wait to orphansKill() add an os.waitpid() call immediately following call to os.kill to try and reap hanging process after receipt of signal. Signed-off-by: Clark Williams <williams@redhat.com> commit 38e033916dc7de1c189182195f3507f71eeb661d Author: Clark Williams <williams@redhat.com> Date: Thu May 12 15:52:32 2011 -0500 modify cleanup code to try to kill orphan'ed chroot processes add list comprehension to mock.util.orphansKill() so that it only looks at PIDs; also add optional signal argument which defaults to SIGTERM. modify chroot clean() function to call mock.util.orphansKill() just prior to attempting to remove the chroot tree. Signed-off-by: Clark Williams <williams@redhat.com> commit 3b792c2c246aec1ae5d79309b20edc1693751517 Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:07:46 2011 -0500 make sure /var/cache/mock is group writable Make sure that /var/cache/mock is created with group write permissions so that mock group members can write to it. Signed-off-by: Clark Williams <williams@redhat.com> commit 742dd9cff4c38e92fa203bae65bf8acf35ffc059 Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:05:56 2011 -0500 don't raise exeception when running /sbin/fuser in _show_path_user() Don't fail if _show_path_user() has no output and returns a 1 status when running /sbin/fuse. Signed-off-by: Clark Williams <williams@redhat.com> commit f99285a5a049c0d96b16994b013b5ad56de6c06c Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:04:10 2011 -0500 check for existance of 'pigz' when specified in root_cache plugin If 'pigz' is th compression program specified in the config options and it doesn't exist, replace it with gzip. Signed-off-by: Clark Williams <williams@redhat.com> commit 0a2174b7a4e4f28b1ea54a7accbb03c960839674 Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:02:51 2011 -0500 warn on failure to umount tmpfs instead of fail Issue a warning that umount of tmpfs failed, rather than failing the build. We're running inside a separate namespace so mounts will be cleaned up on exit. Signed-off-by: Clark Williams <williams@redhat.com> commit b7133a1b1ed39b509bbdfbae912f773fad29bf1e Author: Mathieu Bridon <bochecha@fedoraproject.org> Date: Sat May 7 08:41:31 2011 -0500 fix chroot cleanup issues (BZ# 668222) The cleanup_on_success and cleanup_on_failure options suffer from 2 issues. First, if the options are specified in the configuration file and no resultdir was specified on the CLI, then those options will be forced to False (even if the resultdir is specified in the configuration file). Second, if the resultdir is specified but is a subdirectory of the build root, then we must not clean it, even though both are different. So the appropriate thing to do is to check if the real resultdir (not the one from the CLI parameters) is a subdirectory of the build root, which covers both issues. Signed-off-by: Clark Williams <williams@redhat.com> commit a4937ad47a71fdf6440e198265a873cb4bf71bb1 Author: Clark Williams <williams@redhat.com> Date: Fri May 6 16:13:48 2011 -0500 fixed problem where mock was not constrained to the chroot (BZ# 669733) Added a self.makeChrootPath(self.homedir) to call to os.walk() in _buildDirSetup() to make sure that mock stays within the chroot and doesn't affect files outside (found when /builddir exists in the host root filesystem). Reported-by: Jason Harvey <madasafan@gmail.com> Signed-off-by: Clark Williams <williams@redhat.com> commit 96b6f8dc3101e267226e92deb8fa881f83463b61 Author: Clark Williams <williams@redhat.com> Date: Fri May 6 16:02:20 2011 -0500 go back to creating device nodes for tty and ptmx in chroot /dev Get rid of the symlink to pty nonsense. Create device nodes for chroot /dev/tty and /dev/ptmx. Previous commit nukes controlling terminal inside chroot so accesses to /dev/tty should fail rather than hang. Signed-off-by: Clark Williams <williams@redhat.com> commit dc0eb21bb29a42d96937ba2a7e90761c1f56da4e Author: Clark Williams <williams@redhat.com> Date: Fri May 6 15:58:23 2011 -0500 change preexec function for chroot to call os.setsid() Change to calling os.setsid() rather than os.setpgrp() to absolutely nuke the controlling terminal in the chroot. This fixes some problems where packages were hanging when accessing /dev/tty in their test suites. Now when a package test suite tries to interact with the terminal it should fail rather than hang. Signed-off-by: Clark Williams <williams@redhat.com> commit 891780c3bb6e2193b15dfa7475ef132737da20f8 Author: Mathieu Bridon <bochecha@fedoraproject.org> Date: Wed May 11 11:36:49 2011 -0500 revert previous permissions/ownership fix for ccache The previous patch introduced a regression: in some situations (e.g default configuration), the unpriviledge user doesn't have the permissions to create the ccache dir if it doesn't exist. This patch creates the ccache dir as root and then changes ownership to the build user Signed-off-by: Clark Williams <williams@redhat.com> commit 0aab24daf347a0a727a3b3a1832d3ac9e7007b64 Author: Remi Collet <fedora@famillecollet.com> Date: Fri May 6 13:51:56 2011 -0500 Dropped privs inside ccache plugin init to create files as builder (BZ# 700983) When ccache dir is redirected in config config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc15i/" This folder is created, owned by root, so unusable. This change drops privs and creates the file as the non-root user. Signed-off-by: Clark Williams <williams@redhat.com> commit c64df9bbd96659a2a58f36323c2aa93f87a3ce9c Author: Levente Farkas <lfarkas@lfarkas.org> Date: Fri May 6 13:45:08 2011 -0500 added config_opt['macros'] to EPEL-5 configs for EPEL-6 fix (BZ# 695298) on all rhel-5 related conf file you should add this line: config_opts['macros']['%__arch_install_post'] = '%{nil}' since otherwise some build will fail on rhel-6 while building for rhel-5 since mock use the host's rpm and on rhel-5 it's nil while on rhel-6 it's /usr/lib/rpm/check-buildroot and since many rhel-5 packages buggy, thay won't compile in this way. Signed-off-by: Clark Williams <williams@redhat.com> commit 57192409e44a3705e866b1e31a5564ada5dbbb39 Author: Marko Myllynen <myllynen@redhat.com> Date: Mon May 9 10:08:43 2011 -0500 SCM: Support building Git tags Add a post get cmd for git which can't checkout a tag directly as CVS/SVN can. --- py/mock/scm.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Signed-off-by: Clark Williams <williams@redhat.com> commit 196e7610aaf8ab5736f44240df2116a600c9e9df Author: Marko Myllynen <myllynen@redhat.com> Date: Mon May 9 10:08:00 2011 -0500 Allow SCM checkouts over SSH Allow SCM checkouts over SSH by using SSH_AUTH_SOCK. The user is responsible for making sure that ~/.ssh/auth_sock is a link to a valid UNIX-domain socket. For example, before running mock, one needs to do: $ ln -sf $SSH_AUTH_SOCK ~/.ssh/auth_sock --- py/mock/scm.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Signed-off-by: Clark Williams <williams@redhat.com> commit fdf7d2c07f41f0075ad9ec5f433fcfab40fe8b4d Author: Marko Myllynen <myllynen@redhat.com> Date: Mon May 9 10:07:03 2011 -0500 Fetch and prepare sources from SCM when unprivileged Dropping postbuild hook usage allows running SCM operations before chroot has been setup. No need to know SELinux flag when cleaning under /tmp. --- py/mock.py | 14 +++++++------- py/mock/scm.py | 8 +++----- 2 files changed, 10 insertions(+), 12 deletions(- Signed-off-by: Clark Williams <williams@redhat.com> commit 4d7fa64f7e6b25d4e3400818e9e1bdc487403a94 Author: Jan Vcelak <jvcelak@redhat.com> Date: Wed Mar 9 16:13:56 2011 -0600 selinux: hook-independent faux filesystem mounting (BZ# 573111) Behavior changes: - create faux filesystem file in __init__ - set up mount/umount commands in __init__ instead of using pre* hooks - clean up by registering atexit function instead of postBuild hook (__del__ is not safe) Result: - faux filesystems is always mounted (even in --shell) - plugin won't crash when building multiple SRPMs - plugin will always delete temporary faux filesystem file Signed-off-by: Clark Williams <williams@redhat.com> commit 12effa2db30d640fd3382ff3c276c71f903d2aae Author: Clark Williams <williams@redhat.com> Date: Mon Mar 7 08:42:40 2011 -0600 Fix syntax error when creating /dev/tty on EPEL{4,5} (BZ# 675803) Incorrect parenthesis placement passed bogus arguments to the MakeChrootPath() method. Signed-off-by: Clark Williams <williams@redhat.com> commit 322d92f472e695fbc934c0191197daa2fce815d7 Author: Clark Williams <williams@redhat.com> Date: Mon Feb 21 09:17:07 2011 -0600 fixup SCM plugin fiasco (BZ# 670453) The SCM code cannot run as a plugin, as it needs to be able to do things before a Root object is created. Move it all back to the way Marko had it previously. Signed-off-by: Clark Williams <williams@redhat.com> commit 616ce37d9e52b52f9db3ae39c394fd71d4506044 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Apr 3 16:40:06 2011 +0300 Log end to state log. commit 5c98de44cab6089cbab5550ab1d418dba9c9abd7 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Mon Mar 7 22:12:49 2011 +0200 Run yum commands without shell, as sequences of args instead of strings. Fixes shell escaping issues like in '--install "perl(Foo::Bar)"'. As a side effect, chroot_setup_cmd can now be a list or a tuple in addition to a string in configs. commit c095e8912c4db33a398b7dba5bd6a9f8441401fe Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Feb 22 21:22:11 2011 +0200 Single-element tuple syntax fixes. commit 277903b1cfe78e32603d18c152075a350491b6e2 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Mon Feb 21 00:20:27 2011 +0200 Spelling fixes. commit 3de98108df6dc176b9a96d0ac7c4021339aa2c04 Merge: 3e72b15 1b2d4fd Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:08:45 2011 -0500 Merge branch 'master' into work commit 1b2d4fd5eea6dff01a07b081fe25f2a9e17b122c Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:07:46 2011 -0500 make sure /var/cache/mock is group writable Make sure that /var/cache/mock is created with group write permissions so that mock group members can write to it. Signed-off-by: Clark Williams <williams@redhat.com> commit 0714df0d8e5c76347decb6e55fe5f7b112e077e1 Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:05:56 2011 -0500 don't raise exeception when running /sbin/fuser in _show_path_user() Don't fail if _show_path_user() has no output and returns a 1 status when running /sbin/fuse. Signed-off-by: Clark Williams <williams@redhat.com> commit 9302268625a660456a347c20fb56313720e2e01a Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:04:10 2011 -0500 check for existance of 'pigz' when specified in root_cache plugin If 'pigz' is th compression program specified in the config options and it doesn't exist, replace it with gzip. Signed-off-by: Clark Williams <williams@redhat.com> commit a0d888043be33d3e5523f442c5bf941822b66daf Author: Clark Williams <williams@redhat.com> Date: Wed May 11 17:02:51 2011 -0500 warn on failure to umount tmpfs instead of fail Issue a warning that umount of tmpfs failed, rather than failing the build. We're running inside a separate namespace so mounts will be cleaned up on exit. Signed-off-by: Clark Williams <williams@redhat.com> commit 7cfaabfc90d77b5fe0065c037c74fe178bc1c044 Author: Mathieu Bridon <bochecha@fedoraproject.org> Date: Wed May 11 11:36:49 2011 -0500 revert previous permissions/ownership fix for ccache The previous patch introduced a regression: in some situations (e.g default configuration), the unpriviledge user doesn't have the permissions to create the ccache dir if it doesn't exist. This patch creates the ccache dir as root and then changes ownership to the build user Signed-off-by: Clark Williams <williams@redhat.com> commit 2b0cd580da8de74e2bbb9783ccdc79890ea9022e Merge: 8c5e928 8ebfa5a Author: Clark Williams <williams@redhat.com> Date: Mon May 9 10:51:19 2011 -0500 Merge branch 'working-release' commit 3e72b1572119560574822f593889cb06aaa4d037 Merge: d4fe21e 8ebfa5a Author: Clark Williams <williams@redhat.com> Date: Mon May 9 10:50:22 2011 -0500 Merge branch 'working-release' into work commit 8ebfa5acf3d031dccd6efdaa50a0eb0a182bfe7e Author: Clark Williams <williams@redhat.com> Date: Sun May 8 14:57:47 2011 -0500 update version information to 1.1.10 Signed-off-by: Clark Williams <williams@redhat.com> commit 4fea039b500318e281f0ccd316b37f27d9022f30 Author: Mathieu Bridon <bochecha@fedoraproject.org> Date: Sat May 7 08:41:31 2011 -0500 fix chroot cleanup issues (BZ# 668222) The cleanup_on_success and cleanup_on_failure options suffer from 2 issues. First, if the options are specified in the configuration file and no resultdir was specified on the CLI, then those options will be forced to False (even if the resultdir is specified in the configuration file). Second, if the resultdir is specified but is a subdirectory of the build root, then we must not clean it, even though both are different. So the appropriate thing to do is to check if the real resultdir (not the one from the CLI parameters) is a subdirectory of the build root, which covers both issues. Signed-off-by: Clark Williams <williams@redhat.com> commit 2dbf8994cd641756ba5846d8bc4cf43065202631 Author: Clark Williams <williams@redhat.com> Date: Sat May 7 08:04:45 2011 -0500 rewrote part of selinux plugin to use older python code The 'with' construct used is only available in python 2.5+ so rewrote to just use a for loop so will work on EL5 Signed-off-by: Clark Williams <williams@redhat.com> commit b7b5e1542aded38a5d90c727d17dde3d89939010 Author: Clark Williams <williams@redhat.com> Date: Fri May 6 16:13:48 2011 -0500 fixed problem where mock was not constrained to the chroot (BZ# 669733) Added a self.makeChrootPath(self.homedir) to call to os.walk() in _buildDirSetup() to make sure that mock stays within the chroot and doesn't affect files outside (found when /builddir exists in the host root filesystem). Reported-by: Jason Harvey <madasafan@gmail.com> Signed-off-by: Clark Williams <williams@redhat.com> commit 8e4ba8fc2f112270efb4486be885d292b6cf25b9 Author: Clark Williams <williams@redhat.com> Date: Fri May 6 16:02:20 2011 -0500 go back to creating device nodes for tty and ptmx in chroot /dev Get rid of the symlink to pty nonsense. Create device nodes for chroot /dev/tty and /dev/ptmx. Previous commit nukes controlling terminal inside chroot so accesses to /dev/tty should fail rather than hang. Signed-off-by: Clark Williams <williams@redhat.com> commit 3c21db18a742f21dd267795211bc35871e51d762 Author: Clark Williams <williams@redhat.com> Date: Fri May 6 15:58:23 2011 -0500 change preexec function for chroot to call os.setsid() Change to calling os.setsid() rather than os.setpgrp() to absolutely nuke the controlling terminal in the chroot. This fixes some problems where packages were hanging when accessing /dev/tty in their test suites. Now when a package test suite tries to interact with the terminal it should fail rather than hang. Signed-off-by: Clark Williams <williams@redhat.com> commit 967918e123703e380bce4700f58d0ad08d2c5f79 Author: Remi Collet <fedora@famillecollet.com> Date: Fri May 6 13:51:56 2011 -0500 Dropped privs inside ccache plugin init to create files as builder (BZ# 700983) When ccache dir is redirected in config config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc15i/" This folder is created, owned by root, so unusable. This change drops privs and creates the file as the non-root user. Signed-off-by: Clark Williams <williams@redhat.com> commit 7af715b20815719bf4d0b1daba0da2c0ac9fb021 Author: Levente Farkas <lfarkas@lfarkas.org> Date: Fri May 6 13:45:08 2011 -0500 added config_opt['macros'] to EPEL-5 configs for EPEL-6 fix (BZ# 695298) on all rhel-5 related conf file you should add this line: config_opts['macros']['%__arch_install_post'] = '%{nil}' since otherwise some build will fail on rhel-6 while building for rhel-5 since mock use the host's rpm and on rhel-5 it's nil while on rhel-6 it's /usr/lib/rpm/check-buildroot and since many rhel-5 packages buggy, thay won't compile in this way. Signed-off-by: Clark Williams <williams@redhat.com> commit 56cc7959ebc3e584f2b22186a858ce40a0c355dd Author: Marko Myllynen <myllynen@redhat.com> Date: Mon May 9 10:08:43 2011 -0500 SCM: Support building Git tags Add a post get cmd for git which can't checkout a tag directly as CVS/SVN can. --- py/mock/scm.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Signed-off-by: Clark Williams <williams@redhat.com> commit 1a7bb90dcdb71d3f1abe7bbf0f2a89d19a7cc1a2 Author: Marko Myllynen <myllynen@redhat.com> Date: Mon May 9 10:08:00 2011 -0500 Allow SCM checkouts over SSH Allow SCM checkouts over SSH by using SSH_AUTH_SOCK. The user is responsible for making sure that ~/.ssh/auth_sock is a link to a valid UNIX-domain socket. For example, before running mock, one needs to do: $ ln -sf $SSH_AUTH_SOCK ~/.ssh/auth_sock --- py/mock/scm.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Signed-off-by: Clark Williams <williams@redhat.com> commit 746c58ed8ac0d55694f7e3da444b7b902f207476 Author: Marko Myllynen <myllynen@redhat.com> Date: Mon May 9 10:07:03 2011 -0500 Fetch and prepare sources from SCM when unprivileged Dropping postbuild hook usage allows running SCM operations before chroot has been setup. No need to know SELinux flag when cleaning under /tmp. --- py/mock.py | 14 +++++++------- py/mock/scm.py | 8 +++----- 2 files changed, 10 insertions(+), 12 deletions(- Signed-off-by: Clark Williams <williams@redhat.com> commit 3f627743fb490dc4a17fe489be8926f62baf031c Author: Jan Vcelak <jvcelak@redhat.com> Date: Wed Mar 9 16:13:56 2011 -0600 selinux: hook-independent faux filesystem mounting (BZ# 573111) Behavior changes: - create faux filesystem file in __init__ - set up mount/umount commands in __init__ instead of using pre* hooks - clean up by registering atexit function instead of postBuild hook (__del__ is not safe) Result: - faux filesystems is always mounted (even in --shell) - plugin won't crash when building multiple SRPMs - plugin will always delete temporary faux filesystem file Signed-off-by: Clark Williams <williams@redhat.com> commit b264459dc5b1409ea23b6a0eae2ce1c7128eb5af Author: Clark Williams <williams@redhat.com> Date: Mon Mar 7 08:42:40 2011 -0600 Fix syntax error when creating /dev/tty on EPEL{4,5} (BZ# 675803) Incorrect parenthesis placement passed bogus arguments to the MakeChrootPath() method. Signed-off-by: Clark Williams <williams@redhat.com> commit beba8b4d4d48da84119bbddc0f308edbd0c94c44 Author: Clark Williams <williams@redhat.com> Date: Mon Feb 21 09:17:07 2011 -0600 fixup SCM plugin fiasco (BZ# 670453) The SCM code cannot run as a plugin, as it needs to be able to do things before a Root object is created. Move it all back to the way Marko had it previously. Signed-off-by: Clark Williams <williams@redhat.com> commit ab907f3e5bd2ed68dd23f2237ab548cbc69a07e9 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Feb 22 21:22:11 2011 +0200 Single-element tuple syntax fixes. commit cfed7044f226d2291577a82ba3b9206db6e98f4b Author: Ville Skyttä <ville.skytta@iki.fi> Date: Mon Feb 21 00:20:27 2011 +0200 Spelling fixes. commit d4fe21eb3dfb776d9fbadcd0d142a9cbd848abda Author: Clark Williams <williams@redhat.com> Date: Sun May 8 14:57:47 2011 -0500 update version information to 1.1.10 Signed-off-by: Clark Williams <williams@redhat.com> commit 107840cc15265bc3c1b0669b1cb5b14da3cda54d Author: Mathieu Bridon <bochecha@fedoraproject.org> Date: Sat May 7 08:41:31 2011 -0500 fix chroot cleanup issues (BZ# 668222) The cleanup_on_success and cleanup_on_failure options suffer from 2 issues. First, if the options are specified in the configuration file and no resultdir was specified on the CLI, then those options will be forced to False (even if the resultdir is specified in the configuration file). Second, if the resultdir is specified but is a subdirectory of the build root, then we must not clean it, even though both are different. So the appropriate thing to do is to check if the real resultdir (not the one from the CLI parameters) is a subdirectory of the build root, which covers both issues. Signed-off-by: Clark Williams <williams@redhat.com> commit f6d20d37b48635d57bd14b1d405391f05337f95f Author: Clark Williams <williams@redhat.com> Date: Sat May 7 08:04:45 2011 -0500 rewrote part of selinux plugin to use older python code The 'with' construct used is only available in python 2.5+ so rewrote to just use a for loop so will work on EL5 Signed-off-by: Clark Williams <williams@redhat.com> commit c56203e687804b16f7f0a1cef09ebef11eff2790 Author: Clark Williams <williams@redhat.com> Date: Fri May 6 16:13:48 2011 -0500 fixed problem where mock was not constrained to the chroot (BZ# 669733) Added a self.makeChrootPath(self.homedir) to call to os.walk() in _buildDirSetup() to make sure that mock stays within the chroot and doesn't affect files outside (found when /builddir exists in the host root filesystem). Reported-by: Jason Harvey <madasafan@gmail.com> Signed-off-by: Clark Williams <williams@redhat.com> commit 503bcd94421646c3a4a29b88deac45cb55dc74de Author: Clark Williams <williams@redhat.com> Date: Fri May 6 16:02:20 2011 -0500 go back to creating device nodes for tty and ptmx in chroot /dev Get rid of the symlink to pty nonsense. Create device nodes for chroot /dev/tty and /dev/ptmx. Previous commit nukes controlling terminal inside chroot so accesses to /dev/tty should fail rather than hang. Signed-off-by: Clark Williams <williams@redhat.com> commit b23ef43657dea183a7dc2ffff68e7b29a57fd903 Author: Clark Williams <williams@redhat.com> Date: Fri May 6 15:58:23 2011 -0500 change preexec function for chroot to call os.setsid() Change to calling os.setsid() rather than os.setpgrp() to absolutely nuke the controlling terminal in the chroot. This fixes some problems where packages were hanging when accessing /dev/tty in their test suites. Signed-off-by: Clark Williams <williams@redhat.com> commit 7fde070a13151370dd664ac686383bb1360c675a Author: Remi Collet <fedora@famillecollet.com> Date: Fri May 6 13:51:56 2011 -0500 Dropped privs inside ccache plugin init to create files as builder (not root) When ccache dir is redirected in config config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc15i/" This folder is created, owned by root, so unusable. This change drops privs and creates the file as the non-root user. Signed-off-by: Clark Williams <williams@redhat.com> commit c38fff2478e5a04ae29f38ae0444d68269751aca Author: Levente Farkas <lfarkas@lfarkas.org> Date: Fri May 6 13:45:08 2011 -0500 added config_opt['macros'] to EPEL-5 configs for EPEL-6 fix on all rhel-5 related conf file you should add this line: config_opts['macros']['%__arch_install_post'] = '%{nil}' since otherwise some build will fail on rhel-6 while building for rhel-5 since mock use the host's rpm and on rhel-5 it's nil while on rhel-6 it's /usr/lib/rpm/check-buildroot and since many rhel-5 packages buggy, thay won't compile in this way. Signed-off-by: Clark Williams <williams@redhat.com> commit 8c5e9281b6385153e9157dab377aef51a39dbd9e Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Apr 3 16:40:06 2011 +0300 Log end to state log. commit d5a2e8f59f9dcd52f1847552ec0d2a353c8bbb27 Author: Clark Williams <williams@redhat.com> Date: Thu Mar 10 16:17:53 2011 -0600 enable setting up symlinks to /dev/ptmx in with --shell when --shell is specified on host systems F13+ or EL6, setup /dev/tty as a symlink to /dev/ptmx in the chroot filesystem. This will allow interactive commands to function properly inside the chroot. Signed-off-by: Clark Williams <williams@redhat.com> commit 2db958cd09320117d1f97426f8fc7f8c74aea9c0 Author: Clark Williams <williams@redhat.com> Date: Thu Mar 10 12:57:20 2011 -0600 force creation of /dev/ptmx and /dev/tty for --shell (BZ# 683111) Create pseudo-terminal and controlling terminal devices when --shell is specified, so that interactive tools like "xterm" will work properly inside the chroot. Signed-off-by: Clark Williams <williams@redhat.com> commit aeb14699f73aa1fed598185fcd66400af832c101 Author: Jan Vcelak <jvcelak@redhat.com> Date: Wed Mar 9 16:13:56 2011 -0600 selinux: hook-independent faux filesystem mounting Behavior changes: - create faux filesystem file in __init__ - set up mount/umount commands in __init__ instead of using pre* hooks - clean up by registering atexit function instead of postBuild hook (__del__ is not safe) Result: - faux filesystems is always mounted (even in --shell) - plugin won't crash when building multiple SRPMs - plugin will always delete temporary faux filesystem file Signed-off-by: Clark Williams <williams@redhat.com> commit 1c8023c3bf54cad3c406c6268809b79fda5cc987 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Mon Mar 7 22:12:49 2011 +0200 Run yum commands without shell, as sequences of args instead of strings. Fixes shell escaping issues like in '--install "perl(Foo::Bar)"'. As a side effect, chroot_setup_cmd can now be a list or a tuple in addition to a string in configs. commit 821833a3ed9fdfc4b183d780e88dcaf7aac04927 Merge: 17dc13f 27b4532 Author: Clark Williams <williams@redhat.com> Date: Mon Mar 7 14:26:44 2011 -0600 Merge remote-tracking branch 'origin/master' into work commit 17dc13f964595ac39fcb0269b518747f8a3eda99 Author: Clark Williams <williams@redhat.com> Date: Mon Mar 7 08:42:40 2011 -0600 Fix syntax error when creating /dev/tty on EPEL{4,5} (BZ# 675803) Incorrect parenthesis placement passed bogus arguments to the MakeChrootPath() method. Signed-off-by: Clark Williams <williams@redhat.com> commit 27b45320b87d4ce67f4e225262a6c9f00003d500 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Feb 22 21:22:11 2011 +0200 Single-element tuple syntax fixes. commit 96fc81e35b65db3849bf47c27468f14dfedeaa57 Author: Clark Williams <williams@redhat.com> Date: Mon Feb 21 09:17:07 2011 -0600 fixup SCM plugin fiasco The SCM code cannot run as a plugin, as it needs to be able to do things before a Root object is created. Move it all back to the way Marko had it previously. Signed-off-by: Clark Williams <williams@redhat.com> commit 936401e242df59e552f1a05880c339beb2e88929 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Mon Feb 21 00:20:27 2011 +0200 Spelling fixes. commit 154f5dc484123dbf690a43b8a2acd218c904b588 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 18 17:18:30 2011 -0600 version bump to 1.1.9 Signed-off-by: Clark Williams <williams@redhat.com> commit 93382c14179aad33c5b45e7e20c75a0eabc6bd94 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 18 17:09:37 2011 -0600 add 'arm' to configs that are filtered out in tests We can't test arm when building Signed-off-by: Clark Williams <williams@redhat.com> commit 2c9874a117e7f2987cf8420853d8ff35a91bdf82 Merge: d81d89e 284b657 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 18 16:02:14 2011 -0600 Merge remote-tracking branch 'origin/master' into work commit 284b657f2aa72134f480d63a79085611de6854be Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Feb 18 15:49:57 2011 -0600 Revert "disable the updates repos for F-15 they dont yet exist" putting in empty repos This reverts commit ab871a1a254661b00b718ffe3dfa7475de4df96f. commit d81d89e66e34cee3bd88a4d0092cc4cd7dab2029 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 18 15:46:59 2011 -0600 reenable /dev/tty code for EL{4,5} package failures due to incorrect controlling tty are on F14+ and EL6. Re-enable setup of /dev/tty inside chroot for EL4 and EL5. Signed-off-by: Clark Williams <williams@redhat.com> commit 47db23ff85e7fb62b860302dbf5f17273933d74b Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Feb 18 15:35:39 2011 -0600 sparc64 boxes can build 32 bit sparc stuff commit 63cfbbfe6bfb1283e1016e8fc8d4b396963ea461 Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Feb 18 15:33:05 2011 -0600 add rawhide arm config commit b28f021dc5620eee09a59c778793997e961b87d8 Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Feb 18 15:30:28 2011 -0600 use the s390 mirrorlists for s390 configs commit ab871a1a254661b00b718ffe3dfa7475de4df96f Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Feb 18 15:29:52 2011 -0600 disable the updates repos for F-15 they dont yet exist commit b65d026efdc60262e8578c2fed51311d4dfbfec9 Author: Dennis Gilmore <dennis@ausil.us> Date: Fri Feb 18 15:27:30 2011 -0600 add the f15 mock configs commit 87f8137961db569f5bd349376820d26b8dabc00b Merge: 9afe90f 4418419 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 18 15:23:41 2011 -0600 Merge remote-tracking branch 'origin/master' into work Conflicts: py/mock.py py/mock/backend.py Fixed up conflicts with changes since last push Signed-off-by: Clark Williams <williams@redhat.com> commit 9afe90fec2118689e20af652d3756c93b9d06bdc Author: Clark Williams <williams@redhat.com> Date: Fri Feb 18 15:16:21 2011 -0600 commented out /dev/tty handling code in backend.py Prevent creation of /dev/tty (either special file or symlink to /dev/ptmx). This is so interactive test suites being built will not hang when attempting to talk to a controlling terminal Signed-off-by: Clark Williams <williams@redhat.com> commit 890d78f0dc12de159ce1cc5908ee415ac36f44f9 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 18 15:15:18 2011 -0600 remove autoconf version requirement and don't use PACKAGE_NAME macro did this to allow building/testing on RHEL5, which has an earlier version of autoconf Signed-off-by: Clark Williams <williams@redhat.com> commit 44184190eed851d327a4e9546d6a08865fe1dd1a Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Feb 13 11:00:59 2011 +0200 Delete trailing whitespace. commit 7fcffd0e5366daea20d3c2602054115878370ba3 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Feb 12 16:50:21 2011 +0200 Add --install bash completion. commit 469e8347b948b6733a9d6b8d3e0f16aeb969f4d6 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Jan 29 21:23:31 2011 +0200 Make --enable/disable-plugin completion work again. It was broken in 1.1.8 due to changed --enable/disable-plugin=DOES_NOT_EXIST error output format changes. commit e1f59fe1292a57e3cc05860416051729fdf1f6f4 Author: Jesse Keating <jkeating@redhat.com> Date: Tue Jan 25 14:11:11 2011 -0800 Make "dist" for rawhide configs be "rawhide" (#506157) This is better than chasing release numbers all the time. commit 293a71a70eeb2516a8940630b8fc187b7a8ffc3a Author: Jesse Keating <jkeating@redhat.com> Date: Tue Jan 25 14:04:28 2011 -0800 Revert "turn off updates-released repository for fedora-14 configs" This reverts commit 347b5a00b68ce61641725b156fa0a4b3ee830fd9. F14 has been released, updates should be enabled. commit f3714c01fad3b91e7b60fdbb7d971ef424689cc0 Author: Mike McLean <mikem@redhat.com> Date: Tue Jan 25 16:19:44 2011 -0500 fix typo in el4/5 /dev/tty creation (fh ticket #13, mwhiteley) commit d636d500fd7addff5dd8e177982a5037ea930a4f Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Jan 23 19:09:02 2011 +0200 Use completion goodies from bash-completion >= 1.2 if available. commit 8f925be698ed3956400a1758dc7b5b4c36c759ba Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Jan 23 18:59:21 2011 +0200 Add --scm-enable and --scm-option to bash completion. commit 2852f81cc298fe8d2b02e8b65e7cfdecc72d0c8a Author: Clark Williams <williams@redhat.com> Date: Fri Jan 21 13:30:43 2011 -0600 fix createrepo generated root-owned repository data (BZ# 668278) Temporarily drop privileges when generating yum repository from just built packages Signed-off-by: Clark Williams <williams@redhat.com> commit 6ec7982afb8d388bbe1dde4e827e62d943fdc9c5 Author: Clark Williams <williams@redhat.com> Date: Thu Jan 6 20:22:43 2011 -0600 version bump to 1.1.8 Signed-off-by: Clark Williams <williams@redhat.com> commit 438b10bc8509984bab94da3aa3a27c40a388ccf7 Author: Leonard den Ottolander <leonard-rh-bugzilla@den.ottolander.nl> Date: Thu Jan 6 11:56:52 2011 -0600 symlink /dev/tty to /dev/ptmx for modern host OS'es (BZ# 609201) If mock is being hosted on a RHEL4 or RHEL5 system then create the /dev/tty special device file in the chroot, otherwise just symlink it to /dev/ptmx. Signed-off-by: Clark Williams <williams@redhat.com> commit a23ca47fbc5c7f2aea0c741d70b544b83921edae Author: Marko Myllynen <myllynen@redhat.com> Date: Wed Jan 5 19:20:31 2011 -0600 updated SCM plugin Fixed some typos and moved the source file into plugins dir Signed-off-by: Clark Williams <williams@redhat.com> commit 7eeb8c1e49676aeeaffdb665ec918aaee35262ab Author: Clark Williams <williams@redhat.com> Date: Wed Jan 5 19:17:23 2011 -0600 added PASSED printout in runtests.sh Signed-off-by: Clark Williams <williams@redhat.com> commit 0f12f1b1d78324a4de82e1de6dbcf5faf2d34b85 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 5 14:49:05 2011 -0600 add retrylogic to mock.util.rmtree() Add a single retry to attempt to delete a directory tree. Sleep for two seconds to give threads time to exit. Signed-off-by: Clark Williams <williams@redhat.com> commit 8074360c37f04e3bccdd1f261cd127468737a9b5 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 5 14:20:33 2011 -0600 force --shell shell to be /bin/sh (BZ# 667243) Fix a problem for non-bash users where $SHELL is not a shell that's in the chroot (and /usr/sbin/chroot uses $SHELL when nothing specified on the command line). This sets SHELL to /bin/sh for any --shell invocation Signed-off-by: Clark Williams <williams@redhat.com> commit adaa6074581ccdbfa73a02a747af25d7af26727f Author: Clark Williams <williams@redhat.com> Date: Tue Jan 4 12:18:17 2011 -0600 added 'patches' directory to the ignore file Signed-off-by: Clark Williams <williams@redhat.com> commit 3b17370c588dd3826a2fb07b0f9f4566a14cf9ae Author: Clark Williams <williams@redhat.com> Date: Tue Jan 4 12:17:28 2011 -0600 added VERBOSE as configurable for running tests Added VERBOSE shell variable to allow turning verbose output on and off Signed-off-by: Clark Williams <williams@redhat.com> commit 13979fdedd9b73eaae674ddbdac76464242c7d14 Author: Clark Williams <williams@redhat.com> Date: Tue Dec 21 17:20:24 2010 -0600 deleted fedora-12 configuration files commit 93c735199dabb79968af5a869a59bd11747961ab Author: Clark Williams <williams@redhat.com> Date: Tue Dec 21 10:28:14 2010 -0600 updated configure.ac and mock.spec.in in preparation for 1.1.8 release Updated verion in configure.ac and updated %changelog in mock.spec.in Signed-off-by: Clark Williams <williams@redhat.com> commit 85260e42b5b166dd03ad74b168448e2b3a642a64 Author: Clark Williams <williams@redhat.com> Date: Tue Dec 21 10:26:17 2010 -0600 added --verbose to MOCKCMD and added PASS/FAIL print Added the --verbose option when running mock to get more information in the log files. Also added a PASSED/FAILED print at the end of each test. Signed-off-by: Clark Williams <williams@redhat.com> commit c32ba54e8dfb493012ecb5cdd8067955f84db23e Author: Clark Williams <williams@redhat.com> Date: Tue Dec 21 10:23:43 2010 -0600 add function to run fuser when failing to umount or remove directory Run the '/sbin/fuser' program to find out what threads are preventing umount or directory removal. Signed-off-by: Clark Williams <williams@redhat.com> commit 746e6d1d01d3eb01b6839e0a23868337cc67f59a Author: Clark Williams <williams@redhat.com> Date: Tue Dec 21 10:17:30 2010 -0600 don't error out if we can't delete the /proc/filesystems file print a warning if the filesystems file was deleted before we get to it, but don't fail. Signed-off-by: Clark Williams <williams@redhat.com> commit cdc600920e77313a5fc8885ce41b9e7a0d0f043a Author: Clark Williams <williams@redhat.com> Date: Tue Dec 21 10:15:18 2010 -0600 make sure that pseudo-filesystem mountpoints exist The root cache logic excludes the pseudo-filesystem mountpoints (e.g. /proc and /sys) from the cache tarball. Make sure those directories are created after the cache tarfile is unpacked. Signed-off-by: Clark Williams <williams@redhat.com> commit ecdd32357c2355e5a50e2700778fa0dcf0cbff7f Author: Paul Howarth <paul@city-fan.org> Date: Sat Dec 18 10:56:19 2010 -0600 Don't add --setopt=tsflags=nocontexts to all commands (BZ# 663021) Update the SELinux plugin to only add the --setopt=tsflags=nocontexts option to yum commands rather than blindly adding it to all commands. Signed-off-by: Clark Williams <williams@redhat.com> commit 367da77928e5a23c395c29648331085b3f34c6a5 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 17 15:29:41 2010 -0600 added logging to scrub command to indicate what's being scrubbed Signed-off-by: Clark Williams <williams@redhat.com> commit 02fe782a65774534f7596d9ee7fa32235efc86a5 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 17 15:02:54 2010 -0600 record packages installed into root and store as cache.log (BZ# 444796) Record the yum output when initializing a chroot that will be used as a root cache. Store the output in /var/cache/mock/<cfg>/root_log/cache.log Signed-off-by: Clark Williams <williams@redhat.com> commit 974fcca0ff218b64af8f43886d1a8e9b1f7ed402 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 17 14:42:53 2010 -0600 add calls to enable logging and calls to unlock build root Add calls to _resetLogging() to enable root logging for 'install' and 'update' operations. Add calls to unlockBuildRoot to cleanup build root lockfile when operations are done. Signed-off-by: Clark Williams <williams@redhat.com> commit 3edae4b8a09e8f78ca13b94bb7fea2c30eac28b3 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 17 14:40:28 2010 -0600 add unlockBuildRoot() method Clean up buildroot lock file after operation requiring lock is done Signed-off-by: Clark Williams <williams@redhat.com> commit a25c8bcc0bc089ee6dd326917fa1569aa6dc6c5e Author: Clark Williams <williams@redhat.com> Date: Fri Dec 17 14:36:57 2010 -0600 add logging info to yum install (BZ# 594477) Add calls to root_log.info() in yumInstall to record package installs into the root log. Signed-off-by: Clark Williams <williams@redhat.com> commit b3e9185e3d619f105adaf2657b0f947c929f53ba Author: Clark Williams <williams@redhat.com> Date: Fri Dec 17 13:24:16 2010 -0600 added SCM module to Makefile install target Signed-off-by: Clark Williams <williams@redhat.com> commit 7c6aa7d1e3daa4bd493b5352fc4f3f146c8c468c Author: Michael Hampton <error@ioerror.us> Date: Fri Dec 17 10:24:11 2010 -0600 Add -f (force) option to userdel when recreating mockbuild user (BZ# 662223) The program /usr/sbin/userdel was looking in /proc for the uid specified to be deleted and would fail if the uid was still listed as having running processes. Force removal of the UID when setting up a build chroot. Signed-off-by: Clark Williams <williams@redhat.com> commit bbac705accb140051821f8cbad243d09d29bd45e Author: Clark Williams <williams@redhat.com> Date: Fri Dec 17 10:11:27 2010 -0600 corrected examples for routine building in man page Clean up the default examples section of the man page Signed-off-by: Clark Williams <williams@redhat.com> commit 2c47107d71fe87b31753695bcd4fbe22c5024eb7 Author: Marko Myllynen <myllynen@redhat.com> Date: Fri Dec 17 09:58:29 2010 -0600 document SCM build options in usage and man page Add usage output for SCM options and add man page blub about using the SCM options. Signed-off-by: Clark Williams <williams@redhat.com> commit e5ceea0f4c8d1e27b9ed97d3f7da298fc5235db4 Author: Marko Myllynen <myllynen@redhat.com> Date: Thu Dec 16 12:55:53 2010 -0600 Integrate Mock with SCMs (CVS/Git/SVN) Allow Mock users to build directly from an SCM. Sources are fetched and prepared from a source repository which contains the corresponding spec file. The source package can either reside on an external directory or a tarball can be generated on the fly out of the checkout sources. Disabled by default, nothing changes for users who do not use it. site-default.cfg should be adjusted to enable needed repositories. To build package "foo" from a default repository one does: $ mock -r fedora-14-i386 --scm-enable --scm-option package=foo Currently supported repositories are: - CVS - Git - SVN Due to fact Mock is using consolehelper no CVS checkouts over SSH are at least currently possible. Adding support for other repositories should just a matter of a dozen or so lines of code. Based on the standalone mock-scm script I wrote in September: http://lists.fedoraproject.org/pipermail/devel/2010-September/142469.html Current limitations: - CVS checkouts over SSH no possible - Mock/SELinux plugin must be disabled Signed-off-by: Clark Williams <williams@redhat.com> commit 196e32c6debdcaaaad82be2363b32a398d8e1a3f Author: Masatake YAMATO <yamato@redhat.com> Date: Thu Dec 16 10:24:58 2010 -0600 add runtime location of plugins Mock has plug-in mechanism but source code modification is needed to add a plug-in. For writing an experimental plug-in or a plug-in for private purpose, it is nice if one can add a plug-in without modifying the source code of mock itself. With this commit, python script files at $PKGPYTHONDIR/plugins are added as plugins to mock automatically. Signed-off-by: Clark Williams <williams@redhat.com> commit eaebd32084cfda5c7a47b7949b869cb263461432 Author: Clark Williams <williams@redhat.com> Date: Tue Dec 14 10:28:47 2010 -0600 updated release instructions to take advantage of git Signed-off-by: Clark Williams <williams@redhat.com> commit efbf7f08e04a4705570c829f0b84b5999a6fe5c7 Author: Clark Williams <williams@redhat.com> Date: Mon Dec 13 20:59:49 2010 -0600 version bump to 1.1.7 Signed-off-by: Clark Williams <williams@redhat.com> commit 6edcead9d9baaa854ba06311d35462745fe09921 Author: Clark Williams <williams@redhat.com> Date: Mon Dec 13 20:57:47 2010 -0600 updated test config to fedora-14-x86_64 commit 7d460d0537cf68d1c1fd3a811c771791a2906052 Merge: e008ed2 f0e3a1e Author: Clark Williams <williams@redhat.com> Date: Mon Dec 13 15:57:56 2010 -0600 Merge remote branch 'origin/master' into work commit e008ed2ee18ea2e99a3138762216f38b9c3a1583 Author: Clark Williams <williams@redhat.com> Date: Mon Dec 13 15:53:17 2010 -0600 add 'legal_host_arches' config option to configs (BZ# 622792) Add the config_opts key 'legal_host_arches' to all epel and fedora configs. This key, when present, is a tuple of valid host arches for the config target_arch. If the key is not present, it means that any host arch is valid. Signed-off-by: Clark Williams <williams@redhat.com> commit aeab2873f30f9d14597d936d42e46a751c4ca897 Author: Clark Williams <williams@redhat.com> Date: Sun Dec 12 20:27:25 2010 -0600 add root check and group check (BZ# 662223) Add early root check to disallow running from the root account and a later check to verify that the unprivleged account is a member of the mock group. Signed-off-by: Clark Williams <williams@redhat.com> commit f0e3a1ee18a94f8dc95440c0a29a9c2860c75d42 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Dec 4 19:12:18 2010 +0200 Try to set up an appropriate default.cfg symlink at post install time. commit d1b81393128257cc29444d1bc03a67435aa25f88 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Dec 4 18:10:15 2010 +0200 Clean up disttag usage. commit a10600ff3e132a5bd4e44b21d0c0a89dc1511b5f Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Dec 4 17:44:24 2010 +0200 Drop obsolete and nonfunctional F-8 bits from specfile. commit 8d6e88bc0644f0f82d54b89613d8f6fddddcac8a Author: Ville Skyttä <ville.skytta@iki.fi> Date: Wed Oct 20 23:02:27 2010 +0300 Drop no longer used requiresTextFromHdr() and uniqReqs(). This is an incompatible API change, but I'm not aware of anything that would use these functions. commit ceaeb5e559adf3c32438a554e2df7a8e47548baa Author: Ville Skyttä <ville.skytta@iki.fi> Date: Wed Oct 20 23:02:27 2010 +0300 Install build deps with yum-builddep. No longer need to screen-scrape resolvedep and feed that to yum install, and we have a chance to get BuildConflicts handing "for free" (when RHBZ #614191 is done in yum(-builddep)). commit abd9d4c8b5b72aef58e4d5cebc3f3259226832a0 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Fri Oct 22 19:37:58 2010 +0300 Add comment why binary packages are built with --nodeps, thanks to Dennis Gilmore. commit 2f7d1b3fc12b5d4cc470b0d369b6105d26c4ecee Author: Clark Williams <williams@redhat.com> Date: Thu Oct 14 16:56:35 2010 -0500 version bump to 1.1.6 Signed-off-by: Clark Williams <williams@redhat.com> commit 8be496f9dd05d8fe4d2f12a25fcb2298a70ea89d Author: Clark Williams <williams@redhat.com> Date: Thu Oct 14 16:54:44 2010 -0500 corrected release-instructions.txt to refer to tests sub directory commit 138baaca2608c3e779993652c8e0e01d94d1031d Merge: 30ca8a8 5cc32a2 Author: Clark Williams <williams@redhat.com> Date: Thu Oct 14 15:36:35 2010 -0500 Merge branch 'master' into work commit 30ca8a856f633746db145338e4466a40925474be Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 14 21:20:44 2010 +0300 Find out completions for --*-plugin dynamically. commit 529b078cc24e22099a72d5139b00f15279cb4a38 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 14 21:10:22 2010 +0300 Keep $COLUMNS in consolehelper environment for --help formatting. commit 860610a20e4f144763fc14dbcc268fe2577fe2ef Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 14 20:54:07 2010 +0300 Document --scrub, --enable-plugin, and --disable-plugin. commit 492282d8f502fc9b33310236bdf5562c21932610 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 14 20:44:56 2010 +0300 Fix option name in --enable-plugin/--disable-plugin error string. commit 3f6ef8fd8d3a31ed435035c6538553c179eb15a8 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 14 20:08:59 2010 +0300 Add --scrub completion. commit fa8b76848f192c2cb8f662eb30b570fbf5169c71 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Thu Oct 7 20:00:28 2010 +0300 Complete on *.spm (*.src.rpm are sometimes named like that e.g. in SUSE). commit 5cc32a29fa46d59276685211be0317f2f436b613 Author: Clark Williams <williams@redhat.com> Date: Wed Sep 29 15:54:43 2010 -0500 replace call to perl with native python edit function Replace shell-out to perl to edit chroot passwd file with internal python method. Signed-off-by: Clark Williams <williams@redhat.com> commit 9241685d5920f55a4fffbda8f337f5269688c4ea Author: Clark Williams <williams@redhat.com> Date: Wed Sep 29 14:45:32 2010 -0500 change permissions of selinux plugin 'filesystems' file After changing the faux '/proc/filesystems' file to be a tempfile, we need to change permissions of that file to match the actual /proc/filesystems (0666). Do so. Signed-off-by: Clark Williams <williams@redhat.com> commit 67f3a085c5e9bcd325e714369b3f6ed624b97dec Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Sep 19 17:51:22 2010 +0300 Fix buildsrpm() docstring. commit eb4d5c83911e18c679ecdda63cfb6293ef68fb5a Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Sep 19 17:50:19 2010 +0300 Error message improvements. commit d5b53b2568acba27b128389b09f9d56f9f110b70 Author: Clark Williams <williams@redhat.com> Date: Fri Sep 17 15:59:21 2010 -0500 version bump to 1.1.5 Signed-off-by: Clark Williams <williams@redhat.com> commit 4fac9540718d35a0526d3e7ee523d38ae19557f8 Author: Clark Williams <williams@redhat.com> Date: Fri Sep 17 15:53:12 2010 -0500 add exception trapping code to _unlock_and_rm_chroot() method Seeing a sporadic failure in epel4 unit tests, where clean of chroot fails due to some unknown resource being held there. Add some code to catch the OSError exception and print the contents of /proc/mounts, then re-raise the exception. Signed-off-by: Clark Williams <williams@redhat.com> commit 6c003bc0a39b4a0523a16923101192757ce08d47 Author: Clark Williams <williams@redhat.com> Date: Fri Sep 17 14:44:01 2010 -0500 fix epel4 chroot cleanup and umountall issue created root method _unlock_and_rm_chroot() to deal with errors seen on EPEL4 builds where chroot removal fails due to file lock still held. Also fix if statement in _umountall() method, which was causing the actual chroot to be forcibly umounted when the tmpfs plugin was used. Signed-off-by: Clark Williams <williams@redhat.com> commit 43a7ac370fd1a19163ab06da5cece2be514d697b Author: Alan Franzoni <mailing@franzoni.eu> Date: Fri Sep 17 10:18:05 2010 -0500 reworked the root object _umountall() method Belt and suspenders method of umounting. First go through what we have in our umount commands list. Then check /proc/mounts for anything thats mounted in the chroot path Signed-off-by: Clark Williams <williams@redhat.com> commit 5112950a09219ff3d4261d80696f7b7dbe11e91d Author: Clark Williams <williams@redhat.com> Date: Fri Sep 17 09:39:34 2010 -0500 changed copyin/copyout prints from debug to info Modified calls to log output to use info versus debug for better user feedback Signed-off-by: Clark Williams <williams@redhat.com> commit 308f5313f42dcf05a3b14f809279fda720bfaeb6 Author: Clark Williams <williams@redhat.com> Date: Thu Sep 16 10:58:59 2010 -0500 create empty faillog and lastlog in <chroot>/var/log (BZ# 585973 & 633435) Make sure we don't store a couple of big sparse files in the chroot cache image, but create empty files in case someone wants to check for their existance. Signed-off-by: Clark Williams <williams@redhat.com> commit 2f37407ddaf1873f067158ffb7ab9140ec348646 Author: Clark Williams <williams@redhat.com> Date: Sat Sep 11 10:10:21 2010 -0500 added commandline argument checking for --buildsrpm (BZ# 605800) Make sure that --spec and --sources are specified when the --buildsrpm options is specified. Signed-off-by: Clark Williams <williams@redhat.com> commit 8e75f91ffbe61591688b903c45a589f54f3240f6 Author: Clark Williams <williams@redhat.com> Date: Sat Sep 11 09:54:56 2010 -0500 change selinux plugin to use tempfile Modify the plugin to use tempfile.mkstemp() to create the faux entry for /proc/filesystems in the chroot. This puts the file in a temporary directory rather than depending on conf['cachedir'] to exist (and it won't if caching is turned off). Signed-off-by: Clark Williams <williams@redhat.com> commit 5161ba43d11564ab94fe0ace529c36de3cd7b87b Author: Clark Williams <williams@redhat.com> Date: Thu Aug 19 15:25:54 2010 -0500 add cmpKernelEVR function to compare kernel versions (BZ# 526414) Create the cmpKernelEVR function, which uses the rpmUtil.miscutil function compareEVR to compare kernel versions, then use this in the _setupDev method of the Root instance to correctly determine if the host kernel is newer or older than specified versions. Signed-off-by: Clark Williams <williams@redhat.com> commit eb49a825ed30421d36c7c6d3f78d67e778677108 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 16 09:46:14 2010 -0500 fix typo in exception.py Changed __init to __init__ (thanks Jan!) Signed-off-by: Clark Williams <williams@redhat.com> commit 2cc9d2e2797ca6ea1c502d9a81cce2d112d9b7bd Merge: df1f05e d151d75 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 16 16:58:30 2010 -0500 Merge branch 'master' into work Conflicts: py/mock.py Signed-off-by: Clark Williams <williams@redhat.com> commit d151d75fe013910e5b6cbc2afd1576ece09c096e Author: Clark Williams <williams@redhat.com> Date: Sat Aug 14 09:07:57 2010 -0500 version bump to 1.1.4 Signed-off-by: Clark Williams <williams@redhat.com> commit eb62cb6ef11823e3f193b16d41bdcee312132a4a Author: Clark Williams <williams@redhat.com> Date: Sat Aug 14 09:07:04 2010 -0500 removed trap of EXIT in unit tests driver This cause the test to always report failure Signed-off-by: Clark Williams <williams@redhat.com> commit 3309418b802f6cebc7837416394763d5fd8ef69f Author: Clark Williams <williams@redhat.com> Date: Fri Aug 13 13:20:32 2010 -0500 added header for test results Signed-off-by: Clark Williams <williams@redhat.com> commit 6da80b5d6b467489492673001005321f5b506cb1 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 9 17:23:13 2010 -0500 pass selinux status to mock.util.rmtree() function (BZ# 614440) Pass in boolean 'selinux' via keyword arguments that tells rmtree whether to do retry logic with selinux attributes Signed-off-by: Clark Williams <williams@redhat.com> commit 59020475e4b76f324298a6c719b55f7435d33ac9 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:54:01 2010 +0100 Update packages after unpacking root cache Fix problem introduced in commit 3bc5fb958deb809fc04d6a74ce6688e093f5831a where the buildroot is no longer updated after unpacking the root cache. http://bugzilla.redhat.com/557526 Signed-off-by: Clark Williams <williams@redhat.com> commit bf71ffd587ff230ba58b700f465bba41458a4270 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:54:00 2010 +0100 noarch is always a legal arch Allow "--target noarch" to be specified. Signed-off-by: Clark Williams <williams@redhat.com> commit 942b94cd6b1345ce7c2373a6c0cd5e689fd22dcf Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:53:59 2010 +0100 Exclude bind-mounted cache dirs from root cache Including the ccache directory /tmp/ccache and the yum cache directory /var/cache/yum in the root cache is unnecessary and can lead to the root cache tarball being an order of magnitude larger and taking 10 minutes or more to tar and compress even on a fast PC. Signed-off-by: Clark Williams <williams@redhat.com> commit 03cb001e8d3b2d629c879ba723afcd2b187675b2 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:53:58 2010 +0100 Retain order of umountCmds The order of execution of umounts is the reverse of the order of the mounts, so as to deal with a hierarchy of mounts correctly. The ordering is reversed by _umountall but was being left in the reversed state so that the next time _umountall was called, it attempted to unmount filesystems in the wrong order, leading to build failures due to being unable to unmount for example /proc whilst /proc/filesystems was still mounted. This change reverses the order of umount commands back again before _umountall exits so as to maintain the ordering. Signed-off-by: Clark Williams <williams@redhat.com> commit 7f9f684f63dc05c7d44547879fcf6e49831bc5c6 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:53:57 2010 +0100 Add i586 as a legal target arch This is needed not only to target the legacy Fedora 11 32-bit release but also the still-current SLES-11 32-bit and possibly others too. Signed-off-by: Clark Williams <williams@redhat.com> commit df1f05e2e05b124422f1427f93b6dec580812809 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:54:01 2010 +0100 Update packages after unpacking root cache Fix problem introduced in commit 3bc5fb958deb809fc04d6a74ce6688e093f5831a where the buildroot is no longer updated after unpacking the root cache. http://bugzilla.redhat.com/557526 Signed-off-by: Clark Williams <williams@redhat.com> commit a0c1286b81eb337989ce317d6698e042771e2083 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:54:00 2010 +0100 noarch is always a legal arch Allow "--target noarch" to be specified. Signed-off-by: Clark Williams <williams@redhat.com> commit abc946edf3b59ae18bddc03b1810c35779d0b843 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:53:59 2010 +0100 Exclude bind-mounted cache dirs from root cache Including the ccache directory /tmp/ccache and the yum cache directory /var/cache/yum in the root cache is unnecessary and can lead to the root cache tarball being an order of magnitude larger and taking 10 minutes or more to tar and compress even on a fast PC. Signed-off-by: Clark Williams <williams@redhat.com> commit 011e80dd4a087c18a2eda338fda416dc83c88f13 Author: Paul Howarth <paul@city-fan.org> Date: Wed Aug 11 11:53:58 2010 +0100 Retain order of umountCmds The order of execution of umounts is the reverse of the order of the mounts, so as to deal with a hierarchy of mounts correctly. The ordering is reversed by _umountall but was being left in the reversed state so that the next time _umountall was called, it attempted to unmount filesystems in the wrong order, leading to build failures due to being unable to unmount for example /proc whilst /proc/filesystems was still mounted. This change reverses the order of umount commands back again before _umountall exits so as to maintain the ordering. Signed-off-by: Clark Williams <williams@redhat.com> commit 89a15aa576d8db4fdf692944604ec1ddbf724181 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 9 17:23:13 2010 -0500 pass selinux status to mock.util.rmtree() function (BZ# 614440) Pass in boolean 'selinux' via keyword arguments that tells rmtree whether to do retry logic with selinux attributes Signed-off-by: Clark Williams <williams@redhat.com> commit f4b14aa93a9e4b0a87a8cba0d73a593efac88777 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 9 13:55:27 2010 -0500 change integer constants to symbolic errno constants in util.py import the errno package and use symbolic variants of errno constants EPERM, EACCES and ENOENT. Signed-off-by: Clark Williams <williams@redhat.com> commit 6e5e7599a505721b58c4c232c213a53da7c818b5 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 9 13:54:26 2010 -0500 add i586 as valid arch Added i586 as valid arch for i386/i686/x86_64. Signed-off-by: Clark Williams <williams@redhat.com> commit 96df0e983173da7192ac82f1b7842ce9102d2432 Author: Clark Williams <williams@redhat.com> Date: Mon Aug 9 12:40:54 2010 -0500 add noarch as legal architecture for any host arch (BZ# 622170) Added 'noarch' as a legal architecture to build from any host architecture Signed-off-by: Clark Williams <williams@redhat.com> commit 00d340c87dd2e35941084e5b4aff161bd329bb3b Author: Clark Williams <williams@redhat.com> Date: Tue Aug 3 15:14:13 2010 -0500 version bump to mock-1.1.3 Signed-off-by: Clark Williams <williams@redhat.com> commit 347b5a00b68ce61641725b156fa0a4b3ee830fd9 Author: Clark Williams <williams@redhat.com> Date: Tue Aug 3 14:16:09 2010 -0500 turn off updates-released repository for fedora-14 configs f14 is prerelease so turn off the updates-released repository Signed-off-by: Clark Williams <williams@redhat.com> commit 6f03bd7a30ddadf96ae4f6849d11bebe5ddd984d Author: Clark Williams <williams@redhat.com> Date: Tue Aug 3 13:47:10 2010 -0500 updated release instructions for new git-based package trees Modified the release instructions to deal with needing the fedora-packager package and how to use fedpkg. Signed-off-by: Clark Williams <williams@redhat.com> commit 12f0cd8da491039ed13c7fffaafd6ae96e267410 Author: Clark Williams <williams@redhat.com> Date: Tue Aug 3 12:57:24 2010 -0500 set state correctly for SELinux (BZ# 620143) The new selinux plugin fakes SELinux being turned *off* in the chroot by bind-mounting a fake /proc/filesystems in the chroot. If this plugin is enabled, we should *not* do any SELinux attribute operations in the chroot. Setup this state correctly at init time. Signed-off-by: Clark Williams <williams@redhat.com> commit 967fdcadf16782edea28f4e6a8a735cd3acb7348 Author: Clark Williams <williams@redhat.com> Date: Tue Aug 3 12:36:21 2010 -0500 append rather than insert umount of /proc/filesystems (BZ# 620825) since the umount commands are reversed before being executed, just append the umount of /proc/filesystems in the selinux plugin so that it will happen in the correct order. Signed-off-by: Clark Williams <williams@redhat.com> commit 068cc32d78c26372bed383f1fbb7c4851e10166d Author: Clark Williams <williams@redhat.com> Date: Mon Aug 2 16:30:43 2010 -0500 Modified Makefile.am to conditionally set RPMBUILD macro If /usr/bin/rpmbuild-md5 exists, then use it, otherwise use rpmbuild. This helps when testing older distro configs such as for el4 and el5 Signed-off-by: Clark Williams <williams@redhat.com> commit dcf501d3adbbb36450454485eb12dda70cd7b7c6 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 30 17:12:42 2010 -0500 versio bump to mock-1.1.2 Signed-off-by: Clark Williams <williams@redhat.com> commit d400f8d92d8d92dc1979708fb7841cdcbd2cd993 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 30 16:58:19 2010 -0500 moved releasetests.sh from docs directory to tests Signed-off-by: Clark Williams <williams@redhat.com> commit 92752aaed2f961677fce673f22b02f49f2140974 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 30 16:57:31 2010 -0500 deleted testing files from docs dir (moved to tests dir) Signed-off-by: Clark Williams <williams@redhat.com> commit b21b3348bfdef0145ade83158f90d4206d46397e Author: Clark Williams <williams@redhat.com> Date: Fri Jul 30 16:57:04 2010 -0500 added secondary arch config files Signed-off-by: Clark Williams <williams@redhat.com> commit 0aac2d3d8804271eaca33f93650b04f1bd8b249c Author: Jan Vcelak <jvcelak@redhat.com> Date: Fri Jul 30 16:14:55 2010 -0500 add selinux plugin This patch adds an selinux plugin that sets up an environment with selinux turned *off* in the build chroot. How does this work? From the author's description: It is done the same as the patch sent by Thomas Liu in bz 614440 does. Actually, this proceeding was suggested by Dan Walsh in bz 573111. 1.) Fake /proc/filesystems is created in conf["cachedir"]. It includes the same content as the same file in host environment, except line with selinuxfs. This file is bind mounted into build environment. 2.) Option '--setopt=tsflags=nocontext' is added to yum commands. This is done by wrapping mock.util.do with _selinuxDoYum in "preyum" hook. This function just adds the option and passes the command to original mock.util.do function. The wrapping is removed in "postyum" hook. I didn't find cleaner method, without modifying main code. Signed-off-by: Clark Williams <williams@redhat.com> commit ca78692e0f1b3a0401db6f8e64a9bdd282229568 Merge: 2eb48d0 40f525d Author: Clark Williams <williams@redhat.com> Date: Fri Jul 30 14:03:55 2010 -0500 Merge remote branch 'origin/master' into work commit 2eb48d066ec3144b9e564c2d2ad1c445706aa112 Author: Kalev Lember <kalev@smartlink.ee> Date: Fri Jul 30 11:51:14 2010 -0500 patch that allows specifying max tmpfs size to tmpfs plugin Add a 'max_fs_size' parameter to the tmpfs plugin that allows specification of sizes greater than default (50% of RAM). Signed-off-by: Clark Williams <williams@redhat.com> commit 40f525d070d8185111159b7de0f6815d3ae09879 Author: Jesse Keating <jkeating@redhat.com> Date: Fri Jul 30 09:25:06 2010 -0700 Add F14 mock configs commit b3b1ede4f16aa7c20cac8b91f14749a0850a5e29 Author: Clark Williams <williams@redhat.com> Date: Tue Jul 27 14:42:01 2010 -0500 fixed indentation typo in py/mock/backend.py Signed-off-by: Clark Williams <williams@redhat.com> commit 5b6d32a3c920c4b8f494838361f886811af6d785 Author: Ricky Zhou <rzhou@redhat.com> Date: Tue Jul 27 14:25:04 2010 -0500 allow --sources to specify either single file or directory (BZ# 510409) Mock originally takes just a directory for the argument to --sources; expand this to allow for a single file or a directory. Signed-off-by: Clark Williams <williams@redhat.com> commit c2fa61517f526c1a08e1844f7107c1a898ad91b5 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 16 10:29:28 2010 -0500 modified tests/runtests.sh to exit properly on ^c Modified trap logic in runtests.sh to exit on SIGINT Signed-off-by: Clark Williams <williams@redhat.com> commit a910c06304056c864380a7cb6ce7ce65b5fed3b9 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 16 09:42:21 2010 -0500 added symlink from /proc/self/fd to /dev/fd in the chroot (BZ# 526414) Added a symlink in the chroot from /proc/self/fd to /dev/fd. Only do this for EPEL5+ and FC hosts since the 2.6.9 kernel for EPEL4 does not support this. Signed-off-by: Clark Williams <williams@redhat.com> commit 447cf0257b48367b23df385afc7c6504afbd4060 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 16 08:48:47 2010 -0500 changed from referencing defaults.cfs to site-defaults.cfg (BZ# 600487) Signed-off-by: Clark Williams <williams@redhat.com> commit 2149d0815501d3721ccfdb8203e54a7bcb59ff32 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 16 07:57:57 2010 -0500 moved test suite to 'tests' directory Moved test infrastructure into the tests directory and broke component tests out into individual scripts. Signed-off-by: Clark Williams <williams@redhat.com> commit ed9826cee13b35c1c9df2a8018459394064767ff Author: Clark Williams <williams@redhat.com> Date: Fri Jul 16 07:57:06 2010 -0500 fixed typo in [testing] url of epel-6-i386 config Signed-off-by: Clark Williams <williams@redhat.com> commit bf31eb14a38d8213492131b76217c9b16e8a82f1 Author: Dennis Gilmore <dennis@ausil.us> Date: Thu Jul 15 16:05:27 2010 -0500 update the epel-6 mock configs to point at the beta2 mirrorlist urls Signed-off-by: Clark Williams <williams@redhat.com> commit b24d3aee1c80863cbb77713fea222c4242dff5ca Author: Clark Williams <williams@redhat.com> Date: Thu Jul 15 10:48:39 2010 -0500 added i686 architecture Added i686 architecture to arch checking logic in py/mock.py Signed-off-by: Clark Williams <williams@redhat.com> commit 1d62c95bcfd1997db9204bde620c05d7dc76cf31 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 14 17:08:13 2010 -0500 deleted fedora-10 and fedora-11 configs Signed-off-by: Clark Williams <williams@redhat.com> commit 61f6d5b53cd097ee4a43b7cedb3bbc8fc6d1468f Author: Clark Williams <williams@redhat.com> Date: Wed Jul 14 17:05:16 2010 -0500 changed default config to fedora-13 and added some headers Updated to use fedora-13 for testing and added a header function to make start of new tests more visible in the test output. Signed-off-by: Clark Williams <williams@redhat.com> commit 4e19a85f36119b370e4b579d458450834ab8f4d6 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 14 16:51:16 2010 -0500 fix cachefile generation filtering logic The original fix to generating a cache file without /proc, /sys, and /dev entries failed due to the --exclude=sys filtering out /usr/include/sys (a bad thing). Changed the filtering excludes to include a './' prefix to avoid that little problem. Signed-off-by: Clark Williams <williams@redhat.com> commit 077a09ea6bb5a0e2ac0861210f6df528f531f6f7 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 14 13:16:17 2010 -0500 moved rpmdb clean block so that it works with --offline previous fix for rpmdb issues was under a "if online:" block. Move it out so rpmdb cleanup occurs in both cases. Signed-off-by: Clark Williams <williams@redhat.com> commit 4fbf9c511c34ac65d5603aeffb8cfb0cbf7e7940 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 14 13:15:07 2010 -0500 filter out proc,sys,and dev from cache file creation Added --excludes to tar comand line to exclude proc, sys and dev files when creating root cache. Signed-off-by: Clark Williams <williams@redhat.com> commit 036e4e84d7594a2f799501dc3ed173f2d6ddfcc4 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 14 13:13:23 2010 -0500 added logic to detect invalid architecture combinations (BZ# 607144) Modified py/mock.py to dectect invalid build combinations (e.g. trying to build x86_64 packages on an i386 host) and to throw an InvalidArchitecture exception when detected. Added the above exception to py/mock/execption.py Signed-off-by: Clark Williams <williams@redhat.com> commit 46c69a9d452ef5d8d854694d1bc1bc1ebe9971e5 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 9 15:47:36 2010 -0500 Added description of how to add user to the mock group (BZ# 570434) added description of how a user may add themselves to the mock group to the mock man page. Signed-off-by: Clark Williams <williams@redhat.com> commit b86c7586c64036f69a492d4fd0415a90dced78f6 Author: Paul B. Schroeder <paulbsch@haywired.net> Date: Fri Jul 9 14:53:39 2010 -0500 add the --scrub option for cleaning up cache (BZ# 450726) Added the command line option: --scrub=[all,chroot,cache,root-cache,c-cache,yum-cache] which allows selective cleanup of the various cache's maintained by mock (on on mock's behalf). Also added logic to umountall() to umount in reverse order of mount. Signed-off-by: Clark Williams <williams@redhat.com> commit 4a42b4545064141d19457bf1b1f324d35ec73f34 Author: Clark Williams <williams@redhat.com> Date: Fri May 14 12:59:51 2010 -0500 version bump to mock-1.1.1 commit 426b2ae54daa2d5177fd3cc17e9aab0f1576578c Author: Seth Vidal <skvidal@fedoraproject.org> Date: Sun May 9 10:31:33 2010 +0300 yum made/makes an rpmdb cache dir in $cachedir/installed for a while things can go wrong in a specific mock case if this happened. So just nuke the installed dir and the files in it. Problem solved. commit 256f250dce17e6240bda8ddbb6aac2bd2d12e30c Author: Paul Howarth <paul@city-fan.org> Date: Wed May 5 13:05:04 2010 -0500 Create missing directories for config_opts['files'] elements Without this fix, only files within directories pre-created as part of the chroot "skeleton" can be created using config_opts['files'], as the attempt to create the file fails with "No such file or directory". This patch allows for creation of files in arbitrary directories. Signed-off-by: Clark Williams <williams@redhat.com> (cherry picked from commit 0c4254573261bd1c9144b9fd03693572eb3ba036) commit 78cce7c8b9d299367c7f8d8e23a63ca777a90c26 Author: Clark Williams <williams@redhat.com> Date: Wed May 5 12:36:59 2010 -0500 correct mispelling of sqlite extension in yum_cache.py Yum uses .sqlite files, but the plugin was looking for .sqllite. Remove one 'l'. Reported-by: Seth Vidal <skvidal@fedoraproject.org> Signed-off-by: Clark Williams <williams@redhat.com> commit 2a76bf8c3f47280b8c4449f32c018cbb7702d579 Merge: 5346d2c c1d13d4 Author: Clark Williams <williams@redhat.com> Date: Wed May 5 12:35:37 2010 -0500 Merge branch 'master' into work commit 5346d2ca19c9635549945d60560f11356750b4f2 Author: Dennis Gilmore <dennis@ausil.us> Date: Thu Apr 29 21:37:58 2010 +0000 initail epel-6 configs pointing at beta bits (cherry picked from commit c16c8a554d0b581b216789fa58d5ab178b055e06) commit a053a27611ad767e32fa3d839e3e82d79b777f6b Author: Dennis Gilmore <dennis@ausil.us> Date: Thu Apr 29 21:19:53 2010 +0000 remove the buildsys-build.spec file. its long stopped being the way to do things (cherry picked from commit 7dcc70f1171d9db749b4b376de3159a2e7b9f17e) commit c1d13d46cb396bc0b1ae2dd20d0b076a0ff95e30 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Apr 25 21:59:13 2010 +0300 Check SELinux state from /selinux/enforce instead of /usr/sbin/getenforce. Cleans up an error message when getenforce is not installed, and fixes wrong outcome from selinuxEnabled() when SELinux is additionally disabled. commit f069790bf1c182e72f29fdc63d0efc62e6ec9d68 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Mar 30 23:37:28 2010 +0300 Set syslog ident to mock and disable syslog in yum configs (BZ# 560401). Requires yum > 3.2.27 to work, shouldn't hurt with other versions. commit 0c2476350628cd7fca117d591eed13708f949062 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Mar 30 20:34:35 2010 +0300 Trivial root completion cleanup. commit 368159758a815ef1bcb28f4aaa60c90b12200829 Merge: 8dc4128 0d8e37c Author: Clark Williams <williams@redhat.com> Date: Wed Mar 24 09:54:40 2010 -0500 Merge remote branch 'origin/master' into work commit 8dc4128f63dcfbd0b4e40f1f3300b52e7db409f2 Author: Clark Williams <williams@redhat.com> Date: Tue Mar 23 16:49:32 2010 -0500 updated docs/release-instructions.txt to reflect 1.0 and 1.1 structure Updated to show that mock-1.0 is for pre-F-13 and EL-5 while mock-1.1 and beyond are for F-13+ and EL-6. Signed-off-by: Clark Williams <williams@redhat.com> commit 0d8e37c7aab1775889cec92c33e58df8a74af675 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Mar 23 23:47:42 2010 +0200 Use pigz for gzipping by default (BZ# 570418). commit f6119edec00442368f2686e5f450bb53e0925fd6 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Mon Mar 22 22:48:37 2010 +0200 Make --help etc work for non-mock users. commit 0c94710f4297235a76b96f0543c4b24790b75764 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Mar 21 23:17:04 2010 +0200 Move bash completion to etc/bash_completion.d. commit 88a09f1471c8e2f0162ae433f09576d9cba72171 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Mar 21 23:14:05 2010 +0200 Convert to Unix linefeeds (BZ# 553326). commit 7c704210cd698c6f374effac4fad2a61780f51d1 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Mar 20 22:36:23 2010 +0200 Add bash completion. commit 7ac10adcaa0f23900baa57d9cfc0f4348aad47ac Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Mar 20 22:33:50 2010 +0200 Include contrib/ in dist. commit 96884f1bb7659b2c9e1bafa0923e93f483e19296 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sat Mar 20 12:59:26 2010 +0200 Clean up unused imports. commit 544adda55c93d0c718430093619253dab1a4d58d Author: Clark Williams <williams@redhat.com> Date: Thu Mar 18 12:19:26 2010 -0500 add section on being in the mock group to mock.1 We don't explicitly state anywhere that mock should not be run as root, but as a regular user in the mock group. Fix that by adding a small paragraph in the mock man page. Signed-off-by: Clark Williams <williams@redhat.com> commit b7289638294f77fdbc6e8476b86f9e3d4278e1ae Author: Ville Skyttä <ville.skytta@iki.fi> Date: Tue Jul 14 19:48:42 2009 +0300 Make --with and --without set same macro values as rpmbuild does. commit fb40c3459d88f9c283fca3575b06cad9430954d9 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Mar 11 14:54:51 2010 -0800 Prep for release commit c668028349fa1c3d6bf2ad9a309f95691e1900b1 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Mar 11 14:46:01 2010 -0800 Make createrepo disabled by default commit b20ae0ba052618a6a8f58ea800f6e008f8d015b8 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Mar 11 14:42:42 2010 -0800 make createrepo command an option (skvidal) commit d490c8eba24b5be4785316fca5f2c9c724e990f7 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Mar 11 14:19:58 2010 -0800 Revert "Revert "add configuration option to run createrepo on result rpms"" This reverts commit bc678aba383d1a6ad4ffd884ca21aa4058856e86. Revert the revert, wheee! This is appropriate for 1.1 moving forward. commit bc678aba383d1a6ad4ffd884ca21aa4058856e86 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Mar 11 13:57:22 2010 -0800 Revert "add configuration option to run createrepo on result rpms" This reverts commit 716d41a0090047c3e943d102537b87d86fdcbe88. We've decided to revert this feature on the 1.0.x series. We'll add it back for 1.1 commit a087ff5ed320edd44f8c1d6cf3f56f7cd942e3ac Author: Jesse Keating <jkeating@redhat.com> Date: Thu Mar 11 13:36:10 2010 -0800 Revert "Use -N flag with useradd, but not in EPEL #495734" This reverts commit e99adc9492ab1087018c630f68f75ebe79f56a76. -n still works on Fedora, and trying to override -N with -n in epel configs fails for things like koji generated configs. Falling back to -n until that stops working for us. commit 3274fe601b27828dcfeaa733d4a8eb0c26fda534 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 19 19:23:12 2010 -0600 version bump to 1.0.6 Signed-off-by: Clark Williams <williams@redhat.com> commit b37d385e0f4e41b27a413162c0404e588724743f Author: Clark Williams <williams@redhat.com> Date: Fri Feb 19 17:01:14 2010 -0600 add utility function to detect SELinux status and use it Add a utility function selinuxEnabled() that returns true if SELinux is enabled on the host and false otherwise. Use this in _setupDev() method of the Root object to avoid shelling out unnecessarily to 'chcon'. Signed-off-by: Clark Williams <williams@redhat.com> commit 553470d25de81387086e7a8ce2a107d25c7968e9 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 19 16:59:50 2010 -0600 add conditional require of python-hashlib for EL5 New Fedora repositories require code from python-hashlib so require that if the disto being built is EL5 Signed-off-by: Clark Williams <williams@redhat.com> commit 8619e0e6c7f9637c6ef3348a6e5e5b23ed1a416b Author: Clark Williams <williams@redhat.com> Date: Thu Feb 18 12:50:19 2010 -0600 version bump to 1.0.5 Signed-off-by: Clark Williams <williams@redhat.com> commit 060c59e4e511200169d78ba00d8e615c884fa21b Author: Jesse Keating <jkeating@redhat.com> Date: Wed Feb 17 07:28:37 2010 -0800 Add Fedora 13 configs commit e99adc9492ab1087018c630f68f75ebe79f56a76 Author: Jesse Keating <jkeating@redhat.com> Date: Tue Dec 22 12:33:06 2009 -0800 Use -N flag with useradd, but not in EPEL #495734 EL doesn't support -N, but uses -n instead. So use -N by default, but in the EL configs revert back to -n. commit d46950b9e233de718c5231600f8e3350e9da8626 Author: Clark Williams <williams@redhat.com> Date: Wed Feb 10 15:58:51 2010 -0600 version bump to 1.0.4 Signed-off-by: Clark Williams <williams@redhat.com> commit 716d41a0090047c3e943d102537b87d86fdcbe88 Author: Seth Vidal <skvidal@fedoraproject.org> Date: Wed Feb 10 15:51:08 2010 -0600 add configuration option to run createrepo on result rpms Added patch from Seth Vidal <skvidal@fedoraproject.org> to automatically run createrepo on the generated rpms Signed-off-by: Seth Vidal <skvidal@fedoraproject.org> Signed-off-by: Clark Williams <williams@redhat.com> commit 4f049ba3ba1964477e078f8799d28e92c9fb2e6c Author: Clark Williams <williams@redhat.com> Date: Mon Jan 18 16:31:47 2010 -0600 version bump to 1.0.3 commit c1168d3fee69207c71201270ce3dac734ceb23a2 Author: Clark Williams <williams@redhat.com> Date: Mon Jan 18 14:03:18 2010 -0600 add --unpriv logic to --shell Add logic to run with unprivleged uid:gid in interactive chroot shell. (BZ# 522505) Signed-off-by: Clark Williams <williams@redhat.com> commit a0dde91ac38d1fa2d050668e09bb0b9c46e3df77 Author: Clark Williams <williams@redhat.com> Date: Wed Dec 23 16:01:06 2009 -0600 handle distro differences for /dev/pts in chroot EPEL distros are older and have different behavior of the /dev/pts filesystem than newer kernels in Fedora. Deal with that when setting up devices. Signed-off-by: Clark Williams <williams@redhat.com> commit d08342f46d8169b1447839adf2a9dbdecb9608d5 Author: Clark Williams <williams@redhat.com> Date: Wed Dec 23 14:21:32 2009 -0600 version bump to 1.0.2 Signed-off-by: Clark Williams <williams@redhat.com> commit fb6f1560de7cd9acbb70d9b6edbfca3d97c49a63 Author: Clark Williams <williams@redhat.com> Date: Wed Dec 23 12:43:03 2009 -0600 add IPv6 localhost entry to /etc/hosts and fix build issue Add a default IPv6 entry for BZ545435, to fix failure in curl test suite. In addition, remove the result of gethostname(), since this causes koji to insert 'localhost' into rpms Signed-off-by: Clark Williams <williams@redhat.com> commit 372f39c05545f9d3333a5be26d97100dc400b178 Author: Clark Williams <williams@redhat.com> Date: Wed Nov 25 23:01:09 2009 -0600 version bump to 1.0.1 commit 6bbecd75ebd1d9c484387f2a77443205bfb34b6f Author: Clark Williams <williams@redhat.com> Date: Wed Nov 25 15:45:54 2009 -0600 fix intermittent problems generating root cache tarball (BZ# 540997) 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> commit f7b4f6cb7ff4330ce7359d1036a771363837d046 Author: Clark Williams <williams@redhat.com> Date: Mon Nov 23 09:59:54 2009 -0600 version bump to 1.0.0 Signed-off-by: Clark Williams <williams@redhat.com> commit 9601a606d7f9097d42db104f54d843e2b3fc8b08 Author: Clark Williams <williams@redhat.com> Date: Mon Nov 23 09:36:15 2009 -0600 deleted fedora-9-*.cfg files Deleted F9 configs since F12 released Signed-off-by: Clark Williams <williams@redhat.com> commit 57fa3712cb4801e37c7a72fc82e86937f311c89e Author: Clark Williams <williams@redhat.com> Date: Mon Nov 23 08:47:15 2009 -0600 reworked devpts handling {BZ 510183} changed setup of devpts inside chroot so that /dev/ptmx is a symlink to /dev/pty/ptmx and that it's mounted with all read/write permissions so that pty's are usable inside the chroot. Also called devSetup when running interactive shell, so that shell chroot matches build chroot environment. Signed-off-by: Clark Williams <williams@redhat.com> commit 2122aa41ad7376a3409fc180c5a158983eebde7a Author: Clark Williams <williams@redhat.com> Date: Sun Nov 22 14:23:29 2009 -0600 added reminder to do EPEL releases to checklist commit 18aeb5b777522236302916abefe22b89431383d5 Author: Clark Williams <williams@redhat.com> Date: Mon Nov 16 16:16:51 2009 -0600 version bump to 0.9.20 Added autoconf/automake mojo to choose rpmbuild-md5 if available Signed-off-by: Clark Williams <williams@redhat.com> commit 725e8dd67a14cdec821dbd74df4467d9a76558c7 Author: Clark Williams <williams@redhat.com> Date: Tue Aug 11 16:58:49 2009 -0500 conditionalize import of uuid package and avoid dependent code if import fails (as it will on RHEL5) commit db7deeb7ac09639ad8cf25011e10b4845ab0e3dd Author: Jesse Keating <jkeating@redhat.com> Date: Thu Nov 5 10:20:27 2009 -0800 Version bump commit 094ab8e49a03d19cc2abfcfb1a7186e11186e0c8 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Nov 5 10:18:46 2009 -0800 Fix the target arch for F12/rawhide i386 commit 83532dbb65d8bed3698adb33a0e4cc9e60f97537 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Nov 5 08:42:50 2009 -0800 Version bump commit 3c28cbb6a654e444c39899ec89129189c4bb792a Author: Jesse Keating <jkeating@redhat.com> Date: Thu Nov 5 08:32:41 2009 -0800 Add new config files for Fedora 12 commit 0b76f7018b1381e34b0d2ab559acc52a1d89dc57 Author: Jesse Keating <jkeating@redhat.com> Date: Mon Oct 26 16:26:09 2009 -0700 Update rawhide configs to F13 commit 46b4937a705eb1f6de3bc079ec7dd924811c8f3a Author: Jesse Keating <jkeating@redhat.com> Date: Thu Sep 10 16:22:46 2009 -0700 Add patch cleaning up mock configs for epel (dgilmore) commit 587dfab985dde4ef21fbfd53da52dcfbb70cbdfd Author: Jesse Keating <jkeating@redhat.com> Date: Thu Sep 10 16:18:55 2009 -0700 Use the new location for koji buildroot repos commit 3bc5fb958deb809fc04d6a74ce6688e093f5831a Author: Jesse Keating <jkeating@redhat.com> Date: Tue Aug 11 14:46:31 2009 -0700 Don't automatically update the chroot in a --no-clean scenario This causes largely unnecessary yum runs and delays builds. The new behavior would just skip the yum call all together, unless the chroot was cleaned, in which case the setup command is called. commit 32ed5086e17f6a2322aa742094da0db2c10b348c Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 17:34:28 2009 -0500 version bump to 0.9.17 commit f4f9697962b07b16ff73b4e881e1c05b8b47c744 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 17:34:13 2009 -0500 update mock.spec.in changelog section commit 67c8dd45f3a4c18fb2e4da03880b7bd87d326a6b Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 17:21:05 2009 -0500 added step to update docs/runtests.sh to use current config commit 37c2632237183ab8e2b09737f1c194de23e29227 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 17:20:24 2009 -0500 updated to use fedora-10-x86_64 as test config commit 33f7d91ac5cf6897b250bd4fce4ed63945844a23 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 16:49:51 2009 -0500 patch from Levente Farkas (lfarkas@lfarkas.org) to fix excludes for EPEL 5 on x86_64. BZ# 500617 Signed-off-by: Clark Williams <williams@redhat.com> commit 08f7f800ae03b0b873e89c56c64906ca1cac829d Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 14:40:51 2009 -0500 fixed stupid typo in last update Signed-off-by: Clark Williams <williams@redhat.com> commit cbe5e0fb94228bca7d1686160f3f43d77780ea95 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 14:36:44 2009 -0500 reworked /dev/pts mount command to lookup 'tty' group id and to use the 'newinstance' mount option if the kernel version is >= 2.6.29 Signed-off-by: Clark Williams <williams@redhat.com> commit dd53959146bc22d497c82ec416540af5c8427ec4 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 14:14:18 2009 -0500 ignore mock-unit-test directory in .gitignore commit 1fef98d4034c22d35d3fee00d62c3ad15f930b20 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 14:13:58 2009 -0500 added contrib/mock-cleanup script commit 2046136e9f984d844021b3f8521d66a0ac056571 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 12:47:14 2009 -0500 Add directory and infrastructure that will allow dbus to start in chroot. BZ# 460574 Signed-off-by: Clark Williams <williams@redhat.com> commit b9819b8f173d6e0cc2ac6c2e189691e1854ef2a8 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 11:43:42 2009 -0500 added code to raise exception when --shell specified for uninitialized chroot. BZ# 506288 Signed-off-by: Clark Williams <williams@redhat.com> commit b4830cdc0facfdd1d678a16449a2e2c3120d8625 Author: Clark Williams <williams@redhat.com> Date: Wed Jul 8 11:37:49 2009 -0500 Patch from Jakub Jelinek (jakub@redhat.com) to fix incorrect mode and group for /dev/pts mounted in chroot (BZ# 510183) Signed-off-by: Clark Williams <williams@redhat.com> commit 5820029f62a09a7b69f8f471333597ad64f78cfe Merge: 1fd15eb 10ca9b2 Author: Clark Williams <williams@redhat.com> Date: Wed Jun 24 12:58:29 2009 -0500 Merge commit 'origin/master' into clark commit 10ca9b2d3d653ce63124f22960695082c4e33636 Author: Jesse Keating <jkeating@redhat.com> Date: Mon May 11 18:57:40 2009 -0700 Version bump commit 08c3aeedd0a0e8c3e72238b407485bc5a0eee3c0 Author: Jesse Keating <jkeating@redhat.com> Date: Mon May 11 18:54:00 2009 -0700 Build i586 on i386 for F11 and rawhide. Make rawhide dist to f12 commit 5ed31e0fa1b216c862bfe6624b3cfaf35fc9cbf6 Author: Jesse Keating <jkeating@redhat.com> Date: Mon May 11 18:49:51 2009 -0700 version update commit 4180aad171a3074aafe4ca8ab48688330ef0a689 Author: Jesse Keating <jkeating@redhat.com> Date: Mon May 11 18:44:56 2009 -0700 Add config files for F11 commit 1fd15ebc8f804ae8eb3702a753d30596cf6a8a02 Author: Lubomir Rintel <lkundrak@v3.sk> Date: Sun Mar 1 22:40:19 2009 +0100 Support configurable root cache compression 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. commit 28027fc26d5258efe5034bb975157a3f61dfcfec Author: Lubomir Rintel <lkundrak@v3.sk> Date: Fri Feb 27 03:45:48 2009 +0100 Be able to resolve hostname Copy /etc/hosts from host when resolver configuration is being copied, otherwise add hostname as a loopback alias. commit d6a3d9400521f912ce57fc3d7ac84a950ce05167 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Feb 5 17:53:48 2009 -0800 Copy the hosts tzdata (/etc/localtime) into the chroot commit 1d010be6f558ba252222bd26974c79f37b236ed4 Author: Clark Williams <williams@redhat.com> Date: Tue Feb 3 17:19:20 2009 -0600 version bump commit fd1e796a2f8620bfa4519ad1c9249cfb2ce96053 Author: Clark Williams <williams@redhat.com> Date: Tue Feb 3 17:17:51 2009 -0600 updated for 0.9.14-1 changelog commit 39a835d72daa5aa93ce6ab671e0f192e9e731f6c Author: Clark Williams <williams@redhat.com> Date: Tue Feb 3 17:13:37 2009 -0600 modified to not try to check s390 or sparc commit d678ca9818351811c52bdc476aa7e301de3c33c4 Author: Clark Williams <williams@redhat.com> Date: Tue Feb 3 17:12:56 2009 -0600 removed unsupported configs commit 84054b48599ec6f9dcda8651743b2155cf2171d0 Author: Clark Williams <williams@redhat.com> Date: Mon Feb 2 14:04:38 2009 -0600 commented out dropPrivsForever() in copyin logic commit 8d4bdd537d8ef078b963861095d6e531df81b94a Author: Clark Williams <williams@redhat.com> Date: Sun Feb 1 21:55:57 2009 -0600 updated version commit 453168942081b2d073504016fe4d1c1be0b6ab55 Author: Mike Bonnet <mikeb@redhat.com> Date: Sun Feb 1 09:52:48 2009 -0600 buildsrpm: some additional sanity checking, and removing an unnecessary glob commit ebbe33562c7d66108ef33771cc43ce8b3f4d5583 Author: Mike Bonnet <mikeb@redhat.com> Date: Sun Feb 1 09:51:24 2009 -0600 HOME environment variable is now set globally to match chroot homedir commit 53ceb9d2a1b58291c74a4181da78731ad7c3a811 Merge: bc4dc3f 534b314 Author: Clark Williams <williams@redhat.com> Date: Sun Feb 1 09:49:24 2009 -0600 Merge branch 'master' into clark commit bc4dc3f77deed7b59dc872f634a13380b06a33d5 Author: Clark Williams <williams@redhat.com> Date: Sun Feb 1 09:41:49 2009 -0600 set HOME environment variable to be the chroot home commit 43b9b5a58bc1533c245202bde51e8f091d25b440 Merge: 9eb2dc4 fd41e6e Author: Clark Williams <williams@redhat.com> Date: Sun Feb 1 09:13:35 2009 -0600 Merge branch 'master' into clark commit 534b3148fd64ca6b1a8eee6dbe40bdfb61706c00 Merge: 3e9969f 305c142 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Jan 23 08:26:41 2009 -0600 Merge branch 'buildsrpm' * buildsrpm: unlink->rmdir another srpm -> spec change in buildsrpm. add state for building srpm. cant use srpm var, use spec file instead. its ofr info only. initial work to copy spec/sources and build srpm. commit fd41e6e363e0a08ba1f71670ad9a1206b7982ed0 Merge: 490dc2a 3e9969f Author: Clark Williams <williams@redhat.com> Date: Thu Jan 8 14:51:32 2009 -0600 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit 305c142babcbc5150b716b38e63cd8f9de6f4ef7 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Jan 8 14:37:39 2009 -0600 unlink->rmdir commit 4796f583735f291d1314a23223423354f51dc6a5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Jan 8 14:35:58 2009 -0600 another srpm -> spec change in buildsrpm. add state for building srpm. commit e7a3dd309ae0777ae46b838912087cadd2528e57 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Jan 8 14:25:03 2009 -0600 cant use srpm var, use spec file instead. its ofr info only. commit 6ed8d50169bb513b419e1a6bcc5092cbf15b5497 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jan 8 14:05:35 2009 -0600 initial work to copy spec/sources and build srpm. commit 490dc2a043d940602ad1679cd3f8e075fc35a636 Merge: b2591d4 a9c9f08 Author: Clark Williams <williams@redhat.com> Date: Thu Jan 8 13:19:26 2009 -0600 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit 3e9969f8c50b85f8380c3fe00155ae5b9970fac2 Merge: a9c9f08 3eaddeb Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Jan 7 18:19:43 2009 -0600 Merge branch 'fix-resultdir-not-accessible' * fix-resultdir-not-accessible: add new exception for result dir not being accessible and print nice friendly error message. commit a9c9f083e197a9ffe83003230b635730af66e3ba Author: Todd Zullinger <tmz@pobox.com> Date: Wed Jan 7 18:59:21 2009 -0500 Fix git log command used for ChangeLog and AUTHORS The git-* commands are not in the PATH by default with git >= 1.6.0. Signed-off-by: Todd Zullinger <tmz@pobox.com> commit 324ef3f812b15dfe4fc552f8962020f4ba0a8e35 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Jan 7 14:53:19 2009 -0600 add configs from dgilmore for sparc, s390 commit d224591a27ae6b180a514d385bce304b0a2ea9a1 Author: Todd Zullinger <tmz@pobox.com> Date: Sun Dec 21 11:50:29 2008 -0500 Don't disable ccache on epel-5, it is available Signed-off-by: Todd Zullinger <tmz@pobox.com> commit b2591d422f522c27230eeb13011363f50842c1fb Author: Clark Williams <williams@redhat.com> Date: Fri Dec 19 15:58:52 2008 -0600 removed import of popen2 from py/mock/util.py (gets rid of deprecated warning) commit 78cd2d318fb16777db57af335c2e82db3c06c3f7 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 19 15:58:06 2008 -0600 added version variable; added Mock Version banner to all logs commit d0bbbdb28ab908e95437e7a2ca5b68cdb5634030 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 19 15:57:19 2008 -0600 added version key to config options; moved cache_topdir to /var/cache/mock; removed trailing slash from basedir commit b8455b3512dbe240c3e90aa0cae30c5db2af4121 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 19 15:56:04 2008 -0600 modified mock.spec.in to move cache dir from /var/lib/mock/cache to /var/cache/mock commit 7adc34747090750c13e0b19090ba1cdcf4f27f0e Author: Clark Williams <williams@redhat.com> Date: Fri Dec 19 15:55:06 2008 -0600 added comment to etc/mock/site-defaults.cfg which clarify mode and group ownership requirements for basdir and cache_topdir commit e1595d387132396500de2c961d4c2123fc5bc191 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 19 15:53:58 2008 -0600 modified .gitignore to ignore generated files commit 3eaddeb432b8755345f50acaf370be9146eb551e Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Nov 18 17:29:02 2008 -0600 add new exception for result dir not being accessible and print nice friendly error message. commit 9eb2dc48fb1097416a42fe4835274b9c4d8a9ad9 Author: Mike McLean <mikem redhat com> Date: Tue Nov 11 16:49:25 2008 -0600 Signed-off-by: Mike McLean <mikem redhat com> commit f361fde09b4063026dc1e644511db3041dec275d Author: Jesse Keating <jkeating@redhat.com> Date: Thu Nov 6 13:56:52 2008 -0800 version bump commit bc45e9e246754acf4bbb979b06302951d058dbc1 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Nov 6 13:56:15 2008 -0800 Add configs for Fedora 10 commit f5c6e757ef7d4e0e0fe150d70b3415de872cc8a0 Author: Clark Williams <williams@rt2.localdomain> Date: Wed Oct 15 12:21:32 2008 -0500 version bump commit 9ebedb498b456e2b9db597e147411404d0d6b5e8 Author: Clark Williams <williams@rt2.localdomain> Date: Wed Oct 15 12:15:37 2008 -0500 updated release instructions commit 85a6358a68af882b9fcc094eb9b056278f69ffd8 Author: Clark Williams <williams@rt2.localdomain> Date: Wed Oct 15 10:16:21 2008 -0500 added panu's fix for strange rpm behavior commit d00b0fef2c083566719257d95cb6583ac44b5c0f Author: Mike McLean <mikem@redhat.com> Date: Tue Oct 14 16:10:56 2008 -0400 internal setarch support for s390/s390x Signed-off-by: Mike McLean <mikem@redhat.com> commit 8e30deeff935c241d48d5b9c3bf36acf2b0df178 Author: Jesse Keating <jkeating@redhat.com> Date: Mon Sep 29 12:02:07 2008 -0700 Refer to the .newkey location of current Fedora 8/9 updates. commit f22b7b99b6301f9cec00465fe6ae3e6cfd7f97e3 Author: Clark Williams <williams@redhat.com> Date: Thu Sep 4 16:59:26 2008 -0500 updated the specfile changelog commit 57250ead13d31df01fd88bca9cc09d2641e88ac9 Merge: a04b047 41fd46e Author: Clark Williams <williams@rt2.localdomain> Date: Thu Sep 4 14:35:12 2008 -0500 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit a04b047476ac52e151045dcd57634afd8b8f4a10 Author: Clark Williams <williams@rt2.localdomain> Date: Thu Sep 4 14:31:23 2008 -0500 version bump commit 60bd2006a1906cc6fef8ecc6c79ecbb4315f2656 Author: Clark Williams <williams@rt2.localdomain> Date: Thu Sep 4 14:29:54 2008 -0500 turn off tmpfs plugin for epel-4-x86_64 commit d4dd6652c28dfb72d8487df8ce1ddd3253f82067 Author: Clark Williams <williams@rt2.localdomain> Date: Thu Sep 4 14:29:34 2008 -0500 avoid using tmpfs plugin for epel-4-x86_64 test commit 41fd46ee0ce8eb017f313f29c2aad8264abb77aa Author: Clark Williams <williams@redhat.com> Date: Thu Sep 4 09:11:09 2008 -0500 dealt with rawhide autotools changes commit d94d494073ff9bbee3f44a1d166af31e87c0ac8c Author: Clark Williams <williams@redhat.com> Date: Fri Aug 29 14:55:34 2008 -0500 workaround new rpm issues by deleting rpmdb temp files after unpacking root cache commit 349aaca37116efef59fd559eba1e574e990a8c1b Author: Clark Williams <williams@redhat.com> Date: Fri Aug 29 14:54:53 2008 -0500 create BUILDROOT dir required by new rpmbuild commit 7930a570b9e9eaa8eb71922e47e7f675b1b73f56 Author: Jesse Keating <jkeating@redhat.com> Date: Tue May 20 10:56:07 2008 -0400 Release bump commit 9309db14e0b28bb4b0c0cc5aa1350ff4116c5a55 Author: Jesse Keating <jkeating@redhat.com> Date: Tue May 20 10:55:58 2008 -0400 Add epel-testing repos commit 752c25f0a7d80a3705624946779d805ff352675b Merge: bc8a3bc 7ab8dfe Author: Jesse Keating <jkeating@redhat.com> Date: Tue May 20 10:41:20 2008 -0400 Merge branch 'master' of ssh://git.fedorahosted.org/git/mock commit 7ab8dfe62ad84ba9426a1cbf17a3d967278e23d9 Author: Clark Williams <williams@redhat.com> Date: Fri May 16 15:01:27 2008 -0500 added fix for building F-8 mock commit 17a92823ceacc320568199fd2d8b4eff2cb1536b Merge: 5b5662b 9afac0b Author: Clark Williams <williams@redhat.com> Date: Fri Apr 25 14:12:13 2008 -0500 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit bc8a3bcd9a989ef94dbc79d571b840df1c9902f7 Author: Jesse Keating <jkeating@redhat.com> Date: Tue Apr 22 16:55:52 2008 -0400 Prep for release. commit 9afac0bf32c6bf7b80c56c5444c4a3c9462ae2c2 Author: Jesse Keating <jkeating@redhat.com> Date: Tue Apr 22 16:45:49 2008 -0400 Add F9 config files, prepare rawhide files for F10, comment out multilib excludes Multilib excludes are no longer needed with Fedora 9+ as yum multilib policy changed. commit 5b5662b02a1d82148beaeae3fe4a8fa2bcf55ba2 Merge: c5dfce5 e070277 Author: Clark Williams <williams@redhat.com> Date: Mon Apr 14 11:02:10 2008 -0500 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit e070277073e8bf8bf4f43588de1a1c361fd4230c Merge: b9313a1 6146496 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Mar 31 17:35:31 2008 -0500 Merge branch 'master' of ssh://mebrown@git.fedorahosted.org/git/mock * 'master' of ssh://mebrown@git.fedorahosted.org/git/mock: version bump Update the spec changelog with interesting changes Update the spec file with compat symlinks for devel/rawhide. Move "devel" to "rawhide" to match current Fedora naming schemes. commit b9313a12c37362126128284aa31f27ee47b2e80c Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Mar 31 17:34:52 2008 -0500 fix typo which causes exception in command-timeout code (which was trying to raise exception) commit 6146496365c35ace48025a5f9511442aee20e63a Author: Jesse Keating <jkeating@redhat.com> Date: Mon Mar 31 17:58:48 2008 -0400 version bump commit 4d4ed483e8e88037f87de9aba68572a7af9c2b60 Author: Jesse Keating <jkeating@redhat.com> Date: Mon Mar 31 16:37:28 2008 -0400 Update the spec changelog with interesting changes commit 567a45fbc4b8f5f4fa3d37e23ac66c8a478389ec Author: Jesse Keating <jkeating@redhat.com> Date: Mon Mar 31 14:30:16 2008 -0400 Update the spec file with compat symlinks for devel/rawhide. commit 7d4f2e7fb7694afb9a6e6d62b0fcbfdc2e193353 Author: Jesse Keating <jkeating@redhat.com> Date: Mon Mar 31 14:26:21 2008 -0400 Move "devel" to "rawhide" to match current Fedora naming schemes. commit 97d9d11d4c68648efe347049afe68e538d250f56 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Mar 9 12:09:00 2008 -0500 add support for shm commit 94d02f3cf940d0e9e1f23ec0e8845f33105fc8fc Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Mar 7 21:15:44 2008 -0600 handle idiots with grace and poise. commit c5dfce5f71df354aa87cd19cdec33288ef85c7c1 Author: Clark Williams <williams@redhat.com> Date: Fri Mar 7 16:25:57 2008 -0600 changed default chroot_setup_cmd to be "groupinstall" commit 4209ee74efad6c9554ffb22e18c27f19bf9b793b Author: Jesse Keating <jkeating@redhat.com> Date: Tue Mar 4 16:35:22 2008 -0500 Point to the correct static-repo for development stuff. Ooops. commit 8595f8906cadccd5787679044409c50fc0746caf Author: Jesse Keating <jkeating@redhat.com> Date: Tue Mar 4 16:01:05 2008 -0500 For Fedora 8 and higher, use priority failover method, as mirror manager gives you back site specific mirrors in priority order. Also set a cost for koji repos to avoid downloading all from there. commit 4299c5e45f12717b81caf6bd2c82a4ac6853d360 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Mar 4 13:05:45 2008 -0600 log child return code for debugging. commit c0be8cccf2d6bfe48b33d05cb496588908300f39 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Mar 4 13:05:34 2008 -0600 fixup URL for fedorahosted path because rpmbuild chokes with ?format=raw commit 8a37cad09df6b41032e5d1b79995b1c391bb2882 Author: Clark Williams <williams@redhat.com> Date: Fri Feb 29 16:27:05 2008 -0600 modify rootcache logic to rebuild cache if config files have newer timestamp commit 62b7b91c0f1d71f903f7bd81403a29f8d943bbaf Merge: 3d37db2 fc75532 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Feb 13 15:07:24 2008 -0600 Merge ssh://mock/var/ftp/pub/Applications/git/mock * ssh://mock/var/ftp/pub/Applications/git/mock: fixup exclude= line (AGAIN) to exclude numeric packages [0-9] commit fc7553243d86174302a4244f7140dda2267d655a Merge: c7debfc 1819aa2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Feb 13 15:08:50 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * 'master' of /var/ftp/pub/Applications/git/mock: version bump add fcntl import commit c7debfcd9b356206b855a7ee9eb3bd55a9786559 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Feb 13 15:08:43 2008 -0600 fixup exclude= line (AGAIN) to exclude numeric packages [0-9] commit 3d37db24b63f0ab8c9e18edbac7695513c850ee2 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Jan 31 19:54:26 2008 -0600 fixup Source URL path for tarball in spec file. commit 6b89c8c0feb17d17d671b8937eb64baaf9507022 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Jan 31 19:06:26 2008 -0600 add changelog. commit 1819aa2974e8752e8e82b606d3ea57b9a2afd268 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Jan 31 18:31:33 2008 -0600 version bump commit 5fb7dc9cc1d6585fcc7cb066cc9d68e7a1f58310 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Jan 30 00:03:37 2008 -0600 add fcntl import commit 5ff9b7b2da07756df55e56a0ef58e21b66d6ee2b Merge: f1f47ae 56957fc Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jan 29 23:48:50 2008 -0600 Merge ssh://mock/var/ftp/pub/Applications/git/mock * ssh://mock/var/ftp/pub/Applications/git/mock: updates to mock.util.do(): 1) nonblocking read, 2) dont leave zombies (waitpid). we now run /etc/profile, so no need to manually do ccache stuff. use makeChrootPath() functionality rather than obscure string interpolation commit 56957fc4b42272bf900daf00649e1acbf94378f4 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Jan 29 23:47:47 2008 -0600 updates to mock.util.do(): 1) nonblocking read, 2) dont leave zombies (waitpid). commit f1f47ae2bb7770c6ed072f779763c275a18f9828 Author: Mike Bonnet <mikeb@redhat.com> Date: Thu Jan 24 17:16:46 2008 -0500 set the current working directory in the chroot This patch allows you to set the current working directory (in the chroot) before running a command with --chroot. This avoids the need to pass shell snippets ('cd /some/path && /run/cmd') to mock when running a command that expects to executed from a certain directory. It's useful when using --copyin to setup the environment before running a command. >From e4071d1d41a62ccf4461dfab958f9325edf30c97 Mon Sep 17 00:00:00 2001 From: Mike Bonnet <mikeb@redhat.com> Date: Thu, 24 Jan 2008 17:09:06 -0500 Subject: [PATCH] optionally set the current working directory (in the chroot) before running command with --chroot Signed-off-by: Michael E Brown <mebrown@michaels-house.net> commit 0fd7dd4e63e09671bb816510b3fde1555814e085 Author: Mike Bonnet <mikeb@redhat.com> Date: Thu Jan 24 16:07:51 2008 -0500 add --unpriv option to drop privileges when running a command with --chroot On Thu, 2008-01-24 at 16:04 -0500, Mike Bonnet wrote: > On Thu, 2008-01-24 at 15:42 -0500, Mike Bonnet wrote: > > This patch adds a --unpriv option that will cause privileges to be > > dropped before running a command with --chroot. This can be used to > > more closely simulate the environment used when running rpmbuilds. > > Let me try that again... Ok, the attachments are getting stripped off for some reason, trying inline... >From 85e14d38aec32cf20d7f2bbdc77044d41c32a0a2 Mon Sep 17 00:00:00 2001 From: Mike Bonnet <mikeb@redhat.com> Date: Thu, 24 Jan 2008 15:37:15 -0500 Subject: [PATCH] optionally drop privileges when running a command with --chroot Signed-off-by: Michael E Brown <mebrown@michaels-house.net> commit bbc2b4dd0c6b7331ae789caabecbc5e154f96e52 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Jan 22 15:59:17 2008 -0600 redo exclude= lines yet again to work around what looks like python fnmatch() bug handling [!x] and/or [^x] commit beed7f3a868c22a9c75064888c0e3f70dc3b523b Merge: 041b8da 78d6a20 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Jan 22 12:32:25 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * '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. commit 041b8dac4983ae69dd5f0edbc9522dce662fb798 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Jan 22 12:31:50 2008 -0600 we now run /etc/profile, so no need to manually do ccache stuff. commit 78d6a209b8dfe438880e4d62a58693e33693560b Author: Michael E Brown <michael_e_brown@dell.com> Date: Sun Jan 20 15:09:14 2008 -0600 get rid of one level of shell indirection where possible. commit 7d45de8aa01207413b615874ba58d0239f00a92e Author: Michael E Brown <michael_e_brown@dell.com> Date: Sun Jan 20 14:00:47 2008 -0600 revert accidental comment-out of test cleanup that I was using to debug tar problem. commit 35eeadbb2775e99deae72f484117062f783d6f7f Author: Michael E Brown <michael_e_brown@dell.com> Date: Sun Jan 20 13:59:55 2008 -0600 add back in dropped '.' to tar cvf command that is causing root cache creation to fail. Add debug logging for running commands. commit 5aaa59800cae18440c1ba6caca5800e45b3ff5fa Author: Michael E Brown <michael_e_brown@dell.com> Date: Sun Jan 20 13:30:41 2008 -0600 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. commit 7589279b856ae73eb26fc728a38a58edbe06d94c Author: Michael E Brown <michael_e_brown@dell.com> Date: Sun Jan 20 13:28:02 2008 -0600 better unit test error message. commit 3cfdea5d12f0b4923cdfa9572e58ba098b4833c6 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 18 15:53:33 2008 -0600 mount everything when running chroot command. commit 1688f6817747729352dad266abc93b98b678b257 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 16 08:23:24 2008 -0600 updated change log commit 769e6ebd487b6a037ff7086bd4545b0dab850b59 Merge: b0b401f 15550d8 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 16 08:13:38 2008 -0600 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit b0b401f6ce5cb0e6abad29142101b9de1f7629ec Author: Clark Williams <williams@redhat.com> Date: Wed Jan 16 08:12:18 2008 -0600 added compat symlinks commit 9104445a6018a6ca5ae553cb3a9bdfe6eeba8b3c Author: Clark Williams <williams@redhat.com> Date: Wed Jan 16 08:06:53 2008 -0600 version bump commit 15550d8100caeb2be99bcf9d02349e8a1a005f4a Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jan 15 15:50:22 2008 -0600 update manpage with new site-defaults ref. commit eeefafa7cf4ef012042fc46ff261b82de368a461 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jan 15 15:39:56 2008 -0600 the great config file rename. commit 8218fd159eaca75a16626e74569b7672bbd14986 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jan 10 11:41:23 2008 -0600 some manpage clarifications and arrangements. commit b5a372a5b2a682553a28161a9a5e1a6c9510f927 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Jan 9 10:29:40 2008 -0600 clarify info message to make it obvious that root cache is being unpacked. commit 89fae160c04d3a84d3aa833a8a33fd39b7519dd1 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jan 8 15:54:54 2008 -0600 cleanup trailing whitespace. commit 8585acd974206ebb8a0ad14f42cefb2096cadd6f Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jan 8 15:53:09 2008 -0600 cleanup trailing whitespace. commit 67628dae8b37a226cb6899ffebffd66b40e74161 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jan 8 14:54:10 2008 -0600 add ability to conditionally enable tmpfs based on minimum ram availability. commit cc889dbb4ed40909ffd6c29bc29623cfcf1a1ca5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Jan 8 13:59:05 2008 -0600 add initfailed hook so tmpfs plugin can properly unmount tmpfs on failure. make sure we call postbuild hooks even on failure. commit 5962b8ac964d56a15586e6c9e069670a5a896b6a Merge: bdf34de 552c3bb Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Jan 7 13:25:05 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * 'master' of /var/ftp/pub/Applications/git/mock: fix 'make srpm' to only build srpm and not also binary rpm. update docs for --arch and --target. commit 552c3bbe3331f5a7727010a0420d11159777ea90 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 4 15:10:09 2008 -0600 fix 'make srpm' to only build srpm and not also binary rpm. commit 528eac267392d8bcdec0e8e8ffcdf0bf46c9522a Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 4 15:01:33 2008 -0600 update docs for --arch and --target. commit bdf34de8bbc25eeda69aa873e67c9fc55a7223c0 Merge: 4d3427f 4c7aa19 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 4 14:47:11 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * 'master' of /var/ftp/pub/Applications/git/mock: fix syntax error from personality move by using config_opt directly. commit 4c7aa19e68265adeb888b6bd539fbecd07d92080 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 4 14:47:00 2008 -0600 fix syntax error from personality move by using config_opt directly. commit 4d3427f27b094f6cced1512a48af4b87bd6811c0 Merge: aefe3d7 e964477 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 4 14:43:52 2008 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * 'master' of /var/ftp/pub/Applications/git/mock: split up --target and --arch cmdline options. get rid of personality() calls in sub do() calls because it is set at top level now. added --print-root-path option paul howarth's request to change from -l to --login on bash invocations use the right mkdev argument Create the dev/full device, some packages use it during make check. add ia64 and alpha to personality_defs Patch from Doug Chapman <doug.chapman@hp.com> Doug Chapman's ia64 personality warning fix Roland McGrath's fix for ctypes LoadLibrary on ia64 commit e964477a73d2ecb233e0e680e8c091a1f884e5a2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 4 14:42:58 2008 -0600 split up --target and --arch cmdline options. commit 63d55b3e4dcb6485e1658ab846852bfc021b15cb Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jan 4 14:36:49 2008 -0600 get rid of personality() calls in sub do() calls because it is set at top level now. commit fac395c0fe95db2642d26a118cfed0ed8cdc95f1 Author: Clark Williams <williams@redhat.com> Date: Fri Jan 4 13:43:30 2008 -0600 added --print-root-path option commit f1a50746dc4acc3f5c9558013338880c36e51be8 Author: Clark Williams <williams@redhat.com> Date: Fri Jan 4 12:50:47 2008 -0600 paul howarth's request to change from -l to --login on bash invocations commit 15661ac0004d08a33a05f6d23fe9d884bfbb82e2 Merge: dbbadfc 99cb911 Author: Clark Williams <williams@redhat.com> Date: Fri Jan 4 12:48:47 2008 -0600 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit 99cb911d9a4c5c9f80646347fcd4352f9deafbb0 Author: Jesse Keating <jkeating@redhat.com> Date: Thu Jan 3 11:52:54 2008 -0500 use the right mkdev argument commit 326eff18721c5e95a2c94556e363d3e8beec1eca Author: Jesse Keating <jkeating@redhat.com> Date: Thu Jan 3 09:40:41 2008 -0500 Create the dev/full device, some packages use it during make check. commit dbbadfc55ee1ee38412948e6efa45934d3321a8f Merge: 8c50e6b 4edf7e2 Author: Clark Williams <williams@redhat.com> Date: Wed Jan 2 09:25:53 2008 -0600 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit 4edf7e2d6935b36ab12427a56b8fbaeff3b62321 Author: Doug Chapman <doug.chapman@hp.com> Date: Thu Dec 20 09:30:54 2007 -0500 add ia64 and alpha to personality_defs Patch to quiet the "Unable to find predefined setarch personality" warnings seen on ia64. I added alpha as well while I was at it. Signed-off-by: Doug Chapman <doug.chapman@hp.com> ---- Signed-off-by: Michael E Brown <mebrown@michaels-house.net> commit 5c3372a46b5ab024390d12831feafad1251abe5b Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 31 13:16:59 2007 -0600 Patch from Doug Chapman <doug.chapman@hp.com> Fix up mock ctypes libc usage so that it doesnt directly specify libc soname, which can change on different arches. Instead use "None", which should resolve to use already-loaded global scope. -- signed off by: Michael Brown <mebrown@michaels-house.net> commit 8c50e6b2de9e4513792a4500f22e8397e38c6c58 Author: Clark Williams <williams@redhat.com> Date: Sat Dec 22 21:24:40 2007 -0600 Doug Chapman's ia64 personality warning fix commit e442736e060a944994ffa1c04fe65c7302e4ba43 Author: Clark Williams <williams@redhat.com> Date: Sat Dec 22 21:22:57 2007 -0600 Roland McGrath's fix for ctypes LoadLibrary on ia64 commit aefe3d7b6e7c289c84bea6865e7020b4c4637ea4 Merge: 3ae0cfc 99e36b1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Dec 21 13:41:03 2007 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * 'master' of /var/ftp/pub/Applications/git/mock: /usr/sbin/mock no longer needs to be owned by group mock. remove unused debugging code. version bump and changelog fix privs for yum resolvdep, needs to be root to download addl filelists. fixup release instructions so that tags properly pushed. update changelog prior to release. bump version. add comment about making sure to fix both version defs. cleanup from unit tests if they are interrupted or end prematurely. fix resultdir for --uniqueext builds without resultdir specified. try to standardize on single-quotes for indexing hashes. we are now noarch, fix unit tests. add tmpfs plugin to installation list. requires usermode due to new userhelper stuff. fix use of tabs in spec file to make rpmlint happy. Run rpmbuild in a login shell in the chroot. commit 3ae0cfcbab2ace30d69484ef2ab267cf84176a0c Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Dec 21 13:40:59 2007 -0600 use makeChrootPath() functionality rather than obscure string interpolation commit 99e36b173e3fa707796a8a13e9b356e651544044 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Dec 21 13:38:32 2007 -0600 /usr/sbin/mock no longer needs to be owned by group mock. commit 36f5d86a84f645cf4622069ec217848f0877c0c1 Merge: e02f5e1 e8ddd95 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Dec 21 13:36:26 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedorahosted.org/git/mock commit e8ddd9506db08ecb3c9df4093d8f241223182ac6 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Dec 20 22:23:34 2007 -0600 remove unused debugging code. commit e54c0769499b065d4412587f8654d32f1d26e5f9 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Dec 20 21:58:33 2007 -0600 version bump and changelog commit 0c608ac26c2977e8dd74dc9c6518438c809b28ac Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Dec 20 16:32:58 2007 -0600 fix privs for yum resolvdep, needs to be root to download addl filelists. commit 58102c86f292e3c6ce4703e07eabbc6c0fcbf171 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 23:04:47 2007 -0600 fixup release instructions so that tags properly pushed. commit 5e2c5817033073dbb990d6a2e63e1b355ce42700 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 22:50:43 2007 -0600 update changelog prior to release. commit c66a059944ba549944ddd2205e40e508a533424f Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 22:34:51 2007 -0600 bump version. add comment about making sure to fix both version defs. commit 71f510842210b922babc47260712840c799cd133 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 22:30:53 2007 -0600 cleanup from unit tests if they are interrupted or end prematurely. commit 79ad55bfcd2afbeedda8f955e484a41c01939545 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 21:44:30 2007 -0600 fix resultdir for --uniqueext builds without resultdir specified. try to standardize on single-quotes for indexing hashes. commit 50b03e60318c31224c0df9a7405751d50e8abace Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 21:43:44 2007 -0600 we are now noarch, fix unit tests. commit 3b856bf60e26191921d2dce9e613b79deef9f775 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 21:43:30 2007 -0600 add tmpfs plugin to installation list. commit 5d9cda77ea5eaf6d76257dc6307bf1d1fdcb4970 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 17:06:10 2007 -0600 requires usermode due to new userhelper stuff. commit a8751165cf863c8feb5a160e142aa05d38024efa Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 17:02:41 2007 -0600 fix use of tabs in spec file to make rpmlint happy. commit 7a89b9314d52b4b13fadce422ebbfb95cfb222a7 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 19 16:48:45 2007 -0600 Run rpmbuild in a login shell in the chroot. commit e02f5e1548e20297f2f18d8f93f464ff8f48a032 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 19 13:28:39 2007 -0600 set personality in mainline code so all options run under correct personality. commit 32cbdd2d00964cd7adb74de63b047a2cf7f3b5c5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 14:44:16 2007 -0600 unmount tmpfs when done or we run into problems with clean. commit 11f7c74bf4bf79961ae4755c9200a08848b4b877 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 14:43:47 2007 -0600 add hook (currently unused) for clean. commit 67e4534d8c571dacf85fde3d6dc11d66ba61c441 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 14:33:31 2007 -0600 add unit tests for tmpfs plugin. commit 012a5f92f24d196337f120e2c0cc1f0483089928 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 14:21:46 2007 -0600 fixup typo: makeChrootPath is a method on self.rootObj. commit 0f90b968f36a9d945b77ed65bea93e764c077cb6 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 14:21:09 2007 -0600 better ordering constraints for plugin initialization. commit e65d55ea8421f573c9a7e4ab0184afdcc89f2f51 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 13:50:30 2007 -0600 add initial tmpfs plugin and default options. commit 6a0638f95c5271b069d308c5f53062aace7b4283 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 12:52:23 2007 -0600 comment out decorator for doChroot() to prevent logging build exceptions multiple times. commit 8777d77ee5ab41299c810c58852c75a9f46750b2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 11:08:30 2007 -0600 make substs tolerant of whitespace changes. commit 626f3fb24810da09ffeaee153b405d08b0001dc2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 18 11:04:09 2007 -0600 fixup bad substitution for LIBDIR. Cut-n-paste error. commit 7d2912fbd7f91d16e34a4ccac90c24104d70bb3d Author: Ville Skyttä <ville.skytta@iki.fi> Date: Mon Dec 17 22:47:24 2007 +0200 Make noarch. Signed-off-by: Michael E Brown <michael_e_brown@dell.com> commit 3def081191d7dfe8e6c9b83286cdec411b1687ff Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 18 09:17:48 2007 -0600 small whitespace cleanups. commit 0e635a627bce9df7375764c8875d6ac387efacb4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 18 09:14:31 2007 -0600 fixup distclean to remove all built rpm and unit test files. commit 5c493b00930e91436aeb1ef2e3903e3c4db2d891 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 17 11:08:22 2007 -0600 better fix for failing distcheck. commit 1ff8521934d1703e802478f92d10ed122fcdb4f1 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 17 00:40:21 2007 -0600 fix path comparison for orphanskill. commit 62fc696ad0df3c39438aa31e54766525830688a6 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 17 00:39:52 2007 -0600 one more releasetests fix. commit b4bb85c58267c348343f5844d23fdf5e230e71a3 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 17 00:21:15 2007 -0600 fix release tests. commit ad0f44c3c74bae3c020bbed280d07fefd621fe2c Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 16 23:17:47 2007 -0600 make rootdir private (_rootdir). Use accessor in mock.py as well. commit b03c8e8a1459f01f8f6b583df3af6c6b168f82a5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 16 22:35:01 2007 -0600 dont do setarch personality() call for noarch commit f35e76d882778d207c2ab73ef8bc0b7a270b142d Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 16 22:27:17 2007 -0600 add comment to clarify usage of dist config option. commit 6882f2dbf63cf9f4d197f44c9afed2fd5966f16a Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 16 22:22:13 2007 -0600 document --trace in cmdline help. commit ec01cc18d36138777597a68a3ddd9f7aea29e705 Merge: bc0ff1a cd12f35 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 16 22:11:30 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedorahosted.org/git/mock * 'master' of ssh://mebrown@git.fedorahosted.org/git/mock: more on release instructions first cut at updated release instructions fixed syntax error replaced references to rootdir with calls to makeChrootPath() replaced references to rootdir with calls to makeChrootPath() replaced references to rootdir with calls to makeChrootPath() updated changelog info added help target commit bc0ff1a2c7788e92264bb13c4706ec6a1714925f Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 16 22:10:43 2007 -0600 document --trace. commit c9d02fffbedc34d38823ed635bc4ff21b0a21e63 Author: Ville Skyttä <ville.skytta@iki.fi> Date: Sun Dec 16 12:00:00 2007 +0000 Mock documentation patch The attached patch adds the following option aliases: --root for -r, -D for --define (like in rpmbuild), --target for --arch (like in rpmbuild). It also adds --verbose and --quiet and -h to the man page, and fixes a couple of other minor man page issues. Signed-off-by: Michael E Brown <mebrown@michaels-house.net> commit cd12f3519ffd7f0bfb01203a6980d6930c11ca23 Author: Clark Williams <williams@redhat.com> Date: Sun Dec 16 08:51:54 2007 -0600 more on release instructions commit 874f6f228128cb0a72a57d0b644d5ad3c8c7caea Author: Clark Williams <williams@redhat.com> Date: Sun Dec 16 08:48:57 2007 -0600 first cut at updated release instructions commit 0da58fadfe9367dca44785ed0459bb65dbfa14d2 Author: Clark Williams <williams@redhat.com> Date: Sun Dec 16 08:48:34 2007 -0600 fixed syntax error commit 64439e769bb95ff4e277deb86b1743a582dee50d Merge: 39ee6e1 184afb1 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 14 16:34:49 2007 -0600 resolved merge conflicts commit 39ee6e19397207468751d6308e0a7895543d9733 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 14 16:33:09 2007 -0600 replaced references to rootdir with calls to makeChrootPath() commit d4458262ddcd3d55ba7009ff3dd131947f4f01e6 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 14 16:33:05 2007 -0600 replaced references to rootdir with calls to makeChrootPath() commit 3542beca1ed0f1d13b1bde95f338c777bbaf6ccc Author: Clark Williams <williams@redhat.com> Date: Fri Dec 14 16:32:57 2007 -0600 replaced references to rootdir with calls to makeChrootPath() commit 184afb1852bccc8e9d1b38dea05f30af1180f122 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Dec 14 16:27:39 2007 -0600 remove uses of chroot rootdir attribute and use accessor. commit bddf95fb16486532a0eb88bc6590243e936c84c4 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 14 16:11:05 2007 -0600 updated changelog info commit 1179491f3cd4ff9ddc7a061f39ef47ff8cf78d01 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 14 16:10:46 2007 -0600 added help target commit 987d7c07a71dc792613f26c060efe4d354bf6891 Author: Clark Williams <williams@redhat.com> Date: Fri Dec 14 09:44:17 2007 -0600 removed private sublevel lablel commit f496f29335f7b22b307c6b9173d2e31af6162fd0 Merge: 6b2d14f 3ea2ef7 Author: Clark Williams <williams@redhat.com> Date: Thu Dec 13 17:38:52 2007 -0600 resolved merge with master commit 6b2d14f9afb39a955331f4a52a597b122f585166 Author: Clark Williams <williams@redhat.com> Date: Thu Dec 13 17:35:42 2007 -0600 changed more uses of .rootdir to makeChrootPath(); updated man page for --copyin and --copyout; updated plugins to use makeChrootPath(); updated releasetests.sh so that daemon tests uses --copyin commit 3ea2ef74a181a32583b3a35dae386a1701a5a89d Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 13 16:29:46 2007 -0600 add 'make check' function to call what used to be releasetests.sh commit 1e92c25cb133e4e8d55eb837f2650587636af3ef Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 13 15:09:52 2007 -0600 make releasetests.sh call runtests.sh using automake 'make check' target, as well as run std automake distcheck stuff. commit b9ea13ab85d0ea544e3496d57bc9c167709121f1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 13 15:08:54 2007 -0600 make runtests.sh runnable from automake. commit 8fd334aef28b0846bf8872e577b8f4c56f1a2f02 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 13 15:07:34 2007 -0600 fix compile warning for -Wall in daemontest.c commit 772393088cd0e6169f2a21e3a3470f6ebb59d2b1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 13 15:06:58 2007 -0600 rename releasetests.sh to runtests.sh to prepare for adding 'make check' function commit 076a90491cfc27c895618d950c4de828489c189c Merge: e2a3ae3 64dbe92 Author: Clark Williams <williams@redhat.com> Date: Thu Dec 13 15:06:16 2007 -0600 merged with latest master commit e2a3ae38691b188b56ba0bddf431a62a5f9ac182 Author: Clark Williams <williams@redhat.com> Date: Thu Dec 13 15:02:03 2007 -0600 added copyin/out options; added makeChrootPath() method to Root commit 64dbe925996c7f643cb9f980ac8b4fb4b6dbe1a0 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Dec 13 09:31:55 2007 -0600 update changelog in spec file. commit a224c14773c38c2a9384874c7557b9ff1d05b71a Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Dec 13 09:22:36 2007 -0600 version bump commit b6e2d5a26ac478ce3409cab32dac704f2db61ac6 Author: Mike Bonnet <mikeb@redhat.com> Date: Wed Dec 12 18:24:40 2007 -0500 if --chroot only has one argument, pass it to doChroot() as a string instead of a list to support legacy quoting rules Signed-off-by: Michael E Brown <michael_e_brown@dell.com> commit 33d6db8f39e2f5a1aed9c8bc0c7e5e453d662d0c Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 12 16:43:58 2007 -0600 enable releasetests to run from clean checked out source tree. commit 515b676081a8bc32185fda5659f186f352f94046 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 16:39:53 2007 -0600 remove trailing whitespace. commit b9662342ff2efdbe0a85bc02aa7c7ede68fc718d Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 16:38:34 2007 -0600 remove buildsys-build.spec from tarball. commit 2e47f7a55091ddbcf7a2b883738ddf70aed4c2b5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 16:38:14 2007 -0600 remove trailing whitespace. commit 7e35a8aa542afcdc2f1ea7a69bd435e75bd9c40c Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 12 16:20:23 2007 -0600 separate out shell and chroot cmdline args. commit d16aaf3b7736e4a23e82bc455c4a09d05259a1b7 Merge: f50af0f 4761a4a Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 12 16:05:42 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedorahosted.org/git/mock * 'master' of ssh://mebrown@git.fedorahosted.org/git/mock: fixup trailing whitespace. dont place specs into release tarball. This allows us to rev the RPM without having to have different tarball bits. remove redundant daemontest in src auto generate AUTHORS file from git. remove another dead libtool reference. remove generated autotools files from source repository. use autogen.sh to create them when compiling from git. remove generated autotools files from source repository. use autogen.sh to create them when compiling from git. remove dead code from autoconf files since we no longer compile anything. Don't provide backwards compat option for update. Add --update call, to update existing buildroot. commit f50af0f1c32a4162f48580609806e83c6c86d644 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Dec 12 15:49:49 2007 -0600 fix --shell commit 4761a4a794b4e7087ce9f7eeb816ea19c32b06ac Merge: 0c2862a 95e2aed Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 15:37:48 2007 -0600 merge conflicts commit 0c2862affaffc40a13f334addfb486d4747f3c73 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 15:34:56 2007 -0600 fixup trailing whitespace. commit f69c6ad134032e8d8fc4c6db33448eb2659216e7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 14:28:26 2007 -0600 dont place specs into release tarball. This allows us to rev the RPM without having to have different tarball bits. commit aef576678411ce570001211b46537200ec53f227 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 14:09:40 2007 -0600 remove redundant daemontest in src commit 9d55bf8c6310915ce1be1b3c324690f1dee2b279 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 12:54:11 2007 -0600 auto generate AUTHORS file from git. commit 56aca787303e57536a511156d961b40a52c361dd Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 12:50:13 2007 -0600 remove another dead libtool reference. commit 2eb8178184b6aab514771e6df957d915d65492e5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 12:49:13 2007 -0600 remove generated autotools files from source repository. use autogen.sh to create them when compiling from git. commit 95e2aed47c5a8c0f385e858e6b03a646659a0661 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 12:26:07 2007 -0600 remove generated autotools files from source repository. use autogen.sh to create them when compiling from git. commit d453d03cc0c7e2a7ebc48382bff2105b60d0922c Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 12 12:05:12 2007 -0600 remove dead code from autoconf files since we no longer compile anything. commit dc5948117b2848be2dfa8984cd78fe5d1694aa0c Author: Jesse Keating <jkeating@redhat.com> Date: Wed Dec 12 12:45:47 2007 -0500 Don't provide backwards compat option for update. commit bead02ddf117a3d6593e0f3a86ddda5d6139ddf8 Author: Jesse Keating <jkeating@redhat.com> Date: Wed Dec 12 12:15:41 2007 -0500 Add --update call, to update existing buildroot. Useful for things like pungi which continuously reuse a buildroot commit e3569ae6c26d121f8ed72f72c480339005d053a8 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 11 22:46:18 2007 -0600 fixup changelog to be in chronological order like rpmbuild likes. commit 0c24ed47664a90aa4fc193bb2a58d8831592afc2 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 11 22:05:33 2007 -0600 update changelog. commit a682d63e841f632090ddff7045ae6b8412e5de7e Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 11 21:28:51 2007 -0600 cleanup daemontest executable. commit 006ebd8eb222bd332df40a08a9a6f934a4b9bc9e Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 11 21:17:11 2007 -0600 demote setarch log msg back to debug() since we now have a warning for when it doesnt run. commit 69ee351eef2843392b82e97234398130d571693a Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 11 21:10:23 2007 -0600 version bump commit 7cfb96aebd24dee149e2573eae2c169fe0fc4c27 Merge: feaaffe bd5d089 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 18:09:25 2007 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * 'master' of /var/ftp/pub/Applications/git/mock: - make "mock --chroot" non-interactive - set the exit code of "mock --chroot" to the exit code of the process run in the chroot - log the output of the process to root.log commit feaaffe73baa6808eb229041b86cdea6f5c1c56f Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 18:09:22 2007 -0600 add warning for when personality has no constant mapping. commit bd5d08919539538c0bfead439fd8e3a33f3b01b3 Author: Mike Bonnet <mikeb@redhat.com> Date: Tue Dec 11 18:54:10 2007 -0500 - make "mock --chroot" non-interactive - set the exit code of "mock --chroot" to the exit code of the process run in the chroot - log the output of the process to root.log Signed-off-by: Michael E Brown <michael_e_brown@dell.com> commit c4edf71309f230955998fd2922d6045068b31eab Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 16:12:38 2007 -0600 add i586/i686 setarch defs. add info message when setarch is ran. commit 2142d31eecce9abf4f4961036d96cba7edac23be Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 16:09:19 2007 -0600 add sparcv9 for setarch. commit 143d8cb94ce11aec19635cb6823a73b46a930473 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 15:58:01 2007 -0600 add setarch defs for sparc 32/64 commit 69a77d92928e2fe189228ed2c5c2c6d3914bdeb8 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 15:28:24 2007 -0600 personality() returns -1 on error. commit 3ab8014db96a00047a7d36068d05b9cbd3a2cdf6 Merge: 14a5b6d 08decfb Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 15:01:40 2007 -0600 Merge branch 'master' of /var/ftp/pub/Applications/git/mock * 'master' of /var/ftp/pub/Applications/git/mock: add failsafe for daemontest.c such that it exits after 5 mins rather than hanging around forever. add return code propagation test for --chroot cmd. let yum resolvedep run w/privs because it has to download additional metadata sometimes. fix rebuild multiple srpms test. commit 14a5b6d3dfb4c26d384ad423c6879aa6509ff02d Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 15:00:54 2007 -0600 add docs for --orphanskill mode. commit 08decfbb63aad0d87ed69dc9f4127bf3ca5a35be Merge: ebcf490 ccad75c Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 14:56:36 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock commit ebcf490ed2a9ec28634b86a18616a9796fcd22fa Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 14:56:19 2007 -0600 add failsafe for daemontest.c such that it exits after 5 mins rather than hanging around forever. commit ccad75c34af7cae8aee0159fe734a945f0c3861c Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 11 14:20:14 2007 -0600 add return code propagation test for --chroot cmd. commit 5dc1fc5232eb10671ea3a4abe3b3eaea46c1fff3 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 11 13:54:34 2007 -0600 let yum resolvedep run w/privs because it has to download additional metadata sometimes. commit e7ddbe8fe2b81f74999318c59d2a37a0d18d72d0 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 11 12:58:29 2007 -0600 fix rebuild multiple srpms test. commit 7c4c5d62b6400c3a30294cfa2d5f7b8fa1d37aec Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 10 14:15:48 2007 -0600 fixup explicit orphankill unit test. commit 71e2394fdbc511f15a6e698d95979bd2ef9cb6f5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 10 13:58:25 2007 -0600 add MOCK_EXTRA_ARGS for releasetests so I can make mock release tests run behind dell firewall. commit 139b03ff861a7df30d40115718f1a1fb21758530 Merge: ce6e26a cc1e30a Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 10 11:17:13 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock commit ce6e26a58c56b7b8e0b770318a6a1469e6937e66 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 10 11:04:20 2007 -0600 add --orphanskill mode. requested by mbonnet for koji. commit cc1e30a4b1e7e719aa4fee84dabf44fa59b38b26 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 9 23:01:48 2007 -0600 make it so you can run multiple releasetests at the same time. commit 1bea9d791b83c5d5facd2d9df84f4e2f1f38a9ed Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 9 22:33:42 2007 -0600 update changelog commit 31628e13b2d15ce098a88836d7fbe6f79e81edc3 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 9 21:33:12 2007 -0600 drop fc6 configs. update changelog. commit c0a22a6db5a1adc491acbafdb95ff6b436c58991 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 9 00:00:19 2007 -0600 fix --without to follow proper rpmbuild conventions. Courtesy Paulo Cavalcanti <promac@gmail.com>. commit aada35a1281981a361cce99f923f467ddabbeb76 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Dec 7 17:25:09 2007 -0600 version bump to 0.9.0 commit 6126530f48eb7253d7e592f20a8600ed4a0cccf5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Dec 7 17:24:51 2007 -0600 add a few uid debugging calls, commented out by default, in case other people want to inspect UID status and environment. commit 18a799d6c9196ec3dfa9b40f408ae1234a74bda2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 17:01:45 2007 -0600 less verbose logging. commit 6a0834b7e01bcfebb5f54a9591812fd4af220478 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 17:01:31 2007 -0600 become root a bit earlier to that cache dir stuff works (run during chroot __init__). commit 8c8c66e238e3507ed1aebc67506f458e1414906d Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 16:57:18 2007 -0600 less verbose do(). commit 963819a09f31a4780cb66104297355a4774a6eb9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 14:08:54 2007 -0600 build fixes. avoid automatic brp-python-compile of mock.py by renaming. commit 4c762edbd860ce632a8e5214081a8f6e29709b10 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 13:57:36 2007 -0600 create log files as unpriv user. fixup chrootuid calc to take into account sudo and consolehelper commit 5cce73a26e3ce6877c2f429f9a34ce4515442279 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 12:21:52 2007 -0600 convert to use consolehelper rather than setuid wrapper. commit b572e9d52906ed969e790f1c896a7cefa6eeeb27 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 10:36:02 2007 -0600 add unshare commit af73fa7d2354208f85cec98aad821f1c50a55645 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 02:34:20 2007 -0600 fixup logging calls. commit afeb84213c6f965850417c0f573e862472cbfc74 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 01:41:43 2007 -0600 separate out function tracing from verbosity commit 347cd1e7a399ff3692802044f866699cdb4dc3c9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Dec 6 01:40:16 2007 -0600 use double-quotes for stuff people need to cut-paste commit dd4c422a56608a17488c309127a2b4706b946ec3 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 5 22:52:41 2007 -0600 update changelog commit 880f9e77cbea655f40727eeae66b9a3f784aedf0 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 5 22:52:31 2007 -0600 add unit test for no-root-cache case. commit 3328196ba70ed8bcfd188079dde619dd38a1ee4a Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 5 22:52:15 2007 -0600 version bump commit 236441558e3a5921505a5657950411c5865d8715 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 5 22:32:25 2007 -0600 mount inside try block so problem mounting unmounts everything. commit fc3a2ad3016ab8a5c20d71cbd34e9b40f056f7f5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 5 22:14:24 2007 -0600 fixup error where var/cache/yum in buildroot disappears due to clean. commit a87d6c292393a1f99cbb20d5824a716e72c94df2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 5 19:45:56 2007 -0600 potential fix for rhel5 traceback. commit bf4d8bb591ebca08625a416ff02341a40ec2c5af Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Dec 5 19:32:48 2007 -0600 fix python logging module exception problem earlier so there isnt any path through that hits that bug. commit 4cfaeea14108aea68c9dfdbe89215a1fdf710244 Merge: 3e661e1 ee52f57 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 22:43:00 2007 -0600 Merge commit 'origin/master' * commit 'origin/master': whitespace fixups. add --with and --without options to enable/disable options in a srpm use 'MACRO EXPR' in --define docs to match the rpmbuild docs add --define option to pass rpm macros on the command line error when trying to build multiple srpms without --resultdir. commit 3e661e15cf787a795a8401a0d52db0447575ba67 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 22:42:05 2007 -0600 clear out old unit tests before starting new ones. commit 8d186a76ca3f9511e69af63acd39c270ae61c046 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 22:29:43 2007 -0600 bulletproof exclude of all i386 pkgs for x86_64, allowing *only* glibc*.i?86, which is necessary for syslinux/grub. commit ee52f57c99cca3c3c274f75574b61b7b7d3a186d Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 4 17:35:35 2007 -0600 whitespace fixups. commit 339fada0f033950b7165fbd98efdf9323f37f6be Author: Todd Zullinger <tmz@pobox.com> Date: Tue Dec 4 15:38:24 2007 -0500 add --with and --without options to enable/disable options in a srpm Signed-off-by: Michael E Brown <michael_e_brown@dell.com> commit 2679d3cae92a1178b586fc1c07b1fbfcac88972a Author: Todd Zullinger <tmz@pobox.com> Date: Tue Dec 4 05:28:13 2007 -0500 use 'MACRO EXPR' in --define docs to match the rpmbuild docs Signed-off-by: Michael E Brown <michael_e_brown@dell.com> commit 3364f97752b54f0f507475934fe486a7c8c79a1d Author: Todd Zullinger <tmz@pobox.com> Date: Mon Dec 3 20:58:03 2007 -0500 add --define option to pass rpm macros on the command line Signed-off-by: Michael E Brown <michael_e_brown@dell.com> commit 38751f05060ef76e8777a21f3e5fe88f4baf7001 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Dec 4 17:00:26 2007 -0600 error when trying to build multiple srpms without --resultdir. commit e1d2de8c53bd0f39e1efb9ca6c95d454552123b0 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 09:21:33 2007 -0600 better rpmbuild, more specific defs for std rpmbuild options. original patch from Todd Zullinger (tmz). Fixups by me. commit 68ca35d7efc302200a617f9bddf0979be92a85b1 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 01:02:53 2007 -0600 update changelog. commit 3a91f3e900df0ded2626a887a505c81b11d40f6a Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 00:56:09 2007 -0600 version bump commit 9542ae007ed44ed0a047f2195967c05a49e84bda Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 00:54:55 2007 -0600 make sure dir exists before opening yum lock. commit 613adbb0c28685b8aec3689eafc4e14dd10cabda Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Dec 4 00:38:47 2007 -0600 merge conflicts. commit 1e4847aab547ca88227315133fc4b1996209e53c Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 3 14:26:43 2007 -0600 add couple of comments to release test script. commit fe9f23d9f01166ec6181d768f0489f8c358403b0 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 3 13:33:13 2007 -0600 consolidate imports. commit 496d70fedd0f62413b69577e538ec801f343de6e Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 3 13:31:42 2007 -0600 consolidate imports. commit aed81342043efd1b342b660aac812af1913af171 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Dec 3 13:31:28 2007 -0600 small code consolidation. commit e6ac40e7f5532aa25947b98bdab6c9c4a1a004e3 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 12:07:47 2007 -0600 update changelogs. commit 6e25fa04f9aa4a0c00117a3e5ba433149b3fd8cc Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 11:46:36 2007 -0600 brown-paper-bag: typo... should be 'fi' but was 'exit' commit d10267dc8fc50c0a924f4fa649b571c57eba7b0c Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 11:40:55 2007 -0600 couple more sanity checks in unit test code. commit 176a1af30856c5ce2ae59d891cf058b7161d8a55 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 11:27:36 2007 -0600 fixup accidental exit 1 when test actually succeeded. commit 62a258a6023d00bcdf8b3bdcd823005f32966533 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 11:19:51 2007 -0600 run bash built-in 'time' rather than /usr/bin/time because bash built-in has more user-friendly output. fixup error where $CHROOT was not taking into account --uniqueext. commit ae8e245f0987ac284a7859341d97315e1b8cf325 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 11:16:51 2007 -0600 pass through exit status of chroot/shell commands. commit f309d57591a74c19cc0723d9dcdba65fcdd667e1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 11:08:49 2007 -0600 init yumCacheLock file object in __init__. No need to wait until tryLock to open it. commit 5b3ff3ddd3fc5ceeac6f876a73cbbe476aba9d24 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 11:03:25 2007 -0600 more comprehensive release tests. commit a49eb155c927e701261535719761f0db73d71bb5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 10:58:59 2007 -0600 initialize groups if used by SUDO, as we lose all group membership when called by sudo. commit 1c06980dc2b7e5adc9e7a63f06c02e80d9fb624f Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 10:44:13 2007 -0600 update release tests to do more thorough testing. commit e7b404406b6d825712d7882b8c8da61af896ea1a Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Dec 3 09:27:29 2007 -0600 change --help to reflect new preferred option style. commit 229ce9c838bc2d78dfd5dcbfbe97fce859694811 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Dec 2 15:21:05 2007 -0600 mostly whitespace fixes, plus a few other things to make pylint/pychecker happier. No significant code changes. commit 315fd0b88b0c263e83bcc47fbeb242c38ed01d02 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 13:25:11 2007 -0600 convert @decorator-syntax to use python-2.3 compatible peak decoratortools syntax. commit 42b1c5f9a0b81d0d0c10a07e23c446ac78e8f98b Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 13:22:40 2007 -0600 cleanup unused configure directives. commit 6a07081b214b9ec5a44a9291aa1b90dfa08e0a0c Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 13:22:26 2007 -0600 cleanup unused configure directives. commit 1de4cfaae93ba4c96c8f506abbf90e3acff498a6 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 13:22:25 2007 -0600 cleanup unused configure directives. commit 6c521c9c0cfab397ee0aa9764adce737e39415b4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 13:08:23 2007 -0600 use python-decoratortools instead of shipping our own decorator.py commit 0a52ee48213f254c99b4a435f63692d2d58b3d48 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 12:53:25 2007 -0600 remove dead code (commented out). commit e95c726ca98a585b2acf9ac188983d493c56a409 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 03:27:02 2007 -0600 move daemontest.c to src/ dir. commit 0f858402b988cd4c260dc193933ff6213aaec5b7 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 03:26:47 2007 -0600 remove unused import. commit 97c69e2c5a6823f80ad1f11658a558c9ae02b46f Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 03:26:28 2007 -0600 few changes to make pychecker happy. commit 66ad1d432d5a506cbade508a5edde9a7a36aa12e Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 03:25:55 2007 -0600 cleanup release tests a bit. commit 6532fd66f7e9d82229a729dbe54305388402fcf5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 03:24:38 2007 -0600 move build of daemontest into makefile. commit 9b003eb043da10c98953c813ed01b0005ce6b075 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 03:06:53 2007 -0600 fix compile warnings. commit 0731f137a0d6a8e6bb67acf9eb240e4e691c8e10 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 02:30:15 2007 -0600 add back in comment line that was accidentally dropped in merge. commit 4ec7479065bb4be00a795035327c8322b176146a Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 02:25:57 2007 -0600 cleanup compiled python files. commit c26bffb4048abe1059fc5c64427396eb4f43741a Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 02:23:36 2007 -0600 version bump commit 72e8ca421cd3b8327990250cc3d9612f84ff2dd9 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 02:22:41 2007 -0600 add changelog entries. commit f9b61076e6adf5c81286b23ccb1071d5b2786f97 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 02:18:56 2007 -0600 fix builds of multiple srpms on same cmdline. commit a0c0c1bc88aea64d497d15b58b96ac643a37ca2e Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Dec 1 02:17:32 2007 -0600 import local modules after system modules. commit 5e45f470f3bb52dbb27bca009ca14c95ba2a8756 Author: Clark Williams <williams@redhat.com> Date: Fri Nov 30 12:25:11 2007 -0600 clarified ChangeLog commit 993f4a74499113ed296294ca1a6488262c59c1e5 Author: Clark Williams <williams@redhat.com> Date: Fri Nov 30 12:24:48 2007 -0600 version bump commit 6420a3cce34676a126c1f0c9837aaa02da2a0263 Author: Clark Williams <williams@redhat.com> Date: Fri Nov 30 12:05:59 2007 -0600 first steps for updating to 0.8.11 commit c5dca17b971fd8151207ddf7c1f5c616dfd5590e Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Nov 30 12:07:45 2007 -0600 fix release tests to run from local copy and local configs rather than installing. commit 9c4e0f4756001bf562bcc0d1fc30f48c693b9c49 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Nov 30 12:02:46 2007 -0600 remove debugging statement. commit 97f06be255f9a20613c66510e05f68372af7215f Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Nov 30 11:51:25 2007 -0600 move things around so that we can run mock.py from the build tree instead of having to install it. commit 96dd05c47ed25102fe92a1c7810d12716083e05e Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 17:38:48 2007 -0600 reformat command failed output slightly. commit 242729a2cf11a749b416e4a4d2dc78ffeb87e2d9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 17:38:02 2007 -0600 use log.info() to tell about enabled caches rather than misusing state(). the state() method should be used to say what is happening. commit 521025b767f54c75c55ea088d6ae305210cfbcaf Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 17:36:55 2007 -0600 fixup error message for misconfigured logging.ini. pass system exit exception so we dont run eg. orphankill. log exception using correct logger. commit 17560dd969adf910dfc76567044b039ef5439c66 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 17:30:42 2007 -0600 now that we have made mock logger by default less verbose, enable propogation so modules can print info messages. commit a77312fe9d2d799ada11c63d0f0cbd5dbd2b818b Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 17:16:08 2007 -0600 make error log output more useful. commit e51838217b290feb25cc5289f85ed7938edadac0 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 17:14:07 2007 -0600 no need to set up loggers in config file for each child, automatically done by logging module. commit c50e737612b8c10239587e43dee3e8bb47cbfa31 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 14:45:26 2007 -0600 add dep on python-ctypes so it will run on FC6. remove attempt at non-ctypes compatibility commit 21d9e9086bad36e19bd9386bdcb9dde15f1b414a Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 14:19:47 2007 -0600 add verbosity control (-q/-v) commit cda46afb4500104616e7acf14940cd6203115d9c Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 14:13:10 2007 -0600 propagate logger(mock) messages to root logger so we can control console verbosity through root logger. commit 338656d1026e8679d9d823ff6f975209ff1c920a Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 13:50:41 2007 -0600 most root_log.info() calls were actually for debugging, so change them to debug. commit e67ee4ff2b310895dcc1dc4d371fa31af966f1da Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 12:46:06 2007 -0600 basic logger config a bit earlier so we can possibly catch log messages from submodule imports. commit 2cb4d247a1c3cf7bebf5e68ffad51005012f2d44 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 12:44:40 2007 -0600 make sure trace log only emits log records to logger if logger is enabled for the specified log level. commit 860ff359726e3c6119fbf2d0caba24535e4f4052 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 29 11:59:59 2007 -0600 dont init buildroot for install/installdeps commit 2e2b8e333f4c972bf1a61f6947f660ff62fca27a Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 02:14:36 2007 -0600 remove no-longer-needed debug log messages commit ce34c33945634c26722169e5c2137d1e9ee13441 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 02:14:12 2007 -0600 make sure we run yum install as root. remove unneeded state change message. remove redundant becomeUser() call in _copySrpmIntoChroot(). commit bf5b41efc0d868b99e791b5f1b330f25a9a75769 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 01:59:44 2007 -0600 make privstack more readable. commit e412b252d5e019a7671d27b721660d346019a2e3 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 01:59:11 2007 -0600 bypass privStack by calling _becomeUser directly in mock setup. commit f2665073160f562035a1d25407e95438c9fafd27 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 01:56:28 2007 -0600 log calling function name properly commit d78835610c79ca889fb90ffee54a8c7a742e2938 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 01:35:35 2007 -0600 fix handling for printout of exceptions. commit 3f3b2e27cde4964da8061a5dfbbf2af9ce0b6965 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 29 01:31:23 2007 -0600 enhance trace decorator to make log messages print actual function/filename/lineno of the to-be-called function. commit 3b501cb34ce0891751a1ab762047dc55f5897f08 Merge: 2e156a1 9f0c947 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Nov 28 23:38:29 2007 -0600 Merge commit 'origin/master' * commit 'origin/master': add option to disable internal /dev setup. turn output back on for yum install commands. better user feedback. commit 2e156a1ccbe07269cf0a767806788fbce781d670 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Nov 28 23:38:23 2007 -0600 temporary debug logging to be removed. commit 9f0c947517846ffb617bd294856d068660535e1b Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Nov 28 23:32:43 2007 -0600 add option to disable internal /dev setup. commit d4309a181b403b37fdb857016699ce09d06fd868 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Nov 28 22:46:42 2007 -0600 turn output back on for yum install commands. better user feedback. commit 5695a0435f0511175e278a6a96f31312fc72295d Merge: 7123060 c67381c Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Nov 28 18:15:34 2007 -0600 Merge branch 'master' of ssh://duo/~/mockwork * 'master' of ssh://duo/~/mockwork: add {g,s}etres{g,u}id() functions using ctypes direct call to glibc. commit 7123060cd2a918e24ca9731a3e7e43524598455d Merge: 315f8c0 c5de488 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Nov 28 18:14:20 2007 -0600 Merge branch 'master' of ssh://duo/~/mockwork * '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 commit c67381c21c0bc797cc598b0892d0659cc906b901 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 18:12:43 2007 -0600 add {g,s}etres{g,u}id() functions using ctypes direct call to glibc. commit c5de488fa53ca608a1db3564ad305a6f09d88441 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 18:09:43 2007 -0600 move uid stuff to its own module. commit 27e63d7ff0eeb9c9d439a58704d545be25b7cc4d Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 18:09:28 2007 -0600 start updating release instructions. commit 315f8c0293e3b4ce39707c0e1661a91e560f86f0 Merge: 2b99447 75f7fa7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 18:06:29 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock commit 5a18c3969f6a40e661fda0e7ff6014c768d536f2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 15:51:34 2007 -0600 uid stuff in its own submodule commit 46cb317fd7dd3e7399d4dea53e20ef78aedced64 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 15:51:10 2007 -0600 drop privs early to parse cmdline args and config files. pick them up again before we start doing real work. commit 2b99447c7877fa2edd427682b58f7c9bae88a41b Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 15:40:32 2007 -0600 place online param where chroot obj can find it. commit 0b4bbe92a2771bd5285bad1fe2a2050ce01397c4 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 15:40:15 2007 -0600 update docs for offline params commit 104bdd6a23e0eb3d4d02255fd357a6ccb158773b Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 28 15:22:40 2007 -0600 first (untested) try at adding offline mode. commit 0ffeafe649dc02617ffce7de7086e3fac35a97ee Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Nov 28 10:07:47 2007 -0600 better end-user error messages for messed up config files commit 75f7fa7607bf9efefc26f52a68966ee48ee86c27 Author: Clark Williams <williams@redhat.com> Date: Tue Nov 27 15:35:55 2007 -0600 add length check to old behavior check in command_parse() commit 4f61b5ab315d53f3b910c0ee33b711fc5b612c80 Merge: 2a0ec02 075a03d Author: Clark Williams <williams@redhat.com> Date: Tue Nov 27 15:27:52 2007 -0600 merge resolved commit 075a03dbee52860bc70f379fefc7de215906d93e Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 26 17:14:38 2007 -0600 update changelog commit 2ce305b04a974b04e4f61c3e2241e457f7b48ee4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 26 17:13:25 2007 -0600 version bump commit 445b05700a9552b478138bf1fd56de0bb2200a69 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 26 15:40:34 2007 -0600 fix bz#400161 - broken 'shell' command commit 715c167c21950597813606f59df9a12ed2e7f16c Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 26 13:31:27 2007 -0600 set selinux context on created /dev/ files in chroot to prevent AVC denials. commit de5b944ccfd9fbaee8a8132babf3c78af5b383e8 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 16:19:29 2007 -0600 update rpm changelog. commit c090eec59a6db76b2eb5d38d137cc143f1fbb380 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 16:12:51 2007 -0600 update exclude list to exclude glib?-devel.i?86 commit 569faea4886fd05619e80b4a3554dd6bed6ecbde Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 16:05:29 2007 -0600 add glib?-devel to exclude list for x86_64. commit 575b9dec165e32843892ab14ffd08290416a103c Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 15:33:47 2007 -0600 update docs for preferred command syntax. commit 2dec54e999fadb9cad104a0fc6c16d13a929c140 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 14:35:30 2007 -0600 small optimization on LOC for detecting if we need to clean chroot. commit 5b1e9c291c8ee08fd00aed65b6c216a647900708 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 14:15:35 2007 -0600 forgot to put back return value for command_parse(). commit 9c79b526fc24cb6b5883be9635610483c6894682 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 14:13:43 2007 -0600 fix syntax error typo. commit 1a9ea3aa580f34b649d4ef3da762a7041dc1c27a Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 20 14:10:36 2007 -0600 unify command mode parsing using optparse with backward compatibility for old style. commit 6024049bd710ae4ffe62b817bb1cf13836e14226 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 19 18:09:32 2007 -0600 another old-python fix for rhel5 python 2.4 support. commit f4475c5b877f500a0c62bb9dcd901e0fa6852946 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 19 16:29:58 2007 -0600 version bump commit 7ec6a1e9d202ab56fb31c914dbf7516c045e56ab Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 19 16:19:47 2007 -0600 Fix python 2.4. traceback on logging module bug. commit 0fb0d38bfdbf795d0d226b975e1c098ccd746bf7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 19 16:02:56 2007 -0600 py-compile should not be a symlink, but rather a copy. commit 9a8d4791b80b44b8f1957030ae6b8b81524c8284 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 19 10:55:49 2007 -0600 fix docs for more_buildreqs in defaults.cfg commit 51a6f8ab96b0990fcac91d43aa51aec380b41af8 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 19 10:40:15 2007 -0600 update manpage for --resultdir changes. commit abd9673abf46bdb7d1979c0a97196a74fc0d0c02 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 19 10:34:28 2007 -0600 fix spec, cannot have things that look like macros in changelog. commit 022b8f3695567fcda9c610c52fda1a13f55714fb Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 19 10:28:48 2007 -0600 update changelog for 0.8.8 commit 888f9e4d2a8877a74f28c794b8824a360c6eebc5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 19 09:58:46 2007 -0600 allow mock builds by root. potentially unsafe if building untrusted code, but there is no reason to hardcode a ban on it. commit e5a2ae36e2f63efc6570d3b0cd0a82d52969bb75 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Nov 18 15:30:07 2007 -0600 add ppc32/64 setarch compatibility commit 6dcdd84f3565634cd99ff5c2641ee1f967956b27 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 23:45:25 2007 -0600 move ctypes check down a level into setup_default_config_opts function. commit 19c6b60285ccb992ca458d86c240fba21f72528b Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 23:29:19 2007 -0600 add doc for internal_setarch to defaults.cfg commit 67d7045e3d29f0e325d70488523aa2e365e79462 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 22:30:36 2007 -0600 comment for personlity stuff. commit e5be729554beb2ed1dce3bc77fea304aecfaf11d Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 22:30:04 2007 -0600 dont try to run personality() if we dont have a defined value. commit e1b25747b221b152205ce693d077b9ced560e554 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 22:20:53 2007 -0600 use internal setarch rather than calling external. commit 80466c5312be685597b12b641ed32a609cd9c111 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 22:14:45 2007 -0600 hand-code setarch to remove dep on /usr/bin/setarch commit 41be2f7ec5b41e978e833f87883b92e37d42e136 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 18:58:53 2007 -0600 make setarch configurable because suse doesnt have it. commit 36ef1aca01a4acdf146f54092bbf869e95972761 Merge: 06e19a7 772a7df Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 12:58:38 2007 -0600 Merge branch 'master' into internal-setarch * master: add to pre-existing deps, dont replace. commit 772a7df576996f5a031c89e11c0dab549d4e9a13 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 12:50:13 2007 -0600 add to pre-existing deps, dont replace. commit 06e19a70cb809f6d1c7906eedfc33e9a4f20584f Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 12:51:12 2007 -0600 dont need setarch for initial srpm install or rebuild of srpm. need setarch in chroot. commit b569e2ef0fadffe4a1ca11ae656fb70ac447d0e2 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 12:50:13 2007 -0600 add to pre-existing deps, dont replace. commit 33f50beba74e682ee1637aeb75f4d5cc0acbdde3 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 12:30:02 2007 -0600 run setarch internally based on target_arch commit a03f0c2ca8ba97a67ebc18aa448583b1a599500d Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 11:50:23 2007 -0600 add dist tags. Mostly useful for substituting in --resultdir for now. commit 24278fb2e78d964eaa71a3492a951dde97082ce3 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 11:45:02 2007 -0600 print accurate config name. sharedRootName could have been anything. commit e7f70fcedafe41160d6bef9481d05f88a365d4cd Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 17 11:44:00 2007 -0600 allow resultdir to be variable-substituted on cmdline. commit 460087986a21d4b4cd0ac1bd3c0a4a74b7502c68 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Nov 16 11:22:05 2007 -0600 hard dep on python 2.4+ due to new decorator syntax. commit 6f5a7e49ed2eb853380ac13eaafcf7205ce87c3c Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Nov 16 09:50:03 2007 -0600 better state info. commit 29610f4a7ffc4caff6be848e85c48224843f1c7e Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Nov 16 09:32:05 2007 -0600 re-fix problem when missing logging.ini commit 67d3475a19c170036159928ffdecf365e2defdcf Merge: a7815f8 6943b56 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Nov 15 15:25:04 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock commit 2a0ec028686a4213b407c5097de661ac5dd52698 Merge: 5add761 6943b56 Author: Clark Williams <williams@redhat.com> Date: Thu Nov 15 14:07:25 2007 -0600 Merge branch 'master' into clark commit 6943b56fbc424e6d468efa8d513e62f9e3ab17b5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 15 13:53:07 2007 -0600 shouldnt need to set rpmlock_path macro with fixes in rpm. commit 3fb51702c238e3cdbac97dfea7b5a2d40e626d6d Merge: 21678b7 1fa9084 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 15 12:21:33 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock * 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock: document 'clean' behaviour for install[deps], chroot, shell. commit 21678b7e7720724f36f852e7ddf3cf34bd5ed349 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Nov 15 12:13:03 2007 -0600 'expect' wont work without /dev/ptmx. commit 5add76128fcc10555264392307d5da998a05401b Author: Clark Williams <williams@redhat.com> Date: Thu Nov 15 09:20:01 2007 -0600 fix for no logging.ini situation commit a7815f8a43fd285c299107557434ea22dc7b32e1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 14 13:56:01 2007 -0600 enable 'installdeps' to work with normal rpm. commit 1fa9084e1167cba4878c8ca570c4e7142b920ac0 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Nov 14 13:45:36 2007 -0600 document 'clean' behaviour for install[deps], chroot, shell. commit 8eee700f4d8b42c0026f25d7b5641562f17fad32 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 12 18:31:23 2007 -0600 fixes for builddir!=srcdir commit c45e99f0df42e7531df6038fdcd9371bae162e0a Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 12 17:21:01 2007 -0600 version bump commit aba433e31bd86887348e2910bd2d2143a5b16615 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 12 17:16:31 2007 -0600 change logger name for state log in example defaults.cfg to match what is in mock.py commit ec0f03f7e48714cf6c2632dc66b83abf7349b8fc Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 12 17:09:17 2007 -0600 fix formatter for asctime - missing s commit b1d21007cf11fc134eeee5457b00fd0f5e4bb24a Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 12 16:59:27 2007 -0600 extra log format just for state log. commit 8b116f8905e96278340f96e2ead9f6e5aecacb4b Merge: bc180f6 a52f18c Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 12 16:56:29 2007 -0600 Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock commit bc180f612175cadda529d2c2b6d907d5ff506656 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Nov 12 16:55:26 2007 -0600 first pass at making logging format configurable per-logfile from the config file. commit a52f18c1da56e5385e61f4f1b0b8edf33f7dd027 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Nov 12 12:34:13 2007 -0600 dont clean chroot on shell,chroot,install, or installdeps commit d2546bb6580b1047bc44559701cd5c541fe85a06 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 6 22:06:36 2007 -0600 remove el3 compat stuff from spec because it has no hope of working on el3 due to extensive python changes. commit 01335086781d49c37c81d08ff19c66c89c21e0ec Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Nov 6 17:29:58 2007 -0600 version bump commit af1b733a733bfab47fed4b50d5ba490a355e6bec Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 6 13:09:55 2007 -0600 f8 uses groupinstall vs install for setting up buildroot. commit 23f8f4ed5f63d768ccf823cf8e789eab99ffc70d Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 6 11:19:54 2007 -0600 add f8 configs commit 0cf49cc876c4c454d86b2e2be244ffa197f741d1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 6 10:49:30 2007 -0600 version bump commit 7e59f0785b7db918e328b66b9ba77853464c2249 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Nov 6 10:36:21 2007 -0600 fix BZ#366731. supress wrapper output. commit fc3ccd426e5733bd50047da436d1c3c6b741bfdb Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Nov 3 09:17:36 2007 -0500 update manpage to reflect reality. commit 063fceaf2a4845853de9f78e7502a1016fb9b681 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Nov 2 13:14:08 2007 -0500 use built-in chroot facilities rather than running /usr/sbin/chroot. commit 397b60db6e3ebf48802b4fbec0af5f531102a930 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Oct 31 03:34:31 2007 -0500 use symlink vs creating a shell script. more scalable and we can cache more types of cc invokations. commit b2303e57b18ab9fcad7442508dc20f62a23e306e Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Oct 31 03:06:55 2007 -0500 consolidate redundant code. commit c3a61e9515caa9736f3c95c85704127223c02e37 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Oct 30 09:37:47 2007 -0500 better defaults for root/yum cache age. remove unused max_age_days from ccache_opts. Exit with non-zero return code on bad command line. commit 0b8db7d48314edad72a2a73ca8c7157a2ed33e4d Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Oct 30 09:36:51 2007 -0500 small fixes to correctly document defaults. commit 297fccef1b608322ed41a8d6e78aee8dab800a74 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 27 15:47:30 2007 -0500 fix typo in error path. commit 08395e9e713495a71bc5ac50f0950ece9c442144 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 27 15:33:50 2007 -0500 small rearrangements to the function from hell. make it slightly less long. commit c8e941e4f9480122d62c5ecf7d476125f4d97e8f Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 25 14:02:37 2007 -0500 Fix buglet where we were substituting wrong value for cache dir. commit 319555c5ee51a79c9fae50e5e0175404d1c1be97 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 25 12:17:28 2007 -0500 more info in start/done messages. better messages for when build fails. commit b511105af0ae84618ef0a20f4f784220826673c3 Merge: c4ff159 3619e93 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 25 10:06:26 2007 -0500 Merge ssh://mock/~/git/mock * ssh://mock/~/git/mock: better error message for when logging.ini doesnt exist. version bump. version bump commit c4ff1593ccb1fe53e057d6930a3fba6a8a639a3d Merge: e529d4b 1c055b0 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 24 19:05:43 2007 -0500 Merge branch 'master' of ssh://mebrown@git.fedoraproject.org/git/hosted/mock commit e529d4bffb7acdb0e044f172dc2f18a33bbd31fb Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 24 18:18:50 2007 -0500 allow noncontiguous cache dir specifications. commit 3619e93ae177e7dec332fac7484edeb0d0356e02 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 24 13:01:41 2007 -0500 better error message for when logging.ini doesnt exist. version bump. commit d54c89b18a849f6e881f566dba45f8aab9c42bfd Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 24 12:42:53 2007 -0500 version bump commit 1c055b0ca8b9c37e62c8c921c42986689244582d Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 24 10:35:10 2007 -0500 rhel3 compat commit d5d772c91af6029bf85c20629ccaf85ba1c0ce26 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 24 01:14:23 2007 -0500 suse support -- allow override useradd cmd in config file commit 0c6265c09a45ce208d5d0f8fab9a48531dfdcdac Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 18:28:46 2007 -0500 version bump commit 85802d4720240b49b6186c61f3684f05d365e878 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 18:26:39 2007 -0500 ensure we only use gid specified. chroot operations always change uid/gid to gid specified. fixes 'bad owner/group' message from rpm. commit 378b496a2335c9f5ffbc7668ed882539383cbd45 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 17:01:42 2007 -0500 fully qualify exception name to fix exception trying to raise exception. commit b94f37d1c83c82269aa714796b41d9d5146ee39c Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 14:53:07 2007 -0500 fix license to comply with new licence standard commit bb26761fd8d9f68019591ee807ba218f1e660c00 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 14:51:21 2007 -0500 fix rpmlint error: non-executable script commit d888a9b98e01da40f711affdbd3818c33a37bacc Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 14:36:38 2007 -0500 version bump commit 512408558cd560a73759113c964cd5c0c8b21af1 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 13:51:29 2007 -0500 version bump. changelog update. commit 9b3dc0ca978d566ea593ee2ae773bc6aed8530f2 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 13:34:14 2007 -0500 more complete fix for immutable files in buildroot commit 725e0550748ea414952e78145fa867678aabc44c Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 13:16:47 2007 -0500 remove becomeUser(0) from backend and have mock.py do it ahead of time. remove password from mockbuild user so you can 'mock shell' and then su - mockbuild. commit 42fb1cd0c6c16e48c4673b18e865e9a10de70541 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 13:15:21 2007 -0500 avoid infinite loop in error handling. commit 66cdce502558c3811ab39ee595465b52769e023a Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 13:03:14 2007 -0500 try harder to remove buildroot if it fails. commit 5ce8b45bb9d02b75311da9e611c6fff64373e31e Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Oct 22 12:27:44 2007 -0500 fixup docs to match latest options. commit a91d44dc7195edfa05407cd549427e0391c17dcc Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 22:53:45 2007 -0500 fix for FC6 commit 4ca017a3e7f7c001d793396f16a286aab3f864b4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 22:53:33 2007 -0500 version bump commit 0f7a6f0fec109b61c445f08a0ed5cbb6ab6b2550 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 22:53:17 2007 -0500 version bump commit 1a99caee3578ea15503f9851e1e7d1d1c00f4530 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 17:07:21 2007 -0500 comment minor edits. commit 097d1b0dcb57c06da03b05bab2b18d88f05f1780 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 16:09:54 2007 -0500 fixup config options to match new format. commit 2344880763d4417e2d3e6f4690b3da3c6f6d9103 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 16:07:29 2007 -0500 make plugin conf options match: *_opts and *_enable. fix for not doing 'yum install' when --no-clean, but, rather 'yum update'. update defaults.cfg to match new options. commit d192e14de3b40d6b736cafb14775f341e01caa19 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 16:04:15 2007 -0500 finish implementing bind mount plugin. commit a75a61823cdf4574c1238e8343590b30e6ef15f4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 16:03:57 2007 -0500 small optimizations to not unpack root cache for --no-clean. fix accounting typo so we dont re-create root cache for non-clean builds. commit b01eee7be9a9187c8f1fcc257e9c905bb972cab7 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 06:17:00 2007 -0500 renamed bind.py to bind_mount.py as that is a bit more explicit. commit 117457586196119f9b4b9c80e2e761e81e21fecb Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 06:14:00 2007 -0500 new plugin to optionally bind-mount host dirs into buildroot. not configured by default. commit d115ea6765917221d8113459f381267598f4e076 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 06:09:04 2007 -0500 update copyrights. dont put full header in every source file, just ref main copying. commit 45582aa0479f04515cf19803e6f8df16efae7af7 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 05:17:12 2007 -0500 fix disable/enable plugin cmdline to write to correct config entry. commit d74c51f166dad3c38f46639287ccfb60df5e504a Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 05:06:12 2007 -0500 uncomment build lines. commit 104dc17a0b424bf2c3ba0bd4022b60c136af11d5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 05:05:26 2007 -0500 add time cmd to ensure that mock.py timings are accurate. commit 7e7c3f6b460f8cbff77196196dbc07204e74c367 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 05:03:28 2007 -0500 version bump to 0.8.1 commit 03b315f0c466b577cd4c27cac2f645106b7b84fb Author: Michael E Brown <mebrown@michaels-house.net> Date: Sun Oct 21 05:00:27 2007 -0500 create plugin infrastructure. move all caching related stuff to plugins. commit 15cd1d4715777110a86467a2f9ecf0e64bce91f9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 04:38:31 2007 -0500 update changelog commit c7ed6b36825350eaf9f7cc7ebfa097c21faba9e7 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Oct 20 04:22:23 2007 -0500 dont try to compile ppc stuff. also clean test dir before starting. commit 2e899101d2f5fc3ffae400e7a881e61c42afc782 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Oct 20 04:21:50 2007 -0500 set exit code properly on error. commit 8c188b0837ed3492285796700115e668789e266d Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Oct 20 04:08:29 2007 -0500 little more generic release tests. commit 0fb45c98d2207896fbb55c7ebe155b0ede83c0a0 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Oct 20 03:51:35 2007 -0500 add release testing script to ensure basic stuff works before release. commit 0a01430c4f50170540386b3cd6b215eef3876e18 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Oct 20 03:35:53 2007 -0500 disable ccache for epel builds by default because they dont have ccache available in their repos. commit 3f43cc64248ad3d11160dba1b24e77d28405df4a Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Oct 20 03:32:28 2007 -0500 enable specific dep check as it does affect build. 'yum install foo' doesnt fail if foo doesnt exist. commit 4389ce2a4b22ddcec984af0b419771b2767df2eb Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 02:40:09 2007 -0500 make --enable-cache consistent with other opts in '-' vs '_' department. add better help if user gets it wrong. commit c44bc774dcbdc67b1a91f029da7a6869650ad3b5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 02:30:10 2007 -0500 add couple friendly messages to explain why chroot is cleaned in case user forgets they set the config option. add message for <CTRL>-C exit. commit 1e4de87a5e0da708f151f627d24d3e8393294df3 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 02:29:26 2007 -0500 attempt to kill off any process group children before we finish fork(). Trap all errors so child doesnt escape from its branch of the if. commit e1260b61360ac902d5b423e4f23120afdb34cb26 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 02:15:02 2007 -0500 add cleanup_on_{success,failure} options. separate out do_rebuild() function as it was getting a bit long. make ccache default to a bit smaller max size (4GB). Ensure we unmount fs on CTRL-C commit b834a2a6594238bb7fe019804f123132fb00edc6 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 02:13:01 2007 -0500 better defaults.cfg examples. commit 4653d354a2daa34d1cd04691058c6663b19d7ea0 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 01:47:18 2007 -0500 uniform spacing and layout for config files. commit c965120c8dc7feff2902bc1f9af3975188abe7ed Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 01:07:20 2007 -0500 remove unneeded 'import os' from config files. commit 77965bf4f4ad8457ae07ef530c0de2dbeb05c195 Author: Michael E Brown <michael_e_brown@dell.com> Date: Sat Oct 20 00:03:37 2007 -0500 allow installdeps cmd to be used on normal rpm. commit 07646061e6346d5cb9ee2d9488647b6c6ae367e3 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 19:30:21 2007 -0500 add exception for bad/wrong cmdline usage. commit 5f7d477200044a50834ae66f4c9b8df3b81ccfab Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 19:29:46 2007 -0500 add --cleanup-after option. move most exception handling out of main() and into main()'s caller. commit 5d6a076e7c312b386f263c85fc6631726036e731 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 17:39:41 2007 -0500 fix ccache to use chroot ccache instead of host ccache commit f206bb8e31700548480de88f9f7fe91217907534 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 12:21:58 2007 -0500 dont double-initialize logging when building multiple srpms. commit 50f0bbbe1f913f1551b6476747cfc4be08321582 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 12:21:09 2007 -0500 fix one backwards compat FC6 buglet. BaseException is python 2.5+. commit 0481c8655a08e64b4c078402981e6c98fcfcd71a Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 11:54:44 2007 -0500 add start message so we know which srpm we are working on when multiple are specified. commit 34942bebb19e611289e2d13a3567c60e1104192c Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 11:18:31 2007 -0500 four tweaks and a bugfix. 1) roll ccache install into same yum call as 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. commit e17012fd6ba579baa7d09e527fccc76eb8cc8b2b Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 10:00:13 2007 -0500 print integer minutes. commit 68bde2ee7e9656569ecad61831f1ca9a6c932638 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 09:52:04 2007 -0500 dont add hooks more than once. commit fac86d8d2248caa4faf8571b03e3424fe1956d3d Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 09:51:40 2007 -0500 print pretty time statistics after build done. commit c88affbda3b76dba5def41df927940d4110afed9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Oct 19 09:40:10 2007 -0500 drop privs to create result dir since it is user-changeable. commit cc1ed811f24d09f0a5ed0d353a4e3b0593aecf46 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 04:23:21 2007 -0500 add deps for tar/gzip commit 6d6ad65df096b2ccc7058b2277e3b323ac678e1f Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 04:21:28 2007 -0500 add options to force enable/disable of caches on cmdline. commit 093fa76426db9e19e6f95eb05182e7b703100896 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 04:14:04 2007 -0500 need python to build. commit 4743e490fd45bed0862e80d03f4439fe329f4b0b Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 04:08:06 2007 -0500 need to return output from mock in some circumstances (depsolving). commit b993e048e4eb10d1ac8d2529b5b86510a0f0e132 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 03:36:37 2007 -0500 loathe autoconf. finally fix distcheck and 'make distclean' removes src/mock.py problem. commit 445c5f26ed1f6109e91441e644ac9f544494d3e6 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 02:33:47 2007 -0500 lock buildroot before clean. lock root cache. commit cf91f726dc20233c160ea14bfefea6947edf2bb6 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 02:06:37 2007 -0500 re-add root cache feature. commit df74993d060f558c849f8feb62def958bc192eba Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 01:31:08 2007 -0500 better message for failed command when output disabled. commit 6abafa46c0452e4d1d3c6ea9d9e6ddb5495a20b3 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 00:19:04 2007 -0500 remove statedir as it really isnt used. move logs to resultdir to match old mock behaviour. commit 49e8b1ed3db4dd6108894a4c79fecec154d62698 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 00:04:49 2007 -0500 implement orphanskill feature. commit 63205627de2615ebfe23547b5936168de815c362 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 00:04:34 2007 -0500 test program to test orphanskill feature. commit 1ad3ce09fe263baa3484afd38e89b7078f9b3ca2 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 00:04:16 2007 -0500 add orphansKill() function. Kills off everything with a specific root dir. commit 0e08a556bdb2d6e45d5e33c3c96d9188f6449838 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 00:03:40 2007 -0500 raise specific exception for when buildroot is locked so we know not to orphankill. print filename in default logs. commit 98cc724b41292bd9c4e43756c563120e64859ca5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 00:03:31 2007 -0500 raise specific exception for when buildroot is locked so we know not to orphankill. print filename in default logs. commit 5c26011c991814e15606af3244cc2f027b15bda4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Oct 19 00:02:31 2007 -0500 simple tweaks to logging to get rid of default debugging info in normal output. commit 3e850857efe9c90f0a6e6ee78d511f429774699b Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 22:49:03 2007 -0500 add 'mock install' command to yum install packages into buildroot. clean up help option. commit e8d0ec6c8f7c9331fe272cc73152afd2f4980275 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 22:03:12 2007 -0500 dont overwrite log files on subsequent builds. per request from mbonnet. commit 9e820575ac528d562fc9bd207c8674bfed03589d Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 21:39:52 2007 -0500 completely drop privs (real and effective) when running RPM commands. add a 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. commit a9172fdfdf9811cb84626f0a414668cc2ab03dc4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 21:29:48 2007 -0500 shell and chroot cmds are identical. merge them save LOC. switch to os.system. Yes, it is a layering violation, but hey, it fixes a huge wart in mock.util.do. commit 8a780e16ad87c2ad0ac3494b2254032748093ced Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 20:27:42 2007 -0500 small buglets hiding in uid code, leftover from switchover to push/pop commit e67cbc5ae6125935a0daaaabef8d29cf8abfb3fa Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 20:15:29 2007 -0500 add lots of comments. fork() so that we can drop privs permanently before rpmbuild commit d7f46e89b60c64e08d9468b3a893172317fd964d Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 19:44:48 2007 -0500 unneeded debug statement commit c6379ab774c7131dd47d25d74ec3178e816b3724 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 19:04:15 2007 -0500 print suid wrapper version on startup. commit c8ef444eb3198b3b0623ca62e7e53e74e0b67d4b Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 19:04:00 2007 -0500 finish moving to traceLog... fix import. commit 1a3a7cc2f2a5638f90bee304cfe28e92126fa2a4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 18:56:02 2007 -0500 trace()->traceLog(...). remove verbose/debug options which did nothing. commit 46cae8bb8daa3cf14999e30815ae6d0be97a5788 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 18:48:35 2007 -0500 remove unused trace() decorator since everything uses traceLog() now. commit 935670ccd05901b1d9cc992851c583649e769570 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 18:47:19 2007 -0500 remove historical since it has now been re-implemented. commit 2a926fef18a521e05b88b739e56ee5a309788724 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 17:50:48 2007 -0500 fix 'make distcheck' commit 1763fc3d166624ff101b198fcd76db5e0d8a94a7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 17:22:13 2007 -0500 finally fix deps for src/mock.py so it is re-edited at correct times. commit 9d4e909bdb995734fb80a074cbfee90b1d0f2dee Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 17:13:25 2007 -0500 separate out src/mock.py dep on itself so builds where srcdir==builddir will work properly. commit d192f37690f9a2b97ff7f04cf79116b7c47deac4 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 17:01:01 2007 -0500 fix perms on /usr/bin/mock to only be runnable by group mock. commit 5ff222c05b8d0f5c671f66b2fa882a407c97ddd5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:52:19 2007 -0500 move banner to before chroot obj prints its first msg. typo fix. commit 48ef9fd3d2ad3f0645add224f5774ffecda5d840 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:50:24 2007 -0500 disallow rebuild without 'rebuild' parameter. add banner on startup. commit 8be871673b46296b532df02b6e976c61b10fcb41 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:49:54 2007 -0500 don't overwrite gid or we end up with unwriteable dirs in buildroot. commit 0a03b7eabd34ebff49d28124cb61d52b5230d140 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:38:54 2007 -0500 /usr/bin/mock needs to be setuid. commit 47c372601003f8266752c2df7e6aeb47196d998d Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:32:59 2007 -0500 remove remnants of libselinux stuff from spec file. commit 5ad94d715d776a158f3d5e937a3dffd83b281dae Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:22:30 2007 -0500 add locking for yum cache commit 4ca7183e69de087440e110c06af00ccb1273268a Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:01:52 2007 -0500 lock buildroot to prevent simultaneous multiple access. build srpm as well as rpm. move a couple functions around with no code changes. commit 99919ea78d4aa4fd856e13ee81f688d1646bf019 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 16:00:33 2007 -0500 remove historical file that has been completely reimplemented. commit 99803e03efbf019a317b778eb9ce3a471e94629c Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 15:09:09 2007 -0500 no longer need selinux lib preload. commit 060fa0302eede2d5bb96d9c45d01492caa0c5f8a Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 14:56:58 2007 -0500 change uidManager to push/pop so we can overlap regions. enforce naming convention on all class functions. commit 5b73769f58296bf218895037471d3b109d8170fa Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 13:47:56 2007 -0500 remove all trailing whitespace. move all caching functions together. commit 1328f56bd5588fb848fea05744b53b112d7ad0d5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 13:44:19 2007 -0500 prune yum cache old files. add ability to limit ccache size. commit b5dc0cce4a41b993ed44e2217d0bb236be6ccc35 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 13:43:19 2007 -0500 remove obsolete opts. add caching options. commit df52677aa49d314559c3e6961d01ef4da3067ac5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 12:29:03 2007 -0500 get ccache working commit 200e3a13bebbde04c88ee9757212bed858bed35d Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 09:56:44 2007 -0500 factor caching stuff to standalone functions. commit de7deb9c9803222799c65c391a9a59f2593e504c Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 18 09:55:01 2007 -0500 remove obsolete caching options. in with the new caching options. dont double-clean chroot. commit 2e5ca42a23e11c55decda807e801a518113dde7d Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 01:05:48 2007 -0500 ensure that HOME var is set properly for rpmbuild. commit fb3bc004f1a0b33f9de7d8bc523f42f42f2aacc0 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 00:57:13 2007 -0500 properly mount/umount around rpmbuild call commit 03b6f3285c22082f9f0c829f3092a563082c11fd Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 00:50:56 2007 -0500 get rid of spurious blank lines in log output commit e48d8ae1c8441170d86f2929fe49daefcddbf3bb Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 00:43:09 2007 -0500 add build and installdeps implementations. commit 31fb143c510f5674a742af3c8d43c0377fe7e5c4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 00:42:46 2007 -0500 more srpm manip functions. commit c085cdb197bde90ea724e7f8fc1ccc7323fa97b2 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 00:42:16 2007 -0500 fix chroot->root typo. change function call to yieldSrpmHeaders(). commit 49ac487cf6df37c482446be61764dee99ed92282 Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Oct 18 00:41:27 2007 -0500 update spec with latest changes. commit dc70b8ecf6e456de5937064e423744d3e3008c56 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Oct 17 23:32:40 2007 -0500 fix problem dropping privs where we dropped uid first and then couldnt drop gid. commit 5322203482da18314ab78ad0eea6ba24d9062a81 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 19:02:04 2007 -0500 wrap action part in try/except so we cleanly trap and report errors. commit 7e6993f7f65419a9e605ea03e72cacafdd32860a Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 19:01:35 2007 -0500 fix for idiotic error in rpmUtils where exception comes back with each letter as an element in a tuple. commit 335e60eb837a3bf67419258a3f59f77ef507c3b7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 18:59:43 2007 -0500 rename buildsys-build.spec so rpmbuild doenst accidentally use it. commit e32254da2cc8c240ab51c0eaa37599daf943b8c5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 18:59:30 2007 -0500 rename buildsys-build.spec so rpmbuild doenst accidentally use it. commit 3dd0c9d4ab4947444ceff9ede99de9b4f2cc9af9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 18:23:10 2007 -0500 complete chroot/shell commands. commit 76739828c5a8e41fde28b50ce14b5ae669b29eb4 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 18:22:48 2007 -0500 export do_chroot() in public api. use -n option to mount/umount so it doesnt touch hosts /etc/mtab. Add option to do_chroot() to set env vars for chrooted progs. commit 4b07d5dc0bcdbd48140f5fb1412c2b55048c1889 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 18:21:08 2007 -0500 make sure we properly catch all derived exceptions, like KeyboardInterrupt commit 8360c605a6b95a56f471404e581c242663c12062 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 18:20:36 2007 -0500 add special callout for interactive commands so we can interact properly. commit 5215493dd570f711a4594eab8cf34a8cb7718a66 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 16:17:42 2007 -0500 finish out setup of chroot env. commit 863d42e7e6937981012968857cb74052971062b1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 16:17:11 2007 -0500 start fleshing out different options. fix chrootuid to get real uid vs effective (due to setuid helper). commit 4353704221076523e4fa44f6eea19442809612a6 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 16:16:22 2007 -0500 Add cap to make multiple dirs at a time. add rmtree helper to eat some exceptions. Add getSrpmHeader() function. commit e0cc9e92cb3744f74a9b59a90b9966a1416ebb90 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 15:30:33 2007 -0500 namespace prefix bugfix. add self because it is now a class. commit cae598bd0b3b5dd42bb3c49246d6ac79f830e78e Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 11:34:13 2007 -0500 remove stuff that is already implemented so it is more obvious what is left. commit dca92953271f4ada64a172c3b91e1626e665f96d Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 11:33:49 2007 -0500 tracing. start init() work commit dfcfe855b25e56b318a964b0645bbeaa08223d79 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 11:33:18 2007 -0500 need to pass uidManager to chroot class for setup commit 89a0142e1f848f398ee0a4a3f2f98e1e728e08c8 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 11:32:56 2007 -0500 more logging commit 969c671b484ee26da8a3c6eebc8cd1f649c68983 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 11:32:43 2007 -0500 add tracing, touch(), do() functions commit b30e096317d3b2b05f0be80fd7fd74eeb64bdafc Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 11:32:09 2007 -0500 move uid management into a class so it can be easily passed to chroot obj and unit tested. commit 06faade86a4bcdd823da33da4fd9a159139010d7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 17 11:31:30 2007 -0500 add traceLog decorator which allows specifying the logger to use. commit 3c9ab9ea8f046911b52c1139addcf816ecd629eb Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 23:40:34 2007 -0500 more code. commit eb8bba44a303548b29b9b522e9d6e9067c0d4159 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 23:40:01 2007 -0500 fix logging qualname to be in mock hierarchy commit 328e3e3fce019313c2a4f71907792b2c9685a47a Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 23:39:02 2007 -0500 better logging heirarchy and setup. commit e2a06707ac8ed1acc6b21eb6ac9c7534a2ca0cda Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 23:31:44 2007 -0500 add new py files to build commit b63b38e5a0efce4e44c35800cf64bd7434a50da0 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 16:20:40 2007 -0500 start adding backend code commit b277b6238cb995377ba0c6ada9603bd2eba54a5a Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 16:20:30 2007 -0500 start adding utility functions. commit 5c2aba6ac0472e6ee2e7c4c4bc7f58c515518b22 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 16:20:18 2007 -0500 add vim declarations. commit fd116f29cc4d92bbab151a738fd15488f8bd75a9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 16:19:48 2007 -0500 get rid of extra newlines. commit b4fc248dca35d3d97de8388d1916b44b88f8e266 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 16:19:22 2007 -0500 start setting up calls to backend. commit 9372af19b9339e2a82d13fba32833b17aaa96a81 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 16:18:43 2007 -0500 no default handlers for most logs. set up programatically. commit 0e96406e1462df2707ab1c406c602e118164fd66 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 14:41:08 2007 -0500 move py modules to different subdir to avoid conflict with mock binary name. commit be7287258ad335338086d44bee0cf5c1cf142b96 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 14:06:05 2007 -0500 start re-arranging things... commit 8fb8e85967f9d3b878844bd9de2b898ceace54f5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 08:36:07 2007 -0500 start cleaning up old code. commit a1cd2d8ece70163d7dccc0d61e68a424f71ad2f2 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 08:35:51 2007 -0500 add tracing commit 5bf740cc3ac93a1973ce36ddae0454f05a8ddac8 Author: Michael E Brown <michael_e_brown@dell.com> Date: Tue Oct 16 08:35:16 2007 -0500 add new python modules commit b71f797652092af2f84d5a45693f1c2e3c478d82 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 15 23:47:25 2007 -0500 fix copying args to new cmd. commit 7b8ce0b57c9094369383d57c1850df5ffb95f252 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 15 23:41:32 2007 -0500 start stubbing out main mock.py commit 8e1f7700c1ed4f7ae91c7cd18888c446d1c84021 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 15 23:41:04 2007 -0500 add/install logging config file. commit 628010b1a35d72d971e97e841347443698f1caa8 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 15 18:25:12 2007 -0500 start re-arranging mock.py contents commit 3ed1a91478299f8f6da2375a15899a65596dd4f7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 15 15:45:38 2007 -0500 autoconf for python install. commit 73cbb896f9b4cf274d2edeea1b698bde82240e93 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 11 09:16:06 2007 -0500 fix quoting on defines. commit 54fc3348a660892ed482377062807e3a8e94305e Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Oct 11 09:15:52 2007 -0500 whitespace cleanups and small cleanups. commit 08b3f399639a422b6fa0d3f3cbe005d13e2115fc Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Oct 10 21:50:04 2007 -0500 fixup CFLAGS for -Wall and -Werror, fix include paths. commit cb2d7eec2bef65b30744fcf8b0f324f20914e602 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 17:56:55 2007 -0500 add config.h and directory definitions commit 90b9df53240c45a3d78ab8c8edf830d68c32e1d5 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 17:24:26 2007 -0500 update makefile to install more stuff automatically (like old make system) commit 3fcf43c30300dd5725f01d49345d983758b0743d Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 17:17:09 2007 -0500 remove legacy config files. commit 7574a48b38e83d0c975bd558c9a937a94c1b1912 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 16:47:38 2007 -0500 add mock-yum to dist. commit a0d85f55b2e83f4a39e9df5551a6d3a9e3e4b047 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 16:46:07 2007 -0500 remove useless .cvsignore file commit 1e5c7bc8ed1142327f768fe8baceb4f953aba9ed Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 16:43:49 2007 -0500 add autotool files. commit b5cde61a0822bce4bd48256f0b0ca49cc89eca67 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 16:43:40 2007 -0500 no longer ignore build dir commit 0d4030c6ce8c008ee26637dbdcb4f9320d817a80 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 16:41:31 2007 -0500 update so mock.py is built properly and not removed on distclean commit d03a5b9cb055658f1e392bafbfcf5cfaa709e685 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 16:41:14 2007 -0500 version update commit df16d574f86f34759e4372d8961685ffee918d1e Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 16:25:21 2007 -0500 now passes distcheck commit f9b58106c9c0dd529cbe0841e5a4ffa3b7e4fee4 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 15:33:21 2007 -0500 more autotools updates. commit c49b26dec9753b90221bb2be12a946fe406b7be4 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 15:32:36 2007 -0500 autotools updates. commit c9e1967345a46bb330914ce6d657f03abc3ce432 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 14:42:22 2007 -0500 minor updates to autotool stuff. commit 7e87c6009f04cdd3685d9d5876ef57bb2c31f42d Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 14:34:00 2007 -0500 remove legacy makefile commit 673518327151a1a98621ddfa3219410f4cadb1f4 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 14:33:45 2007 -0500 small fixes. ./configure now runs. commit 9176844e533d3e5ab452a4622dda621250214e4a Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 14:31:32 2007 -0500 initial start for auto-conf-izing commit 5d593d20237e6345438b26be96c7a432ac788664 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 14:31:14 2007 -0500 initial start for auto-conf-izing commit 21b555d8fac93cbeceb31cba2239b9c93160b1f7 Author: Michael E Brown <michael_e_brown@dell.com> Date: Mon Oct 8 13:56:42 2007 -0500 remove old .cvsignore file. unused. commit eea354249bc437c1af2b2133fc6bc0d7533bf237 Author: Clark Williams <williams@redhat.com> Date: Thu Sep 27 16:21:24 2007 -0500 Modified resolvedep search string for BZ 303791 commit 4c679d7734a2e1956555c12c5ac691ae034af1f7 Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Aug 31 21:24:04 2007 -0500 BZ#273481 fix for buildng packages that have glib2-devel dependency on x86_64. commit 1c14b3c9b6fcbad867afbb7cc09ec5d91cf9e642 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Aug 27 12:32:01 2007 -0500 version bump commit 678f8a12dd69361f65a08acc7a7ad6866de0fa35 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Aug 20 20:43:10 2007 -0500 additional fix to ensure that all file paths modified are in the chroot. commit e87c3555958b7ce866993b7842663eee7167fede Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Aug 20 20:35:17 2007 -0500 fix path for etc/hosts in config file so it is not absolute. Fixes BZ#253654. commit 451203f4bdafdb1b124ea44395202bc34c989b87 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Aug 13 01:55:34 2007 -0500 changelog entry update commit 52dbb80070c4e2df83f6cfd835e5ceb43aa8382d Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Aug 13 01:51:04 2007 -0500 Patch from Roland McGrath <roland@redhat.com> to fix build for selinux shared library. commit 6a25dfc53d548050fb26baf8f7a4910dda1bfe48 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Aug 8 10:15:38 2007 -0500 release instructions minor edits commit 5cf43eb31eaca15282579100617d3014f5251a6a Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Aug 8 10:09:35 2007 -0500 add release instructions to make it easier on other maintainers. commit 80a31aee4f53aa1a69b50f122426225e4dabd7a8 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Aug 8 10:09:15 2007 -0500 add changelog entries for the last release. commit df1d4276483b1d7f2d08cdc86dbbb1890ba86d08 Author: Clark Williams <williams@redhat.com> Date: Thu Aug 2 10:38:35 2007 -0500 removed error() call on closedir() commit 515d313e7d352bfdf04434b3c5321ccba2a82080 Merge: 05a1f42 a2fbe5b Author: Clark Williams <williams@redhat.com> Date: Thu Aug 2 10:35:51 2007 -0500 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit 05a1f425123b3c7e211a5d187b1bf024da620969 Author: Clark Williams <williams@redhat.com> Date: Thu Aug 2 09:55:31 2007 -0500 cleaned up do_orphanskill() code commit a2fbe5b9aa9df9e55393b82b7efdba91acc38a8e Author: Michael E Brown <mebrown@michaels-house.net> Date: Thu Aug 2 00:13:04 2007 -0500 BZ 250425. prevent building/rebuilding of cache file unless the build was a clean build. This should prevent the cache from getting polluted. commit 6f3c7f0c021ec45659dcdd5226962cc019cbcd09 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Aug 1 23:45:22 2007 -0500 BZ 250425. Set rebuild_cache=0 to disable rebuilding of cache. commit 0b168184b92f005bd54811d03ec6d4e4219f6cbc Author: Clark Williams <williams@redhat.com> Date: Mon Jul 23 13:58:49 2007 -0500 did some refactoring; removed unneeded error() calls commit f4e23e3a5cda4b324640c256b26717b983e51b63 Author: Michael E Brown <mebrown@michaels-house.net> Date: Mon Jul 23 11:00:26 2007 -0500 update default config file with suggestion on how to set config_opts['macros'] commit 0e64af32fbcbe3a159a4ed9cde1e7021c58b356a Merge: 09969cb 87b7c34 Author: Clark Williams <williams@redhat.com> Date: Thu Jul 19 15:27:05 2007 -0500 resolved conflict commit 09969cb147f33568aec8805ad22364aed01f1bc5 Author: Clark Williams <williams@redhat.com> Date: Thu Jul 19 14:55:42 2007 -0500 bumped version commit 87b7c34304b921a7d113f2166b2d0e2e639d76bf Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Jul 18 13:06:40 2007 -0500 version bump to 0.7.4 commit ec16aff9cf75d38793cc5cbe0dc338d7bfb2cb24 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Jul 18 13:04:20 2007 -0500 forgot to get child exit status. wait for child and set it. commit 84b2104792afe5559bc3bb9d696ca88352736e68 Author: Clark Williams <williams@redhat.com> Date: Fri Jul 13 13:55:05 2007 -0500 commit 490d804f5d03069091e8fa803e0b9338fd086813 Author: Michael E Brown <michael_e_brown@dell.com> Date: Wed Jul 11 15:21:09 2007 -0500 fix overzealous require: yum>3. We should actually run with yum 2.4. Fixes BZ 235490 commit f30345b7189548ca6ed9c88fdc2447cf00b5aa54 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jul 10 12:29:46 2007 -0500 add some default options commented out to defaults.cfg for example purposes. commit cf7b2c90687c7132a66f628d0e0faae162cd9f0a Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jul 6 17:02:29 2007 -0500 back out default mock.py chroot_setup_cmd change. Add chroot_setup_cmd to -devel configs. commit dbff4805bb10e5bfa18c2cd138c49cb07d23c052 Author: Michael E Brown <michael_e_brown@dell.com> Date: Fri Jul 6 15:25:23 2007 -0500 change default to groupinstall buildsys-build per new default. Update legacy configs to specify old buildsys-build rpm install since they dont have the new group. commit 26d249b869f6406e9fbc22d631f6aaa387a4ba80 Author: Jesse Keating <jkeating at redhat dot com> Date: Thu Jul 5 12:27:21 2007 -0400 Switch to using groupinstall buildsys-build Remove unused groups repo Signed-off-by: Michael E Brown <michael_e_brown@dell.com> commit 8c50ceadb30452189b3c3dedc5da89282080315d Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Jul 6 14:45:19 2007 -0500 version bump to 0.7.3 commit ef6d7f6d5bdad729286559fcabc2e8c8034cdaee Author: Michael E Brown <mebrown@michaels-house.net> Date: Fri Jul 6 14:42:44 2007 -0500 remove redundant entries from mock defaults.cfg file. Migrate options into mock.py that were different. commit a4c775e70acbe3c68493cf9592624e5a892fc37e Author: Jesse Keating <jkeating at redhat dot com> Date: Mon Jun 25 16:13:32 2007 -0400 Remove timeout, problem tracked to firewall on host commit 7e9f2a05ac6677909b82bbfe718d944efcbcd4d5 Author: Jesse Keating <jkeating at redhat dot com> Date: Thu Jun 21 10:36:32 2007 -0400 Fix a typo in the config file for cachedir commit 606ab3decbda6688f3440ba29567d2c683950273 Author: Jesse Keating <jkeating at redhat dot com> Date: Tue Jun 19 16:56:28 2007 -0400 Set a good timeout for static-repos, and disable them by default. commit 08188e760047cbf6c9559f7be3de767ba2b958c5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Sat Jun 16 10:13:32 2007 -0500 version bump to 0.7.2 commit ea35bbf80c36a48625ca8a12c1e7cfc478917619 Author: Jesse Keating <jkeating at redhat dot com> Date: Sat Jun 16 08:10:17 2007 -0400 Fix (again?) being able to get glibc-devel.i386 into the chroot commit 862754de096ca44e7d151d801eba0f739845d1bc Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 15:16:49 2007 -0500 move legacy mock configs to purgatory. commit dc6e25eff3c9723a96e4626863ce77133cb58d41 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 12:01:44 2007 -0500 no need for chmod since we now have correct umask commit 428461a1bafed64ed2e2734a4642e57a8187892c Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 11:56:44 2007 -0500 mock-helper wont rm -rf a non-directory. with new /etc/ policy, we dont need mock-helper to do this for us, just use os.remove commit 06cc03463a6e71aa781d280e1e8620146dd46841 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 11:53:57 2007 -0500 no need to recreate yum.conf symlink if it already exists commit 6533774ebda67addfb6e701246f3a96c5e62bcd9 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 11:52:31 2007 -0500 fix umask so that everything we touch is group-writeable commit 680203b6388d67c34d5022cd3fad1956c138a5bc Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 11:43:44 2007 -0500 resolv.conf fixes. use 'mock' group for multiuser goodness. commit 3b6ea0ffbcd6c9142415b611b0e95d3ad8331580 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 11:18:04 2007 -0500 fixes so that we have an actual policy for /etc/ files. update mock-helper with chmod/chown commit 2000fb4c611290f6feffbb50116d090269bbe1a1 Author: Michael E Brown <michael_e_brown@dell.com> Date: Thu Jun 14 10:56:13 2007 -0500 fix _prep_install() to implement new /etc/ ownership policy commit 6166557dae6f1fe4af577b8c22b68aa80a2a5612 Author: Michael E Brown <mebrown@michaels-house.net> Date: Wed Jun 13 11:08:20 2007 -0500 add exclude lines for epel x86_64 configs per request from epel team. commit 63279637c19a6092981fadee992c319f2eb8a409 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jun 12 22:46:12 2007 -0500 Adds SUBDIRS to the make 'distclean' target and 'distclean' to the sub-directory Makefiles. Patch from Ken MacLeod <ken@bitsko.slc.ut.us> signed-off-by: Michael Brown <mebrown@michaels-house.net> commit cbd9fa194725e8ae58e89df91922b5d3ee4927b5 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jun 12 21:20:00 2007 -0500 bump version to 0.7.1. Add specfile changelog entries for added EPEL configs. commit 255d74be383b6508a8d198ce0c7cf8b636eb65c4 Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jun 12 21:16:18 2007 -0500 Add EPEL 5 config files. commit 23ff5a3eda7b40eb399a258cdb72deefc78dbdff Author: Michael E Brown <mebrown@michaels-house.net> Date: Tue Jun 12 15:28:30 2007 -0500 sync version to 0.7.0 across everything commit a4dc8aef0ea27eac8682a318ccf78d8f3184c064 Author: Clark Williams <williams@redhat.com> Date: Mon Jun 11 21:29:35 2007 -0500 removed redundant "-l" option in pack commit c5cdc1f5d6dc153a38c1ebc1b045c40b4ca0c25d Merge: 163ae6a f79ca6e Author: Clark Williams <williams@redhat.com> Date: Mon Jun 11 17:14:18 2007 -0500 Merge branch 'master' of git+ssh://jcwillia@git.fedoraproject.org/git/hosted/mock commit 163ae6af8bf5364762c043fc60df71b9a5e040f9 Author: Clark Williams <williams@redhat.com> Date: Mon Jun 11 17:04:39 2007 -0500 added chmod to _prep_install file creations commit 7ffaacde740bb073f0c7564ab3baa37615f4b58e Author: Clark Williams <williams@redhat.com> Date: Mon Jun 11 16:00:06 2007 -0500 merged mock-helper from mock-0-6-branch commit b44556b827bf9e95db8025351380ddb54388fb26 Author: Clark Williams <williams@redhat.com> Date: Mon Jun 11 14:53:25 2007 -0500 fixed up src/Makefile commit d18cb4580f5f2b37e7d8a33957246a2b99d7b60f Author: Clark Williams <williams@redhat.com> Date: Mon Jun 11 14:50:21 2007 -0500 initial merge of mock-0-6-branch into HEAD commit f79ca6ebda88773d9e350c7249942862ff0e1f89 Author: Jesse Keating <jkeating at redhat dot com> Date: Mon Jun 11 10:53:05 2007 -0400 Remove spaces in Makefile (Trac #1) commit 27892721936509e3cedcf141049ffefb969e60d1 Author: jcwillia <jcwillia> Date: Mon Jan 8 22:50:36 2007 +0000 merged latest mock-0-6-branch fixes commit ddcf8384772dc240aec64ba816f28c23f2e0fefa Author: jcwillia <jcwillia> Date: Thu Jan 4 16:10:48 2007 +0000 merged mock-0-6-branch fixes into HEAD commit 467b6734b41f1a01f6f9e6765fdcd72d0deb1adb Author: jcwillia <jcwillia> Date: Tue Sep 26 16:29:22 2006 +0000 RPM workaround commit fb6370dd0de18ac0bd20b89b4e86c29fef3a72ec Author: jcwillia <jcwillia> Date: Fri Sep 8 18:04:00 2006 +0000 updated version to 0.7.1 in both spec and mock.py; modified Makefile and specfile to reflect path change for /usr/libexec/mock.py; updated ChangeLog commit 5f313edf2b304a50f4b915211d51d95554db9dc3 Author: jcwillia <jcwillia> Date: Fri Sep 8 17:37:14 2006 +0000 changed MOCK_PATH to /usr/libexec/mock.py commit bad7750117c7dd9c3f47dc8474ad2cdfd5f58ade Author: jcwillia <jcwillia> Date: Fri Aug 25 16:40:30 2006 +0000 added patch from Dennis Gilmore for Aurora SPARC Linux commit 8b0ac07f5aa81e5c7a90da0ead8157c716b0a94e Author: jcwillia <jcwillia> Date: Thu Aug 17 18:23:55 2006 +0000 updated config files to handle FC[12] lack of runuser; added template for RHL8 commit 4e9b2b751f352f8d058e883b36b91966aff11ed2 Author: jcwillia <jcwillia> Date: Thu Aug 17 18:23:17 2006 +0000 updated manpage contents commit 76b4db3f7d2309f8c62effeb2a6de17e3146f21b Author: jcwillia <jcwillia> Date: Thu Aug 17 18:22:38 2006 +0000 reformatted rpmbuild command for readability commit 0da82906230f2f357462d9d3c9cd62ce6a934eec Author: jcwillia <jcwillia> Date: Thu Aug 17 18:21:48 2006 +0000 bumped version to 0.7; reworked mount/umount logic; fixed usage message commit 99f8f89326ca7904d2687b1933b751351b4245b0 Author: jcwillia <jcwillia> Date: Wed Aug 16 19:39:24 2006 +0000 reworked specfile install section to create default config symlink based on specified fedora tag commit 0adc08947f63cbacb4eb1cb03cd13409f4631adc Author: jcwillia <jcwillia> Date: Wed Aug 16 17:49:27 2006 +0000 added disttag; added buildsys-build.spec to docs; bumped release number commit be6237c68da47ec39db8e789f52ac38e9e815d41 Author: jcwillia <jcwillia> Date: Mon Aug 7 21:52:01 2006 +0000 modified to match 0.6 branch; bumped version to match mock for this branch commit 04580c1234b74957e25d490993e74095ae218d5d Author: jcwillia <jcwillia> Date: Mon Aug 7 19:24:54 2006 +0000 updated buildsys specfile to be distro specific and updated Makefile to generate target buildsys packages commit 3bbade9a0fc140bcde86c4b1ba1267bc1f712f0c Author: jcwillia <jcwillia> Date: Mon Jul 17 15:04:00 2006 +0000 updated to include "chroot" command in usage and man page commit 81d46b68b645e885001ae44f863d6b736fe8c7d7 Author: jcwillia <jcwillia> Date: Wed Jun 28 15:14:45 2006 +0000 updated version to 0.7 (new launcher mechanism) commit 3404ef6435a614b58feb0c0890f1df853464b24b Author: skvidal <skvidal> Date: Wed Jun 21 21:53:20 2006 +0000 fix fc5 == devel commit b5ded737866026d37e2e1e127cb4542196378744 Author: skvidal <skvidal> Date: Tue Jun 13 05:36:07 2006 +0000 changelog commit d34250ef8316ff11ee09de2b787817a453a78ad5 Author: skvidal <skvidal> Date: Tue Jun 13 05:31:30 2006 +0000 add cache defaults commit 6486b921ce45cf9f3552049d7aed131c6698350a Author: skvidal <skvidal> Date: Tue Jun 13 05:16:47 2006 +0000 check in changelog commit 512cbaeacf3c5dc7355b99efffc415e0d04279b4 Author: skvidal <skvidal> Date: Tue Jun 13 05:15:55 2006 +0000 correct commented-out groupinstall option commit 35c2dc6b72d51f928897ec5909974f5c44adb594 Author: skvidal <skvidal> Date: Tue Jun 13 04:28:03 2006 +0000 config file changes to point to mirrors commit 843dd66ec65840dc7155a3dd986f978d880cb305 Author: skvidal <skvidal> Date: Tue Jun 13 04:12:42 2006 +0000 fix up some of the url/mirrorlist paths commit 56a9b96511236404382f3076cf1b745ae417032b Author: skvidal <skvidal> Date: Tue Jun 13 03:52:38 2006 +0000 reduce build set commit 2070f0d59f7f293a39e881f0c25c64446211bbcb Author: mebrown <mebrown> Date: Thu Jun 8 21:28:46 2006 +0000 Make rm less verbose. commit c828ebd9031b242207368977c20fb00a5ab68493 Author: skvidal <skvidal> Date: Wed Jun 7 12:36:11 2006 +0000 fix up all the paths to buildgroups and to plague build-results commit 87f94fdc644f9f8e96d93e7924f7f06889985b29 Author: skvidal <skvidal> Date: Wed Jun 7 12:29:15 2006 +0000 iterate version in spec files commit b8a2ab0b0b4e0f38af8a59675f6474c58ab51ad5 Author: skvidal <skvidal> Date: Wed Jun 7 12:27:27 2006 +0000 clean out things that are now in 'defaults.cfg' commit b36504d22c675cd20e0d23bf1e453cf8d9552e6c Author: skvidal <skvidal> Date: Tue Jun 6 21:28:42 2006 +0000 use defaults more intelligently commit 7814ebd4d074d5434b7984a28508d2a422aa156f Author: skvidal <skvidal> Date: Wed May 24 15:15:19 2006 +0000 check in Michael Brown's lovely autocache creation patch. commit a317ec8818ce2cfd35c4a35aa119bb1a23df6f10 Author: jcwillia <jcwillia> Date: Wed May 17 15:12:36 2006 +0000 Michael E. Brown's patch for getting PS1 down to chroot shell commit 950a02e8990b7b978bb944a4c62a252273c46a64 Author: skvidal <skvidal> Date: Tue May 16 04:15:48 2006 +0000 applied tab-fix and a slimming of main patches from Michael E. Brown. commit 56e804a9c837bbad688dd0567304d6dba67f5034 Author: skvidal <skvidal> Date: Sun May 14 04:53:38 2006 +0000 make prep install command configurable and set default in defaults.cfg commit 62c61f1041258f763a020ea007f421bba558201d Author: skvidal <skvidal> Date: Sun May 14 04:49:57 2006 +0000 commit Hans Ulrich Niedermann and Andreas Thienemann patch for the crack-y more buildreq feature. commit 2a84506fa40715b94207379e3b3caf030b010c69 Author: skvidal <skvidal> Date: Sun May 14 04:48:11 2006 +0000 check in global defaults patch from Andreas Thienemann commit e93b34bd0e792798c96909bd1ea90010fc165c43 Author: jcwillia <jcwillia> Date: Fri May 12 20:57:57 2006 +0000 added PS1 to allowed environment (to display special prompt when inside chroot) commit a4227dc16a7abdef709610f90621740600afb2b0 Author: jcwillia <jcwillia> Date: Fri May 12 20:57:03 2006 +0000 added interactive "shell" command for examining chroots commit 55ae4aecb11782e193d9e8cbb18d09d3421ad958 Author: skvidal <skvidal> Date: Fri May 12 20:56:30 2006 +0000 commit michael brown's multiple srpms on the command line patch commit 4bcdc0848aaf261cdede2b3a897a0924b06deca1 Author: mdomsch <mdomsch> Date: Mon May 8 16:39:53 2006 +0000 enable SLES9 and SLES10 build environments commit 2eb9b6dcc7170162e3a477a3391056d8951e4c8f Author: skvidal <skvidal> Date: Fri Apr 21 13:07:26 2006 +0000 fix bug 189586 Thanks to mclasen for catching it commit f58dd066ed6336ba85870d870dcc3cc4bf13b8a1 Author: jcwillia <jcwillia> Date: Tue Apr 18 14:03:22 2006 +0000 added updates-released section to fc5 configs commit ba0a6294b1f953ff672e20f4364486b3e7c75107 Author: jcwillia <jcwillia> Date: Tue Apr 18 13:58:45 2006 +0000 fixed fc5 configs to use correct path; added devel configs commit 6c072103763e5a3bc1c5ab598573b942f202e90f Author: jcwillia <jcwillia> Date: Wed Apr 12 14:23:17 2006 +0000 added target for buildsys-build RPM commit 70a76df0be0ce670a07849d47bc9ced53a237491 Author: jcwillia <jcwillia> Date: Wed Apr 12 14:22:44 2006 +0000 initial checkin of dependency rpm specfile commit 5fc713dad6a1a87edbcbd22fa9ec3292e2a61ee8 Author: jcwillia <jcwillia> Date: Wed Apr 12 14:22:11 2006 +0000 change to chroot command to insure /proc and /sys are mounted/unmounted commit 1296d57e07ea87795349c3d1b3c5493942e05c33 Author: skvidal <skvidal> Date: Tue Apr 11 08:35:50 2006 +0000 update spec file a bit commit 67b25024a129d1f0f1d521b414ba9f6e5ac071dc Author: skvidal <skvidal> Date: Tue Apr 11 08:01:31 2006 +0000 remove the 'groupinstall' need to use a buildsys dependency-only package iterate version to 0.5 more patches to go in, though commit c3d5efbff695e81834209ba15e9864543c3b38ea Author: skvidal <skvidal> Date: Tue Apr 11 08:00:51 2006 +0000 modify all config files for chroot_dep_package option default package name to buildsys-build commit c6394fb7a3b410cfeb2da1b233d55c533bc2c1c3 Author: skvidal <skvidal> Date: Wed Mar 29 06:23:21 2006 +0000 closing: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180976 thanks to Tom Tromey commit 9afaa66e05f88af74daa5b3b6e8c5f4e6778313c Author: dcbw <dcbw> Date: Tue Mar 21 21:50:52 2006 +0000 Patch from Clark Williams <williams@redhat.com> Set up links to /dev/std[in|out|err] in buildroots commit 258615d8edf2fb7c2a8a428e575b63c39260c71d Author: jcwillia <jcwillia> Date: Wed Mar 15 22:14:38 2006 +0000 add chroot command for running arbitrary commands in the chroot commit fca88cf32108c65e4f35f17abdf2bd7e7e46c816 Author: skvidal <skvidal> Date: Fri Feb 24 19:31:57 2006 +0000 add patch from Clark Williams to be able to specify configdir commit bc159ff3682548d87a7da2df610c82c4e6f8a923 Author: dcbw <dcbw> Date: Tue Jan 24 17:15:10 2006 +0000 Back out setpgrp patch, found a better way to do it in plague commit e242c19abf8f91641b7bf6e01c90ad1eb0ccd58a Author: dcbw <dcbw> Date: Tue Jan 24 16:07:11 2006 +0000 Add an option to create a new process group so that both mock and all of its children can be easily killed with kill(-<mock pid>) without killing mock's parent (ie, plague-builder). commit a4fb36c73e885f1f66cbd36cf33a1f33988745bd Author: scop <scop> Date: Thu Jan 19 21:33:30 2006 +0000 s/mach/mock/ in comments. commit c0e572600435e7537a8a53c26f3975ef13f2b4a9 Author: skvidal <skvidal> Date: Tue Dec 27 18:30:26 2005 +0000 apply all of Andreas Thienemann's patches. fixes rm -rf call to rm -rfv and fixes the mock man page in the package makefile and specfile. commit 2517258ab2ecfc3127d06417ed018675dbd69000 Author: scop <scop> Date: Sun Nov 20 21:57:30 2005 +0000 Exclude CVS stuff from tarball. commit 7116bad578a823a50a7366cee020c165be979c29 Author: scop <scop> Date: Sun Nov 20 21:54:39 2005 +0000 Ignore generated files. commit eaa58beadfa01751601caa60dfdc18938e04abe2 Author: symbiont <symbiont> Date: Sat Nov 12 19:00:46 2005 +0000 no verbose for rm commit 8978d1fb45606f6ea886b40a9eadf6525cf91e87 Author: symbiont <symbiont> Date: Sat Nov 12 18:56:17 2005 +0000 realtime logging allowing for `tail -f' of the logs commit 3a2e777ace4ea0e1e53d53413d8b5bc6dc6df8b8 Author: symbiont <symbiont> Date: Sat Nov 12 14:32:22 2005 +0000 Fix string output when printing error objects. commit 448649298ec19711242a8a342cea2c5c16399210 Author: skvidal <skvidal> Date: Tue Aug 23 21:09:22 2005 +0000 fix for a traceback when your hardware is failing. :) commit 7f20529487168d8955c7942c058bdd75b40e739c Author: sheltren <sheltren> Date: Sun Aug 21 16:29:32 2005 +0000 add commands to man page, create config files for legacy distributions commit c3bc19ff6b676dbbf7529eb4cc6ab2df7edb4667 Author: skvidal <skvidal> Date: Wed Aug 17 05:11:13 2005 +0000 --quiet flag and add a 'log' method for the primary class. commit 89055c8f57983efc2be4a66a6cf0eeb586675249 Author: skvidal <skvidal> Date: Fri Aug 5 08:12:44 2005 +0000 mock man page from Jeff Sheltren Makefile for docs dir commit 68024d3807345cb90468b1c01a2d35127a3c534e Author: skvidal <skvidal> Date: Fri Aug 5 08:11:17 2005 +0000 added makefile for docs subdir commit b3c67eeedacf17b8296f48f0f2ca0d7f0d8bbc4b Author: skvidal <skvidal> Date: Thu Aug 4 20:53:02 2005 +0000 check in Jeff Sheltren's patch to fix bug: 165069 commit 4154e98e55cf8c87964e9bc127469a18de1e0d6e Author: skvidal <skvidal> Date: Thu Aug 4 07:23:01 2005 +0000 mock.spec: url updates mock.py: fix for rh bug: 163576 Thanks To Adrian Reber commit 95ed513c1ec95a191201bfc37c2ca67b7710770a Author: skvidal <skvidal> Date: Mon Aug 1 05:54:27 2005 +0000 minor README update commit 2868dd1f9b308fb220d9d2e6bd8b7e6af624893f Author: katzj <katzj> Date: Fri Jul 29 05:11:13 2005 +0000 exclude ppc64 packages in ppc configs. this fixes building of ppc stuff on a ppc64 host commit 228ae5fed4910230044389275f1ce358e96f18d0 Author: skvidal <skvidal> Date: Thu Jul 28 14:02:59 2005 +0000 update the local path commit f2f20891bf2d7c2654a09fbfc92ad114d85e27ee Author: skvidal <skvidal> Date: Tue Jul 26 20:36:41 2005 +0000 fix exception handling commit 4553c6143c93498c92ea49efeeacd393b3948acd Author: skvidal <skvidal> Date: Tue Jul 26 20:17:29 2005 +0000 bump version number to 0.4 commit 46bf3e793226790f61e848a55778c6b6f2327e5f Author: skvidal <skvidal> Date: Tue Jul 26 20:16:21 2005 +0000 make file fix and update spec file commit 9744b0b9e05f3ea3f467cef425a5675e1bc6419e Author: skvidal <skvidal> Date: Tue Jul 26 20:12:16 2005 +0000 fix Makefile commit 0827824cc37c5eb02e0eb5bde4fa3c2bef531714 Author: skvidal <skvidal> Date: Thu Jul 21 14:40:44 2005 +0000 make more exceptions to allow for better exit codes from mock to define failures. commit 95a21ac05f9fae3b8f052d3948e1338595deb593 Author: katzj <katzj> Date: Thu Jul 14 18:00:26 2005 +0000 add mock-yum wrapper to remove the selinux LD_PRELOAD. also, only set the LD_PRELOAD for use with running yum commit cd8d68c8c300ca0f074aeea8e559b87590309358 Author: skvidal <skvidal> Date: Fri Jul 8 05:49:52 2005 +0000 remove references to mach-helper to fix 161828 commit 621db8f69620eee39ad1b400a1a2cfb581f5a4c0 Author: skvidal <skvidal> Date: Mon Jun 27 03:43:11 2005 +0000 apply ignacio's patch for Makefile and spec file. commit 27476d0782d01c3adbb28eb092727f836ca100a9 Author: dcbw <dcbw> Date: Sat Jun 25 19:00:52 2005 +0000 Fix up basedir, it was actually config['root'] not config['basedir'] that needed to be modified. Sigh. commit 86f2559a5bea3da9fb8e2c06a2635543cb14936f Author: skvidal <skvidal> Date: Sat Jun 25 17:27:29 2005 +0000 make sure statedir is present before writing the statefile commit eaf4015603e628be1d266935f8fc5a3e5380338d Author: skvidal <skvidal> Date: Sat Jun 25 17:23:09 2005 +0000 merge in dcbw's patch for --uniqueext commit c950c6d542b4bd4380d56bfc43c027f950892b91 Author: dcbw <dcbw> Date: Fri Jun 24 01:35:28 2005 +0000 don't close the rootlog before we're done writing to it. commit a8c080a35eab0b1e358e01a90a39bb5d10d73bfc Author: dcbw <dcbw> Date: Fri Jun 24 01:04:25 2005 +0000 Clean up states written to the 'status' file to be less granular and more parser friendly. commit 150ffab02a44a80df533feb6c7bc854be57cdeda Author: katzj <katzj> Date: Thu Jun 23 20:00:45 2005 +0000 don't do the libselinux preload if selinux is disabled commit 8c96aadf4e9ee140ce5dba4257799f38c70a10a8 Author: skvidal <skvidal> Date: Wed Jun 22 05:38:21 2005 +0000 - add init and clean commands to initialize a buildroot and exit and to clean out the chroot and exit. - make sure the mockconfig.log output is flushed. commit bf21e37fbedb0d9f1047cf1c96b7a3073f717137 Author: dcbw <dcbw> Date: Tue Jun 21 17:48:06 2005 +0000 Make statedir function correctly, add newlines to config dump file commit 16ca74c8b32374a1e1c051eac08b237265514e17 Author: dcbw <dcbw> Date: Tue Jun 21 15:53:55 2005 +0000 Fix syntax error in mock.py commit a3432e75caac0144015b65822f1cd6816187a85a Author: skvidal <skvidal> Date: Tue Jun 21 15:23:59 2005 +0000 update changelog to make dcbw happy commit 6e1f27d40906ade21192bc1685f5aced8141689e Author: skvidal <skvidal> Date: Tue Jun 21 15:23:27 2005 +0000 remove dcbw's rogue changelog change commit e06a168216e9a84960467e62a5c7a83cfbd14461 Author: dcbw <dcbw> Date: Tue Jun 21 14:11:17 2005 +0000 2005-06-21 10:02 dcbw * mock.py: Fix traceback in clean() when self.basedir doesn't yet exist. Fix traceback when call to Root() raises an exception and doesn't therefore set 'my' commit 7cdc031a91e055a43b53ac9f6f39c1b6c638ee63 Author: skvidal <skvidal> Date: Tue Jun 21 13:47:33 2005 +0000 --statedir on cli write out some of config into resultdir in a file named mockconfig.log commit 2ffe295af6668bf6fde1b0b072905e8369b46700 Author: katzj <katzj> Date: Fri Jun 17 21:11:59 2005 +0000 don't allow APT_CONFIG since apt is irrelevant to mock commit 29549c37ff777c9c8ce5e35385f1b2975aada908 Author: katzj <katzj> Date: Fri Jun 17 20:53:31 2005 +0000 * build libselinux-mock as a shared lib that gets installed into LIBDIR * LD_PRELOAD libselinux-mock if we're running with selinux. this involves linking with libselinux. if you're anti-selinux, build with 'make NOSELINUX=1'. this lets mock work on systems running targeted policy at least only ugliness here is that if the preload is being used, you get errors about being unable to load it in the chroot from ld. it doesn't cause problems, it's just aesthetically ugly. commit d4b15286d03862f05e4e69570e10ba5aeb282e6e Author: skvidal <skvidal> Date: Thu Jun 16 20:07:51 2005 +0000 - catch srpm not found traceback - fix fc4 config files commit 79d8855472cf6202ff08ab62ef2db12b45524cae Author: katzj <katzj> Date: Sun Jun 12 23:35:39 2005 +0000 don't allow running as root (#159986) commit daa8ef76465e3d8b870d1724eb10074348f55b5c Author: katzj <katzj> Date: Sun Jun 12 23:33:30 2005 +0000 error out if the user didn't pass a real srpm (#159987) commit 0804b966a4864c4a2955126c26da46a33b3b6ad1 Author: katzj <katzj> Date: Sun Jun 12 23:23:47 2005 +0000 add config files for fc 4 and 5. make the development config file a symlink at install time since cvs can't really handle symlinks commit b953cfa0345527398cf275b9a5d2c46bac824605 Author: skvidal <skvidal> Date: Sun Jun 12 03:56:22 2005 +0000 label 0.3 commit 34f8d60684bbf72cbbb6e98be804340377d28b09 Author: skvidal <skvidal> Date: Sun Jun 12 03:38:19 2005 +0000 security fix - pointed out by Toshio Kuratomi commit d973ad1db297026ecee2fc599395f923568f94d2 Author: skvidal <skvidal> Date: Sun Jun 5 14:51:59 2005 +0000 changes to spec file for fedora extras commit 101e43d37ec9afc91b14e7357f6302456f184814 Author: skvidal <skvidal> Date: Sun Jun 5 08:03:03 2005 +0000 few more fixes commit c367760316e841531ad13b4156a51bff218841b0 Author: skvidal <skvidal> Date: Sun Jun 5 08:00:19 2005 +0000 clean up spec file for fedora extras commit 253c2e6a6860b1949332cf1113160a2e84b43ec3 Author: skvidal <skvidal> Date: Sat May 28 17:25:48 2005 +0000 change make clean in . of dist dir commit 31530541c0e97c0c34d2039b4bafa1503a438944 Author: skvidal <skvidal> Date: Sat May 28 17:24:49 2005 +0000 update changelog commit ca078c79cd50361ab94c4bc10bf925b688b24203 Author: skvidal <skvidal> Date: Sat May 28 17:24:31 2005 +0000 add changelog to spec file commit 6e9255cdfee7d509eca4007805fb1d4af3174161 Author: skvidal <skvidal> Date: Sat May 28 17:18:49 2005 +0000 correct umount_by_file problem with trailing \n commit 553f1b20be4eafadb373b658d461f54d136e7fed Author: skvidal <skvidal> Date: Sat May 28 16:40:04 2005 +0000 spec file fix commit 765f5f225a1fdc99fb6fe25cc98bfa246c8ba2c5 Author: skvidal <skvidal> Date: Sat May 28 16:34:25 2005 +0000 added changelog commit de1e2f5a7967786ed2c2b5cb514bd0a51747557d Author: skvidal <skvidal> Date: Sat May 28 16:29:45 2005 +0000 make the default.cfg symlink commit 4fe0b9451b87bd8f750f06b7a2f6ffd4a80a2516 Author: skvidal <skvidal> Date: Thu May 19 14:24:40 2005 +0000 - allow users other than uid=500,gid=500 - fix warnings in mock-helper - fix umount of proc and devpts commit 0ac5412e2c02b5f3f61ea05cc864c32e28d1351e Author: skvidal <skvidal> Date: Mon May 16 15:07:51 2005 +0000 pychecker is my friend commit ee35d5e35fd04ac31c363d519709567ce9c32486 Author: skvidal <skvidal> Date: Mon May 16 15:04:44 2005 +0000 - default now the default config file - checks for membership in mock group before running - run yum update if the chroot is set to not be cleaned out commit 226ffeaa2cc8d41157426a37b35b8832a1fd0d3c Author: skvidal <skvidal> Date: Mon May 16 06:27:02 2005 +0000 - update copyright info - update README with some more content and TODOs commit 4cdcf0d2ec19115d0067a8c6c4e895b6418e3a9e Author: skvidal <skvidal> Date: Mon May 16 02:44:00 2005 +0000 Initial revision