Ned Ludd [Thu, 17 Aug 2006 17:09:14 +0000 (17:09 -0000)]
- record the md5 checksum of the .tbz2 used at merge time. This will become useful to know if we should refetch a .tbz2 from a remote repo
svn path=/main/trunk/; revision=4283
Zac Medico [Thu, 17 Aug 2006 03:18:28 +0000 (03:18 -0000)]
Remove an unused "objsadded" variable spotted by antarus.
svn path=/main/trunk/; revision=4272
Zac Medico [Thu, 17 Aug 2006 01:51:57 +0000 (01:51 -0000)]
This is a new dep_zapdeps implementation. Thanks to jstubbs for this patch from bug #143908.
svn path=/main/trunk/; revision=4271
Zac Medico [Wed, 16 Aug 2006 19:37:05 +0000 (19:37 -0000)]
Add a depclean warning message, once again, because it's never completely safe.
svn path=/main/trunk/; revision=4270
Zac Medico [Wed, 16 Aug 2006 05:28:19 +0000 (05:28 -0000)]
This is a new and improved depclean implementation. Thanks to jstubbs for this patch from bug #67179.
svn path=/main/trunk/; revision=4267
Zac Medico [Mon, 14 Aug 2006 19:45:13 +0000 (19:45 -0000)]
Add forgotten PORTAGE_TMPDIR to the portageq call.
svn path=/main/trunk/; revision=4258
Zac Medico [Mon, 14 Aug 2006 19:40:04 +0000 (19:40 -0000)]
Use eval $(portageq envvar -v FOO BAR) to collapse many portageq calls into 1.
svn path=/main/trunk/; revision=4257
Zac Medico [Mon, 14 Aug 2006 07:12:26 +0000 (07:12 -0000)]
Update the virtuals even if the package already exists in the fakedbapi since it may be necessary if the package is being remerged.
svn path=/main/trunk/; revision=4254
Zac Medico [Mon, 14 Aug 2006 06:42:12 +0000 (06:42 -0000)]
Revert most of r4086 because it broke circular bootstrap dependencies for things like gwydion-dylan and ghc. Thanks to araujo for reporting the breakage.
svn path=/main/trunk/; revision=4253
Zac Medico [Sun, 13 Aug 2006 05:35:00 +0000 (05:35 -0000)]
Make stack_dictlist return an empty dictionary when there is nothing to stack. See bug #143730.
svn path=/main/trunk/; revision=4240
Zac Medico [Sun, 13 Aug 2006 05:19:18 +0000 (05:19 -0000)]
For consistent results, sort the contents when generating the info directory index. See bug #142652.
svn path=/main/trunk/; revision=4239
Zac Medico [Fri, 11 Aug 2006 20:12:54 +0000 (20:12 -0000)]
Add news about use.force.
svn path=/main/trunk/; revision=4216
Zac Medico [Fri, 11 Aug 2006 20:08:02 +0000 (20:08 -0000)]
Add some docs for use.force and package.use.force.
svn path=/main/trunk/; revision=4215
Zac Medico [Fri, 11 Aug 2006 19:46:59 +0000 (19:46 -0000)]
Add support for use.force and package.use.force in profiles.
svn path=/main/trunk/; revision=4214
Zac Medico [Fri, 11 Aug 2006 19:31:20 +0000 (19:31 -0000)]
Fix stack_dictlist() so that incremental stacking behaves more like it does in config.regenerate().
svn path=/main/trunk/; revision=4213
Zac Medico [Thu, 10 Aug 2006 20:17:18 +0000 (20:17 -0000)]
Display masked USE flags as (-flag) instead of ( -flag ) to save space.
svn path=/main/trunk/; revision=4212
Zac Medico [Wed, 9 Aug 2006 20:06:45 +0000 (20:06 -0000)]
Use ( -flag ) to indicate flags that have been forced off via use.mask.
svn path=/main/trunk/; revision=4211
Zac Medico [Wed, 9 Aug 2006 19:55:07 +0000 (19:55 -0000)]
Force a sane umask in quickpkg for bug #143340.
svn path=/main/trunk/; revision=4210
Zac Medico [Wed, 9 Aug 2006 18:02:34 +0000 (18:02 -0000)]
Return early from global directory initialization if the current user does not have write access to $ROOT.
svn path=/main/trunk/; revision=4209
Zac Medico [Wed, 9 Aug 2006 03:05:54 +0000 (03:05 -0000)]
Remove a dead hunk of code spotted by antarus.
svn path=/main/trunk/; revision=4208
Zac Medico [Tue, 8 Aug 2006 03:13:07 +0000 (03:13 -0000)]
Remove unnecessary check for USE flags that start with "-".
svn path=/main/trunk/; revision=4191
Mike Frysinger [Mon, 7 Aug 2006 23:53:36 +0000 (23:53 -0000)]
fixups from Benno Schulenberg #143079
svn path=/main/trunk/; revision=4189
Zac Medico [Mon, 7 Aug 2006 22:33:41 +0000 (22:33 -0000)]
When performing expansion of USE_EXPAND variables, display warnings about invalid use of incremental operators.
svn path=/main/trunk/; revision=4187
Zac Medico [Mon, 7 Aug 2006 18:53:06 +0000 (18:53 -0000)]
Remove the dopython docs for bug #141935.
svn path=/main/trunk/; revision=4186
Zac Medico [Mon, 7 Aug 2006 02:42:48 +0000 (02:42 -0000)]
Cleanse stale metadata cache for binpkgs that have been removed from the remote host. Thanks to André Luiz A. G. Carvalho <alcarvalho@gmail.com> for the initial patch from bug #107453.
svn path=/main/trunk/; revision=4182
Zac Medico [Sun, 6 Aug 2006 08:37:46 +0000 (08:37 -0000)]
Sort the USE flags.
svn path=/main/trunk/; revision=4181
Zac Medico [Sun, 6 Aug 2006 08:17:10 +0000 (08:17 -0000)]
Add some package.use.mask docs.
svn path=/main/trunk/; revision=4180
Zac Medico [Sun, 6 Aug 2006 08:05:44 +0000 (08:05 -0000)]
Fix rsync code to work with a username@ uri for bug #141185. Thanks to David-John Miller <anoyomouse@petermiller.co.za> for this patch.
svn path=/main/trunk/; revision=4179
Zac Medico [Sun, 6 Aug 2006 04:37:52 +0000 (04:37 -0000)]
Split the USE flags calculation out of the generic incrementals loop and process it separately in order to account for interaction with USE_EXPAND. All USE_EXPAND environment variables are regenerated so that they are consistent with the flags in USE. See bug #142909.
svn path=/main/trunk/; revision=4178
Zac Medico [Sun, 6 Aug 2006 02:34:06 +0000 (02:34 -0000)]
Keep USE flags from / and $ROOT separate in the depgraph. See bug #142918.
svn path=/main/trunk/; revision=4177
Zac Medico [Sun, 6 Aug 2006 00:32:42 +0000 (00:32 -0000)]
Remove unused "cladded" variable reported by antarus.
svn path=/main/trunk/; revision=4176
Zac Medico [Sun, 6 Aug 2006 00:18:01 +0000 (00:18 -0000)]
Allow USE_EXPAND vars to be overridden in the environment for bug #142909.
svn path=/main/trunk/; revision=4175
Zac Medico [Sat, 5 Aug 2006 22:08:57 +0000 (22:08 -0000)]
Add the date and time of the last sync to emerge --info output. Thanks to Pablo Antonio <pabloa@gmail.com> for the patch from bug #140163.
svn path=/main/trunk/; revision=4174
Ned Ludd [Sat, 5 Aug 2006 12:23:35 +0000 (12:23 -0000)]
- emerge -pqv should display USE flags; Bug 128598 - David-John Miller, anoyomouse@petermiller.co.za
svn path=/main/trunk/; revision=4159
Zac Medico [Sat, 5 Aug 2006 07:02:01 +0000 (07:02 -0000)]
Add notes about nostrip and installsources to the splitdebug docs.
svn path=/main/trunk/; revision=4157
Zac Medico [Sat, 5 Aug 2006 06:56:25 +0000 (06:56 -0000)]
Add some docs for the installsources feature.
svn path=/main/trunk/; revision=4156
Zac Medico [Sat, 5 Aug 2006 04:30:56 +0000 (04:30 -0000)]
Add additional checks for --pretend and --fetch-all-uri to ensure correct behavior. See bug #140552.
svn path=/main/trunk/; revision=4155
Mike Frysinger [Sat, 5 Aug 2006 01:37:22 +0000 (01:37 -0000)]
add space before prompt
svn path=/main/trunk/; revision=4154
Zac Medico [Fri, 4 Aug 2006 23:04:52 +0000 (23:04 -0000)]
Ignore hidden files or directories in the vardbapi.cpv_all() listing.
svn path=/main/trunk/; revision=4153
Zac Medico [Fri, 4 Aug 2006 19:09:41 +0000 (19:09 -0000)]
For completeness, clone self.puse and self.mycpv.
svn path=/main/trunk/; revision=4152
Zac Medico [Fri, 4 Aug 2006 18:57:01 +0000 (18:57 -0000)]
Add support for package.use.mask in the profile. It should behave exactly as use.mask currently does except that it allows USE flags to be masked for specific packages rather than for all packages. See bug #96368.
svn path=/main/trunk/; revision=4151
Marius Mauch [Fri, 4 Aug 2006 13:43:23 +0000 (13:43 -0000)]
ignore packages that were just fetched from being added to the worldfile
svn path=/main/trunk/; revision=4150
Zac Medico [Fri, 4 Aug 2006 05:30:47 +0000 (05:30 -0000)]
Fix the installsources feature so that it works even with splitdebug or nostrip. Thanks to Olivier Crete <tester@gentoo.org> for this patch from bug #136197.
svn path=/main/trunk/; revision=4136
Zac Medico [Fri, 4 Aug 2006 03:13:03 +0000 (03:13 -0000)]
Fix STRIP_MASK logic so that a match results in stripitbaby=0.
svn path=/main/trunk/; revision=4131
Zac Medico [Thu, 3 Aug 2006 09:49:17 +0000 (09:49 -0000)]
Protect USE_EXPAND flags from -* in order to preserve previous behavior which has changed due to the fix for bug #142125.
svn path=/main/trunk/; revision=4114
Zac Medico [Thu, 3 Aug 2006 09:01:33 +0000 (09:01 -0000)]
Instead of self.puse, use self.mycpv to return early from setcpv.
svn path=/main/trunk/; revision=4113
Zac Medico [Thu, 3 Aug 2006 06:30:05 +0000 (06:30 -0000)]
Expand USE_EXPAND flags earlier so that their incremental stacking behaves just like it does for normal USE flags. See bug #142125.
svn path=/main/trunk/; revision=4112
Zac Medico [Thu, 3 Aug 2006 02:27:47 +0000 (02:27 -0000)]
Use a recursive function to simplify the walking of the profile paths. The number of parent profiles is constrained to 1 but could easily be extended to allow multiple inheritence.
svn path=/main/trunk/; revision=4091
Zac Medico [Wed, 2 Aug 2006 21:52:23 +0000 (21:52 -0000)]
Remove dojar docs for bug #108517.
svn path=/main/trunk/; revision=4090
Zac Medico [Wed, 2 Aug 2006 18:56:47 +0000 (18:56 -0000)]
Remove the unnecessary "Previously fetched" portion of the disfiles checksum output for bug #142271.
svn path=/main/trunk/; revision=4089
Zac Medico [Wed, 2 Aug 2006 07:12:49 +0000 (07:12 -0000)]
Link the full handbook since it's guaranteed to continue to work as per comment #12 of bug #142225. Also, add a note about the architecture being irrelevant as per comment #10.
svn path=/main/trunk/; revision=4087
Zac Medico [Wed, 2 Aug 2006 06:02:03 +0000 (06:02 -0000)]
Move code that updates depgraph state from select_dep() to a more appropriate location in create(). This fixes a bug in $ROOT handling, where the the $ROOT of the child is used where the $ROOT of the parent should have been (similar to bug #108449).
svn path=/main/trunk/; revision=4086
Zac Medico [Wed, 2 Aug 2006 04:42:44 +0000 (04:42 -0000)]
Grab /etc/profile.env from the target root instead of the configroot.
svn path=/main/trunk/; revision=4085
Zac Medico [Wed, 2 Aug 2006 03:24:30 +0000 (03:24 -0000)]
Move profile.env to the bottom of the stack so that, for example, it's possible for make.conf values to override or stack incrementally with values from profile.env. See bug #51370.
svn path=/main/trunk/; revision=4084
Zac Medico [Wed, 2 Aug 2006 03:01:41 +0000 (03:01 -0000)]
Remove duplicate profile.env values from the environment so that they don't override updated profile.env values later (profile.env is reloaded in each call to self.regenerate). See bug #51370.
svn path=/main/trunk/; revision=4083
Zac Medico [Tue, 1 Aug 2006 17:44:14 +0000 (17:44 -0000)]
Remove dojar for bug #108517.
svn path=/main/trunk/; revision=4081
Zac Medico [Mon, 31 Jul 2006 18:25:35 +0000 (18:25 -0000)]
Don't write to emerge.log when --pretend is enabled for bug #139449.
svn path=/main/trunk/; revision=4068
Zac Medico [Mon, 31 Jul 2006 03:03:42 +0000 (03:03 -0000)]
When emerge exits to blockers, show a link to the relevant section of the Gentoo Handbook. See bug #142225.
svn path=/main/trunk/; revision=4053
Zac Medico [Mon, 31 Jul 2006 02:11:14 +0000 (02:11 -0000)]
Only ignore ENOENT in getconfig() so that more important errors don't go unnoticed.
svn path=/main/trunk/; revision=4052
Zac Medico [Mon, 31 Jul 2006 01:52:46 +0000 (01:52 -0000)]
Add matching quote (typo from last revision).
svn path=/main/trunk/; revision=4051
Zac Medico [Mon, 31 Jul 2006 01:51:11 +0000 (01:51 -0000)]
Catch ParseError from getconfig during env_update for bug #142157.
svn path=/main/trunk/; revision=4050
Zac Medico [Mon, 31 Jul 2006 01:01:59 +0000 (01:01 -0000)]
Remove pointless cvs dependent REPOROOTS code. Thanks to Alec Warner <antarus@gentoo.org> for this patch.
svn path=/main/trunk/; revision=4049
Zac Medico [Sat, 29 Jul 2006 18:20:13 +0000 (18:20 -0000)]
Stack /etc/profile.env inside portage.config so that it doesn't stop variables in inappropriate places. See bug #51370.
svn path=/main/trunk/; revision=4048
Zac Medico [Fri, 28 Jul 2006 19:06:01 +0000 (19:06 -0000)]
Make sure we doebuild uses the correct tree for fetch lists when there are overlays.
svn path=/main/trunk/; revision=4047
Zac Medico [Fri, 28 Jul 2006 18:57:44 +0000 (18:57 -0000)]
Use the FetchlistDict to simplify code.
svn path=/main/trunk/; revision=4046
Zac Medico [Fri, 28 Jul 2006 17:46:53 +0000 (17:46 -0000)]
Pass in the path to the base of the current tree to ensure that the correct fetchlist is used when there are overlays present.
svn path=/main/trunk/; revision=4045
Zac Medico [Fri, 28 Jul 2006 07:37:42 +0000 (07:37 -0000)]
Add PKG_CONFIG_PATH to env_update incrementals for bug #105384.
svn path=/main/trunk/; revision=4044
Zac Medico [Fri, 28 Jul 2006 06:32:37 +0000 (06:32 -0000)]
Allow a digest to be created before any distfiles have been fetched for bug #141843.
svn path=/main/trunk/; revision=4043
Zac Medico [Fri, 28 Jul 2006 04:58:45 +0000 (04:58 -0000)]
Add a --force option for `ebuild digest` so that the user doesn't have to manually remove the Manifest and files/digest-* files when upstream changes the identity of distfiles. See bug #141843.
svn path=/main/trunk/; revision=4041
Zac Medico [Thu, 27 Jul 2006 22:07:49 +0000 (22:07 -0000)]
Simplify permissions adjustment after a file is fetched.
svn path=/main/trunk/; revision=4037
Zac Medico [Thu, 27 Jul 2006 21:30:29 +0000 (21:30 -0000)]
Move the filesystem mirrors code into the main fetch loop.
svn path=/main/trunk/; revision=4034
Zac Medico [Thu, 27 Jul 2006 20:20:28 +0000 (20:20 -0000)]
Move permissions adjustment of previously fetched files into the main fetch loop.
svn path=/main/trunk/; revision=4033
Zac Medico [Thu, 27 Jul 2006 19:11:21 +0000 (19:11 -0000)]
Fix ENOENT exception handler so that it only wraps the relevant stat call.
svn path=/main/trunk/; revision=4032
Zac Medico [Thu, 27 Jul 2006 08:36:23 +0000 (08:36 -0000)]
Hide a password if a uri contains one (a custom local mirror, for example). Thanks to nelchael for the patch.
svn path=/main/trunk/; revision=4031
Zac Medico [Thu, 27 Jul 2006 08:22:40 +0000 (08:22 -0000)]
Simplify fetch failure logic.
svn path=/main/trunk/; revision=4030
Zac Medico [Thu, 27 Jul 2006 08:12:52 +0000 (08:12 -0000)]
Ensure that that fetch restriction message is only show once in --pretend mode.
svn path=/main/trunk/; revision=4029
Zac Medico [Thu, 27 Jul 2006 08:01:56 +0000 (08:01 -0000)]
Allow fetch restricted files to be fetched from custom local mirrors as per bug #37455. This patch additionally allows a mirror:// uri to override fetch restriction, but only for the specified mirror (or a custom local mirror).
svn path=/main/trunk/; revision=4028
Zac Medico [Thu, 27 Jul 2006 06:20:11 +0000 (06:20 -0000)]
Move the initial check of previously fetched files out of the locations loop so that that the same code path can be used (patch to follow) when fetch is restricted and there are no custom local mirrors. See bug #37455.
svn path=/main/trunk/; revision=4027
Zac Medico [Wed, 26 Jul 2006 22:26:55 +0000 (22:26 -0000)]
Fix unsafe deletion of a dictionary item during iteration.
svn path=/main/trunk/; revision=4026
Zac Medico [Tue, 25 Jul 2006 05:42:05 +0000 (05:42 -0000)]
When necessary, always print a list of missing atoms even if --verbose is not enabled. Thanks to Caster <caster@matfyz.cz> for this patch from bug #141643.
svn path=/main/trunk/; revision=4022
Zac Medico [Tue, 25 Jul 2006 04:57:38 +0000 (04:57 -0000)]
Move the self dependency check from digraph.addnode() to depgraph.create() since that's the only place it's currently needed. This patch should not affect emerge behavior.
svn path=/main/trunk/; revision=4021
Zac Medico [Tue, 25 Jul 2006 03:18:26 +0000 (03:18 -0000)]
Add more dependencies to the digraph in order to help prevent strange merge orders for bug #126748.
svn path=/main/trunk/; revision=4019
Zac Medico [Mon, 24 Jul 2006 16:05:20 +0000 (16:05 -0000)]
s/difference/symmetric_difference/ for the last two commits.
svn path=/main/trunk/; revision=4016
Zac Medico [Mon, 24 Jul 2006 15:48:25 +0000 (15:48 -0000)]
For binary packages, trigger a rebuild with --newuse when IUSE has changed for bug #116955.
svn path=/main/trunk/; revision=4015
Zac Medico [Mon, 24 Jul 2006 15:25:37 +0000 (15:25 -0000)]
Trigger a rebuild with --newuse when IUSE has changed for bug #116955.
svn path=/main/trunk/; revision=4014
Zac Medico [Sun, 23 Jul 2006 09:11:24 +0000 (09:11 -0000)]
Simplify depgraph.select_dep() logic by using a list of matched packages (instead of separate variables for ebuild and binary packages).
svn path=/main/trunk/; revision=4013
Zac Medico [Sun, 23 Jul 2006 00:37:28 +0000 (00:37 -0000)]
Return tuples instead of lists from getboth functions and methods.
svn path=/main/trunk/; revision=4009
Zac Medico [Sun, 23 Jul 2006 00:31:32 +0000 (00:31 -0000)]
Return a tuple from searchindex instead of a list.
svn path=/main/trunk/; revision=4008
Zac Medico [Sat, 22 Jul 2006 23:37:23 +0000 (23:37 -0000)]
Make xsplit() return False on failure and True on success for bug #141445.
svn path=/main/trunk/; revision=4006
Zac Medico [Sat, 22 Jul 2006 11:39:24 +0000 (11:39 -0000)]
Move best_match_to_list, match_from_list, and match_to_list from the core portage module to portage_dep.
svn path=/main/trunk/; revision=3991
Zac Medico [Sat, 22 Jul 2006 11:19:17 +0000 (11:19 -0000)]
Move portage.best() to portage_versions.
svn path=/main/trunk/; revision=3990
Zac Medico [Sat, 22 Jul 2006 11:12:36 +0000 (11:12 -0000)]
Remove unused portage.match_from_list_original() function.
svn path=/main/trunk/; revision=3989
Zac Medico [Sat, 22 Jul 2006 11:08:22 +0000 (11:08 -0000)]
Use portage.best() to simplify package comparison.
svn path=/main/trunk/; revision=3988
Zac Medico [Sat, 22 Jul 2006 06:54:00 +0000 (06:54 -0000)]
Just add the providers to the protected set without bothering to check if they're in the vdb.
svn path=/main/trunk/; revision=3987
Zac Medico [Sat, 22 Jul 2006 00:33:15 +0000 (00:33 -0000)]
Make depclean account for old-style virtuals so that it doesn't remove the providers.
svn path=/main/trunk/; revision=3986
Zac Medico [Fri, 21 Jul 2006 22:31:43 +0000 (22:31 -0000)]
Make sure that PORTAGE_BUILDDIR exists before attempting to lock it. Depending on the phase, either BUILD_PREFIX or PKG_TMPDIR could be the parent, so we simply use PORTAGE_BUILDDIR to cover both cases.
svn path=/main/trunk/; revision=3985
Zac Medico [Fri, 21 Jul 2006 20:28:59 +0000 (20:28 -0000)]
Collapse whitespace in aux_get calls for remote binpkg metadata. See bug #141279.
svn path=/main/trunk/; revision=3984
Zac Medico [Fri, 21 Jul 2006 19:45:45 +0000 (19:45 -0000)]
Ignore hidden directories and files when updating config files.
svn path=/main/trunk/; revision=3983
Zac Medico [Fri, 21 Jul 2006 18:36:42 +0000 (18:36 -0000)]
Add a link for "Setting up your own local rsync mirror" as suggested by jkt.
svn path=/main/trunk/; revision=3982
Zac Medico [Fri, 21 Jul 2006 08:41:13 +0000 (08:41 -0000)]
Move dep_transform from the portage_dep module to portage_update.
svn path=/main/trunk/; revision=3981