Simon Stelling [Sun, 16 Apr 2006 21:43:25 +0000 (21:43 -0000)]
touchup emerge --help: reorder and wrap lines. credit goes to Benno Schulenberg; bug 121528
svn path=/main/trunk/; revision=3167
Simon Stelling [Sun, 16 Apr 2006 21:29:53 +0000 (21:29 -0000)]
sync short options with the rest of emerge --help; bug 124489
svn path=/main/trunk/; revision=3166
Simon Stelling [Sun, 16 Apr 2006 21:16:18 +0000 (21:16 -0000)]
add instructions how to update portage when --sync tells you to do so; bug 118715
svn path=/main/trunk/; revision=3165
Simon Stelling [Sun, 16 Apr 2006 18:13:57 +0000 (18:13 -0000)]
make misc-functions.sh executable as it's called directly from the python side
svn path=/main/trunk/; revision=3164
Simon Stelling [Sun, 16 Apr 2006 17:44:33 +0000 (17:44 -0000)]
fix misuse of 'cat'
svn path=/main/trunk/; revision=3163
Mike Frysinger [Sun, 16 Apr 2006 04:50:41 +0000 (04:50 -0000)]
eat whitespace
svn path=/main/trunk/; revision=3162
Mike Frysinger [Sun, 16 Apr 2006 01:41:00 +0000 (01:41 -0000)]
use a temp file but this time cut out the duplicate calls to `find`
svn path=/main/trunk/; revision=3161
Zac Medico [Sun, 16 Apr 2006 01:17:42 +0000 (01:17 -0000)]
Make find arguments portable for bug #129935 and remove temp file usage for bug #121368.
svn path=/main/trunk/; revision=3160
Zac Medico [Sat, 15 Apr 2006 23:05:48 +0000 (23:05 -0000)]
Override LazyItemsDict.update() so that it works correctly with other instances of LazyItemsDict.
svn path=/main/trunk/; revision=3159
Mike Frysinger [Sat, 15 Apr 2006 19:29:52 +0000 (19:29 -0000)]
touchup syntax and dont execute the loop as many times
svn path=/main/trunk/; revision=3158
Simon Stelling [Sat, 15 Apr 2006 19:23:03 +0000 (19:23 -0000)]
use strip_duplicate_slashes instead of "for 1 2 3 do var=${var/\/\///}"
svn path=/main/trunk/; revision=3157
Simon Stelling [Sat, 15 Apr 2006 19:16:19 +0000 (19:16 -0000)]
remove all unneeded slashes, not only // or ///
svn path=/main/trunk/; revision=3156
Simon Stelling [Sat, 15 Apr 2006 18:42:28 +0000 (18:42 -0000)]
`` must die
svn path=/main/trunk/; revision=3155
Simon Stelling [Sat, 15 Apr 2006 18:11:43 +0000 (18:11 -0000)]
some more hasq fixes
svn path=/main/trunk/; revision=3154
Simon Stelling [Sat, 15 Apr 2006 18:01:50 +0000 (18:01 -0000)]
use has instead of bloated bash constructs
svn path=/main/trunk/; revision=3153
Simon Stelling [Sat, 15 Apr 2006 12:10:50 +0000 (12:10 -0000)]
fix typo from rev 3151
svn path=/main/trunk/; revision=3152
Simon Stelling [Sat, 15 Apr 2006 12:08:51 +0000 (12:08 -0000)]
only move $T/environment if it exists; bug 64926
svn path=/main/trunk/; revision=3151
Zac Medico [Sat, 15 Apr 2006 11:17:43 +0000 (11:17 -0000)]
Split out a reusable Manifest._readManifest() method.
svn path=/main/trunk/; revision=3150
Zac Medico [Sat, 15 Apr 2006 05:26:44 +0000 (05:26 -0000)]
Add singleton support to LazyItemsDict to make it easier to use with arbitrary function calls.
svn path=/main/trunk/; revision=3149
Zac Medico [Fri, 14 Apr 2006 21:39:35 +0000 (21:39 -0000)]
Catch fetch_check FileNotFound exceptions for bug #129962.
svn path=/main/trunk/; revision=3148
Zac Medico [Fri, 14 Apr 2006 11:03:28 +0000 (11:03 -0000)]
Run chflags only when needed for bug #129852. Thanks to Diego Pettenò for the patch.
svn path=/main/trunk/; revision=3147
Zac Medico [Fri, 14 Apr 2006 10:00:26 +0000 (10:00 -0000)]
Preserve the mysettings["SLOT"] for bug #129720.
svn path=/main/trunk/; revision=3146
Zac Medico [Fri, 14 Apr 2006 08:51:22 +0000 (08:51 -0000)]
Fix a typo from the last revision.
svn path=/main/trunk/; revision=3145
Zac Medico [Fri, 14 Apr 2006 08:01:28 +0000 (08:01 -0000)]
Fix collision-protect logic so the correct cpv is used for slot comparison.
svn path=/main/trunk/; revision=3144
Zac Medico [Fri, 14 Apr 2006 06:30:52 +0000 (06:30 -0000)]
Add an initial_items parameter to the LazyItemsDict constructor in order to facilitate integration with existing dict based code.
svn path=/main/trunk/; revision=3143
Zac Medico [Thu, 13 Apr 2006 21:59:18 +0000 (21:59 -0000)]
Fix digestcheck logic for bug #129839.
svn path=/main/trunk/; revision=3142
Simon Stelling [Thu, 13 Apr 2006 17:59:44 +0000 (17:59 -0000)]
exit if user hits the cancel button in dialog mode; bug 108137
svn path=/main/trunk/; revision=3141
Simon Stelling [Thu, 13 Apr 2006 17:38:53 +0000 (17:38 -0000)]
don't declare input as integer, or etc-update will crash whenever the user enters some non-integer value; bug 55082
svn path=/main/trunk/; revision=3140
Simon Stelling [Thu, 13 Apr 2006 16:49:24 +0000 (16:49 -0000)]
ignore backup files when scanning for ._cfg????_*; bug 121401
svn path=/main/trunk/; revision=3139
Simon Stelling [Thu, 13 Apr 2006 16:19:04 +0000 (16:19 -0000)]
don't display the ._cfg???? files anymore but instead the number of updates for each file; bug 69845
svn path=/main/trunk/; revision=3138
Mike Frysinger [Thu, 13 Apr 2006 05:39:30 +0000 (05:39 -0000)]
fixes by solar for ROOT output when unmerging #129649 and make --quiet output a bit more useful
svn path=/main/trunk/; revision=3137
Zac Medico [Thu, 13 Apr 2006 03:50:43 +0000 (03:50 -0000)]
Fix manifest/digest generation logic for bug #129737.
svn path=/main/trunk/; revision=3136
Zac Medico [Wed, 12 Apr 2006 09:52:30 +0000 (09:52 -0000)]
Use LazyItemsDict to avoid a vdb scan during portage import when autouse is enabled.
svn path=/main/trunk/; revision=3135
Zac Medico [Wed, 12 Apr 2006 03:45:04 +0000 (03:45 -0000)]
Use cannonical paths for portdb.portrees to ensure that, given pkgdir, FetchlistDict can determine the correct path for the portage tree.
svn path=/main/trunk/; revision=3134
Zac Medico [Wed, 12 Apr 2006 02:46:21 +0000 (02:46 -0000)]
Create a generic portage_util.LazyItemsDict and use it for lazy initialization portage.db[root] items.
svn path=/main/trunk/; revision=3133
Zac Medico [Tue, 11 Apr 2006 21:11:31 +0000 (21:11 -0000)]
Revert r3129 and r3130 because they don't solve bug #129515.
svn path=/main/trunk/; revision=3132
Zac Medico [Tue, 11 Apr 2006 19:59:08 +0000 (19:59 -0000)]
Fix LazyDatabasesDict so that databases only need to be created once.
svn path=/main/trunk/; revision=3131
Zac Medico [Tue, 11 Apr 2006 09:29:34 +0000 (09:29 -0000)]
Make etc-update play nice with symlinks for bug #129515. Thanks to Patrick McLean for the initial patch.
svn path=/main/trunk/; revision=3130
Zac Medico [Tue, 11 Apr 2006 08:58:58 +0000 (08:58 -0000)]
Make dispatch-conf play nice with symlinks for bug #129515. Thanks to Patrick McLean for the initial patch.
svn path=/main/trunk/; revision=3129
Zac Medico [Tue, 11 Apr 2006 06:49:59 +0000 (06:49 -0000)]
Make qmerge imply noclean for bug #129559.
svn path=/main/trunk/; revision=3128
Zac Medico [Tue, 11 Apr 2006 05:34:43 +0000 (05:34 -0000)]
Implement lazy construction of global databases db[root]["porttree"] and db[root]["bintree"] and automatically populate
db[root]["bintree"] on access.
svn path=/main/trunk/; revision=3127
Zac Medico [Tue, 11 Apr 2006 04:12:17 +0000 (04:12 -0000)]
Support EBUILD_PHASE during more phases for bug #129244.
svn path=/main/trunk/; revision=3126
Zac Medico [Tue, 11 Apr 2006 03:54:13 +0000 (03:54 -0000)]
Support EBUILD_PHASE during package and rpm phases for bug #129244.
svn path=/main/trunk/; revision=3125
Zac Medico [Tue, 11 Apr 2006 03:20:55 +0000 (03:20 -0000)]
Remove dead code from portage.digestcheck().
svn path=/main/trunk/; revision=3124
Zac Medico [Tue, 11 Apr 2006 03:02:53 +0000 (03:02 -0000)]
Remove the "db" parameter from digestcheck() because it's not needed.
svn path=/main/trunk/; revision=3123
Zac Medico [Tue, 11 Apr 2006 02:57:41 +0000 (02:57 -0000)]
Remove the "db" parameter from digestParseFile() because it's not needed.
svn path=/main/trunk/; revision=3122
Zac Medico [Tue, 11 Apr 2006 02:50:16 +0000 (02:50 -0000)]
Remove the "db" parameter from digestgen() because it's not needed.
svn path=/main/trunk/; revision=3121
Zac Medico [Tue, 11 Apr 2006 01:51:58 +0000 (01:51 -0000)]
Fix FetchlistDict.keys() so it does the same porttrees trick as __getitem__.
svn path=/main/trunk/; revision=3120
Zac Medico [Tue, 11 Apr 2006 01:37:51 +0000 (01:37 -0000)]
Fix FetchlistDict so usage of global portdb leaves portdb.porttrees intact.
svn path=/main/trunk/; revision=3119
Mike Frysinger [Tue, 11 Apr 2006 00:53:30 +0000 (00:53 -0000)]
kill off custom bash hacks and replace with calls to find/xargs #121368
svn path=/main/trunk/; revision=3118
Jason Stubbs [Mon, 10 Apr 2006 12:07:51 +0000 (12:07 -0000)]
Ensure that binarytree.populate is called even when the first access is
via binarytree.dbapi.{aux_get,match}.
svn path=/main/trunk/; revision=3117
Zac Medico [Mon, 10 Apr 2006 08:51:49 +0000 (08:51 -0000)]
Use os.path.join for cleaner joins.
svn path=/main/trunk/; revision=3116
Zac Medico [Mon, 10 Apr 2006 07:44:14 +0000 (07:44 -0000)]
Make repoman ignore deeply nested CVS directories and files they contain in order to prevent false file.name errors (files with CVS directories may contain commas).
svn path=/main/trunk/; revision=3115
Zac Medico [Mon, 10 Apr 2006 04:38:32 +0000 (04:38 -0000)]
Add docstrings for FetchlistDict.
svn path=/main/trunk/; revision=3114
Zac Medico [Mon, 10 Apr 2006 04:28:22 +0000 (04:28 -0000)]
Simplify the porttrees logic for FetchlistDict.
svn path=/main/trunk/; revision=3113
Zac Medico [Mon, 10 Apr 2006 04:17:10 +0000 (04:17 -0000)]
Remove unnecessary calls to dict.keys() from portage_manifest.
svn path=/main/trunk/; revision=3112
Zac Medico [Mon, 10 Apr 2006 03:37:11 +0000 (03:37 -0000)]
Remove db and mysettings from Manifest and replace them with a mapping object that provides access to fetch lists for each cpv.
svn path=/main/trunk/; revision=3111
Zac Medico [Mon, 10 Apr 2006 01:42:02 +0000 (01:42 -0000)]
Pass DISTDIR into the Manifest constructor instead of getting it from mysettings because mysettings will be eliminated soon.
svn path=/main/trunk/; revision=3110
Zac Medico [Sun, 9 Apr 2006 22:18:51 +0000 (22:18 -0000)]
Remove dependency on the core portage module from portage_manifest.
svn path=/main/trunk/; revision=3109
Mike Frysinger [Sun, 9 Apr 2006 20:28:16 +0000 (20:28 -0000)]
simpler dosym to make mr bones happy
svn path=/main/trunk/; revision=3108
Zac Medico [Sun, 9 Apr 2006 09:10:03 +0000 (09:10 -0000)]
Remove dead code from portage.digestParseFile().
svn path=/main/trunk/; revision=3107
Zac Medico [Sun, 9 Apr 2006 09:00:39 +0000 (09:00 -0000)]
Encapsulate type guessing logic in a new Manifest method.
svn path=/main/trunk/; revision=3106
Zac Medico [Sun, 9 Apr 2006 08:28:05 +0000 (08:28 -0000)]
For compatibility, return a tuple of 3 when an OSError is raised in portage_checksum.verify_all()
svn path=/main/trunk/; revision=3105
Zac Medico [Sun, 9 Apr 2006 04:50:41 +0000 (04:50 -0000)]
Move mf.create out of a loop because it should only need to be called once.
svn path=/main/trunk/; revision=3104
Zac Medico [Sun, 9 Apr 2006 04:37:05 +0000 (04:37 -0000)]
Supply missing parameters to a checkFileHashes call.
svn path=/main/trunk/; revision=3103
Zac Medico [Sat, 8 Apr 2006 10:11:30 +0000 (10:11 -0000)]
Remove bin/mirror.py because, according to Brian Harring, it's obsoleted by mirror-dist.
svn path=/main/trunk/; revision=3101
Zac Medico [Sat, 8 Apr 2006 09:52:39 +0000 (09:52 -0000)]
Remove pym/portage_contents.py because it's not used. Thanks to Brian Harring for noticing.
svn path=/main/trunk/; revision=3100
Zac Medico [Sat, 8 Apr 2006 09:49:18 +0000 (09:49 -0000)]
Remove pym/dcdialog.py because it's not used. Thanks to antarus for noticing.
svn path=/main/trunk/; revision=3099
Zac Medico [Sat, 8 Apr 2006 09:45:10 +0000 (09:45 -0000)]
Add copyright headers for portage_update and portage_manifest.
svn path=/main/trunk/; revision=3098
Zac Medico [Sat, 8 Apr 2006 08:16:31 +0000 (08:16 -0000)]
Fix some minor issues with the anydbm cache module. Thanks to Halcyon for reporting.
svn path=/main/trunk/; revision=3097
Zac Medico [Sat, 8 Apr 2006 07:18:15 +0000 (07:18 -0000)]
Remove redundant "please tell me what to do" code, which is now handled earlier.
svn path=/main/trunk/; revision=3096
Zac Medico [Sat, 8 Apr 2006 06:26:30 +0000 (06:26 -0000)]
Fix myaction logic so that --resume works (with --pretend) for non-root users.
svn path=/main/trunk/; revision=3095
Jason Stubbs [Sat, 8 Apr 2006 03:01:20 +0000 (03:01 -0000)]
Protect string indexes during input stripping in dep_getkey and dep_getcpv.
Bug #129193
svn path=/main/trunk/; revision=3094
Zac Medico [Fri, 7 Apr 2006 22:44:34 +0000 (22:44 -0000)]
Fix myaction logic (myaction==None is actually valid, regression from r3090).
svn path=/main/trunk/; revision=3093
Mike Frysinger [Fri, 7 Apr 2006 22:38:15 +0000 (22:38 -0000)]
remove reference to a script that doesnt exist
svn path=/main/trunk/; revision=3092
Alec Warner [Fri, 7 Apr 2006 19:11:26 +0000 (19:11 -0000)]
Fix this random y that was in the last commit...I blame nano :P
svn path=/main/trunk/; revision=3091
Alec Warner [Fri, 7 Apr 2006 19:02:43 +0000 (19:02 -0000)]
Fix a regression in security handling, emerge with no options should print out helpful information, not tell you you need to be root ;)
svn path=/main/trunk/; revision=3090
Alec Warner [Fri, 7 Apr 2006 16:55:37 +0000 (16:55 -0000)]
Thanks to jforman for finding this one, emerge was not helpful when permissions on the world file are not so good, so in the case of permission denied, we reraise, essentially telling the user we can't read the world file. In the case of it not existing, we assume the user knows what they are doing and we print a squelchable warning message.
svn path=/main/trunk/; revision=3089
Zac Medico [Fri, 7 Apr 2006 09:39:43 +0000 (09:39 -0000)]
Optimize manifest2AuxfileFilter handling of ignored directories. Thanks to Brian Harring for the patch.
svn path=/main/trunk/; revision=3088
Zac Medico [Fri, 7 Apr 2006 09:23:30 +0000 (09:23 -0000)]
Raise exceptions when appropriate in the atomic_ofstream constructor for bug #129098.
svn path=/main/trunk/; revision=3087
Alec Warner [Fri, 7 Apr 2006 00:50:52 +0000 (00:50 -0000)]
Speed up portage.config.keys()
svn path=/main/trunk/; revision=3086
Alec Warner [Fri, 7 Apr 2006 00:48:59 +0000 (00:48 -0000)]
Change == None to is None
svn path=/main/trunk/; revision=3085
Simon Stelling [Thu, 6 Apr 2006 21:05:00 +0000 (21:05 -0000)]
only display syncing progress for each file when --verbose is set; thanks Olaf Hering, bug 128362
svn path=/main/trunk/; revision=3084
Simon Stelling [Thu, 6 Apr 2006 19:47:04 +0000 (19:47 -0000)]
set PKG_CONFIG_PATH correct on multilib systems; bug 126801
svn path=/main/trunk/; revision=3083
Simon Stelling [Thu, 6 Apr 2006 19:28:29 +0000 (19:28 -0000)]
add /usr/local/{,s}bin to PATH; bug 117713
svn path=/main/trunk/; revision=3082
Simon Stelling [Thu, 6 Apr 2006 10:58:18 +0000 (10:58 -0000)]
emerge info -> emerge --info
svn path=/main/trunk/; revision=3080
Alec Warner [Thu, 6 Apr 2006 05:37:24 +0000 (05:37 -0000)]
Remove really really old check during a cvs move. Fix except statement to be saner
svn path=/main/trunk/; revision=3079
Zac Medico [Thu, 6 Apr 2006 02:06:10 +0000 (02:06 -0000)]
Revert r3073 since it causes a regression (digestgen needs to be run for each value of repoman_settings["O"]). See bug #128946.
svn path=/main/trunk/; revision=3078
Zac Medico [Wed, 5 Apr 2006 18:58:40 +0000 (18:58 -0000)]
Revert FEATURES=noclean behavior so that clean is only skipped after merge. Thanks to azarah for reporting.
svn path=/main/trunk/; revision=3077
Zac Medico [Wed, 5 Apr 2006 10:22:42 +0000 (10:22 -0000)]
Move some color mappings to ensure that they do not override the user defined color map.
svn path=/main/trunk/; revision=3076
Zac Medico [Wed, 5 Apr 2006 10:05:44 +0000 (10:05 -0000)]
Add color code mappings for 16 colors in rgb format.
svn path=/main/trunk/; revision=3075
Zac Medico [Wed, 5 Apr 2006 01:48:54 +0000 (01:48 -0000)]
Remove the srcroot parameter from env_update because is doesn't work when portage.movefile merges files via os.rename. To do this properly we need to pass in CONTENTS instead.
svn path=/main/trunk/; revision=3074
Alec Warner [Tue, 4 Apr 2006 23:25:16 +0000 (23:25 -0000)]
Don't generate digests on --pretend for repoman. Thanks go once again to exg@gentoo.org :)
svn path=/main/trunk/; revision=3073
Zac Medico [Tue, 4 Apr 2006 21:13:55 +0000 (21:13 -0000)]
Add support for user configuration of colors in the output module for bug #125120. Thanks to solar for the patch that this was derived from.
svn path=/main/trunk/; revision=3072
Zac Medico [Tue, 4 Apr 2006 19:59:24 +0000 (19:59 -0000)]
Automatically create FILESDIR if necessary when writing old style digests. Thanks to blubb for reporting.
svn path=/main/trunk/; revision=3071
Simon Stelling [Tue, 4 Apr 2006 19:17:45 +0000 (19:17 -0000)]
fix typo in make.conf and remove RSYNC_EXCLUDEFROM since it's deprecated; bug 127614
svn path=/main/trunk/; revision=3070
Simon Stelling [Tue, 4 Apr 2006 18:01:49 +0000 (18:01 -0000)]
fix make.conf indentation per bug 127868; thanks to Paul Varner for the patch
svn path=/main/trunk/; revision=3069
Alec Warner [Mon, 3 Apr 2006 15:08:07 +0000 (15:08 -0000)]
It was pointed out that we have a Test-Manifest perl package, which would get sadly excluded using the old string match, so we fix it to match less ;)
svn path=/main/trunk/; revision=3068
Alec Warner [Mon, 3 Apr 2006 14:53:23 +0000 (14:53 -0000)]
Fix yet another typo of mine, thanks to exg
svn path=/main/trunk/; revision=3067
Alec Warner [Mon, 3 Apr 2006 13:40:56 +0000 (13:40 -0000)]
Fix ordering in cvs calls to be correct, thanks to exg for the fix (again)
svn path=/main/trunk/; revision=3066