summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement UserConfigKlass.__iter__() so that tests pass.Zac Medico2007-06-211-0/+3
| | | | svn path=/main/trunk/; revision=6914
* Remove more unnecessary list generation.Zac Medico2007-06-2112-19/+18
| | | | svn path=/main/trunk/; revision=6913
* Remove more unnecessary list generation.Zac Medico2007-06-219-33/+29
| | | | svn path=/main/trunk/; revision=6912
* Remove lots of unnecessary list generation via dict.keys().Zac Medico2007-06-216-32/+41
| | | | svn path=/main/trunk/; revision=6911
* Don't generate a list of keys for a containment test.Zac Medico2007-06-211-1/+1
| | | | svn path=/main/trunk/; revision=6909
* Don't call digraph.hasallzeros() in --resume mode because the digraph isn't ↵Zac Medico2007-06-211-5/+5
| | | | | | currently populated in that case. svn path=/main/trunk/; revision=6907
* Make IUSE handling safe for IUSE defaults.Zac Medico2007-06-211-2/+4
| | | | svn path=/main/trunk/; revision=6897
* as noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if ↵Mike Frysinger2007-06-211-0/+4
| | | | | | we try to create a binpkg for something that has IUSE=bindist but was emerged with USE=-bindist svn path=/main/trunk/; revision=6896
* 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. svn path=/main/trunk/; revision=6894
* Add an --ignore-default-opts option that is analogous to the corresponding ↵Zac Medico2007-06-201-3/+8
| | | | | | emerge option. svn path=/main/trunk/; revision=6892
* Use the the optparse options for --ignore-default-opts since that allows ↵Zac Medico2007-06-201-1/+1
| | | | | | option abreviation to work. svn path=/main/trunk/; revision=6890
* Make the progress bar percentage indicator stop at 100% instead of just 99%.Zac Medico2007-06-201-5/+8
| | | | svn path=/main/trunk/; revision=6889
* Show a "world problems" warning for packages that aren't installed, even if ↵Zac Medico2007-06-201-1/+1
| | | | | | they are available. svn path=/main/trunk/; revision=6887
* Make all the classes inherit from object.Zac Medico2007-06-206-10/+10
| | | | svn path=/main/trunk/; revision=6886
* If a package is in the world set but it's not installed, go ahead and ↵Zac Medico2007-06-201-4/+16
| | | | | | install it if it's available (instead of telling the user to run emaint). svn path=/main/trunk/; revision=6883
* For bug #180165, make has_version dir if portageq has an unexpected exit code.Zac Medico2007-06-201-5/+13
| | | | svn path=/main/trunk/; revision=6882
* For bug #180165, make portageq print a "Permission denied" error when ↵Zac Medico2007-06-204-4/+19
| | | | | | appropriate. A PermissionDenied exception is raised from portage.listdir() enven when EmptyOnError is True since errno.EACCES is very likely to indicate a condition that should be reported in any case. svn path=/main/trunk/; revision=6881
* Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES ↵Zac Medico2007-06-191-1/+9
| | | | | | (Permission denied). svn path=/main/trunk/; revision=6879
* For bug #143340, give an appropriate message when there is no read access to ↵Zac Medico2007-06-191-0/+6
| | | | | | a binary package. svn path=/main/trunk/; revision=6877
* Return early from get_term_size() is stdout is not a tty.Zac Medico2007-06-191-0/+2
| | | | svn path=/main/trunk/; revision=6875
* For bug #182571, handle curses.error if it's thrown inside get_term_size().Zac Medico2007-06-191-2/+5
| | | | svn path=/main/trunk/; revision=6873
* For bug #182428, make quickpkg use a more secure umask by default and allow ↵Zac Medico2007-06-191-2/+11
| | | | | | it to be overridden by a --umask option. Add support for QUICKPKG_DEFAULT_OPTS so that default options can be set in make.conf. svn path=/main/trunk/; revision=6871
* Add a test case for the logfile functionality of portage.spawn().Zac Medico2007-06-193-1/+41
| | | | svn path=/main/trunk/; revision=6870
* Add PORTAGE_BIN_PATH to the environment since it's used by dobin to locate ↵Zac Medico2007-06-191-0/+2
| | | | | | isolated-functions.sh. svn path=/main/trunk/; revision=6869
* During unmerge, always verify that the file isn't a symlink before doing chmod.Zac Medico2007-06-181-1/+2
| | | | svn path=/main/trunk/; revision=6867
* In dblink.isowner() don't bother to stat the file when it's contained in the ↵Zac Medico2007-06-171-4/+7
| | | | | | contents. svn path=/main/trunk/; revision=6865
* 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). svn path=/main/trunk/; revision=6863
* Fix profile and config arguments to NewsItem.isRelevant() inside ↵Zac Medico2007-06-161-1/+11
| | | | | | NewsManager.updateItems(). svn path=/main/trunk/; revision=6862
* Go ahead and unlink symlinks to directories when they're actually recorded ↵Zac Medico2007-06-151-5/+7
| | | | | | as symlinks in the contents. svn path=/main/trunk/; revision=6860
* Make the collision-protect loop check for existance of the destination file ↵Zac Medico2007-06-151-0/+9
| | | | | | before checking if it's owned. svn path=/main/trunk/; revision=6858
* Make repoman exit with nonzero status whenever there are qa issues (already ↵Zac Medico2007-06-151-0/+4
| | | | | | does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. svn path=/main/trunk/; revision=6856
* For bug #182021, use active voice when notifying the user that superuser ↵Zac Medico2007-06-151-2/+2
| | | | | | access is required. svn path=/main/trunk/; revision=6854
* Handle another case where removing a symlink to a directory can be harmful.Zac Medico2007-06-151-0/+5
| | | | svn path=/main/trunk/; revision=6852
* 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/trunk/; revision=6850
* For bug #182157, never chmod 0 symlinks before unlinking them.Zac Medico2007-06-151-1/+1
| | | | svn path=/main/trunk/; revision=6848
* For bug #182105, fix the spelling of the fd_pipes paremeter.Zac Medico2007-06-151-1/+1
| | | | svn path=/main/trunk/; revision=6846
* Fix broken \!found logic so that any missing files are properly skipped.Zac Medico2007-06-141-6/+2
| | | | svn path=/main/trunk/; revision=6843
* Pass existing portdbapi and vardbapi instances into the NewsManager constructor.Zac Medico2007-06-132-16/+18
| | | | svn path=/main/trunk/; revision=6841
* Make display_news_notification() reuse the existing portdbapi instance.Zac Medico2007-06-131-7/+10
| | | | svn path=/main/trunk/; revision=6840
* Pass all the of the existing package databases into post_emerge() so that we ↵Zac Medico2007-06-131-8/+12
| | | | | | can use them for news and preserve-libs. svn path=/main/trunk/; revision=6839
* For bug #181953, prevent the circular_blocks code from selecting a node ↵Zac Medico2007-06-131-2/+10
| | | | | | that's already been selected by the normal node selection process. svn path=/main/trunk/; revision=6837
* Get registry object from vardbapi directly instead of creating another oneMarius Mauch2007-06-131-9/+7
| | | | svn path=/main/trunk/; revision=6836
* Add portageq command to list preserved libsMarius Mauch2007-06-132-7/+25
| | | | svn path=/main/trunk/; revision=6835
* 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). svn path=/main/trunk/; revision=6833
* Add a note about the new unmerge-orphans behavior.Zac Medico2007-06-131-0/+9
| | | | svn path=/main/trunk/; revision=6831
* For bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge ↵Zac Medico2007-06-133-3/+26
| | | | | | 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. svn path=/main/trunk/; revision=6829
* Fix dblink.isowner() so it works properly when ROOT!=/.Zac Medico2007-06-131-1/+1
| | | | svn path=/main/trunk/; revision=6827
* Use cached dblink instances for collision-protect.Zac Medico2007-06-131-17/+3
| | | | svn path=/main/trunk/; revision=6825
* 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. svn path=/main/trunk/; revision=6823
* Reuse previously acquired lstat results.Zac Medico2007-06-121-1/+1
| | | | svn path=/main/trunk/; revision=6821