summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* For bug #182346, use dblink.isowner() during unmerge so that device/inode ↵Zac Medico2007-06-171-9/+16
| | | | | | numbers are used to determine ownership (despite path mismatch due to symlinks). (trunk r6863) svn path=/main/branches/2.1.2/; revision=6864
* Go ahead and unlink symlinks to directories when they're actually recorded ↵Zac Medico2007-06-151-5/+7
| | | | | | as symlinks in the contents. (trunk r6860) svn path=/main/branches/2.1.2/; revision=6861
* Make the collision-protect loop check for existance of the destination file ↵Zac Medico2007-06-151-0/+9
| | | | | | before checking if it's owned. (trunk r6858) svn path=/main/branches/2.1.2/; revision=6859
* Handle another case where removing a symlink to a directory can be harmful. ↵Zac Medico2007-06-151-0/+5
| | | | | | (trunk r6852) svn path=/main/branches/2.1.2/; revision=6853
* For bug #182157, don't let unmerge-orphans unlink symlinks to directories ↵Zac Medico2007-06-151-0/+3
| | | | | | since that can remove /lib and /usr/lib symlinks. svn path=/main/branches/2.1.2/; revision=6851
* For bug #182157, never chmod 0 symlinks before unlinking them. (trunk r6848)Zac Medico2007-06-151-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6849
* Fix broken \!found logic so that any missing files are properly skipped. ↵v2.1.3_rc1Zac Medico2007-06-141-6/+2
| | | | | | (trunk r6843) svn path=/main/branches/2.1.2/; revision=6844
* Miscellaneous global updates cleanups. (trunk r6686, r6688, and r6690:6693)Zac Medico2007-06-141-113/+80
| | | | svn path=/main/branches/2.1.2/; revision=6842
* In dblink.treewalk(), handle the case where the current cpv is already ↵Zac Medico2007-06-131-0/+5
| | | | | | installed but it has a different slot (multislot or unapplied slotmove). (trunk r6833) svn path=/main/branches/2.1.2/; revision=6834
* For bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge ↵Zac Medico2007-06-131-3/+21
| | | | | | to remove files more aggressively. If a file is not claimed by another package in the same slot and it is not protected by CONFIG_PROTECT, unmerge it even if the modification time or checksum differs from the file that was originally installed. This is enabled in make.globals since the vast majority of users probably want this. (trunk r6829) svn path=/main/branches/2.1.2/; revision=6830
* Fix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827)Zac Medico2007-06-131-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6828
* Use cached dblink instances for collision-protect. (trunk r6825)Zac Medico2007-06-131-16/+1
| | | | svn path=/main/branches/2.1.2/; revision=6826
* Cache dblink instances for security checks and reference counts during ↵Zac Medico2007-06-131-45/+53
| | | | | | merge/unmerge so that each CONTENTS only has to be parsed once. These can also be reused for collision-protect. (trunk r6823) svn path=/main/branches/2.1.2/; revision=6824
* Reuse previously acquired lstat results. (trunk r6821)Zac Medico2007-06-121-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6822
* For bug #153109, replace our old chflags module with the one provided by the ↵Zac Medico2007-06-121-28/+13
| | | | | | py-freebsd package. Thanks to Flameeyes for the initial patch. (trunk r5870) svn path=/main/branches/2.1.2/; revision=6820
* Remove some useless dircache code. (trunk r6818)Zac Medico2007-06-121-6/+1
| | | | svn path=/main/branches/2.1.2/; revision=6819
* Always return a dict from dblink.getcontents() since callers never expect to ↵Zac Medico2007-06-121-8/+16
| | | | | | get None. (trunk r6816) svn path=/main/branches/2.1.2/; revision=6817
* For bug #181021, during unmerge use all slot matches for reference counts ↵Zac Medico2007-06-121-22/+16
| | | | | | (in case the user has set AUTOCLEAN=no). (trunk r6814) svn path=/main/branches/2.1.2/; revision=6815
* For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an ↵Zac Medico2007-06-111-4/+12
| | | | | | InvalidDependString exception, and make sure that all callers handle the exception properly. (trunk r6795:6797) svn path=/main/branches/2.1.2/; revision=6798