summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Add droppriv keyword for the depend phase. (trunk r7385)Zac Medico2007-07-241-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7386
* Add FEATURES=fakeroot support which causes install and package phases to run ↵Zac Medico2007-07-241-21/+23
| | | | | | inside fakeroot when a non-root user runs the ebuild command. Thanks to swegener for the initial patch. (trunk r7379) svn path=/main/branches/2.1.2/; revision=7380
* Drop privileges in the "depend" phase regardless of FEATURES and RESTRICT ↵Zac Medico2007-07-231-10/+12
| | | | | | since that phase should never need special privileges. Thanks to swegener for the initial patch. (trunk r7373) svn path=/main/branches/2.1.2/; revision=7374
* For bug #185930, direct all FETCHCOMMAND output to stdout. (trunk r7330)Zac Medico2007-07-211-0/+8
| | | | svn path=/main/branches/2.1.2/; revision=7331
* When digest verification of a distfile fails, rename instead of unlinking it ↵Zac Medico2007-07-211-5/+18
| | | | | | in case it's a large download and the user wants to salvage it due to a bad digest. (trunk r7325) svn path=/main/branches/2.1.2/; revision=7326
* If the fetcher reported success and the file is too small, don't attempt to ↵Zac Medico2007-07-201-2/+10
| | | | | | resume. Upstream probably changed the distfile and we need to show a digest verification failure so the user gets a clue. (trunk r7321) svn path=/main/branches/2.1.2/; revision=7322
* Merge --depclean and --prune enhancements from trunk r7304:7310.Zac Medico2007-07-201-4/+1
| | | | svn path=/main/branches/2.1.2/; revision=7311
* For bug #185389, create a symlink when quickpkg injects a new package.Zac Medico2007-07-151-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=7269
* Merge the new repo display code from trunk r7257:7260.Zac Medico2007-07-141-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7261
* Save the repo name along with the other metadata inside dyn_compile() so ↵Zac Medico2007-07-131-13/+10
| | | | | | that it's saved inside binary packages for when they are finally merged. (trunk r7247) svn path=/main/branches/2.1.2/; revision=7248
* Fix typo. (trunk r7228)Zac Medico2007-07-111-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7229
* For bug #184679, handle ENOTDIR by finding the non-directory parent and ↵Zac Medico2007-07-111-4/+29
| | | | | | testing that for collision instead. (trunk r7220) svn path=/main/branches/2.1.2/; revision=7221
* For bug #184843, allow USE_EXPAND variables to pass through if none of their ↵Zac Medico2007-07-101-22/+37
| | | | | | flags are in IUSE. This allows packages that support LINGUAS but don't declare it in IUSE to use the variable outside of the USE_EXPAND context. (trunk r7218) svn path=/main/branches/2.1.2/; revision=7219
* For bug #184604, make env-update write $ in front of quoted values when ↵Zac Medico2007-07-101-2/+6
| | | | | | appropriate. (trunk r7216) svn path=/main/branches/2.1.2/; revision=7217
* For bug #184806, account for the fact the metadata is not cached for ↵Zac Medico2007-07-101-2/+2
| | | | | | slot_collision_nodes. (trunk r7214) svn path=/main/branches/2.1.2/; revision=7215
* Remove the repo_name warning in the portdbapi constructor since we don't ↵Zac Medico2007-07-091-3/+4
| | | | | | want to see a warning every time the portage module is imported. (trunk r7212) svn path=/main/branches/2.1.2/; revision=7213
* Make dblink invalidate the vardbapi caches for each merge and unmerge. ↵Zac Medico2007-07-081-6/+22
| | | | | | Don't use portage.listdir() since mtime granularity can prevent cachedir from invalidating it's cache properly and this redundant cache layer isn't needed anyway. This should solve the intermittent failure of AUTOCLEAN to properly clean packages. (trunk r7202:7204) svn path=/main/branches/2.1.2/; revision=7205
* For bug #184566, enable the emerge --info action to run an option pkg_info() ↵Zac Medico2007-07-081-2/+2
| | | | | | function from each installed ebuild. (trunk r7201) svn path=/main/branches/2.1.2/; revision=7202
* When depgraph updates preferences for old-style virtuals, also update them ↵Zac Medico2007-07-061-7/+14
| | | | | | in the global config so that they are consistent everywhere. Optimize config.setinst() to minimize the work done. (trunk r7185) svn path=/main/branches/2.1.2/; revision=7186
* Merge portdbapi.getRepositories() from trunk.Zac Medico2007-07-051-0/+29
| | | | svn path=/main/branches/2.1.2/; revision=7158
* backport r7087 and r7093 to ease the upgrade to 2.2 wrt verbose pretend displayMarius Mauch2007-07-051-0/+13
| | | | svn path=/main/branches/2.1.2/; revision=7156
* Fix typo. (trunk r6989)Zac Medico2007-06-291-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7086
* For bug #183431, catch a ParseError caused by a corrupt profile and dump an ↵Zac Medico2007-06-281-1/+8
| | | | | | error message. This allows emerge to continue with actions that don't require a valid profile, such as --sync. (trunk r7073) svn path=/main/branches/2.1.2/; revision=7074
* Send the ebuild die message through eerror and make sure that elog_process() ↵Zac Medico2007-06-271-29/+27
| | | | | | gets called when an ebuild dies. This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen. (trunk r7047) svn path=/main/branches/2.1.2/; revision=7049
* Add one more size == 0 check to digestgen(). (trunk r7040:7042)Zac Medico2007-06-261-0/+3
| | | | svn path=/main/branches/2.1.2/; revision=7043
* Add sanity checks in fetch() and digestgen() to automatically detect and ↵Zac Medico2007-06-261-2/+26
| | | | | | handle invalid empty distfiles since some users have reported difficulty when trying to create digests. (trunk r7039) svn path=/main/branches/2.1.2/; revision=7040
* Don't use urljoin() in binarytree.gettbz2() since it doesn't work correctly ↵Zac Medico2007-06-251-2/+3
| | | | | | wih unrecognized protocols like sftp. (trunk r7027) svn path=/main/branches/2.1.2/; revision=7028
* Allow emerge --fetchonly to continue downloading other packages after a ↵Zac Medico2007-06-251-1/+2
| | | | | | download from a binhost fails. (trunk r6709) svn path=/main/branches/2.1.2/; revision=7021
* Fix resume logic in binarytree.gettbz2(). (trunk r7017:7019)Zac Medico2007-06-251-4/+4
| | | | svn path=/main/branches/2.1.2/; revision=7020
* For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in ↵Zac Medico2007-06-251-3/+12
| | | | | | binarytree.gettbz2(). (trunk r7016) svn path=/main/branches/2.1.2/; revision=7017
* Fix binarytree.isremote() to be consistent with binarytree.gettbz2() logic ↵Zac Medico2007-06-241-6/+12
| | | | | | wrt partially downloaded files. (trunk r7012) svn path=/main/branches/2.1.2/; revision=7013
* get ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated ↵Zac Medico2007-06-241-0/+8
| | | | | | values (bug #139600) (trunk r6981 and r6987) svn path=/main/branches/2.1.2/; revision=6998
* - s/!owned/replaced/ in merge output to clarify it (trunk r6975)Zac Medico2007-06-241-25/+27
| | | | | | | - Fix column alignment in unmerge output. (trunk r6988) - Fix typos. (trunk r6989 and r6996) svn path=/main/branches/2.1.2/; revision=6997
* For bug #182964, replace os.rename() with portage.movefile() in cases where ↵Zac Medico2007-06-241-5/+13
| | | | | | the parent directory might change. (trunk r6983) svn path=/main/branches/2.1.2/; revision=6984
* Revert r6968 since shutil.move() is broken internally.Zac Medico2007-06-231-7/+7
| | | | svn path=/main/branches/2.1.2/; revision=6971
* For bug #182964, replace os.rename() with shutil.move() in order to handle ↵Zac Medico2007-06-231-7/+7
| | | | | | EXDEV errors that are triggered by layered filesystems. (trunk r6967) svn path=/main/branches/2.1.2/; revision=6968
* - Make elog finalize() handling safe for PORTAGE_CONFIGROOT. (trunk r6955)Zac Medico2007-06-221-1/+1
| | | | | | - Dump mod_echo elog output inside post_emerge(), just before the other notifications that happen at exit. (trunk r6953) svn path=/main/branches/2.1.2/; revision=6958
* Clean up the profile masking code. (trunk r6292)Zac Medico2007-06-221-9/+5
| | | | svn path=/main/branches/2.1.2/; revision=6936
* config class mapping interface cleanups from trunk r6916, r6919, and r6920.Zac Medico2007-06-221-26/+23
| | | | svn path=/main/branches/2.1.2/; revision=6933
* Remove more unnecessary list generation. (trunk r6912)Zac Medico2007-06-221-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=6931
* Remove lots of unnecessary list generation via dict.keys(). (trunk r6911)Zac Medico2007-06-221-13/+22
| | | | svn path=/main/branches/2.1.2/; revision=6930
* Print filename when displaying package.mask comments (trunk r5974)Zac Medico2007-06-221-22/+26
| | | | svn path=/main/branches/2.1.2/; revision=6928
* Allow per-module filtering based on loglevels in addition to the global ↵Zac Medico2007-06-211-21/+47
| | | | | | PORTAGE_ELOG_CLASSES one, add wildcard support for loglevels (trunk r5706:5709) svn path=/main/branches/2.1.2/; revision=6921
* fix grammar in error output (trunk r6285)Zac Medico2007-06-211-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6905
* In dblink._security_check(), use os.path.realpath to make sure that the same ↵Zac Medico2007-06-211-2/+8
| | | | | | path isn't counted twice. (trunk r6894) svn path=/main/branches/2.1.2/; revision=6895
* For bug #180165, make portageq print a "Permission denied" error when ↵Zac Medico2007-06-201-3/+8
| | | | | | appropriate and make has_version die if portageq has an unexpected exit code. (trunk r6880:6882) svn path=/main/branches/2.1.2/; revision=6885
* Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES ↵Zac Medico2007-06-191-1/+9
| | | | | | (Permission denied). (trunk r6879) svn path=/main/branches/2.1.2/; revision=6880
* For bug #143340, give an appropriate message when there is no read access to ↵Zac Medico2007-06-191-0/+6
| | | | | | a binary package. (trunk r6877) svn path=/main/branches/2.1.2/; revision=6878
* During unmerge, always verify that the file isn't a symlink before doing ↵Zac Medico2007-06-181-1/+2
| | | | | | chmod. (trunk r6867) svn path=/main/branches/2.1.2/; revision=6868
* In dblink.isowner() don't bother to stat the file when it's contained in the ↵Zac Medico2007-06-171-4/+7
| | | | | | contents. (trunk r6865) svn path=/main/branches/2.1.2/; revision=6866