portage.git
17 years agoFix indentation.
Zac Medico [Wed, 6 Dec 2006 23:12:19 +0000 (23:12 -0000)]
Fix indentation.

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

17 years agoRemove all traces of the unmerge raise_on_missing parameter.
Zac Medico [Wed, 6 Dec 2006 23:10:52 +0000 (23:10 -0000)]
Remove all traces of the unmerge raise_on_missing parameter.

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

17 years agoAlways silently ingnore missing packages during unmerge.
Zac Medico [Wed, 6 Dec 2006 23:07:51 +0000 (23:07 -0000)]
Always silently ingnore missing packages during unmerge.

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

17 years agoFix depclean so the fake vartree is used in dep_check calls.
Zac Medico [Wed, 6 Dec 2006 22:56:18 +0000 (22:56 -0000)]
Fix depclean so the fake vartree is used in dep_check calls.

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

17 years agoAllow depclean to silently skip packages unmerged behind it's back.
Zac Medico [Wed, 6 Dec 2006 22:47:38 +0000 (22:47 -0000)]
Allow depclean to silently skip packages unmerged behind it's back.

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

17 years agoUse FakeVartree for vardb lock/cache during depclean.
Zac Medico [Wed, 6 Dec 2006 22:42:20 +0000 (22:42 -0000)]
Use FakeVartree for vardb lock/cache during depclean.

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

17 years agoDelete the depgraph when it's no longer needed.
Zac Medico [Wed, 6 Dec 2006 22:19:20 +0000 (22:19 -0000)]
Delete the depgraph when it's no longer needed.

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

17 years agoUse a fake vartree for depgraph calculations. This minimizes the time that a lock...
Zac Medico [Wed, 6 Dec 2006 22:12:34 +0000 (22:12 -0000)]
Use a fake vartree for depgraph calculations.  This minimizes the time that a lock needs to be held on the vardb, and allows in-memory global updates when necessary.

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

17 years agoOnly call calc_changelog if there is an installed version in the same slot.
Zac Medico [Wed, 6 Dec 2006 20:39:51 +0000 (20:39 -0000)]
Only call calc_changelog if there is an installed version in the same slot.

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

17 years agoRemove dependence on the vartree api by using equivalent vardbapi calls.
Zac Medico [Wed, 6 Dec 2006 20:32:42 +0000 (20:32 -0000)]
Remove dependence on the vartree api by using equivalent vardbapi calls.

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

17 years agoRemove unused depgraph.is_newer_ver_installed() method.
Zac Medico [Wed, 6 Dec 2006 19:36:05 +0000 (19:36 -0000)]
Remove unused depgraph.is_newer_ver_installed() method.

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

17 years agoImplement fakedbapi.aux_update().
Zac Medico [Wed, 6 Dec 2006 19:27:04 +0000 (19:27 -0000)]
Implement fakedbapi.aux_update().

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

17 years agoSync match_to_list >=, <=, etc.. code with the new = code.
Zac Medico [Wed, 6 Dec 2006 18:47:01 +0000 (18:47 -0000)]
Sync match_to_list >=, <=, etc.. code with the new = code.

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

17 years agoMake match_to_list = behavior consistent with >= and <= for bug #152127.
Zac Medico [Wed, 6 Dec 2006 18:37:16 +0000 (18:37 -0000)]
Make match_to_list = behavior consistent with >= and <= for bug #152127.

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

17 years agoFix up mtimedb["ldpath"] references broken by the previous commit.
Zac Medico [Mon, 4 Dec 2006 22:21:14 +0000 (22:21 -0000)]
Fix up mtimedb["ldpath"] references broken by the previous commit.

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

17 years agoFor bug #157134, make `emerge --digest` automatically reload the config with FEATURES...
Zac Medico [Mon, 4 Dec 2006 21:49:17 +0000 (21:49 -0000)]
For bug #157134, make `emerge --digest` automatically reload the config with FEATURES=digest enabled globally.

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

17 years agoUse portage.chdir() instead of os.chdir() in order to avoid an 'OSError: [Errno 2...
Zac Medico [Mon, 4 Dec 2006 10:07:35 +0000 (10:07 -0000)]
Use portage.chdir() instead of os.chdir() in order to avoid an 'OSError: [Errno 2] No such file or directory' if the working directory doesn't exist.  Thanks to Caster for reporting.

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

17 years agoFor `ebuild --force digest`, exempt the depend phase from Manifest checks.
Zac Medico [Mon, 4 Dec 2006 01:55:29 +0000 (01:55 -0000)]
For `ebuild --force digest`, exempt the depend phase from Manifest checks.

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

17 years agoUpdate the RESTRICT=binchecks docs. Thanks to jakub for the suggestion and antarus...
Zac Medico [Mon, 4 Dec 2006 01:37:26 +0000 (01:37 -0000)]
Update the RESTRICT=binchecks docs.  Thanks to jakub for the suggestion and antarus for the patch.

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

17 years agoMake `repoman fix` work with the new ebuild Manifest checks during depend phase.
Zac Medico [Mon, 4 Dec 2006 01:19:22 +0000 (01:19 -0000)]
Make `repoman fix` work with the new ebuild Manifest checks during depend phase.

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

17 years agoWhen portdbapi.aux_get() generates a KeyError in portage.getmaskingstatus(), handle...
Zac Medico [Mon, 4 Dec 2006 00:47:00 +0000 (00:47 -0000)]
When portdbapi.aux_get() generates a KeyError in portage.getmaskingstatus(), handle it by reporting "corruption".

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

17 years agodrop RESTRICT=stricter since every aspect it covers can be handled properly via other...
Mike Frysinger [Sun, 3 Dec 2006 19:17:06 +0000 (19:17 -0000)]
drop RESTRICT=stricter since every aspect it covers can be handled properly via other means

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

17 years agoMove the global statement out of the try block so that it's clearly in scope for...
Zac Medico [Sun, 3 Dec 2006 03:37:43 +0000 (03:37 -0000)]
Move the global statement out of the try block so that it's clearly in scope for the finally block.

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

17 years agoMake portage.digestgen() automatically exempt the depend phase from Manifest checks...
Zac Medico [Sun, 3 Dec 2006 03:32:52 +0000 (03:32 -0000)]
Make portage.digestgen() automatically exempt the depend phase from Manifest checks so that it works for repoman without triggering a digest verification failure.

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

17 years agoSkip digest checks when digest is in features.
Zac Medico [Sat, 2 Dec 2006 21:57:00 +0000 (21:57 -0000)]
Skip digest checks when digest is in features.

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

17 years agoMake sure that all depend phases triggered by the digest phase are exempt from digest...
Zac Medico [Sat, 2 Dec 2006 12:42:16 +0000 (12:42 -0000)]
Make sure that all depend phases triggered by the digest phase are exempt from digest checks.

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

17 years agoMake sure that *all* of the ebuilds are listed in the Manifest.
Zac Medico [Sat, 2 Dec 2006 10:19:26 +0000 (10:19 -0000)]
Make sure that *all* of the ebuilds are listed in the Manifest.

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

17 years agoOnly attempt to verify the Manifest if the ebuild is actually in a portage tree.
Zac Medico [Sat, 2 Dec 2006 08:14:49 +0000 (08:14 -0000)]
Only attempt to verify the Manifest if the ebuild is actually in a portage tree.

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

17 years agoFor consistent behavior in all timezones, make emerge-webrsync use UTC time for decis...
Zac Medico [Sat, 2 Dec 2006 08:07:37 +0000 (08:07 -0000)]
For consistent behavior in all timezones, make emerge-webrsync use UTC time for decisions about which snapshots to download.

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

17 years agoAvoid checking the same Manifest several times in a row during a regen with an empty...
Zac Medico [Sat, 2 Dec 2006 06:18:17 +0000 (06:18 -0000)]
Avoid checking the same Manifest several times in a row during a regen with an empty cache.

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

17 years agoTemporarily exempt the depend phase during the help phase also.
Zac Medico [Sat, 2 Dec 2006 05:42:08 +0000 (05:42 -0000)]
Temporarily exempt the depend phase during the help phase also.

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

17 years agoFor manifest and digest phases, use a global variable to temporarily exempt the depen...
Zac Medico [Sat, 2 Dec 2006 05:20:55 +0000 (05:20 -0000)]
For manifest and digest phases, use a global variable to temporarily exempt the depend phase from manifest checks (in cache regeneration is triggered).

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

17 years agoAlways verify the ebuild checksums before executing it. Thanks to solar for the...
Zac Medico [Sat, 2 Dec 2006 04:42:33 +0000 (04:42 -0000)]
Always verify the ebuild checksums before executing it.  Thanks to solar for the suggestion and antarus for the initial patch.

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

17 years agouse a link in CXXFLAGS section (the typo caused it to be a target)
Marius Mauch [Fri, 1 Dec 2006 09:22:47 +0000 (09:22 -0000)]
use a link in CXXFLAGS section (the typo caused it to be a target)

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

17 years agofix a few docutils errors
Marius Mauch [Fri, 1 Dec 2006 09:21:01 +0000 (09:21 -0000)]
fix a few docutils errors

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

17 years agoadd ReST template to be used for manpage/make.globals/make.conf.example generation...
Marius Mauch [Fri, 1 Dec 2006 08:44:55 +0000 (08:44 -0000)]
add ReST template to be used for manpage/make.globals/make.conf.example generation later on

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

17 years ago- no point in forking a call to true when we can simply use the bash internal of...
Ned Ludd [Wed, 29 Nov 2006 20:26:08 +0000 (20:26 -0000)]
- no point in forking a call to true when we can simply use the bash internal of : for true

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

17 years ago- make sure QUIET mode is exported to the environment properly when using -q mode.
Ned Ludd [Wed, 29 Nov 2006 20:25:21 +0000 (20:25 -0000)]
- make sure QUIET mode is exported to the environment properly when using -q mode.

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

17 years agoFor bug #8423, make dispatch-conf preserve timestamps when possible.
Zac Medico [Sun, 26 Nov 2006 14:14:01 +0000 (14:14 -0000)]
For bug #8423, make dispatch-conf preserve timestamps when possible.

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

17 years agoFor bug #8423, make etc-update preserve timestamps when possible.
Zac Medico [Sun, 26 Nov 2006 14:06:38 +0000 (14:06 -0000)]
For bug #8423, make etc-update preserve timestamps when possible.

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

17 years agoUpdate the dblink.isprotected() docstring.
Zac Medico [Sun, 26 Nov 2006 12:50:52 +0000 (12:50 -0000)]
Update the dblink.isprotected() docstring.

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

17 years agoNever overwrite an untouched config file and trigger config protection instead (in...
Zac Medico [Sun, 26 Nov 2006 12:40:07 +0000 (12:40 -0000)]
Never overwrite an untouched config file and trigger config protection instead (in case the new config has an unwanted change).  In cases where an installed package in the same slot owns a protected file that will be merged, bump the mtime on the installed file in order to ensure that it isn't unmerged.  Thanks to Ciaran McCreesh <ciaranm@ciaranm.org> for his suggestion on bug #8423, comment #40.

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

17 years agoFor bug #8423, allow the merge phase to overwrite untouched config files and also...
Zac Medico [Sun, 26 Nov 2006 09:03:54 +0000 (09:03 -0000)]
For bug #8423, allow the merge phase to overwrite untouched config files and also allow the unmerge phase to unmerge untouched config files.

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

17 years agoAllow -keyword to be matched since some ebuilds use it. Thanks to Brian Harring...
Zac Medico [Thu, 23 Nov 2006 12:36:54 +0000 (12:36 -0000)]
Allow -keyword to be matched since some ebuilds use it.  Thanks to Brian Harring reporting on bug #150585.

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

17 years agoFor bug #156014, always round up the next kB so that it doesn't show 0 kB when some...
Zac Medico [Thu, 23 Nov 2006 12:10:22 +0000 (12:10 -0000)]
For bug #156014, always round up the next kB so that it doesn't show 0 kB when some small file still needs to be fetched.

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

17 years agoFor bug #150585, stack package.keywords incrementally so that -keyword works as expec...
Zac Medico [Thu, 23 Nov 2006 03:13:43 +0000 (03:13 -0000)]
For bug #150585, stack package.keywords incrementally so that -keyword works as expected for any incremental variable.  This brings the gvisible and getmaskingstatus logic into sync so that the confusing (masked by: ) message will not be generated in cases where package.keywords contains -keyword followed by keyword.

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

17 years agoUse portage_data.lchown for compatibility.
Zac Medico [Wed, 22 Nov 2006 14:07:57 +0000 (14:07 -0000)]
Use portage_data.lchown for compatibility.

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

17 years agoFix a KeyError in emerge --info <pkg> when there is no matching ebuild in the tree...
Zac Medico [Wed, 22 Nov 2006 13:01:11 +0000 (13:01 -0000)]
Fix a KeyError in emerge --info <pkg> when there is no matching ebuild in the tree.  Thanks to Bo Ørsted Andresen <bo.andresen@zlin.dk> for reporting.

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

17 years agoReally fix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.
Zac Medico [Wed, 22 Nov 2006 06:40:59 +0000 (06:40 -0000)]
Really fix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.

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

17 years agoFix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.
Zac Medico [Wed, 22 Nov 2006 06:33:31 +0000 (06:33 -0000)]
Fix bit mask support when preserving S_ISUID and S_ISGID in apply_permissions.

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

17 years agoFix apply_permissions logic for cases where mode is unspecified.
Zac Medico [Wed, 22 Nov 2006 06:20:17 +0000 (06:20 -0000)]
Fix apply_permissions logic for cases where mode is unspecified.

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

17 years agoFor bug #142993, make sure that chown and chgrp calls preserve S_ISUID and S_ISGID...
Zac Medico [Wed, 22 Nov 2006 05:57:20 +0000 (05:57 -0000)]
For bug #142993, make sure that chown and chgrp calls preserve S_ISUID and S_ISGID mode bits.

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

18 years agoEnable PORTAGE_CONFIGROOT to be set via an new --config-root option. Thanks to Danie...
Zac Medico [Mon, 20 Nov 2006 08:29:10 +0000 (08:29 -0000)]
Enable PORTAGE_CONFIGROOT to be set via an new --config-root option.  Thanks to Daniel Barkalow <barkalow@iabervon.org> for the initial patch (submitted on the gentoo-portage-dev mailing list).

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

18 years agoPrint a warning message if a user requests a package from package.provided (since...
Zac Medico [Mon, 20 Nov 2006 08:11:18 +0000 (08:11 -0000)]
Print a warning message if a user requests a package from package.provided (since it won't be merged).

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

18 years agoFor bug #155739, only check if a dep is in the args when myroot == self.target_root.
Zac Medico [Mon, 20 Nov 2006 07:38:38 +0000 (07:38 -0000)]
For bug #155739, only check if a dep is in the args when myroot == self.target_root.

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

18 years agoAllow the ROOT setting to come from make.conf. Thanks to Daniel Barkalow <barkalow...
Zac Medico [Mon, 20 Nov 2006 05:54:07 +0000 (05:54 -0000)]
Allow the ROOT setting to come from make.conf.  Thanks to Daniel Barkalow <barkalow@iabervon.org> for this patch (submitted on the gentoo-portage-dev mailing list).

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

18 years agoRemove more redundant package.provided handling that is now covered by dep_wordreduce.
Zac Medico [Mon, 20 Nov 2006 03:55:16 +0000 (03:55 -0000)]
Remove more redundant package.provided handling that is now covered by dep_wordreduce.

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

18 years agoRemove redundant package.provided handling that is now covered by dep_wordreduce.
Zac Medico [Mon, 20 Nov 2006 03:45:14 +0000 (03:45 -0000)]
Remove redundant package.provided handling that is now covered by dep_wordreduce.

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

18 years agoFor depclean, just pass in None for mydbapi (instead of an empty fakedbapi instance...
Zac Medico [Mon, 20 Nov 2006 03:39:58 +0000 (03:39 -0000)]
For depclean, just pass in None for mydbapi (instead of an empty fakedbapi instance) since that's now supported.

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

18 years agoAllow dep_wordreduce to mark things satisfied by package.provided even when mydbapi...
Zac Medico [Mon, 20 Nov 2006 03:35:50 +0000 (03:35 -0000)]
Allow dep_wordreduce to mark things satisfied by package.provided even when mydbapi is None.

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

18 years agoUse mydbapi is None to eliminate the return_all_deps parameter from dep_check and...
Zac Medico [Mon, 20 Nov 2006 03:03:08 +0000 (03:03 -0000)]
Use mydbapi is None to eliminate the return_all_deps parameter from dep_check and dep_zapdeps.  The result is the same and this way we avoid having an additional parameter with overlapping meaning.

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

18 years agoFix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds.
Zac Medico [Sun, 19 Nov 2006 00:01:47 +0000 (00:01 -0000)]
Fix portdbapi.cpv_all() so that it actually returns a list of all available ebuilds.

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

18 years agoUse fake_vardb for cached aux_get calls.
Zac Medico [Sat, 18 Nov 2006 13:39:18 +0000 (13:39 -0000)]
Use fake_vardb for cached aux_get calls.

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

18 years agoFor bug #155559, force depclean dep_check calls to preference installed packages.
Zac Medico [Sat, 18 Nov 2006 13:28:36 +0000 (13:28 -0000)]
For bug #155559, force depclean dep_check calls to preference installed packages.

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

18 years agoRevert ACCEPT_LICENSE support, since license group support is a requirement and it...
Zac Medico [Sat, 18 Nov 2006 00:45:55 +0000 (00:45 -0000)]
Revert ACCEPT_LICENSE support, since license group support is a requirement and it remain unimplemented.  This brings trunk back into sync with the 2.1.2 branch.

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

18 years agos/settings/mysettings/ typo
Zac Medico [Fri, 17 Nov 2006 15:06:39 +0000 (15:06 -0000)]
s/settings/mysettings/ typo

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

18 years agoMake fixpackages use PORTAGE_NICENESS.
Zac Medico [Fri, 17 Nov 2006 14:59:21 +0000 (14:59 -0000)]
Make fixpackages use PORTAGE_NICENESS.

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

18 years agoFor bug #155484, apply PORTAGE_NICENESS as soon as possible (especially before global...
Zac Medico [Fri, 17 Nov 2006 14:54:45 +0000 (14:54 -0000)]
For bug #155484, apply PORTAGE_NICENESS as soon as possible (especially before global updates).

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

18 years agoFix a typo that prevents emerge --clean from working properly. Thanks to leio for...
Zac Medico [Fri, 17 Nov 2006 10:23:13 +0000 (10:23 -0000)]
Fix a typo that prevents emerge --clean from working properly.  Thanks to leio for reporting.

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

18 years agoIntegrate old-style virtuals handling into _expand_new_virtuals() and prefer new...
Zac Medico [Fri, 17 Nov 2006 09:20:38 +0000 (09:20 -0000)]
Integrate old-style virtuals handling into _expand_new_virtuals() and prefer new-style over old-style whenever they are available.

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

18 years agoFix _expand_new_virtuals so that it doesn't allow any virtual deps to go unaccounted...
Zac Medico [Fri, 17 Nov 2006 02:01:11 +0000 (02:01 -0000)]
Fix _expand_new_virtuals so that it doesn't allow any virtual deps to go unaccounted for.

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

18 years agoUpdate the _expand_new_virtuals docstring with a not about zero cost for new-style...
Zac Medico [Fri, 17 Nov 2006 00:02:38 +0000 (00:02 -0000)]
Update the _expand_new_virtuals docstring with a not about zero cost for new-style virtuals.

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

18 years agoRevert the depclean message, since new-style virtuals will now be kept.
Zac Medico [Thu, 16 Nov 2006 23:50:19 +0000 (23:50 -0000)]
Revert the depclean message, since new-style virtuals will now be kept.

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

18 years agoFor bug #141118, make dep_zapdeps assign zero cost to new-style virtuals.
Zac Medico [Thu, 16 Nov 2006 23:29:17 +0000 (23:29 -0000)]
For bug #141118, make dep_zapdeps assign zero cost to new-style virtuals.

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

18 years agoPull in the new-style virtuals and install them so that the vdb has complete standalo...
Zac Medico [Thu, 16 Nov 2006 21:52:07 +0000 (21:52 -0000)]
Pull in the new-style virtuals and install them so that the vdb has complete standalone dep info, in case a portage tree isn't available.

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

18 years agoAdd a note about removal of new-style virtuals in the depclean output.
Zac Medico [Thu, 16 Nov 2006 04:54:51 +0000 (04:54 -0000)]
Add a note about removal of new-style virtuals in the depclean output.

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

18 years agoFor bug #141118, make dep_check do recursive expansion of new-style virtuals.
Zac Medico [Thu, 16 Nov 2006 04:26:34 +0000 (04:26 -0000)]
For bug #141118, make dep_check do recursive expansion of new-style virtuals.

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

18 years agoDon't try to lock the vdb unless privileges are sufficient.
Zac Medico [Wed, 15 Nov 2006 09:00:22 +0000 (09:00 -0000)]
Don't try to lock the vdb unless privileges are sufficient.

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

18 years agoAutomatically convert --ask to --pretend when the user doesn't have the privileges...
Zac Medico [Wed, 15 Nov 2006 04:09:50 +0000 (04:09 -0000)]
Automatically convert --ask to --pretend when the user doesn't have the privileges for --ask.  Thanks to Daniel Barkalow <barkalow@iabervon.org> for the initial patch (submitted on gentoo-portage mailing list).

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

18 years agoOnly reload the config if global updates have actually been performed.
Zac Medico [Tue, 14 Nov 2006 14:42:52 +0000 (14:42 -0000)]
Only reload the config if global updates have actually been performed.

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

18 years agoMake portage.global_updates() return any updates that may have been performed.
Zac Medico [Tue, 14 Nov 2006 14:34:20 +0000 (14:34 -0000)]
Make portage.global_updates() return any updates that may have been performed.

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

18 years agoFix a lock file leak.
Zac Medico [Tue, 14 Nov 2006 14:07:25 +0000 (14:07 -0000)]
Fix a lock file leak.

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

18 years agoRemove useless unmerge() call after collision-protect has prevented anything from...
Zac Medico [Tue, 14 Nov 2006 12:14:49 +0000 (12:14 -0000)]
Remove useless unmerge() call after collision-protect has prevented anything from being merged.

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

18 years agoMake fakedbapi support generic metadata instead of just slots.
Zac Medico [Tue, 14 Nov 2006 07:35:29 +0000 (07:35 -0000)]
Make fakedbapi support generic metadata instead of just slots.

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

18 years agoCache depgraph.altlist results, since altlist is called multiple times and can be...
Zac Medico [Tue, 14 Nov 2006 06:32:16 +0000 (06:32 -0000)]
Cache depgraph.altlist results, since altlist is called multiple times and can be time consuming for a large depgraph.

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

18 years agoFor bug #154897, show a summary of fetch restrictions if there are any.
Zac Medico [Tue, 14 Nov 2006 05:57:35 +0000 (05:57 -0000)]
For bug #154897, show a summary of fetch restrictions if there are any.

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

18 years agoFor bug #154986, show the usual "Filesize does not match recorded size" message even...
Zac Medico [Tue, 14 Nov 2006 05:51:29 +0000 (05:51 -0000)]
For bug #154986, show the usual "Filesize does not match recorded size" message even for fetch restricted files.

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

18 years agoRemove reentrance support for dblink.lockdb() since it's no longer used and it won...
Zac Medico [Tue, 14 Nov 2006 03:50:54 +0000 (03:50 -0000)]
Remove reentrance support for dblink.lockdb() since it's no longer used and it won't necessarily work correctly now that a global vdb lock is used.

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

18 years agoUse try/finally to ensure that locks are properly released in dblink.unmerge().
Zac Medico [Tue, 14 Nov 2006 03:30:52 +0000 (03:30 -0000)]
Use try/finally to ensure that locks are properly released in dblink.unmerge().

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

18 years agoUse try/finally to ensure that locks are properly released in emergelog().
Zac Medico [Tue, 14 Nov 2006 02:43:22 +0000 (02:43 -0000)]
Use try/finally to ensure that locks are properly released in emergelog().

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

18 years agoUse try/finally to ensure that locks are properly released in perform_checksum().
Zac Medico [Tue, 14 Nov 2006 02:29:54 +0000 (02:29 -0000)]
Use try/finally to ensure that locks are properly released in perform_checksum().

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

18 years agoUse try/finally to ensure that locks are properly released in portdbapi.aux_get().
Zac Medico [Tue, 14 Nov 2006 02:08:07 +0000 (02:08 -0000)]
Use try/finally to ensure that locks are properly released in portdbapi.aux_get().

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

18 years agoFor bug #154989, lock /var/db/pkg while determining which packages to unmerge, then...
Zac Medico [Mon, 13 Nov 2006 23:59:24 +0000 (23:59 -0000)]
For bug #154989, lock /var/db/pkg while determining which packages to unmerge, then release the lock.  The lock will be reacquired/released for each individual unmerge, allowing opportunities for other processes to acquire it.

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

18 years agoFor bug #154989, use a single lock on /var/db/pkg since finer grained locking is...
Zac Medico [Mon, 13 Nov 2006 23:52:04 +0000 (23:52 -0000)]
For bug #154989, use a single lock on /var/db/pkg since finer grained locking is unnecessary and often insufficient.

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

18 years agoFor bug #154919, when depclean is unable to resolve dependencies, notify the user...
Zac Medico [Mon, 13 Nov 2006 01:12:36 +0000 (01:12 -0000)]
For bug #154919, when depclean is unable to resolve dependencies, notify the user that it may be necessary to manually uninstalled packages that no longer exist in the portage tree.

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

18 years agoFor bug #154921, prevent an IndexError when a + is in USE.
Zac Medico [Mon, 13 Nov 2006 00:50:54 +0000 (00:50 -0000)]
For bug #154921, prevent an IndexError when a + is in USE.

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

18 years agoFix depgraph.pkg_node_map so that it properly supports $ROOT.
Zac Medico [Sun, 12 Nov 2006 07:05:18 +0000 (07:05 -0000)]
Fix depgraph.pkg_node_map so that it properly supports $ROOT.

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

18 years agoFor bug #154554, validate all profile virtuals atoms.
Zac Medico [Sat, 11 Nov 2006 23:59:15 +0000 (23:59 -0000)]
For bug #154554, validate all profile virtuals atoms.

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

18 years agoFor initial gentoo-x86 checkout, if $PORTDIR exists and is empty then remove it so...
Zac Medico [Sat, 11 Nov 2006 23:24:22 +0000 (23:24 -0000)]
For initial gentoo-x86 checkout, if $PORTDIR exists and is empty then remove it so that the gentoo-x86 checkout can replace it.

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

18 years agoFix initial cvs checkout logic for bug #100478.
Zac Medico [Sat, 11 Nov 2006 14:00:13 +0000 (14:00 -0000)]
Fix initial cvs checkout logic for bug #100478.

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