portage.git
18 years agoMove PORTAGE_MASTER_PID and BASH_ENV from global scope to the doebuild_environment...
Zac Medico [Wed, 26 Apr 2006 09:14:25 +0000 (09:14 -0000)]
Move PORTAGE_MASTER_PID and BASH_ENV from global scope to the doebuild_environment() function.

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

18 years agoUse the correct ACCEPT_KEYWORDS for each profile (regression from r3231).
Zac Medico [Wed, 26 Apr 2006 08:19:54 +0000 (08:19 -0000)]
Use the correct ACCEPT_KEYWORDS for each profile (regression from r3231).

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

18 years agoRemove portage.config.root (from r3229) and just use config["ROOT"] to eliminate...
Zac Medico [Wed, 26 Apr 2006 04:08:43 +0000 (04:08 -0000)]
Remove portage.config.root (from r3229) and just use config["ROOT"] to eliminate redundancy.

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

18 years agoRemove portage.config.groups (formerly portage.groups) and instead use ACCEPT_KEYWORD...
Zac Medico [Wed, 26 Apr 2006 03:36:42 +0000 (03:36 -0000)]
Remove portage.config.groups (formerly portage.groups) and instead use ACCEPT_KEYWORDS directly (simplifies the code).

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

18 years agoFix portdbapi.aux_get(), findname2(), and getfetchlist() so that the tree can be...
Zac Medico [Wed, 26 Apr 2006 02:04:08 +0000 (02:04 -0000)]
Fix portdbapi.aux_get(), findname2(), and getfetchlist() so that the tree can be overridden by the caller if necessary (ensures that metadata is pulled from the correct tree when generating a manifest).

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

18 years agoFix false variable.readonly match on continued lines. Thanks to Flameeyes for reporting.
Zac Medico [Tue, 25 Apr 2006 21:24:23 +0000 (21:24 -0000)]
Fix false variable.readonly match on continued lines.  Thanks to Flameeyes for reporting.

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

18 years agoValidate the resume merge list in --ask and --pretend mode for bug #128455.
Zac Medico [Tue, 25 Apr 2006 20:33:36 +0000 (20:33 -0000)]
Validate the resume merge list in --ask and --pretend mode for bug #128455.

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

18 years agoMake copies of the groups attribute before modifying (regression from r3231).
Zac Medico [Tue, 25 Apr 2006 19:38:13 +0000 (19:38 -0000)]
Make copies of the groups attribute before modifying (regression from r3231).

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

18 years agoRemove all dependence on the portage.features global variable.
Zac Medico [Tue, 25 Apr 2006 10:55:31 +0000 (10:55 -0000)]
Remove all dependence on the portage.features global variable.

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

18 years agoRemove all usage of the portage.archlist global variable.
Zac Medico [Tue, 25 Apr 2006 10:08:17 +0000 (10:08 -0000)]
Remove all usage of the portage.archlist global variable.

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

18 years agoRemove all usage of the portage.groups global variable.
Zac Medico [Tue, 25 Apr 2006 09:36:57 +0000 (09:36 -0000)]
Remove all usage of the portage.groups global variable.

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

18 years agoRemove all usage of portage.usedefaults and portage.profiledir globals.
Zac Medico [Tue, 25 Apr 2006 08:45:08 +0000 (08:45 -0000)]
Remove all usage of portage.usedefaults and portage.profiledir globals.

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

18 years agoMove portage.root logic from global scope into the portage.config class.
Zac Medico [Tue, 25 Apr 2006 07:46:26 +0000 (07:46 -0000)]
Move portage.root logic from global scope into the portage.config class.

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

18 years agoMove initialization of tmp, var/tmp, var/lib/portage, and var/cache/edb from global...
Zac Medico [Tue, 25 Apr 2006 06:58:20 +0000 (06:58 -0000)]
Move initialization of tmp, var/tmp, var/lib/portage, and var/cache/edb from global scope to portage.cofig._init_dirs().

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

18 years agoMove cache dir initialization from global scope to the portdbapi class.
Zac Medico [Tue, 25 Apr 2006 05:42:41 +0000 (05:42 -0000)]
Move cache dir initialization from global scope to the portdbapi class.

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

18 years agoenable +x bits on sed
Mike Frysinger [Tue, 25 Apr 2006 05:20:33 +0000 (05:20 -0000)]
enable +x bits on sed

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

18 years agoMove USER_VIRTUALS_FILE deprecation warning to config.validate().
Zac Medico [Tue, 25 Apr 2006 05:11:07 +0000 (05:11 -0000)]
Move USER_VIRTUALS_FILE deprecation warning to config.validate().

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

18 years agoSplit a config.validate() method and move PORTAGE_TMPDIR sanity check to doebuild.
Zac Medico [Tue, 25 Apr 2006 04:40:12 +0000 (04:40 -0000)]
Split a config.validate() method and move PORTAGE_TMPDIR sanity check to doebuild.

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

18 years agoMove the make.profile symlink warning from global scope to the config class.
Zac Medico [Tue, 25 Apr 2006 04:04:54 +0000 (04:04 -0000)]
Move the make.profile symlink warning from global scope to the config class.

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

18 years agoCatch IOError when loading the mtimedb.
Zac Medico [Tue, 25 Apr 2006 03:48:04 +0000 (03:48 -0000)]
Catch IOError when loading the mtimedb.

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

18 years agoMove ACCEPT_KEYWORDS and PORTAGE_ARCHLIST validation from global scope to the config...
Zac Medico [Tue, 25 Apr 2006 03:42:44 +0000 (03:42 -0000)]
Move ACCEPT_KEYWORDS and PORTAGE_ARCHLIST validation from global scope to the config class.

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

18 years agoMove the mtimedb initialization code from global scope to a function.
Zac Medico [Tue, 25 Apr 2006 03:13:04 +0000 (03:13 -0000)]
Move the mtimedb initialization code from global scope to a function.

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

18 years agoCatch ValueError from cpv_expand for bug #131160.
Zac Medico [Tue, 25 Apr 2006 01:44:10 +0000 (01:44 -0000)]
Catch ValueError from cpv_expand for bug #131160.

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

18 years agoAdd a note concerning the separation of legacy global initializations.
Zac Medico [Mon, 24 Apr 2006 23:20:53 +0000 (23:20 -0000)]
Add a note concerning the separation of legacy global initializations.

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

18 years agoFor better organization, migrate the initialization of all major globals in portage...
Zac Medico [Mon, 24 Apr 2006 22:35:12 +0000 (22:35 -0000)]
For better organization, migrate the initialization of all major globals in portage.py to the bottom of the file.

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

18 years agoMake sure usage of portage.db and portage.mtimedb is appropriately marked as global.
Zac Medico [Mon, 24 Apr 2006 22:03:09 +0000 (22:03 -0000)]
Make sure usage of portage.db and portage.mtimedb is appropriately marked as global.

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

18 years agoMake sure a usage of portage.settings is marked as global.
Zac Medico [Mon, 24 Apr 2006 21:50:51 +0000 (21:50 -0000)]
Make sure a usage of portage.settings is marked as global.

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

18 years agoUse tree="vartree" for prerm, postrm, and cleanrm phases (see bug #131116).
Zac Medico [Mon, 24 Apr 2006 20:58:08 +0000 (20:58 -0000)]
Use tree="vartree" for prerm, postrm, and cleanrm phases (see bug #131116).

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

18 years agoUse one aux_get call instead of 2.
Zac Medico [Mon, 24 Apr 2006 20:44:12 +0000 (20:44 -0000)]
Use one aux_get call instead of 2.

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

18 years agoUse local myroot instead of portage.root global.
Zac Medico [Mon, 24 Apr 2006 12:37:49 +0000 (12:37 -0000)]
Use local myroot instead of portage.root global.

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

18 years agoReplace finddigest usage with Manifest2 compatible code.
Zac Medico [Mon, 24 Apr 2006 11:29:04 +0000 (11:29 -0000)]
Replace finddigest usage with Manifest2 compatible code.

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

18 years agoPass a dbapi instance into doebuild_environment so that it doesn't need to access...
Zac Medico [Mon, 24 Apr 2006 10:41:34 +0000 (10:41 -0000)]
Pass a dbapi instance into doebuild_environment so that it doesn't need to access the global db directly.

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

18 years agoRemove a possibly unecessary try statement that may swallow important exceptions.
Zac Medico [Mon, 24 Apr 2006 10:29:32 +0000 (10:29 -0000)]
Remove a possibly unecessary try statement that may swallow important exceptions.

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

18 years agoReplace usage of global portage.settings with self.mysettings instead.
Zac Medico [Mon, 24 Apr 2006 09:56:59 +0000 (09:56 -0000)]
Replace usage of global portage.settings with self.mysettings instead.

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

18 years agoFix accidental usage of global settings instead of self.
Zac Medico [Mon, 24 Apr 2006 08:56:43 +0000 (08:56 -0000)]
Fix accidental usage of global settings instead of self.

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

18 years agoDo lazy initialization of portage.db[root][porttree] and db[root][vartree] for quicke...
Zac Medico [Mon, 24 Apr 2006 00:36:19 +0000 (00:36 -0000)]
Do lazy initialization of portage.db[root][porttree] and db[root][vartree] for quicker portage import.

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

18 years agoMove thirdpartymirrors stacking out of global scope.
Zac Medico [Mon, 24 Apr 2006 00:08:57 +0000 (00:08 -0000)]
Move thirdpartymirrors stacking out of global scope.

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

18 years agoMove deprecated profile check out of global scope.
Zac Medico [Sun, 23 Apr 2006 23:19:48 +0000 (23:19 -0000)]
Move deprecated profile check out of global scope.

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

18 years agoMinor emerge -V/--info fixes thanks to iggy, use portage_const PROFILE_PATH
Alec Warner [Sun, 23 Apr 2006 23:02:11 +0000 (23:02 -0000)]
Minor emerge -V/--info fixes thanks to iggy, use portage_const PROFILE_PATH

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

18 years agoMove endversion and endversion_keys to portage_versions and import them for backward...
Zac Medico [Sun, 23 Apr 2006 22:15:23 +0000 (22:15 -0000)]
Move endversion and endversion_keys to portage_versions and import them for backward compatibility.

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

18 years agoMove portage.global_updates() invocation out of portage.py and into emerge/fixpackage...
Zac Medico [Sun, 23 Apr 2006 20:52:18 +0000 (20:52 -0000)]
Move portage.global_updates() invocation out of portage.py and into emerge/fixpackages where it belongs.

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

18 years agoMake sed wrapper not executable. Currently the wrapper is installed via doexe in...
Alec Warner [Sun, 23 Apr 2006 16:36:02 +0000 (16:36 -0000)]
Make sed wrapper not executable.  Currently the wrapper is installed via doexe in the ebuild from  and gets the +x bit set properly.  I don't think we have any SVN users on BSD or Darwin.  In the future this wrapper will get installed automagically by the ebuild ( it being in bin ) but will only be set executable on non GNU platforms.

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

18 years agoFix sed breakage for people with weird PATH, fix tabs. Thanks to Flameeyes once...
Alec Warner [Sun, 23 Apr 2006 15:55:13 +0000 (15:55 -0000)]
Fix sed breakage for people with weird PATH, fix tabs.  Thanks to Flameeyes once again.

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

18 years agoset executable bit for sed-wrapper
Simon Stelling [Sun, 23 Apr 2006 14:31:17 +0000 (14:31 -0000)]
set executable bit for sed-wrapper

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

18 years agotighten up output in pretend mode
Mike Frysinger [Sun, 23 Apr 2006 07:56:29 +0000 (07:56 -0000)]
tighten up output in pretend mode

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

18 years agofixup clean output
Mike Frysinger [Sun, 23 Apr 2006 07:47:07 +0000 (07:47 -0000)]
fixup clean output

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

18 years agospace arguments
Mike Frysinger [Sun, 23 Apr 2006 07:26:10 +0000 (07:26 -0000)]
space arguments

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

18 years agoFix FileNotFound error when ignoreMissing=True for bug #130928.
Zac Medico [Sun, 23 Apr 2006 07:23:40 +0000 (07:23 -0000)]
Fix FileNotFound error when ignoreMissing=True for bug #130928.

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

18 years agoReplace hard coded "size" with MANIFEST1_HASH_FUNCTIONS.
Zac Medico [Sun, 23 Apr 2006 06:34:43 +0000 (06:34 -0000)]
Replace hard coded "size" with MANIFEST1_HASH_FUNCTIONS.

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

18 years agoRemove bogus "size" manifest entries reported by vapier.
Zac Medico [Sun, 23 Apr 2006 06:22:04 +0000 (06:22 -0000)]
Remove bogus "size" manifest entries reported by vapier.

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

18 years agoAdd copyright header, thanks to Zac Medico for pointing that out for me
Alec Warner [Sat, 22 Apr 2006 20:12:47 +0000 (20:12 -0000)]
Add copyright header, thanks to Zac Medico for pointing that out for me

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

18 years agoA sed wrapper for OSX/BSD courtesy of Flameeyes and Spanky
Alec Warner [Sat, 22 Apr 2006 20:08:55 +0000 (20:08 -0000)]
A sed wrapper for OSX/BSD courtesy of Flameeyes and Spanky

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

18 years agoDisable sandbox during package phase interaction with $PKGDIR for compatibility with...
Zac Medico [Sat, 22 Apr 2006 19:46:07 +0000 (19:46 -0000)]
Disable sandbox during package phase interaction with $PKGDIR for compatibility with symlinks (See bug #130824).

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

18 years agoPrint the actual DISTDIR location in the help ouput of clean_locks for bug #116676.
Zac Medico [Sat, 22 Apr 2006 01:10:28 +0000 (01:10 -0000)]
Print the actual DISTDIR location in the help ouput of clean_locks for bug #116676.

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

18 years agos/Do you want me/Would you like/g for bug #112439.
Zac Medico [Sat, 22 Apr 2006 00:59:15 +0000 (00:59 -0000)]
s/Do you want me/Would you like/g for bug #112439.

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

18 years agoExit with error status when the user has attempted to unmerge a package that is not...
Zac Medico [Sat, 22 Apr 2006 00:15:52 +0000 (00:15 -0000)]
Exit with error status when the user has attempted to unmerge a package that is not installed (bug #118515).

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

18 years agoFix partial download size calculation for bug #116796.
Zac Medico [Fri, 21 Apr 2006 22:34:41 +0000 (22:34 -0000)]
Fix partial download size calculation for bug #116796.

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

18 years agoFix `emerge -s` download size calculation for bug #130750.
Zac Medico [Fri, 21 Apr 2006 19:07:30 +0000 (19:07 -0000)]
Fix `emerge -s` download size calculation for bug #130750.

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

18 years agoImplement portage.config.get() in order to provide more of the standard mapping inter...
Zac Medico [Fri, 21 Apr 2006 06:40:47 +0000 (06:40 -0000)]
Implement portage.config.get() in order to provide more of the standard mapping interface.

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

18 years agoUse os.path.join for PORTAGE_GPG_DIR and remove a duplicate access check.
Zac Medico [Fri, 21 Apr 2006 05:50:21 +0000 (05:50 -0000)]
Use os.path.join for PORTAGE_GPG_DIR and remove a duplicate access check.

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

18 years agoif PORTAGE_GPG_DIR is not set then default to ~/.gnupg instead of just dumping an...
Mike Frysinger [Thu, 20 Apr 2006 23:19:45 +0000 (23:19 -0000)]
if PORTAGE_GPG_DIR is not set then default to ~/.gnupg instead of just dumping an error

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

18 years agoFix repoman --commitmsgfile logic. Thanks to Christian Heim <phreak@gentoo.org>...
Zac Medico [Thu, 20 Apr 2006 20:13:18 +0000 (20:13 -0000)]
Fix repoman --commitmsgfile logic.  Thanks to Christian Heim <phreak@gentoo.org> for reporting.

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

18 years agoAdd and "other" EBUILD_PHASE for bug #127585. Thanks to Patrick Avery <pyromancer...
Zac Medico [Thu, 20 Apr 2006 18:06:37 +0000 (18:06 -0000)]
Add and "other" EBUILD_PHASE for bug #127585.  Thanks to Patrick Avery <pyromancer@gmail.com> for this patch.

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

18 years agoUpdate Manifest automatically in repoman commit mode for bug #130541.
Zac Medico [Thu, 20 Apr 2006 05:48:30 +0000 (05:48 -0000)]
Update Manifest automatically in repoman commit mode for bug #130541.

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

18 years agosupport *.bz #130406
Mike Frysinger [Wed, 19 Apr 2006 04:52:34 +0000 (04:52 -0000)]
support *.bz #130406

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

18 years agouse just [[...]] instead of ((...)); especially when dealing with user input
Mike Frysinger [Tue, 18 Apr 2006 22:54:25 +0000 (22:54 -0000)]
use just [[...]] instead of ((...)); especially when dealing with user input

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

18 years agos/GENTOO_MIRRORs/GENTOO_MIRRORS/
Zac Medico [Tue, 18 Apr 2006 11:10:23 +0000 (11:10 -0000)]
s/GENTOO_MIRRORs/GENTOO_MIRRORS/

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

18 years agoFix gpgsign logic for bug #57445.
Zac Medico [Tue, 18 Apr 2006 09:56:47 +0000 (09:56 -0000)]
Fix gpgsign logic for bug #57445.

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

18 years agoImplement portage.config.setdefault() in order to provide more of the standard mappin...
Zac Medico [Tue, 18 Apr 2006 04:17:14 +0000 (04:17 -0000)]
Implement portage.config.setdefault() in order to provide more of the standard mapping interface.

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

18 years agoIgnore ENOENT errors when $FILESDIR doesn't exist. Thanks to Christian Heim for...
Zac Medico [Mon, 17 Apr 2006 19:57:32 +0000 (19:57 -0000)]
Ignore ENOENT errors when $FILESDIR doesn't exist.  Thanks to Christian Heim for reporting.

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

18 years agodont dump debug update info in quiet mode
Mike Frysinger [Mon, 17 Apr 2006 07:38:19 +0000 (07:38 -0000)]
dont dump debug update info in quiet mode

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

18 years agoAvoid rewritting the Manifest whenever possible by comparing the existing manifest... v2.1_pre9
Zac Medico [Mon, 17 Apr 2006 02:52:46 +0000 (02:52 -0000)]
Avoid rewritting the Manifest whenever possible by comparing the existing manifest entries to the ones that will be written.

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

18 years agotouchup emerge --help: reorder and wrap lines. credit goes to Benno Schulenberg;...
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

18 years agosync short options with the rest of emerge --help; bug 124489
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

18 years agoadd instructions how to update portage when --sync tells you to do so; bug 118715
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

18 years agomake misc-functions.sh executable as it's called directly from the python side
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

18 years agofix misuse of 'cat'
Simon Stelling [Sun, 16 Apr 2006 17:44:33 +0000 (17:44 -0000)]
fix misuse of 'cat'

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

18 years agoeat whitespace
Mike Frysinger [Sun, 16 Apr 2006 04:50:41 +0000 (04:50 -0000)]
eat whitespace

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

18 years agouse a temp file but this time cut out the duplicate calls to `find`
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

18 years agoMake find arguments portable for bug #129935 and remove temp file usage for bug ...
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

18 years agoOverride LazyItemsDict.update() so that it works correctly with other instances of...
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

18 years agotouchup syntax and dont execute the loop as many times
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

18 years agouse strip_duplicate_slashes instead of "for 1 2 3 do var=${var/\/\///}"
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

18 years agoremove all unneeded slashes, not only // or ///
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

18 years ago`` must die
Simon Stelling [Sat, 15 Apr 2006 18:42:28 +0000 (18:42 -0000)]
`` must die

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

18 years agosome more hasq fixes
Simon Stelling [Sat, 15 Apr 2006 18:11:43 +0000 (18:11 -0000)]
some more hasq fixes

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

18 years agouse has instead of bloated bash constructs
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

18 years agofix typo from rev 3151
Simon Stelling [Sat, 15 Apr 2006 12:10:50 +0000 (12:10 -0000)]
fix typo from rev 3151

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

18 years agoonly move $T/environment if it exists; bug 64926
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

18 years agoSplit out a reusable Manifest._readManifest() method.
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

18 years agoAdd singleton support to LazyItemsDict to make it easier to use with arbitrary functi...
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

18 years agoCatch fetch_check FileNotFound exceptions for bug #129962.
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

18 years agoRun chflags only when needed for bug #129852. Thanks to Diego Pettenò for the patch.
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

18 years agoPreserve the mysettings["SLOT"] for bug #129720.
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

18 years agoFix a typo from the last revision.
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

18 years agoFix collision-protect logic so the correct cpv is used for slot comparison.
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

18 years agoAdd an initial_items parameter to the LazyItemsDict constructor in order to facilitat...
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

18 years agoFix digestcheck logic for bug #129839.
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

18 years agoexit if user hits the cancel button in dialog mode; bug 108137
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

18 years agodon't declare input as integer, or etc-update will crash whenever the user enters...
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