summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug that causes hashes of random types (mostly SHA1, from my ↵Zac Medico2006-05-221-1/+1
| | | | | | experience) to be erroneously discarded due to dictionary assignment instead up update. svn path=/main/trunk/; revision=3390
* Fix userfetch so that it works regardless of whether or not userpriv is ↵Zac Medico2006-05-221-3/+17
| | | | | | 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
* Don't include a redundant size field with the other hashes when creating ↵Zac Medico2006-05-211-0/+1
| | | | | | manifest2 entries. Thanks to solar for reporting. svn path=/main/trunk/; revision=3383
* Validate the CATEGORY data in portage.config.load_infodir() and print a ↵Zac Medico2006-05-211-3/+11
| | | | | | warning message if corruption is detected. svn path=/main/trunk/; revision=3382
* Add --nocolor to emerge's short help for bug #133734. Thanks to ↵Zac Medico2006-05-191-1/+1
| | | | | | gabebw@gmail.com for this patch. svn path=/main/trunk/; revision=3377
* Fix repoman to grab categores, arch.list, and package.mask from the proper ↵Zac Medico2006-05-171-4/+7
| | | | | | locations when scanning an overlay. Thanks to mcummings for reporting. svn path=/main/trunk/; revision=3368
* Fix portage.getmaskingreason() so that it properly stacks all available ↵Zac Medico2006-05-161-1/+16
| | | | | | package.mask files for bug #104000. svn path=/main/trunk/; revision=3365
* Fix a typo from r3357.Zac Medico2006-05-151-1/+1
| | | | svn path=/main/trunk/; revision=3359
* Add back the rstrip(os.path.sep) which is needed in the case where ROOT=/ ↵Zac Medico2006-05-151-2/+4
| | | | | | (regression from r3356). svn path=/main/trunk/; revision=3358
* Revert the performance optimization from r3355 in favor of maximum robustness.Zac Medico2006-05-151-1/+2
| | | | svn path=/main/trunk/; revision=3357
* Ensure that ${ROOT} is normalized for bug #90444.Zac Medico2006-05-151-2/+2
| | | | svn path=/main/trunk/; revision=3356
* Remove unnecessary and time consuming normpath call for bug #90444.Zac Medico2006-05-151-1/+1
| | | | svn path=/main/trunk/; revision=3355
* Ensure a sane global umask for bug #133307 (regression from r3228).Zac Medico2006-05-141-0/+3
| | | | svn path=/main/trunk/; revision=3354
* Wheel != secpass=1, so kill it. Wheel grants you nothing wrt portage perms.Alec Warner2006-05-141-4/+1
| | | | svn path=/main/trunk/; revision=3353
* Use iteritems() instead of items() because an iterator uses less memory.Zac Medico2006-05-141-1/+1
| | | | svn path=/main/trunk/; revision=3350
* Write raw bytes instead of attempting to encode as utf-8 for bug #133287.Zac Medico2006-05-141-1/+1
| | | | svn path=/main/trunk/; revision=3349
* Make portdbapi._init_cache_dirs() obey self.depcachedir.Zac Medico2006-05-141-2/+1
| | | | svn path=/main/trunk/; revision=3348
* Make portdbapi obey self.depcachedir instead of using ↵Zac Medico2006-05-141-1/+1
| | | | | | portage_const.DEPCACHE_PATH directly. svn path=/main/trunk/; revision=3347
* Make /etc/portage/bashrc relative to PORTAGE_CONFIGROOT.v2.1_rc1Zac Medico2006-05-121-1/+2
| | | | svn path=/main/trunk/; revision=3343
* Revert r3339 because r3301 makes it unnecessary. See bug #133055.Zac Medico2006-05-121-3/+0
| | | | svn path=/main/trunk/; revision=3341
* Fix bug 113055, Binpkg's need SLOT in mysettingsAlec Warner2006-05-111-0/+3
| | | | svn path=/main/trunk/; revision=3339
* Neglect EOFError during mtimedb loading since this error seems to be common ↵Zac Medico2006-05-101-1/+1
| | | | | | when the mtimedb has been corrupted. svn path=/main/trunk/; revision=3338
* remove unused STICKIES variableMike Frysinger2006-05-102-2/+1
| | | | svn path=/main/trunk/; revision=3337
* Use os.path.realpath instead of portage.abssymlink to resolve ↵Zac Medico2006-05-081-1/+1
| | | | | | /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
* Prevent a TypeError exception when the /etc/make.profile symlink is broken ↵Zac Medico2006-05-081-12/+10
| | | | | | on nonexistent. svn path=/main/trunk/; revision=3332
* Catch FileNotFound exception and print a message when a file listed in the ↵Zac Medico2006-05-081-0/+3
| | | | | | Manifest could not be found. svn path=/main/trunk/; revision=3331
* Move the fake $HOME that's used for ebuilds from ↵Zac Medico2006-05-081-1/+1
| | | | | | $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
* Fix a potential NameError due to 'cpv' being undefined in the namespace and ↵Zac Medico2006-05-071-3/+5
| | | | | | 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
* Properly encode metadata strings as utf-8 in order to avoid ↵Zac Medico2006-05-071-1/+1
| | | | | | | | "UnicodeEncodeError: 'ascii' codec can't encode character" exception when given a unicode string. svn path=/main/trunk/; revision=3328
* Replace inappropriate use of writelines with normal write.Zac Medico2006-05-071-1/+1
| | | | svn path=/main/trunk/; revision=3327
* Fix portage.config handling of ROOT and PORTAGE_CONFIGROOT for bug #132442.Zac Medico2006-05-061-3/+5
| | | | svn path=/main/trunk/; revision=3326
* Catch a KeyError and report a missing digest for bug #132410.Zac Medico2006-05-061-0/+3
| | | | svn path=/main/trunk/; revision=3324
* Remove the uppercase requirement on flat_hash metadata keys so that ↵Zac Medico2006-05-061-3/+1
| | | | | | _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
* Obey self.incrementals in config.regenerate() instead of using ↵Zac Medico2006-05-061-1/+1
| | | | | | portage_const.INCREMENTALS directly. svn path=/main/trunk/; revision=3322
* Reimplement the fix for bug #79566 more cleanly (the -* hack seems quite ↵Zac Medico2006-05-051-1/+9
| | | | | | non-intuitive). svn path=/main/trunk/; revision=3320
* Make sure that cloned FEATURES are correctly preserved by getting them ↵Zac Medico2006-05-041-6/+8
| | | | | | directly from the backupenv instead of going through the lookuplist (Bug #132196). svn path=/main/trunk/; revision=3318
* Bring back FEATURES="assume-digests" for bug #132182.Zac Medico2006-05-042-14/+22
| | | | svn path=/main/trunk/; revision=3317
* Catch an uncaught CacheCorruption for the traceback from bug #126692.Zac Medico2006-05-031-1/+7
| | | | svn path=/main/trunk/; revision=3313
* let 'emerge -h world' print a nice help message powered by antarus; bug 67448Simon Stelling2006-05-021-1/+13
| | | | svn path=/main/trunk/; revision=3307
* use escaping code that works for mrxvt too; thanks to nelchael for the ↵Simon Stelling2006-05-021-1/+1
| | | | | | patch; bug 117509 svn path=/main/trunk/; revision=3306
* Migrate old digest-* code in portage.fetch() to be Manifest2 compatible.Zac Medico2006-05-021-4/+2
| | | | svn path=/main/trunk/; revision=3304
* fix a typo from the last revisionZac Medico2006-05-021-1/+1
| | | | svn path=/main/trunk/; revision=3303
* Properly join CUSTOM_MIRRORS_FILE with PORTAGE_CONFIG_ROOT in portage.fetch().Zac Medico2006-05-021-1/+2
| | | | svn path=/main/trunk/; revision=3302
* Remove an extra aux_get call in doebuild and combine it with another aux_get ↵Zac Medico2006-05-021-10/+3
| | | | | | call in doebuild_environment. svn path=/main/trunk/; revision=3301
* Add a new sqlite cache module (one I wrote) that has acceptable performance.Zac Medico2006-05-011-0/+237
| | | | svn path=/main/trunk/; revision=3299
* Remove sqlite.py because it's performance is unacceptable and it is ↵Zac Medico2006-05-011-67/+0
| | | | | | therefore useless. svn path=/main/trunk/; revision=3298
* Don't skip regenerate() because leads to 'Problem resolving dependencies' ↵Zac Medico2006-05-011-6/+10
| | | | | | from emerge. Thanks to swegener for reporting. svn path=/main/trunk/; revision=3293
* Make sure that emerge really removes noauto from FEATURES for bug #131820.Zac Medico2006-05-011-1/+6
| | | | svn path=/main/trunk/; revision=3292
* Initial PORTAGE_CONFIGROOT support in the portage.config class for bug #73350.Zac Medico2006-05-011-33/+64
| | | | svn path=/main/trunk/; revision=3291
* Add cfg-update to the list of happy config file managers.Alec Warner2006-04-302-5/+5
| | | | svn path=/main/trunk/; revision=3290