Zac Medico [Sat, 24 Jun 2006 20:55:18 +0000 (20:55 -0000)]
Move the counter_tick methods from the dbapi class to the vardbapi class.
svn path=/main/trunk/; revision=3645
Zac Medico [Sat, 24 Jun 2006 20:43:17 +0000 (20:43 -0000)]
Make the COUNTER regeneration logic account for $ROOT as per bug #129054.
svn path=/main/trunk/; revision=3644
Zac Medico [Sat, 24 Jun 2006 18:26:40 +0000 (18:26 -0000)]
The mtimedb should not be relative to the target $ROOT because the paths that it contains are currently relative to "/".
svn path=/main/trunk/; revision=3643
Zac Medico [Sat, 24 Jun 2006 18:01:50 +0000 (18:01 -0000)]
s/Preform/Perform/ Thanks to exg for reporting.
svn path=/main/trunk/; revision=3642
Zac Medico [Sat, 24 Jun 2006 07:52:18 +0000 (07:52 -0000)]
Remove references to portage.settings from unmerge().
svn path=/main/trunk/; revision=3638
Zac Medico [Sat, 24 Jun 2006 07:47:57 +0000 (07:47 -0000)]
Remove references to portage.root from unmerge().
svn path=/main/trunk/; revision=3637
Zac Medico [Sat, 24 Jun 2006 07:31:57 +0000 (07:31 -0000)]
Pass a config instance into key_expand calls so that it doesn't rely on global settings.
svn path=/main/trunk/; revision=3636
Zac Medico [Sat, 24 Jun 2006 06:51:30 +0000 (06:51 -0000)]
Remove all direct references to global variables from unmerge().
svn path=/main/trunk/; revision=3635
Zac Medico [Sat, 24 Jun 2006 05:14:57 +0000 (05:14 -0000)]
Remove all direct references to global variables from getlist().
svn path=/main/trunk/; revision=3634
Zac Medico [Sat, 24 Jun 2006 04:43:47 +0000 (04:43 -0000)]
Remove all references to global variables from getportageversion().
svn path=/main/trunk/; revision=3633
Zac Medico [Sat, 24 Jun 2006 04:14:38 +0000 (04:14 -0000)]
Fix getgccversion logic for bug #137786.
svn path=/main/trunk/; revision=3632
Zac Medico [Sat, 24 Jun 2006 04:03:08 +0000 (04:03 -0000)]
Remove the deprectated digestCheckFiles function.
svn path=/main/trunk/; revision=3631
Zac Medico [Sat, 24 Jun 2006 03:18:49 +0000 (03:18 -0000)]
Remove a few unused imports.
svn path=/main/trunk/; revision=3630
Zac Medico [Sat, 24 Jun 2006 03:12:30 +0000 (03:12 -0000)]
Remove a few unused imports.
svn path=/main/trunk/; revision=3629
Zac Medico [Fri, 23 Jun 2006 11:08:50 +0000 (11:08 -0000)]
Split the --metadata action into a separate function from --sync.
svn path=/main/trunk/; revision=3628
Zac Medico [Fri, 23 Jun 2006 10:22:59 +0000 (10:22 -0000)]
Register emerge exit and signal handlers after parsing options, just before the action phase.
svn path=/main/trunk/; revision=3627
Zac Medico [Fri, 23 Jun 2006 09:59:26 +0000 (09:59 -0000)]
Minor import cleanups.
svn path=/main/trunk/; revision=3626
Zac Medico [Fri, 23 Jun 2006 09:52:30 +0000 (09:52 -0000)]
Ensure that ^C interrupts are handled quietly.
svn path=/main/trunk/; revision=3625
Zac Medico [Fri, 23 Jun 2006 08:50:26 +0000 (08:50 -0000)]
Shift all global scope code to the bottom.
svn path=/main/trunk/; revision=3624
Zac Medico [Fri, 23 Jun 2006 08:07:13 +0000 (08:07 -0000)]
Fix extra imports and undefined variable found by pyflakes.
svn path=/main/trunk/; revision=3623
Zac Medico [Fri, 23 Jun 2006 08:03:54 +0000 (08:03 -0000)]
Fix error handling for getlist().
svn path=/main/trunk/; revision=3622
Zac Medico [Fri, 23 Jun 2006 07:29:20 +0000 (07:29 -0000)]
Sort filenames for predictable results.
svn path=/main/trunk/; revision=3621
Zac Medico [Fri, 23 Jun 2006 06:58:13 +0000 (06:58 -0000)]
Do not import * for cooperation with pyflakes.
svn path=/main/trunk/; revision=3620
Zac Medico [Fri, 23 Jun 2006 06:28:27 +0000 (06:28 -0000)]
Use secpass to determine whether emergelog exceptions should be ignored.
svn path=/main/trunk/; revision=3619
Zac Medico [Fri, 23 Jun 2006 06:14:29 +0000 (06:14 -0000)]
Remove unnecessary "myaction" parameter from the depgraph constructor.
svn path=/main/trunk/; revision=3618
Zac Medico [Fri, 23 Jun 2006 06:09:14 +0000 (06:09 -0000)]
Pass relevant global variables as parameters to action_* functions.
svn path=/main/trunk/; revision=3617
Zac Medico [Fri, 23 Jun 2006 05:40:22 +0000 (05:40 -0000)]
Document "deep" and remove unused "params" variable.
svn path=/main/trunk/; revision=3616
Zac Medico [Fri, 23 Jun 2006 05:20:38 +0000 (05:20 -0000)]
Remove unused "merged" variable.
svn path=/main/trunk/; revision=3615
Zac Medico [Fri, 23 Jun 2006 04:35:27 +0000 (04:35 -0000)]
Prevent an inappropriate warning when a repoman user's profile does not support sandbox. Thanks to exg for reporting.
svn path=/main/trunk/; revision=3614
Zac Medico [Fri, 23 Jun 2006 03:41:07 +0000 (03:41 -0000)]
Test the basename for starting with "." instead of the full path.
svn path=/main/trunk/; revision=3613
Zac Medico [Fri, 23 Jun 2006 03:35:01 +0000 (03:35 -0000)]
Fix a typo from r3611 (file != files).
svn path=/main/trunk/; revision=3612
Alec Warner [Fri, 23 Jun 2006 00:40:38 +0000 (00:40 -0000)]
ignore .files in /etc/portage recursion
svn path=/main/trunk/; revision=3611
Zac Medico [Thu, 22 Jun 2006 19:41:32 +0000 (19:41 -0000)]
Use portage_exec.find_binary since "which" always returns 0 status on darwin. Thanks to exg for reporting.
svn path=/main/trunk/; revision=3610
Zac Medico [Thu, 22 Jun 2006 19:11:20 +0000 (19:11 -0000)]
Simplify permission logic for emerge.log.
svn path=/main/trunk/; revision=3609
Zac Medico [Thu, 22 Jun 2006 17:51:27 +0000 (17:51 -0000)]
Move the creation of depgraph params from global scope to a function.
svn path=/main/trunk/; revision=3608
Zac Medico [Thu, 22 Jun 2006 17:16:46 +0000 (17:16 -0000)]
As suggested by exg, include the einfon code inside einfo instead of using the FUNCNAME hack (FUNCNAME only works with >=bash-3.0).
svn path=/main/trunk/; revision=3607
Zac Medico [Thu, 22 Jun 2006 16:43:52 +0000 (16:43 -0000)]
Don't register signal handlers during module import because it may override signal hadlers that were registered by the calling code.
svn path=/main/trunk/; revision=3606
Simon Stelling [Thu, 22 Jun 2006 16:43:30 +0000 (16:43 -0000)]
mention the use of @ in -s; bug 137565
svn path=/main/trunk/; revision=3605
Zac Medico [Thu, 22 Jun 2006 15:10:34 +0000 (15:10 -0000)]
Fix a broken reference to syslist and remove two extras.
svn path=/main/trunk/; revision=3604
Zac Medico [Thu, 22 Jun 2006 14:40:15 +0000 (14:40 -0000)]
Move emerge's default action code from global scope to a function.
svn path=/main/trunk/; revision=3603
Zac Medico [Thu, 22 Jun 2006 14:27:47 +0000 (14:27 -0000)]
Fix missing global "syslist" from r3594.
svn path=/main/trunk/; revision=3602
Zac Medico [Thu, 22 Jun 2006 14:24:14 +0000 (14:24 -0000)]
Move the --depclean code from global scope to a function.
svn path=/main/trunk/; revision=3601
Zac Medico [Thu, 22 Jun 2006 14:19:48 +0000 (14:19 -0000)]
Move the --search code from global scope to a function.
svn path=/main/trunk/; revision=3600
Zac Medico [Thu, 22 Jun 2006 14:11:07 +0000 (14:11 -0000)]
Move the --info code from global scope to a function.
svn path=/main/trunk/; revision=3599
Zac Medico [Thu, 22 Jun 2006 14:08:06 +0000 (14:08 -0000)]
Fix a collision with a previous variable named "p".
svn path=/main/trunk/; revision=3598
Zac Medico [Thu, 22 Jun 2006 13:15:08 +0000 (13:15 -0000)]
Move the --config code from global scope to a function.
svn path=/main/trunk/; revision=3597
Zac Medico [Thu, 22 Jun 2006 13:10:05 +0000 (13:10 -0000)]
Move the --regen code from global scope to a function.
svn path=/main/trunk/; revision=3596
Zac Medico [Thu, 22 Jun 2006 12:59:19 +0000 (12:59 -0000)]
Move the --sync and --metadata code from global scope to a function.
svn path=/main/trunk/; revision=3595
Zac Medico [Thu, 22 Jun 2006 11:33:04 +0000 (11:33 -0000)]
Remove most direct references to global variables from emerge's depgraph class.
svn path=/main/trunk/; revision=3594
Zac Medico [Thu, 22 Jun 2006 08:24:45 +0000 (08:24 -0000)]
Remove unused "olddbapi" variable.
svn path=/main/trunk/; revision=3593
Zac Medico [Thu, 22 Jun 2006 08:17:00 +0000 (08:17 -0000)]
Remove all global variables from emerge's search class.
svn path=/main/trunk/; revision=3592
Zac Medico [Thu, 22 Jun 2006 06:51:55 +0000 (06:51 -0000)]
Encapsulate emerge's spinner into an object.
svn path=/main/trunk/; revision=3591
Zac Medico [Thu, 22 Jun 2006 02:09:48 +0000 (02:09 -0000)]
Simplify PORT_LOGDIR intitialization.
svn path=/main/trunk/; revision=3590
Zac Medico [Thu, 22 Jun 2006 01:49:39 +0000 (01:49 -0000)]
Prevent and exception when PORT_LOGDIR is an empty string.
svn path=/main/trunk/; revision=3589
Zac Medico [Thu, 22 Jun 2006 01:39:34 +0000 (01:39 -0000)]
Remove redundant PORT_LOGDIR validation from the config constructor.
svn path=/main/trunk/; revision=3588
Zac Medico [Thu, 22 Jun 2006 01:33:50 +0000 (01:33 -0000)]
Don't bother to warn when PORT_LOGDIR="".
svn path=/main/trunk/; revision=3587
Zac Medico [Thu, 22 Jun 2006 01:24:16 +0000 (01:24 -0000)]
Make sure that PORT_LOGDIR is properly unset when it is unusable. Thanks to solar for reporting issues with logs landing in $PWD.
svn path=/main/trunk/; revision=3586
Zac Medico [Wed, 21 Jun 2006 00:43:50 +0000 (00:43 -0000)]
By popular demand (including releng), revert the unmerge behavior change from bug #118515 (r3186).
svn path=/main/trunk/; revision=3548
Zac Medico [Tue, 20 Jun 2006 22:51:00 +0000 (22:51 -0000)]
Make it easy to pass alternative cache implementations into the constructor as suggested by Brian Harring.
svn path=/main/trunk/; revision=3547
Zac Medico [Tue, 20 Jun 2006 22:39:50 +0000 (22:39 -0000)]
Use get() to simplify setitem logic as suggested by Brian Harring.
svn path=/main/trunk/; revision=3546
Zac Medico [Tue, 20 Jun 2006 22:23:10 +0000 (22:23 -0000)]
Implement get() as part of the standard mapping interface.
svn path=/main/trunk/; revision=3545
Zac Medico [Tue, 20 Jun 2006 21:55:42 +0000 (21:55 -0000)]
Fix it so that values are properly saved in the writable layer. Previously they've been discarded, leading to regen on each access (only in cases where the user has altered an ebuild in the $PORTDIR).
svn path=/main/trunk/; revision=3544
Zac Medico [Tue, 20 Jun 2006 18:28:11 +0000 (18:28 -0000)]
Use wantnewlockfile=1 on /var/lib/portage/config for bug #137269. r3540 is also related.
svn path=/main/trunk/; revision=3543
Zac Medico [Mon, 19 Jun 2006 21:28:07 +0000 (21:28 -0000)]
To prevent infinite recursion when a lock file has more than 1 hardlink, test for exactly 0 hardlinks before recursing.
svn path=/main/trunk/; revision=3540
Marius Mauch [Mon, 19 Jun 2006 18:15:56 +0000 (18:15 -0000)]
make sure that elog entries are also processed in *rm phases and that they are only processed once
svn path=/main/trunk/; revision=3539
Zac Medico [Mon, 19 Jun 2006 03:09:02 +0000 (03:09 -0000)]
Save timestamp.chk even when metadata-transfer is disabled for bug #137177.
svn path=/main/trunk/; revision=3537
Ned Ludd [Mon, 19 Jun 2006 01:37:30 +0000 (01:37 -0000)]
- do not complain about redundant use of pretend and verbose flags
svn path=/main/trunk/; revision=3534
Alec Warner [Sun, 18 Jun 2006 23:42:29 +0000 (23:42 -0000)]
goodbye tokenize
svn path=/main/trunk/; revision=3533
Zac Medico [Sun, 18 Jun 2006 22:40:56 +0000 (22:40 -0000)]
Put bright colors before dark colors for bug #137206. Thanks to Benno Schulenberg <benno@nietvergeten.nl> for this patch.
svn path=/main/trunk/; revision=3532
Zac Medico [Sun, 18 Jun 2006 21:22:06 +0000 (21:22 -0000)]
Add missing sys import found by pyflakes.
svn path=/main/trunk/; revision=3531
Marius Mauch [Sun, 18 Jun 2006 21:13:19 +0000 (21:13 -0000)]
fix typo
svn path=/main/trunk/; revision=3530
Mike Frysinger [Sun, 18 Jun 2006 16:43:50 +0000 (16:43 -0000)]
get rid of quotes in output
svn path=/main/trunk/; revision=3528
Zac Medico [Sun, 18 Jun 2006 03:12:05 +0000 (03:12 -0000)]
Prevent repoman frm using /etc/portage/package.mask. This is a regression in 2.1.1_pre1 from svn r3495. See bug #133740. Thanks to sekretarz for reporting this issue.
svn path=/main/trunk/; revision=3527
Zac Medico [Sun, 18 Jun 2006 00:43:28 +0000 (00:43 -0000)]
Overwrite the existing fetch log so that it only contains the most recent fetch.
svn path=/main/trunk/; revision=3526
Zac Medico [Sat, 17 Jun 2006 23:30:01 +0000 (23:30 -0000)]
Log parallel-fetch output to /var/log/emerge-fetch.log just in case it's needed. See bug #137105.
svn path=/main/trunk/; revision=3525
Zac Medico [Sat, 17 Jun 2006 23:18:12 +0000 (23:18 -0000)]
Make sure that doebuild gets the correct CATEGORY. See bug #137105.
svn path=/main/trunk/; revision=3524
Mike Frysinger [Sat, 17 Jun 2006 21:50:31 +0000 (21:50 -0000)]
Benno Schulenberg writes in #136818: tweak --nocolor description
svn path=/main/trunk/; revision=3523
Mike Frysinger [Sat, 17 Jun 2006 21:49:36 +0000 (21:49 -0000)]
Benno Schulenberg writes in #136818: tweak the description of --info
svn path=/main/trunk/; revision=3522
Mike Frysinger [Sat, 17 Jun 2006 21:47:34 +0000 (21:47 -0000)]
Benno Schulenberg writes in #136818: make the style of the --pretend letter descriptions uniform
svn path=/main/trunk/; revision=3521
Mike Frysinger [Sat, 17 Jun 2006 21:43:42 +0000 (21:43 -0000)]
Benno Schulenberg writes in #136818: put the --config action in its alphabetical place while adjusting the words and spaces a little.
svn path=/main/trunk/; revision=3520
Mike Frysinger [Sat, 17 Jun 2006 21:41:26 +0000 (21:41 -0000)]
line wrap to 80 cols
svn path=/main/trunk/; revision=3519
Mike Frysinger [Sat, 17 Jun 2006 21:39:49 +0000 (21:39 -0000)]
Benno Schulenberg writes in #136818: changes the wording of the "set" parameter to be similar to its neighbours.
svn path=/main/trunk/; revision=3518
Zac Medico [Sat, 17 Jun 2006 15:56:09 +0000 (15:56 -0000)]
Force digest generation when assume-digests is enabled but the file size does not match. See bug #137032.
svn path=/main/trunk/; revision=3517
Zac Medico [Fri, 16 Jun 2006 20:13:16 +0000 (20:13 -0000)]
Import missing PermissionDenied class. Thanks to marienz for reporting (and suggesting pyflakes).
svn path=/main/trunk/; revision=3516
Zac Medico [Fri, 16 Jun 2006 06:10:28 +0000 (06:10 -0000)]
Fix checksum error messages for bug #136947. Thanks to truedfx for this patch.
svn path=/main/trunk/; revision=3515
Zac Medico [Thu, 15 Jun 2006 23:10:43 +0000 (23:10 -0000)]
Only attempt to unmerge the already-installed instance if it actually exists. This patch prevents self.settings.configdict["pkg"] from getting nuked by a call to load_infodir on a nonexistent directory. By preserving configdict["pkg"] here, the CATEGORY is available for the next doebuild call (needed to create log names correctly).
svn path=/main/trunk/; revision=3514
Zac Medico [Thu, 15 Jun 2006 16:19:54 +0000 (16:19 -0000)]
When --debug is enabled, do not raise a ValueError for unresolved dependencies. See bug #126793.
svn path=/main/trunk/; revision=3513
Alec Warner [Wed, 14 Jun 2006 12:42:31 +0000 (12:42 -0000)]
more fixes to make it sound like I didn't write it at 8:41am
svn path=/main/trunk/; revision=3512
Alec Warner [Wed, 14 Jun 2006 12:41:33 +0000 (12:41 -0000)]
idiot, use.defaults, not make.defaults
svn path=/main/trunk/; revision=3511
Alec Warner [Wed, 14 Jun 2006 12:35:46 +0000 (12:35 -0000)]
Add autouse removal to RELEASE-NOTES
svn path=/main/trunk/; revision=3510
Zac Medico [Wed, 14 Jun 2006 10:08:51 +0000 (10:08 -0000)]
Give a useful error message when a dependency has an ambiguous atom due to the category being unspecified. See bug #123677.
svn path=/main/trunk/; revision=3509
Zac Medico [Tue, 13 Jun 2006 23:30:33 +0000 (23:30 -0000)]
Source /etc/portage/bashrc after the profile.bashrcs, since user env should be over to override the profile env.
svn path=/main/trunk/; revision=3508
Alec Warner [Tue, 13 Jun 2006 20:46:25 +0000 (20:46 -0000)]
fix path to ebuild for dsd, bug # 135705
svn path=/main/trunk/; revision=3507
Zac Medico [Tue, 13 Jun 2006 19:55:03 +0000 (19:55 -0000)]
Fix generation of ebuild log file names for bug #136285.
svn path=/main/trunk/; revision=3506
Zac Medico [Tue, 13 Jun 2006 04:21:01 +0000 (04:21 -0000)]
Fix signal handling for bug #96331. Thanks to S. Caglar Onur <caglar@pardus.org.tr> for this patch.
svn path=/main/trunk/; revision=3505
Zac Medico [Tue, 13 Jun 2006 03:50:27 +0000 (03:50 -0000)]
s/i686-unknown/i686-gentoo/ for bug #136532.
svn path=/main/trunk/; revision=3504
Zac Medico [Tue, 13 Jun 2006 00:20:02 +0000 (00:20 -0000)]
Fix a typo from the last revision (octal literals begin with 0).
svn path=/main/trunk/; revision=3503
Zac Medico [Tue, 13 Jun 2006 00:06:32 +0000 (00:06 -0000)]
Toggle the setgid bit on $PORT_LOGDIR\elog\ for bug #136278.
svn path=/main/trunk/; revision=3502
Zac Medico [Mon, 12 Jun 2006 23:22:05 +0000 (23:22 -0000)]
Prevent extra newlines in elog for einfo invocations. See bug #136208.
svn path=/main/trunk/; revision=3501
Zac Medico [Mon, 12 Jun 2006 19:06:02 +0000 (19:06 -0000)]
For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404).
svn path=/main/trunk/; revision=3500