summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* sort the world file before writing it and ensure that it's terminated by a ↵Marius Mauch2007-06-232-4/+7
| | | | | | newline svn path=/main/trunk/; revision=6976
* s/!owned/replaced/ in merge output to clarify itMarius Mauch2007-06-231-1/+1
| | | | svn path=/main/trunk/; revision=6975
* syntax errorMarius Mauch2007-06-231-1/+1
| | | | svn path=/main/trunk/; revision=6974
* Allow sync for unpriviledges users if they have write access to $PORTDIRMarius Mauch2007-06-231-3/+3
| | | | svn path=/main/trunk/; revision=6973
* add hashlib support for checksum verification, refactor checksum functions ↵Marius Mauch2007-06-232-55/+72
| | | | | | to not look like a complete mess svn path=/main/trunk/; revision=6972
* Revert r6967 since shutil.move() is broken internally.Zac Medico2007-06-234-21/+18
| | | | svn path=/main/trunk/; revision=6970
* s/OSError/EnvironmentError/ since shutil.move() generally raises an IOError.Zac Medico2007-06-231-1/+1
| | | | svn path=/main/trunk/; revision=6969
* For bug #182964, replace os.rename() with shutil.move() in order to handle ↵Zac Medico2007-06-234-18/+21
| | | | | | EXDEV errors that are triggered by layered filesystems. svn path=/main/trunk/; revision=6967
* Show which $ROOT a package was merged to when $ROOT is not /.Zac Medico2007-06-221-1/+4
| | | | svn path=/main/trunk/; revision=6959
* Make elog finalize() handling safe for PORTAGE_CONFIGROOT.Zac Medico2007-06-224-22/+33
| | | | svn path=/main/trunk/; revision=6955
* Dump mod_echo elog output inside post_emerge(), just before the other ↵Zac Medico2007-06-221-0/+8
| | | | | | notifications that happen at exit. svn path=/main/trunk/; revision=6953
* Add a note about potential for config mixups in elog finalizers.Zac Medico2007-06-221-0/+5
| | | | svn path=/main/trunk/; revision=6952
* For bug #182428, make quickpkg exclude config files that are protected by ↵Zac Medico2007-06-221-7/+13
| | | | | | CONFIG_PROTECT. Add a --include-config option that includes all config files and a --include-unmodified-config that includes config files that have not been modified since installation (matching md5sum). svn path=/main/trunk/; revision=6945
* Clean up config.__getitem__(), get() and setdefault() implementions.Zac Medico2007-06-211-16/+13
| | | | svn path=/main/trunk/; revision=6920
* Simplify the implementation of config.__iter__ and also implement iterkeys().Zac Medico2007-06-211-5/+5
| | | | svn path=/main/trunk/; revision=6919
* Implement iterkeys on top of __iter__ instead of vice versa. Thanks to ↵Zac Medico2007-06-219-12/+22
| | | | | | Brian Harring for the suggestion. svn path=/main/trunk/; revision=6918
* Autodetect if sandbox is active in order to prevent recursive sandbox ↵Zac Medico2007-06-212-4/+2
| | | | | | invocation. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=6917
* Implement config.has_key() on top of __contains__ instead of vice versa.Zac Medico2007-06-211-5/+5
| | | | svn path=/main/trunk/; revision=6916
* Fix the test so that it can run inside a sandbox.Zac Medico2007-06-211-1/+3
| | | | svn path=/main/trunk/; revision=6915
* 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-212-21/+30
| | | | 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
* 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
* 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 portageq print a "Permission denied" error when ↵Zac Medico2007-06-202-3/+9
| | | | | | 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
* 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
* 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