portage.git
19 years agoRemove redundant processing of ROOT and PORTAGE_CONFIGROOT for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 05:51:55 +0000 (05:51 -0000)]
Remove redundant processing of ROOT and PORTAGE_CONFIGROOT for cloned config instances.

svn path=/main/trunk/; revision=3960

19 years agoRemove redundant (and possibly problem causing) copying of self.backupenv for cloned...
Zac Medico [Thu, 20 Jul 2006 05:21:46 +0000 (05:21 -0000)]
Remove redundant (and possibly problem causing) copying of self.backupenv for cloned config instances.

svn path=/main/trunk/; revision=3959

19 years agoRemove redundant processing of PORTDIR_OVERLAY for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 04:40:32 +0000 (04:40 -0000)]
Remove redundant processing of PORTDIR_OVERLAY for cloned config instances.

svn path=/main/trunk/; revision=3958

19 years agoRemove redundant initialization of self.depcachedir for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 04:25:32 +0000 (04:25 -0000)]
Remove redundant initialization of self.depcachedir for cloned config instances.

svn path=/main/trunk/; revision=3957

19 years agoWhen a config instance is cloned, don't initialize PORTAGE_GID since it would have...
Zac Medico [Thu, 20 Jul 2006 04:14:53 +0000 (04:14 -0000)]
When a config instance is cloned, don't initialize PORTAGE_GID since it would have been done already for the instance being cloned.

svn path=/main/trunk/; revision=3956

19 years agoWhen a config instance is cloned, don't set default USE_ORDER since it would have...
Zac Medico [Thu, 20 Jul 2006 04:06:46 +0000 (04:06 -0000)]
When a config instance is cloned, don't set default USE_ORDER since it would have been done already for the instance being cloned.

svn path=/main/trunk/; revision=3955

19 years agoHandle a potential ValueError when parsing the number of terminal columns.
Zac Medico [Thu, 20 Jul 2006 01:43:00 +0000 (01:43 -0000)]
Handle a potential ValueError when parsing the number of terminal columns.

svn path=/main/trunk/; revision=3954

19 years agoMake user_special() return 1 if none of the patterns in /etc/etc-update.special are...
Zac Medico [Wed, 19 Jul 2006 21:12:04 +0000 (21:12 -0000)]
Make user_special() return 1 if none of the patterns in /etc/etc-update.special are matched.

svn path=/main/trunk/; revision=3953

19 years agoMake PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environ...
Zac Medico [Wed, 19 Jul 2006 19:56:30 +0000 (19:56 -0000)]
Make PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environment for bug #140436.

svn path=/main/trunk/; revision=3952

19 years agoadd support to prevent auto-processing for user-special files that match a pattern...
Marius Mauch [Wed, 19 Jul 2006 11:41:41 +0000 (11:41 -0000)]
add support to prevent auto-processing for user-special files that match a pattern in /etc/etc-update.special

svn path=/main/trunk/; revision=3936

19 years agouse eval to allow shell expansion in config file
Marius Mauch [Wed, 19 Jul 2006 11:10:31 +0000 (11:10 -0000)]
use eval to allow shell expansion in config file

svn path=/main/trunk/; revision=3935

19 years agoOnly call portageq once
Marius Mauch [Wed, 19 Jul 2006 11:00:28 +0000 (11:00 -0000)]
Only call portageq once

svn path=/main/trunk/; revision=3934

19 years agoRemove redundant checksum output.
Zac Medico [Wed, 19 Jul 2006 10:40:50 +0000 (10:40 -0000)]
Remove redundant checksum output.

svn path=/main/trunk/; revision=3933

19 years agoupdate mtime after replacing config files
Marius Mauch [Wed, 19 Jul 2006 10:36:14 +0000 (10:36 -0000)]
update mtime after replacing config files

svn path=/main/trunk/; revision=3932

19 years agoadd notice about remaining updates on exit
Marius Mauch [Wed, 19 Jul 2006 10:26:20 +0000 (10:26 -0000)]
add notice about remaining updates on exit

svn path=/main/trunk/; revision=3931

19 years agoadd option to discard config updates
Marius Mauch [Wed, 19 Jul 2006 10:21:32 +0000 (10:21 -0000)]
add option to discard config updates

svn path=/main/trunk/; revision=3930

19 years agoShow full path when auto-merging
Marius Mauch [Wed, 19 Jul 2006 09:57:31 +0000 (09:57 -0000)]
Show full path when auto-merging

svn path=/main/trunk/; revision=3929

19 years agoensure we have the necessary access
Marius Mauch [Wed, 19 Jul 2006 09:55:34 +0000 (09:55 -0000)]
ensure we have the necessary access

svn path=/main/trunk/; revision=3928

19 years agoUse the python implemention of ebegin/eend to visually enhance the ouput for checksums.
Zac Medico [Wed, 19 Jul 2006 05:56:28 +0000 (05:56 -0000)]
Use the python implemention of ebegin/eend to visually enhance the ouput for checksums.

svn path=/main/trunk/; revision=3925

19 years agoAdd an EOutput class that provides a python implementation of the familar e* funtions...
Zac Medico [Wed, 19 Jul 2006 05:54:33 +0000 (05:54 -0000)]
Add an EOutput class that provides a python implementation of the familar e* funtions from /sbin/functions.sh.  Thanks to Alex Tarkovsky <alextarkovsky@gmail.com> for this patch.

svn path=/main/trunk/; revision=3924

19 years agoDon't try to create a log file unless PORTAGE_BUILDDIR exists.
Zac Medico [Wed, 19 Jul 2006 05:51:08 +0000 (05:51 -0000)]
Don't try to create a log file unless PORTAGE_BUILDDIR exists.

svn path=/main/trunk/; revision=3923

19 years agoUse the portage gid for BUILD_PREFIX.
Zac Medico [Wed, 19 Jul 2006 01:13:52 +0000 (01:13 -0000)]
Use the portage gid for BUILD_PREFIX.

svn path=/main/trunk/; revision=3922

19 years agoEnsure that BUILD_PREFIX has been created before attempting to lock PORTAGE_BUILDDIR.
Zac Medico [Wed, 19 Jul 2006 01:11:57 +0000 (01:11 -0000)]
Ensure that BUILD_PREFIX has been created before attempting to lock PORTAGE_BUILDDIR.

svn path=/main/trunk/; revision=3921

19 years agoDo file locking on PORTAGE_BUILDDIR and use a finally block to ensure that the lock...
Zac Medico [Tue, 18 Jul 2006 23:40:59 +0000 (23:40 -0000)]
Do file locking on PORTAGE_BUILDDIR and use a finally block to ensure that the lock is properly released.  This fixes bug #140971.

svn path=/main/trunk/; revision=3920

19 years agoEnsure a sane umask for repoman.
Zac Medico [Tue, 18 Jul 2006 21:50:02 +0000 (21:50 -0000)]
Ensure a sane umask for repoman.

svn path=/main/trunk/; revision=3919

19 years agofix up doman and prepman so that they work with the new .keep files in rev 3917
Simon Stelling [Tue, 18 Jul 2006 18:21:52 +0000 (18:21 -0000)]
fix up doman and prepman so that they work with the new .keep files in rev 3917

svn path=/main/trunk/; revision=3918

19 years agomake .keep files package-dependant to fix bug 102436
Simon Stelling [Tue, 18 Jul 2006 17:09:23 +0000 (17:09 -0000)]
make .keep files package-dependant to fix bug 102436

svn path=/main/trunk/; revision=3917

19 years agoUse a set instead of a list for better efficiency.
Zac Medico [Tue, 18 Jul 2006 03:59:26 +0000 (03:59 -0000)]
Use a set instead of a list for better efficiency.

svn path=/main/trunk/; revision=3916

19 years agoSimplify generation of the cleanlist for depclean.
Zac Medico [Tue, 18 Jul 2006 03:52:13 +0000 (03:52 -0000)]
Simplify generation of the cleanlist for depclean.

svn path=/main/trunk/; revision=3915

19 years agoFix depclean so that it cleans unneeded slots (unless they are exempted by the system...
Zac Medico [Mon, 17 Jul 2006 23:57:40 +0000 (23:57 -0000)]
Fix depclean so that it cleans unneeded slots (unless they are exempted by the system or world sets).  See bug #140591.

svn path=/main/trunk/; revision=3914

19 years agoAdd a docstring with epytext markup to portage_versions.pkgcmp(). Thanks to chriswhi...
Zac Medico [Mon, 17 Jul 2006 19:14:02 +0000 (19:14 -0000)]
Add a docstring with epytext markup to portage_versions.pkgcmp().  Thanks to chriswhite for this patch.

svn path=/main/trunk/; revision=3913

19 years agoEnable repoman to work with portage.init_legacy_globals() disabled.
Zac Medico [Mon, 17 Jul 2006 18:48:51 +0000 (18:48 -0000)]
Enable repoman to work with portage.init_legacy_globals() disabled.

svn path=/main/trunk/; revision=3912

19 years agoRemove redundant variable definitions.
Zac Medico [Mon, 17 Jul 2006 17:49:16 +0000 (17:49 -0000)]
Remove redundant variable definitions.

svn path=/main/trunk/; revision=3911

20 years agoFix categories and arch.list handling for repoman with overlays so that /etc/portage...
Zac Medico [Mon, 17 Jul 2006 10:34:28 +0000 (10:34 -0000)]
Fix categories and arch.list handling for repoman with overlays so that /etc/portage is not used.

svn path=/main/trunk/; revision=3910

20 years agoCollapse two repoman PORTAGE_CALLER conditionals into one.
Zac Medico [Mon, 17 Jul 2006 09:57:33 +0000 (09:57 -0000)]
Collapse two repoman PORTAGE_CALLER conditionals into one.

svn path=/main/trunk/; revision=3909

20 years agoAdd ipv6 --sync support for bug #37124. Thanks to Bernhard Schmidt <berni@birkenwald...
Zac Medico [Sun, 16 Jul 2006 22:20:23 +0000 (22:20 -0000)]
Add ipv6 --sync support for bug #37124.  Thanks to Bernhard Schmidt <berni@birkenwald.de> for the initial patch.

svn path=/main/trunk/; revision=3908

20 years agoFix broken --usepkg masking logic for bug #140694.
Zac Medico [Sun, 16 Jul 2006 20:47:53 +0000 (20:47 -0000)]
Fix broken --usepkg masking logic for bug #140694.

svn path=/main/trunk/; revision=3907

20 years agoMove the ConfigProtect class to the portage_util module.
Zac Medico [Sun, 16 Jul 2006 02:36:40 +0000 (02:36 -0000)]
Move the ConfigProtect class to the portage_util module.

svn path=/main/trunk/; revision=3895

20 years agos/config_protect/ConfigProtect/ for the class name.
Zac Medico [Sun, 16 Jul 2006 01:28:22 +0000 (01:28 -0000)]
s/config_protect/ConfigProtect/ for the class name.

svn path=/main/trunk/; revision=3894

20 years agoAdd a new portageq metadata function that wraps dbapi.aux_get() so that things like...
Zac Medico [Sat, 15 Jul 2006 19:46:43 +0000 (19:46 -0000)]
Add a new portageq metadata function that wraps dbapi.aux_get() so that things like built_with_use in eutils.eclass can retrieve metadata in manner that is independent of the installed package database implementation.

svn path=/main/trunk/; revision=3893

20 years agoRemove the portage_file module for bug #133591.
Zac Medico [Sat, 15 Jul 2006 19:09:11 +0000 (19:09 -0000)]
Remove the portage_file module for bug #133591.

svn path=/main/trunk/; revision=3892

20 years agoMove normalize_path into portage_util.
Zac Medico [Sat, 15 Jul 2006 19:03:39 +0000 (19:03 -0000)]
Move normalize_path into portage_util.

svn path=/main/trunk/; revision=3891

20 years agoUse normalize_path instead of using normpath directly.
Zac Medico [Sat, 15 Jul 2006 18:54:56 +0000 (18:54 -0000)]
Use normalize_path instead of using normpath directly.

svn path=/main/trunk/; revision=3890

20 years agoSimplify portage.normalize_path() logic.
Zac Medico [Sat, 15 Jul 2006 18:34:08 +0000 (18:34 -0000)]
Simplify portage.normalize_path() logic.

svn path=/main/trunk/; revision=3889

20 years agoUse calculations to center --info header titles.
Zac Medico [Sat, 15 Jul 2006 07:15:27 +0000 (07:15 -0000)]
Use calculations to center --info header titles.

svn path=/main/trunk/; revision=3881

20 years agoAs suggested by vapier, only show the "System Settings" banner when myfiles is not...
Zac Medico [Sat, 15 Jul 2006 05:36:28 +0000 (05:36 -0000)]
As suggested by vapier, only show the "System Settings" banner when myfiles is not empty.

svn path=/main/trunk/; revision=3879

20 years agonote change in search behavior in release notes
Marius Mauch [Sat, 15 Jul 2006 01:39:40 +0000 (01:39 -0000)]
note change in search behavior in release notes

svn path=/main/trunk/; revision=3878

20 years agoupdate search docs
Marius Mauch [Sat, 15 Jul 2006 01:37:13 +0000 (01:37 -0000)]
update search docs

svn path=/main/trunk/; revision=3877

20 years agodisable regular expressions for search by default
Marius Mauch [Sat, 15 Jul 2006 01:27:15 +0000 (01:27 -0000)]
disable regular expressions for search by default

svn path=/main/trunk/; revision=3876

20 years agoFix gid typo from the last commit.
Zac Medico [Thu, 13 Jul 2006 23:42:50 +0000 (23:42 -0000)]
Fix gid typo from the last commit.

svn path=/main/trunk/; revision=3869

20 years agoMove the world file trimming out of dblink.unmerge() since the world file is package...
Zac Medico [Thu, 13 Jul 2006 23:33:05 +0000 (23:33 -0000)]
Move the world file trimming out of dblink.unmerge() since the world file is package set territory and therefore doesn't belong inside dblink.

svn path=/main/trunk/; revision=3868

20 years agoMake the merge phase bail out if srcroot doesn't exist for bug #140159.
Zac Medico [Thu, 13 Jul 2006 19:29:09 +0000 (19:29 -0000)]
Make the merge phase bail out if srcroot doesn't exist for bug #140159.

svn path=/main/trunk/; revision=3857

20 years agoRemove the unmerge_overlapping() function since unmerge() now works properly in the...
Zac Medico [Thu, 13 Jul 2006 19:08:09 +0000 (19:08 -0000)]
Remove the unmerge_overlapping() function since unmerge() now works properly in the case where ROOT!=/ thanks to the fix for bugs #137446 and #131319.

svn path=/main/trunk/; revision=3854

20 years agoDie at the beginning of install_qa_check if ${D} doesn't exist. See bug #140159.
Zac Medico [Thu, 13 Jul 2006 18:04:36 +0000 (18:04 -0000)]
Die at the beginning of install_qa_check if ${D} doesn't exist.  See bug #140159.

svn path=/main/trunk/; revision=3852

20 years agoSplit depgraph.merge() to a separate MergeTask class.
Zac Medico [Thu, 13 Jul 2006 08:23:10 +0000 (08:23 -0000)]
Split depgraph.merge() to a separate MergeTask class.

svn path=/main/trunk/; revision=3844

20 years agoFix incorrect path handling in parts of symlink merge logic.
Zac Medico [Thu, 13 Jul 2006 06:54:14 +0000 (06:54 -0000)]
Fix incorrect path handling in parts of symlink merge logic.

svn path=/main/trunk/; revision=3843

20 years agoRemove orphan srctarget variable.
Zac Medico [Thu, 13 Jul 2006 04:15:47 +0000 (04:15 -0000)]
Remove orphan srctarget variable.

svn path=/main/trunk/; revision=3842

20 years agoUse startswith instead of slice or find.
Zac Medico [Thu, 13 Jul 2006 04:09:59 +0000 (04:09 -0000)]
Use startswith instead of slice or find.

svn path=/main/trunk/; revision=3841

20 years agoClean up various path joins in dblink.mergeme().
Zac Medico [Thu, 13 Jul 2006 03:44:40 +0000 (03:44 -0000)]
Clean up various path joins in dblink.mergeme().

svn path=/main/trunk/; revision=3840

20 years agoDon't swallow unknown exceptions from lstat() during the merge phase.
Zac Medico [Thu, 13 Jul 2006 02:22:22 +0000 (02:22 -0000)]
Don't swallow unknown exceptions from lstat() during the merge phase.

svn path=/main/trunk/; revision=3839

20 years agoUse startswith instead of slices to simplify config protect code.
Zac Medico [Wed, 12 Jul 2006 17:12:06 +0000 (17:12 -0000)]
Use startswith instead of slices to simplify config protect code.

svn path=/main/trunk/; revision=3838

20 years agoUse a safer method to join the path when deciding if the current merge offset is...
Zac Medico [Wed, 12 Jul 2006 09:59:01 +0000 (09:59 -0000)]
Use a safer method to join the path when deciding if the current merge offset is config protected.  The main problem with corresponding change from r3836 is that the destroot variable happens to be // when ROOT=/.  See bug #140045.

svn path=/main/trunk/; revision=3837

20 years agoReplace incorrect references to myrealdest (the file name that appears in CONTENTS...
Zac Medico [Tue, 11 Jul 2006 01:51:54 +0000 (01:51 -0000)]
Replace incorrect references to myrealdest (the file name that appears in CONTENTS) with correct references to mydest (the absolute destination path, prefixed with $ROOT).  See bug #120653.

svn path=/main/trunk/; revision=3836

20 years agoJust use the raise statement alone to re-raise exceptions.
Zac Medico [Tue, 11 Jul 2006 00:59:10 +0000 (00:59 -0000)]
Just use the raise statement alone to re-raise exceptions.

svn path=/main/trunk/; revision=3835

20 years agoAllow emerge --info to show per-package settings for bug #95741. Thanks to npmccallu...
Zac Medico [Mon, 10 Jul 2006 23:01:47 +0000 (23:01 -0000)]
Allow emerge --info to show per-package settings for bug #95741.  Thanks to npmccallum for the initial patch.

svn path=/main/trunk/; revision=3834

20 years agoDon't call emergelog() from the parallel-fetch process for bug #88837.
Zac Medico [Mon, 10 Jul 2006 19:40:08 +0000 (19:40 -0000)]
Don't call emergelog() from the parallel-fetch process for bug #88837.

svn path=/main/trunk/; revision=3833

20 years agoMove code out of global scope.
Zac Medico [Mon, 10 Jul 2006 19:12:45 +0000 (19:12 -0000)]
Move code out of global scope.

svn path=/main/trunk/; revision=3832

20 years agoUse a list comprehension to simplify the code for bug #55871.
Zac Medico [Mon, 10 Jul 2006 08:04:43 +0000 (08:04 -0000)]
Use a list comprehension to simplify the code for bug #55871.

svn path=/main/trunk/; revision=3831

20 years agoMove all the config adjustments that require the config instance to be unlocked into...
Zac Medico [Mon, 10 Jul 2006 05:51:42 +0000 (05:51 -0000)]
Move all the config adjustments that require the config instance to be unlocked into a new adjust_config() function.  This allows the function to be applied to both of the major config instances that exist when $ROOT != /.

svn path=/main/trunk/; revision=3830

20 years agoIf category expansion fails against the portage tree, remove the null/ prefix so...
Zac Medico [Mon, 10 Jul 2006 02:00:53 +0000 (02:00 -0000)]
If category expansion fails against the portage tree, remove the null/ prefix so that it may be given another chance to expand against the binary package tree in select_dep().  See bug #135834.

svn path=/main/trunk/; revision=3829

20 years agoStart at the end of the list so that the index works properly after items are deleted.
Zac Medico [Mon, 10 Jul 2006 01:08:25 +0000 (01:08 -0000)]
Start at the end of the list so that the index works properly after items are deleted.

svn path=/main/trunk/; revision=3828

20 years agoAllow binary packages to be installed with --usepkg even when there is no ebuild...
Zac Medico [Mon, 10 Jul 2006 00:57:38 +0000 (00:57 -0000)]
Allow binary packages to be installed with --usepkg even when there is no ebuild in tree (but not when there is a matching ebuild in the tree that is masked).  See bugs #135834 and #55871.

svn path=/main/trunk/; revision=3827

20 years agoImplement fakedbapi.cpv_all() so that bindbapi will inherit it.
Zac Medico [Sun, 9 Jul 2006 22:27:42 +0000 (22:27 -0000)]
Implement fakedbapi.cpv_all() so that bindbapi will inherit it.

svn path=/main/trunk/; revision=3826

20 years agoAdd a bindbapi.aux_update() method for database maintenance. See bug #122089.
Zac Medico [Sun, 9 Jul 2006 21:05:28 +0000 (21:05 -0000)]
Add a bindbapi.aux_update() method for database maintenance. See bug #122089.

svn path=/main/trunk/; revision=3825

20 years agoUse write_atomic for dblink metadata updates.
Zac Medico [Sun, 9 Jul 2006 20:34:55 +0000 (20:34 -0000)]
Use write_atomic for dblink metadata updates.

svn path=/main/trunk/; revision=3824

20 years agoUpdate error handling for write_atomic calls to use PortageException.
Zac Medico [Sun, 9 Jul 2006 20:31:50 +0000 (20:31 -0000)]
Update error handling for write_atomic calls to use PortageException.

svn path=/main/trunk/; revision=3823

20 years agoWrap common write_atomic exceptions for easier error handling.
Zac Medico [Sun, 9 Jul 2006 20:18:59 +0000 (20:18 -0000)]
Wrap common write_atomic exceptions for easier error handling.

svn path=/main/trunk/; revision=3822

20 years agoAdd a vardbapi.aux_update() method for database maintenance. See bug #122089.
Zac Medico [Sun, 9 Jul 2006 20:09:40 +0000 (20:09 -0000)]
Add a vardbapi.aux_update() method for database maintenance. See bug #122089.

svn path=/main/trunk/; revision=3821

20 years agoUse dbapi to unify config.setinst() call in depgraph.select_dep().
Zac Medico [Sun, 9 Jul 2006 19:07:54 +0000 (19:07 -0000)]
Use dbapi to unify config.setinst() call in depgraph.select_dep().

svn path=/main/trunk/; revision=3820

20 years agoUse the abstract dbapi.aux_get() interface to unify retrieval of IUSE in depgraph...
Zac Medico [Sun, 9 Jul 2006 18:49:39 +0000 (18:49 -0000)]
Use the abstract dbapi.aux_get() interface to unify retrieval of IUSE in depgraph.create().

svn path=/main/trunk/; revision=3819

20 years agoUse the abstract dbapi.aux_get() interface to unify retrieval of dependency strings...
Zac Medico [Sun, 9 Jul 2006 18:43:02 +0000 (18:43 -0000)]
Use the abstract dbapi.aux_get() interface to unify retrieval of dependency strings in depgraph.create().

svn path=/main/trunk/; revision=3818

20 years agoUse a cmpsplit() function to simplify package comparisons in depgraph.select_dep().
Zac Medico [Sat, 8 Jul 2006 23:12:07 +0000 (23:12 -0000)]
Use a cmpsplit() function to simplify package comparisons in depgraph.select_dep().

svn path=/main/trunk/; revision=3817

20 years agoRemove the merging=2 case to simplify merge/nomerge logic.
Zac Medico [Sat, 8 Jul 2006 23:03:37 +0000 (23:03 -0000)]
Remove the merging=2 case to simplify merge/nomerge logic.

svn path=/main/trunk/; revision=3816

20 years agoFix indentation mistake from the last commit.
Zac Medico [Sat, 8 Jul 2006 22:58:00 +0000 (22:58 -0000)]
Fix indentation mistake from the last commit.

svn path=/main/trunk/; revision=3815

20 years agoUse set.intersection() to simplify --newuse comparison.
Zac Medico [Sat, 8 Jul 2006 22:55:27 +0000 (22:55 -0000)]
Use set.intersection() to simplify --newuse comparison.

svn path=/main/trunk/; revision=3814

20 years agoDo config.reset() prior to the depend phase to make sure that doebuild chooses the...
Zac Medico [Sat, 8 Jul 2006 00:33:55 +0000 (00:33 -0000)]
Do config.reset() prior to the depend phase to make sure that doebuild chooses the correct category.  This fixes a problem similar to bug #137105.

svn path=/main/trunk/; revision=3813

20 years agoRemove USE_EXPAND_HIDDEN from make.globals since it's now included in the base profile.
Zac Medico [Fri, 7 Jul 2006 21:57:28 +0000 (21:57 -0000)]
Remove USE_EXPAND_HIDDEN from make.globals since it's now included in the base profile.

svn path=/main/trunk/; revision=3812

20 years agoFix the NameError that occurs when collision-protect triggers unmerge. See bug #139580.
Zac Medico [Fri, 7 Jul 2006 18:02:12 +0000 (18:02 -0000)]
Fix the NameError that occurs when collision-protect triggers unmerge. See bug #139580.

svn path=/main/trunk/; revision=3811

20 years agoUse copy.deepcopy() to ensure that state comparison works properly.
Zac Medico [Thu, 6 Jul 2006 19:58:39 +0000 (19:58 -0000)]
Use copy.deepcopy() to ensure that state comparison works properly.

svn path=/main/trunk/; revision=3808

20 years agoOnly commit the mtimedb if the internal state has changed.
Zac Medico [Thu, 6 Jul 2006 19:54:45 +0000 (19:54 -0000)]
Only commit the mtimedb if the internal state has changed.

svn path=/main/trunk/; revision=3807

20 years agoExport the path of the build log into the ebuild env as suggested by Flameeyes.
Zac Medico [Thu, 6 Jul 2006 18:01:59 +0000 (18:01 -0000)]
Export the path of the build log into the ebuild env as suggested by Flameeyes.

svn path=/main/trunk/; revision=3802

20 years agoremove pointless line that just ruins the display
Mike Frysinger [Thu, 6 Jul 2006 17:46:04 +0000 (17:46 -0000)]
remove pointless line that just ruins the display

svn path=/main/trunk/; revision=3800

20 years agoClean up getportageversion() profile logic and fix a ValueError that occurs when...
Zac Medico [Thu, 6 Jul 2006 16:40:01 +0000 (16:40 -0000)]
Clean up getportageversion() profile logic and fix a ValueError that occurs when profile is None.

svn path=/main/trunk/; revision=3798

20 years agoRemove global autouse cache since most people don't use it anyway and it's broken...
Zac Medico [Thu, 6 Jul 2006 02:46:13 +0000 (02:46 -0000)]
Remove global autouse cache since most people don't use it anyway and it's broken in the case where $ROOT != /.

svn path=/main/trunk/; revision=3797

20 years agoMove the ARCH sanity check from the depgraph constructor to a new validate_ebuild_env...
Zac Medico [Thu, 6 Jul 2006 02:30:31 +0000 (02:30 -0000)]
Move the ARCH sanity check from the depgraph constructor to a new validate_ebuild_environment() function and call it before any action that requires an ebuild environment (including search, which may result in metadata generation). So, --sync, --metadata, and --info are currently the only actions that are allowed without ARCH being defined.

svn path=/main/trunk/; revision=3796

20 years agoFix missing newline.
Zac Medico [Thu, 6 Jul 2006 00:08:40 +0000 (00:08 -0000)]
Fix missing newline.

svn path=/main/trunk/; revision=3795

20 years agoCache a cloned config instance inside portdbapi so that a new one doesn't have to...
Zac Medico [Wed, 5 Jul 2006 22:36:45 +0000 (22:36 -0000)]
Cache a cloned config instance inside portdbapi so that a new one doesn't have to be cloned each time metadata generation is triggered.

svn path=/main/trunk/; revision=3793

20 years agoMake a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This...
Zac Medico [Wed, 5 Jul 2006 20:03:35 +0000 (20:03 -0000)]
Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile.  This prevents it from being discarded by config.reset() and was the root cause of bug #132601.  The cloning that was added in r3791 is a safeguard to prevent problems like this.

svn path=/main/trunk/; revision=3792

20 years agoUse a cloned config instance for the depend phase in portdbapi.aux_get(). See bug...
Zac Medico [Wed, 5 Jul 2006 18:39:27 +0000 (18:39 -0000)]
Use a cloned config instance for the depend phase in portdbapi.aux_get().  See bug #132601.

svn path=/main/trunk/; revision=3791

20 years agoFix repoman breakage due to the fact that portage.portagetree now creates it's own...
Zac Medico [Wed, 5 Jul 2006 17:57:14 +0000 (17:57 -0000)]
Fix repoman breakage due to the fact that portage.portagetree now creates it's own portdbapi instance.  Repoman will now use a single portdbapi instance instead of one for each arch.  The arch specific config instances are swapped in on the fly.  Hopefully this fixes bug #132601.

svn path=/main/trunk/; revision=3790