Zac Medico [Wed, 6 Sep 2006 17:04:36 +0000 (17:04 -0000)]
Allow env_update to work if there are broken symlinks in /etc/env.d/. See bug #146412.
svn path=/main/trunk/; revision=4416
Zac Medico [Wed, 6 Sep 2006 07:36:42 +0000 (07:36 -0000)]
Remove ACCEPT_KEYWORDS from incrementals to that a hypothetical config.regenerate() call won't affect it.
svn path=/main/trunk/; revision=4415
Zac Medico [Wed, 6 Sep 2006 07:23:19 +0000 (07:23 -0000)]
Call dep_settings.setcpv() first so that ACCEPT_KEYWORDS when setcpv calls reset. The backup_changes call isn't working for some reason (reported by vapier).
svn path=/main/trunk/; revision=4414
Mike Frysinger [Wed, 6 Sep 2006 05:03:36 +0000 (05:03 -0000)]
unpack rar files with -o+ to force overwriting #146508 by Paul Bredbury
svn path=/main/trunk/; revision=4413
Mike Frysinger [Wed, 6 Sep 2006 04:52:15 +0000 (04:52 -0000)]
make .compiled warning the same helpful format as .installed
svn path=/main/trunk/; revision=4412
Mike Frysinger [Wed, 6 Sep 2006 04:48:10 +0000 (04:48 -0000)]
if user has FEATURES=noauto then dont check lame .installed file
svn path=/main/trunk/; revision=4411
Zac Medico [Tue, 5 Sep 2006 20:30:04 +0000 (20:30 -0000)]
During env_update, raise a FileNotFound exception if a file is unexpectedly removed by a concurrent process. See bug #146412.
svn path=/main/trunk/; revision=4408
Zac Medico [Mon, 4 Sep 2006 23:58:20 +0000 (23:58 -0000)]
Add an additional note about $ROOT and USE flag handling in dep_check.
svn path=/main/trunk/; revision=4407
Zac Medico [Mon, 4 Sep 2006 22:35:17 +0000 (22:35 -0000)]
Revert r4403 since dep_check needs a config instance for the $ROOT where the dependencies will be installed.
svn path=/main/trunk/; revision=4406
Zac Medico [Mon, 4 Sep 2006 21:29:04 +0000 (21:29 -0000)]
Only apply USE masks in dep_check when called by repoman with use="all".
svn path=/main/trunk/; revision=4405
Zac Medico [Mon, 4 Sep 2006 20:56:58 +0000 (20:56 -0000)]
Use a set for masklist inside dep_check.
svn path=/main/trunk/; revision=4404
Zac Medico [Mon, 4 Sep 2006 19:50:52 +0000 (19:50 -0000)]
For emerge dep_check calls, use a config instance that has the correct state and the correct $ROOT.
svn path=/main/trunk/; revision=4403
Zac Medico [Mon, 4 Sep 2006 18:50:25 +0000 (18:50 -0000)]
Move setcpv call (from the last commit) to a more logical location.
svn path=/main/trunk/; revision=4402
Zac Medico [Mon, 4 Sep 2006 18:42:35 +0000 (18:42 -0000)]
Add repoman support for package.use.mask.
svn path=/main/trunk/; revision=4401
Zac Medico [Mon, 4 Sep 2006 17:59:09 +0000 (17:59 -0000)]
Since none of the code is written to handle it, never return a tuple from new_protect_filename(). See bug #146289.
svn path=/main/trunk/; revision=4400
Zac Medico [Mon, 4 Sep 2006 04:44:09 +0000 (04:44 -0000)]
Don't call dict.keys() unnecessarily for the containment test in dblink.isowner().
svn path=/main/trunk/; revision=4396
Zac Medico [Sun, 3 Sep 2006 21:36:26 +0000 (21:36 -0000)]
Move notes about --depclean and --newuse from NEWS to RELEASE-NOTES.
svn path=/main/trunk/; revision=4395
Zac Medico [Sun, 3 Sep 2006 21:27:26 +0000 (21:27 -0000)]
Add news about --newuse being able to detect changes in IUSE.
svn path=/main/trunk/; revision=4394
Zac Medico [Sun, 3 Sep 2006 20:47:52 +0000 (20:47 -0000)]
When aux_get can't find a matching ebuild, simply raise a KeyError(cpv) and don't dump redundant messages to stderr unless --debug is enabled.
svn path=/main/trunk/; revision=4393
Simon Stelling [Sun, 3 Sep 2006 12:42:44 +0000 (12:42 -0000)]
moving the portage-specific sandbox-code out of the ebuild-specific src_test
svn path=/main/trunk/; revision=4382
Zac Medico [Sun, 3 Sep 2006 05:20:43 +0000 (05:20 -0000)]
Describe each of the USE flag symbols that are displayed in verbose mode (see bug #146060).
svn path=/main/trunk/; revision=4381
Zac Medico [Sat, 2 Sep 2006 23:24:24 +0000 (23:24 -0000)]
Make code from the last 2 commits conditional on merging == 0 and vardbapi.cpv_exists(mykey).
svn path=/main/trunk/; revision=4380
Zac Medico [Sat, 2 Sep 2006 22:59:10 +0000 (22:59 -0000)]
Update the depgraph's USE flag cache so that's it's consistent with installed packages.
svn path=/main/trunk/; revision=4379
Zac Medico [Sat, 2 Sep 2006 22:55:17 +0000 (22:55 -0000)]
When creating the depgraph, use the correct USE flags for packages that are already installed.
svn path=/main/trunk/; revision=4378
Zac Medico [Tue, 29 Aug 2006 21:28:56 +0000 (21:28 -0000)]
Use a specialized read_int function to read integer input for bug #143881. This uses a subshell to work around bash's tendency to break out of a loop whenever an integer conversion fails.
svn path=/main/trunk/; revision=4375
Zac Medico [Tue, 29 Aug 2006 19:58:18 +0000 (19:58 -0000)]
Before the preinst phase, only call load_infodir for binary packages. Otherwise, load_infodir will wipe settings from doebuild_environment (such as CATEGORY).
svn path=/main/trunk/; revision=4374
Mike Frysinger [Mon, 28 Aug 2006 21:12:10 +0000 (21:12 -0000)]
fix whitespace
svn path=/main/trunk/; revision=4364
Simon Stelling [Sun, 27 Aug 2006 19:46:27 +0000 (19:46 -0000)]
let's not fork too much
svn path=/main/trunk/; revision=4355
Simon Stelling [Sun, 27 Aug 2006 18:54:53 +0000 (18:54 -0000)]
make the multilib-strict check show all files that violate the rule, not just the first one
svn path=/main/trunk/; revision=4354
Zac Medico [Sun, 27 Aug 2006 18:30:10 +0000 (18:30 -0000)]
Add a missing newline from the previous commit.
svn path=/main/trunk/; revision=4353
Simon Stelling [Sun, 27 Aug 2006 16:46:36 +0000 (16:46 -0000)]
don't display useless messages when using --quiet
svn path=/main/trunk/; revision=4351
Zac Medico [Sun, 27 Aug 2006 10:57:01 +0000 (10:57 -0000)]
Display flags that have been removed from IUSE as (-flag%) instead of !flag% and display newly added masked flags without the % symbol in order to avoid ambiguity. See bug #144661.
svn path=/main/trunk/; revision=4350
Zac Medico [Sun, 27 Aug 2006 10:15:43 +0000 (10:15 -0000)]
For --newuse, ignore masked/forced flags when comparing IUSE. See bug #144661.
svn path=/main/trunk/; revision=4349
Zac Medico [Sun, 27 Aug 2006 09:55:40 +0000 (09:55 -0000)]
For --newuse, ignore masked/forced flags when comparing IUSE. See bug #144661.
svn path=/main/trunk/; revision=4348
Zac Medico [Sat, 26 Aug 2006 23:48:32 +0000 (23:48 -0000)]
Remove a redundant conditional from the last commit.
svn path=/main/trunk/; revision=4347
Zac Medico [Sat, 26 Aug 2006 23:27:39 +0000 (23:27 -0000)]
Show the * symbol in addition to the % symbol when the flags state transitions from nonexistent -> enabled or vice versa.
svn path=/main/trunk/; revision=4346
Zac Medico [Sat, 26 Aug 2006 21:01:40 +0000 (21:01 -0000)]
Add news about the new depclean algorithm.
svn path=/main/trunk/; revision=4345
Zac Medico [Sat, 26 Aug 2006 01:32:10 +0000 (01:32 -0000)]
Recommend `emerge --update --deep world` prior to depclean in order to make sure that all dependencies are satisfied. See bug #145078.
svn path=/main/trunk/; revision=4344
Simon Stelling [Fri, 25 Aug 2006 15:37:37 +0000 (15:37 -0000)]
remove the MULTILIB_STRICT_EXEMPT default as all profiles set it anyway
svn path=/main/trunk/; revision=4343
Simon Stelling [Fri, 25 Aug 2006 14:57:45 +0000 (14:57 -0000)]
ignore binutils wrt multilib-strict; bug 121641
svn path=/main/trunk/; revision=4342
Simon Stelling [Thu, 24 Aug 2006 18:51:56 +0000 (18:51 -0000)]
only print the "Removing /usr/share/info" if --quiet was not passed
svn path=/main/trunk/; revision=4339
Zac Medico [Thu, 24 Aug 2006 18:26:29 +0000 (18:26 -0000)]
Make symlink merge output respect --quiet. Thanks to blubb for reporting.
svn path=/main/trunk/; revision=4336
Zac Medico [Thu, 24 Aug 2006 07:43:36 +0000 (07:43 -0000)]
Display flags that have been removed from IUSE as !flag% for bug #144661.
svn path=/main/trunk/; revision=4322
Zac Medico [Thu, 24 Aug 2006 03:51:43 +0000 (03:51 -0000)]
For bug #144928, add -L to the rsync options (transform symlink into referent). Thanks to Olivier Crete <tester@gentoo.org> for this patch.
svn path=/main/trunk/; revision=4321
Mike Frysinger [Tue, 22 Aug 2006 17:15:09 +0000 (17:15 -0000)]
include filename in submenu so we know exactly what we are working on
svn path=/main/trunk/; revision=4320
Zac Medico [Sun, 20 Aug 2006 07:47:20 +0000 (07:47 -0000)]
Don't bother to lock CONFIG_MEMORY_FILE since writedict is atomic anyway.
svn path=/main/trunk/; revision=4313
Zac Medico [Sun, 20 Aug 2006 07:12:33 +0000 (07:12 -0000)]
Make depclean more friendly about unresolved atoms. Thanks to jstubbs for this patch from bug #144486.
svn path=/main/trunk/; revision=4312
Mike Frysinger [Sat, 19 Aug 2006 22:10:24 +0000 (22:10 -0000)]
document the ability to make package. files directories in /etc/portage #144381 by Caleb Cushing
svn path=/main/trunk/; revision=4311
Mike Frysinger [Sat, 19 Aug 2006 21:55:20 +0000 (21:55 -0000)]
eat some extraneous newlines
svn path=/main/trunk/; revision=4310
Mike Frysinger [Sat, 19 Aug 2006 17:57:47 +0000 (17:57 -0000)]
document ROOT #144331
svn path=/main/trunk/; revision=4309
Mike Frysinger [Sat, 19 Aug 2006 16:29:53 +0000 (16:29 -0000)]
some INSTALL_MASK docs by compnerd
svn path=/main/trunk/; revision=4308
Zac Medico [Sat, 19 Aug 2006 02:03:02 +0000 (02:03 -0000)]
Make sure that portageq exits quietly when killed, like emerge does.
svn path=/main/trunk/; revision=4306
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