portage.git
18 years agoDocument userfetch for bug #133975. Thanks to RiverRat for this patch. v2.1_rc2
Zac Medico [Tue, 23 May 2006 03:23:41 +0000 (03:23 -0000)]
Document userfetch for bug #133975.  Thanks to RiverRat for this patch.

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

18 years agoFix a bug that causes hashes of random types (mostly SHA1, from my experience) to...
Zac Medico [Mon, 22 May 2006 09:05:46 +0000 (09:05 -0000)]
Fix a bug that causes hashes of random types (mostly SHA1, from my experience) to be erroneously discarded due to dictionary assignment instead up update.

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

18 years agoDon't warn about RESTRICT=test unless FEATURES=test is enabled for bug #134004.
Zac Medico [Mon, 22 May 2006 07:47:08 +0000 (07:47 -0000)]
Don't warn about RESTRICT=test unless FEATURES=test is enabled for bug #134004.

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

18 years agoFix userfetch so that it works regardless of whether or not userpriv is enabled for...
Zac Medico [Mon, 22 May 2006 05:59:02 +0000 (05:59 -0000)]
Fix userfetch so that it works regardless of whether or not userpriv is enabled for bug #133995.  I've used portage_exec.spawn_bash() here because portage.spawn() should really only be used for actual ebuild phases in doebuild() and spawnebuild().

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

18 years agoFix bad spelling of "privileges" in userpriv docs.
Zac Medico [Sun, 21 May 2006 21:48:03 +0000 (21:48 -0000)]
Fix bad spelling of "privileges" in userpriv docs.

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

18 years agoDocument userfetch for bug #133975.
Zac Medico [Sun, 21 May 2006 20:45:45 +0000 (20:45 -0000)]
Document userfetch for bug #133975.

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

18 years agoDon't include a redundant size field with the other hashes when creating manifest2...
Zac Medico [Sun, 21 May 2006 18:59:11 +0000 (18:59 -0000)]
Don't include a redundant size field with the other hashes when creating manifest2 entries.  Thanks to solar for reporting.

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

18 years agoValidate the CATEGORY data in portage.config.load_infodir() and print a warning messa...
Zac Medico [Sun, 21 May 2006 04:41:13 +0000 (04:41 -0000)]
Validate the CATEGORY data in portage.config.load_infodir() and print a warning message if corruption is detected.

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

18 years agoIn order to help protect users, make AUTOCLEAN case insensitive.
Zac Medico [Fri, 19 May 2006 09:55:56 +0000 (09:55 -0000)]
In order to help protect users, make AUTOCLEAN case insensitive.

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

18 years agoAdd --nocolor to emerge's short help for bug #133734. Thanks to gabebw@gmail.com...
Zac Medico [Fri, 19 May 2006 01:01:34 +0000 (01:01 -0000)]
Add --nocolor to emerge's short help for bug #133734. Thanks to gabebw@gmail.com for this patch.

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

18 years agoCatch a ValueError thrown from cpv_expand and use it print an error message (to stder...
Zac Medico [Fri, 19 May 2006 00:39:05 +0000 (00:39 -0000)]
Catch a ValueError thrown from cpv_expand and use it print an error message (to stderr) which includes a list of packages for bug #133731.  No changes to quickpkg are necessary because it doesn't get anything from portageq on stdout in this case and it simply assumes there is no match.

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

18 years agoFix prepstrip split-debug paths for bug #133628. Thanks to kevquinn for this patch.
Zac Medico [Thu, 18 May 2006 08:59:17 +0000 (08:59 -0000)]
Fix prepstrip split-debug paths for bug #133628.  Thanks to kevquinn for this patch.

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

18 years agoRevert r3371 because it doesn't fix the real problem and get ROOT directly from porta...
Zac Medico [Thu, 18 May 2006 08:45:09 +0000 (08:45 -0000)]
Revert r3371 because it doesn't fix the real problem and get ROOT directly from portage.settings["ROOT"] since self.pkgsettings["ROOT"] does not have the desired value.

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

18 years agoCatch PackageNotFound exceptions from unmerge() for bug #133606.
Zac Medico [Thu, 18 May 2006 07:22:24 +0000 (07:22 -0000)]
Catch PackageNotFound exceptions from unmerge() for bug #133606.

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

18 years agoCorrectly autoclean build time dependencies that have been upgraded in / when ROOT...
Zac Medico [Thu, 18 May 2006 05:25:45 +0000 (05:25 -0000)]
Correctly autoclean build time dependencies that have been upgraded in / when ROOT!=/ for bug #133606.  This patch duplicates code from emerge's unmerge() function in order to touch as little existing code as possible.

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

18 years agoWhen portage is upgraded, only restart emerge when destroot="/". Also, clean up...
Zac Medico [Wed, 17 May 2006 22:30:37 +0000 (22:30 -0000)]
When portage is upgraded, only restart emerge when destroot="/".  Also, clean up and fix the related logic in depgraph.display().

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

18 years agoFix repoman to grab categores, arch.list, and package.mask from the proper locations...
Zac Medico [Wed, 17 May 2006 20:55:45 +0000 (20:55 -0000)]
Fix repoman to grab categores, arch.list, and package.mask from the proper locations when scanning an overlay.  Thanks to mcummings for reporting.

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

18 years agos/mtarget/mtune/g for bug #133528.
Zac Medico [Wed, 17 May 2006 07:08:57 +0000 (07:08 -0000)]
s/mtarget/mtune/g for bug #133528.

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

18 years agoPrint a warning message when AUTOCLEAN is disabled because it's quite dangerous.
Zac Medico [Wed, 17 May 2006 05:44:32 +0000 (05:44 -0000)]
Print a warning message when AUTOCLEAN is disabled because it's quite dangerous.

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

18 years agoFix portage.getmaskingreason() so that it properly stacks all available package.mask...
Zac Medico [Tue, 16 May 2006 20:23:35 +0000 (20:23 -0000)]
Fix portage.getmaskingreason() so that it properly stacks all available package.mask files for bug #104000.

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

18 years agoAdd a warning message for AUTOCLEAN="no". Thanks to jakub for reporting.
Zac Medico [Tue, 16 May 2006 19:54:10 +0000 (19:54 -0000)]
Add a warning message for AUTOCLEAN="no".  Thanks to jakub for reporting.

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

18 years agoAdd + to the --changelog regex so that dvd+rw-tools works for bug #133288.
Zac Medico [Tue, 16 May 2006 06:10:23 +0000 (06:10 -0000)]
Add + to the --changelog regex so that dvd+rw-tools works for bug #133288.

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

18 years agoAdd some PORTAGE_CONFIGROOT documentation for bug #131925. Thanks to Christian Heim...
Zac Medico [Tue, 16 May 2006 05:50:06 +0000 (05:50 -0000)]
Add some PORTAGE_CONFIGROOT documentation for bug #131925.  Thanks to Christian Heim for this patch.

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

18 years agoFix for bug 133363, thanks to <world.root@gmail.com> for reporting.
Alec Warner [Mon, 15 May 2006 12:50:50 +0000 (12:50 -0000)]
Fix for bug 133363, thanks to <world.root@gmail.com> for reporting.

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

18 years agoFix a typo from r3357.
Zac Medico [Mon, 15 May 2006 04:25:43 +0000 (04:25 -0000)]
Fix a typo from r3357.

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

18 years agoAdd back the rstrip(os.path.sep) which is needed in the case where ROOT=/ (regression...
Zac Medico [Mon, 15 May 2006 04:20:22 +0000 (04:20 -0000)]
Add back the rstrip(os.path.sep) which is needed in the case where ROOT=/ (regression from r3356).

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

18 years agoRevert the performance optimization from r3355 in favor of maximum robustness.
Zac Medico [Mon, 15 May 2006 03:06:27 +0000 (03:06 -0000)]
Revert the performance optimization from r3355 in favor of maximum robustness.

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

18 years agoEnsure that ${ROOT} is normalized for bug #90444.
Zac Medico [Mon, 15 May 2006 02:40:19 +0000 (02:40 -0000)]
Ensure that ${ROOT} is normalized for bug #90444.

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

18 years agoRemove unnecessary and time consuming normpath call for bug #90444.
Zac Medico [Mon, 15 May 2006 02:27:59 +0000 (02:27 -0000)]
Remove unnecessary and time consuming normpath call for bug #90444.

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

18 years agoEnsure a sane global umask for bug #133307 (regression from r3228).
Zac Medico [Sun, 14 May 2006 21:42:02 +0000 (21:42 -0000)]
Ensure a sane global umask for bug #133307 (regression from r3228).

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

18 years agoWheel != secpass=1, so kill it. Wheel grants you nothing wrt portage perms.
Alec Warner [Sun, 14 May 2006 21:07:09 +0000 (21:07 -0000)]
Wheel != secpass=1, so kill it.  Wheel grants you nothing wrt portage perms.

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

18 years agostrip leading slash in output
Mike Frysinger [Sun, 14 May 2006 13:42:52 +0000 (13:42 -0000)]
strip leading slash in output

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

18 years agoyou have to quote $@ or things can break
Mike Frysinger [Sun, 14 May 2006 13:40:08 +0000 (13:40 -0000)]
you have to quote $@ or things can break

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

18 years agoUse iteritems() instead of items() because an iterator uses less memory.
Zac Medico [Sun, 14 May 2006 12:08:23 +0000 (12:08 -0000)]
Use iteritems() instead of items() because an iterator uses less memory.

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

18 years agoWrite raw bytes instead of attempting to encode as utf-8 for bug #133287.
Zac Medico [Sun, 14 May 2006 11:39:26 +0000 (11:39 -0000)]
Write raw bytes instead of attempting to encode as utf-8 for bug #133287.

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

18 years agoMake portdbapi._init_cache_dirs() obey self.depcachedir.
Zac Medico [Sun, 14 May 2006 07:07:10 +0000 (07:07 -0000)]
Make portdbapi._init_cache_dirs() obey self.depcachedir.

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

18 years agoMake portdbapi obey self.depcachedir instead of using portage_const.DEPCACHE_PATH...
Zac Medico [Sun, 14 May 2006 06:24:44 +0000 (06:24 -0000)]
Make portdbapi obey self.depcachedir instead of using portage_const.DEPCACHE_PATH directly.

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

18 years agoAllow `emerge --metadata` and `emerge --regen` for users in the portage group(bug...
Zac Medico [Sat, 13 May 2006 22:19:58 +0000 (22:19 -0000)]
Allow `emerge --metadata` and `emerge --regen` for users in the portage group(bug #133157).

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

18 years agos/DEPEND atoms/package atoms/ for better wording
Zac Medico [Fri, 12 May 2006 22:39:08 +0000 (22:39 -0000)]
s/DEPEND atoms/package atoms/ for better wording

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

18 years agoMake /etc/portage/bashrc relative to PORTAGE_CONFIGROOT. v2.1_rc1
Zac Medico [Fri, 12 May 2006 21:40:42 +0000 (21:40 -0000)]
Make /etc/portage/bashrc relative to PORTAGE_CONFIGROOT.

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

18 years agoAdd some documentation for /etc/portage/modules and metadata_overlay.
Zac Medico [Fri, 12 May 2006 21:13:38 +0000 (21:13 -0000)]
Add some documentation for /etc/portage/modules and metadata_overlay.

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

18 years agoRevert r3339 because r3301 makes it unnecessary. See bug #133055.
Zac Medico [Fri, 12 May 2006 18:41:39 +0000 (18:41 -0000)]
Revert r3339 because r3301 makes it unnecessary.  See bug #133055.

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

18 years agoMinor 1 liner for bug 131657
Alec Warner [Thu, 11 May 2006 23:54:51 +0000 (23:54 -0000)]
Minor 1 liner for bug 131657

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

18 years agoFix bug 113055, Binpkg's need SLOT in mysettings
Alec Warner [Thu, 11 May 2006 19:46:01 +0000 (19:46 -0000)]
Fix bug 113055, Binpkg's need SLOT in mysettings

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

18 years agoNeglect EOFError during mtimedb loading since this error seems to be common when...
Zac Medico [Wed, 10 May 2006 03:52:46 +0000 (03:52 -0000)]
Neglect EOFError during mtimedb loading since this error seems to be common when the mtimedb has been corrupted.

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

18 years agoremove unused STICKIES variable
Mike Frysinger [Wed, 10 May 2006 02:39:17 +0000 (02:39 -0000)]
remove unused STICKIES variable

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

18 years agoOnly adjust priority for PORTAGE_NICENESS on the first run for bug #132739.
Zac Medico [Wed, 10 May 2006 00:31:53 +0000 (00:31 -0000)]
Only adjust priority for PORTAGE_NICENESS on the first run for bug #132739.

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

18 years agoslightly easier test to read for DISTDR/unpack check
Mike Frysinger [Tue, 9 May 2006 02:08:20 +0000 (02:08 -0000)]
slightly easier test to read for DISTDR/unpack check

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

18 years agoUse os.path.realpath instead of portage.abssymlink to resolve /etc/make.profile becau...
Zac Medico [Mon, 8 May 2006 20:26:14 +0000 (20:26 -0000)]
Use os.path.realpath instead of portage.abssymlink to resolve /etc/make.profile because abssymlink throws an OSError: [Errno 22] Invalid argument exception when repoman passes in an absolute profile path that isn't a symlink.

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

18 years agoGive a less confusing error message when unpack() arguments begin with ${DISTDIR...
Zac Medico [Mon, 8 May 2006 17:55:58 +0000 (17:55 -0000)]
Give a less confusing error message when unpack() arguments begin with ${DISTDIR}.  Thanks to Flameeyes for reporting.

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

18 years agoPrevent a TypeError exception when the /etc/make.profile symlink is broken on nonexis...
Zac Medico [Mon, 8 May 2006 07:48:21 +0000 (07:48 -0000)]
Prevent a TypeError exception when the /etc/make.profile symlink is broken on nonexistent.

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

18 years agoCatch FileNotFound exception and print a message when a file listed in the Manifest...
Zac Medico [Mon, 8 May 2006 06:24:29 +0000 (06:24 -0000)]
Catch FileNotFound exception and print a message when a file listed in the Manifest could not be found.

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

18 years agoMove the fake $HOME that's used for ebuilds from $PORTAGE_TMPDIR/portage/homedir...
Zac Medico [Mon, 8 May 2006 01:28:20 +0000 (01:28 -0000)]
Move the fake $HOME that's used for ebuilds from $PORTAGE_TMPDIR/portage/homedir to $PORTAGE_BUILDDIR/homedir so that each build has a unique $HOME for bug #130395.

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

18 years agoFix a potential NameError due to 'cpv' being undefined in the namespace and also...
Zac Medico [Sun, 7 May 2006 20:36:02 +0000 (20:36 -0000)]
Fix a potential NameError due to 'cpv' being undefined in the namespace and also fix a potential AttributeError due to an attempt to call reconstruct_eclasses() on a dict object that has already been reconstructed in flat_hash.database._parse_data().

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

18 years agoProperly encode metadata strings as utf-8 in order to avoid "UnicodeEncodeError:...
Zac Medico [Sun, 7 May 2006 19:01:58 +0000 (19:01 -0000)]
Properly encode metadata strings as utf-8 in order to avoid "UnicodeEncodeError: 'ascii' codec can't encode character" exception when
given a unicode string.

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

18 years agoReplace inappropriate use of writelines with normal write.
Zac Medico [Sun, 7 May 2006 06:54:59 +0000 (06:54 -0000)]
Replace inappropriate use of writelines with normal write.

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

18 years agoFix portage.config handling of ROOT and PORTAGE_CONFIGROOT for bug #132442.
Zac Medico [Sat, 6 May 2006 18:37:18 +0000 (18:37 -0000)]
Fix portage.config handling of ROOT and PORTAGE_CONFIGROOT for bug #132442.

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

18 years agomake rsync variable messages a bit less inviting
Marius Mauch [Sat, 6 May 2006 13:23:02 +0000 (13:23 -0000)]
make rsync variable messages a bit less inviting

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

18 years agoCatch a KeyError and report a missing digest for bug #132410.
Zac Medico [Sat, 6 May 2006 11:52:51 +0000 (11:52 -0000)]
Catch a KeyError and report a missing digest for bug #132410.

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

18 years agoRemove the uppercase requirement on flat_hash metadata keys so that _eclasses_ will...
Zac Medico [Sat, 6 May 2006 02:34:47 +0000 (02:34 -0000)]
Remove the uppercase requirement on flat_hash metadata keys so that _eclasses_ will work.  This is equivalent to the patch by Brian Harring that went into 2.0.54-r2 for forward compatibility with planned changes in the rsync metadata cache.

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

18 years agoObey self.incrementals in config.regenerate() instead of using portage_const.INCREMEN...
Zac Medico [Sat, 6 May 2006 02:11:17 +0000 (02:11 -0000)]
Obey self.incrementals in config.regenerate() instead of using portage_const.INCREMENTALS directly.

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

18 years agoCatch a KeyError and notify the user of a missing digest for bug #132373.
Zac Medico [Fri, 5 May 2006 21:04:04 +0000 (21:04 -0000)]
Catch a KeyError and notify the user of a missing digest for bug #132373.

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

18 years agoReimplement the fix for bug #79566 more cleanly (the -* hack seems quite non-intuitive).
Zac Medico [Fri, 5 May 2006 18:10:20 +0000 (18:10 -0000)]
Reimplement the fix for bug #79566 more cleanly (the -* hack seems quite non-intuitive).

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

18 years agoFix some small typos in ebuild.sh for bug #86151. Thanks to Yoshino for this patch.
Zac Medico [Thu, 4 May 2006 18:00:17 +0000 (18:00 -0000)]
Fix some small typos in ebuild.sh for bug #86151.  Thanks to Yoshino for this patch.

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

18 years agoMake sure that cloned FEATURES are correctly preserved by getting them directly from...
Zac Medico [Thu, 4 May 2006 10:15:55 +0000 (10:15 -0000)]
Make sure that cloned FEATURES are correctly preserved by getting them directly from the backupenv instead of going through the lookuplist (Bug #132196).

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

18 years agoBring back FEATURES="assume-digests" for bug #132182.
Zac Medico [Thu, 4 May 2006 02:44:01 +0000 (02:44 -0000)]
Bring back FEATURES="assume-digests" for bug #132182.

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

18 years agoImprove the error message when an eclass is not found and remove unnecesary ERRORMSG...
Zac Medico [Wed, 3 May 2006 23:00:08 +0000 (23:00 -0000)]
Improve the error message when an eclass is not found and remove unnecesary ERRORMSG variable.

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

18 years agoCatch an uncaught CacheCorruption for the traceback from bug #126692.
Zac Medico [Wed, 3 May 2006 19:02:34 +0000 (19:02 -0000)]
Catch an uncaught CacheCorruption for the traceback from bug #126692.

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

18 years agoreadd not-so pointless if statement
Simon Stelling [Wed, 3 May 2006 17:07:02 +0000 (17:07 -0000)]
readd not-so pointless if statement

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

18 years agoremove pointless if statement
Simon Stelling [Tue, 2 May 2006 19:29:40 +0000 (19:29 -0000)]
remove pointless if statement

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

18 years agobest_version doesn't return different codes depending on whether it found a match...
Simon Stelling [Tue, 2 May 2006 18:53:55 +0000 (18:53 -0000)]
best_version doesn't return different codes depending on whether it found a match or not, it's has_version; bug 130655

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

18 years agocatch ENOENT and ENOTDIR in clean_locks to prevent ugly tracebacks; bug 124164
Simon Stelling [Tue, 2 May 2006 17:54:19 +0000 (17:54 -0000)]
catch ENOENT and ENOTDIR in clean_locks to prevent ugly tracebacks; bug 124164

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

18 years agouse hasq where appropriate
Simon Stelling [Tue, 2 May 2006 16:10:56 +0000 (16:10 -0000)]
use hasq where appropriate

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

18 years agolet 'emerge -h world' print a nice help message powered by antarus; bug 67448
Simon Stelling [Tue, 2 May 2006 13:15:54 +0000 (13:15 -0000)]
let 'emerge -h world' print a nice help message powered by antarus; bug 67448

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

18 years agouse escaping code that works for mrxvt too; thanks to nelchael for the patch; bug...
Simon Stelling [Tue, 2 May 2006 13:08:53 +0000 (13:08 -0000)]
use escaping code that works for mrxvt too; thanks to nelchael for the patch; bug 117509

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

18 years agorevert rev 3300 as it has various issues and doesn't fully solve the problem
Simon Stelling [Tue, 2 May 2006 09:31:04 +0000 (09:31 -0000)]
revert rev 3300 as it has various issues and doesn't fully solve the problem

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

18 years agoMigrate old digest-* code in portage.fetch() to be Manifest2 compatible.
Zac Medico [Tue, 2 May 2006 06:22:19 +0000 (06:22 -0000)]
Migrate old digest-* code in portage.fetch() to be Manifest2 compatible.

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

18 years agofix a typo from the last revision
Zac Medico [Tue, 2 May 2006 06:11:35 +0000 (06:11 -0000)]
fix a typo from the last revision

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

18 years agoProperly join CUSTOM_MIRRORS_FILE with PORTAGE_CONFIG_ROOT in portage.fetch().
Zac Medico [Tue, 2 May 2006 06:10:10 +0000 (06:10 -0000)]
Properly join CUSTOM_MIRRORS_FILE with PORTAGE_CONFIG_ROOT in portage.fetch().

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

18 years agoRemove an extra aux_get call in doebuild and combine it with another aux_get call...
Zac Medico [Tue, 2 May 2006 05:09:23 +0000 (05:09 -0000)]
Remove an extra aux_get call in doebuild and combine it with another aux_get call in doebuild_environment.

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

18 years agodon't let profile.env overwrite variables that are already set; bug 130229
Simon Stelling [Mon, 1 May 2006 22:41:19 +0000 (22:41 -0000)]
don't let profile.env overwrite variables that are already set; bug 130229

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

18 years agoAdd a new sqlite cache module (one I wrote) that has acceptable performance.
Zac Medico [Mon, 1 May 2006 22:13:13 +0000 (22:13 -0000)]
Add a new sqlite cache module (one I wrote) that has acceptable performance.

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

18 years agoRemove sqlite.py because it's performance is unacceptable and it is therefore useless.
Zac Medico [Mon, 1 May 2006 21:54:15 +0000 (21:54 -0000)]
Remove sqlite.py because it's performance is unacceptable and it is therefore useless.

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

18 years agoreplace hardcoded /usr/lib/portage/bin with PORTAGE_BIN_PATH, defaulting to the hardc...
Simon Stelling [Mon, 1 May 2006 21:33:34 +0000 (21:33 -0000)]
replace hardcoded /usr/lib/portage/bin with PORTAGE_BIN_PATH, defaulting to the hardcoded value

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

18 years agomake portage shut up if --quiet is given; bug 62273
Simon Stelling [Mon, 1 May 2006 21:12:04 +0000 (21:12 -0000)]
make portage shut up if --quiet is given; bug 62273

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

18 years agorevert my last commit except for the parts i really wanted to commit
Simon Stelling [Mon, 1 May 2006 18:51:48 +0000 (18:51 -0000)]
revert my last commit except for the parts i really wanted to commit

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

18 years agoallow escaping in elog_base() to fix bug 131913
Simon Stelling [Mon, 1 May 2006 18:34:37 +0000 (18:34 -0000)]
allow escaping in elog_base() to fix bug 131913

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

18 years agoDon't skip regenerate() because leads to 'Problem resolving dependencies' from emerge...
Zac Medico [Mon, 1 May 2006 10:09:22 +0000 (10:09 -0000)]
Don't skip regenerate() because leads to 'Problem resolving dependencies' from emerge.  Thanks to swegener for reporting.

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

18 years agoMake sure that emerge really removes noauto from FEATURES for bug #131820.
Zac Medico [Mon, 1 May 2006 07:29:28 +0000 (07:29 -0000)]
Make sure that emerge really removes noauto from FEATURES for bug #131820.

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

18 years agoInitial PORTAGE_CONFIGROOT support in the portage.config class for bug #73350.
Zac Medico [Mon, 1 May 2006 04:25:36 +0000 (04:25 -0000)]
Initial PORTAGE_CONFIGROOT support in the portage.config class for bug #73350.

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

18 years agoAdd cfg-update to the list of happy config file managers.
Alec Warner [Sun, 30 Apr 2006 16:06:08 +0000 (16:06 -0000)]
Add cfg-update to the list of happy config file managers.

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

18 years ago- People have started RESTRICTing "stricter", which we would like to discourage....
Ned Ludd [Sun, 30 Apr 2006 14:17:49 +0000 (14:17 -0000)]
- People have started RESTRICTing "stricter", which we would like to discourage. bug 131779 (kevquinn)

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

18 years ago- be sure to remove o+w bits on debug files
Ned Ludd [Sun, 30 Apr 2006 14:16:37 +0000 (14:16 -0000)]
- be sure to remove o+w bits on debug files

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

18 years agoPass a vartree instance into portage.unmerge() to avoid globals.
Zac Medico [Sun, 30 Apr 2006 11:57:19 +0000 (11:57 -0000)]
Pass a vartree instance into portage.unmerge() to avoid globals.

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

18 years agoHandle the doebuild's unmerge phase before setting up logfile because unmerge doesn...
Zac Medico [Sun, 30 Apr 2006 11:43:54 +0000 (11:43 -0000)]
Handle the doebuild's unmerge phase before setting up logfile because unmerge doesn't use the log.

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

18 years agoAvoid global db usage in doebuild() except when absolutely necessary.
Zac Medico [Sun, 30 Apr 2006 11:38:03 +0000 (11:38 -0000)]
Avoid global db usage in doebuild() except when absolutely necessary.

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

18 years agoUpdate portage config update messages to mention dispatch-conf (in addition to etc...
Zac Medico [Sun, 30 Apr 2006 11:00:58 +0000 (11:00 -0000)]
Update portage config update messages to mention dispatch-conf (in addition to etc-update).  Thanks to genstef for reporting this.

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

18 years agoPrint disfiles file names for bug #131774. I've removed the [ OK ] from okaymsg...
Zac Medico [Sun, 30 Apr 2006 09:08:50 +0000 (09:08 -0000)]
Print disfiles file names for bug #131774.  I've removed the [ OK ] from okaymsg because the wink makes it redundant.

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

18 years agoretain important historical aspects of the checksum messages
Mike Frysinger [Sun, 30 Apr 2006 08:39:53 +0000 (08:39 -0000)]
retain important historical aspects of the checksum messages

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

18 years agoAdd PORTAGE_BIN_PATH and PORTAGE_PYM_PATH to the enviroment and use them to replace...
Zac Medico [Sun, 30 Apr 2006 08:38:20 +0000 (08:38 -0000)]
Add PORTAGE_BIN_PATH and PORTAGE_PYM_PATH to the enviroment and use them to replace hard coded paths in ebuild.sh and misc-functions.sh.

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