summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Return early from get_term_size() is stdout is not a tty. (trunk r6875)Zac Medico2007-06-191-0/+2
| | | | svn path=/main/branches/2.1.2/; revision=6876
* For bug #182571, handle curses.error if it's thrown inside get_term_size(). ↵Zac Medico2007-06-191-2/+5
| | | | | | (trunk r6873) svn path=/main/branches/2.1.2/; revision=6874
* 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
* For bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)Zac Medico2007-06-151-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6847
* 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 consistency with other xterm titles code, redirect $PROMPT_COMMAND ↵Zac Medico2007-06-111-1/+10
| | | | | | output to stderr. (trunk r6799) svn path=/main/branches/2.1.2/; revision=6800
* For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an ↵Zac Medico2007-06-112-6/+21
| | | | | | InvalidDependString exception, and make sure that all callers handle the exception properly. (trunk r6795:6797) svn path=/main/branches/2.1.2/; revision=6798
* For bug #81097, detect and report suspicious hardlinks to suid/sgid files. ↵Zac Medico2007-06-102-6/+61
| | | | | | False positives are prevented by doing reference counts for each inode having suid/sgid bits and multiple hardlinks. The security check is done prior to each merge or unmerge phase and it will cause the phase to abort if a problem is found (so that the user can investigate before any files are removed). (trunk r6791:6794) svn path=/main/branches/2.1.2/; revision=6795
* For bug #181551, support slot deps in package.keywords. (trunk r6790)Zac Medico2007-06-101-3/+5
| | | | svn path=/main/branches/2.1.2/; revision=6791
* Preserve order of flags from IUSE in wildcard expansion. (trunk r6786)Zac Medico2007-06-101-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6787
* For bug #148702, use the * token to trigger wildcard expansion of IUSE. ↵Zac Medico2007-06-091-13/+26
| | | | | | This adds flexibility and prevents flags from being enabled unexpectedly. (trunk r6784) svn path=/main/branches/2.1.2/; revision=6785
* When an update is discarded due to confmem, record it's mtime in the ↵Zac Medico2007-06-091-1/+1
| | | | | | contents (it's md5 is already recorded there too). (trunk r6782) svn path=/main/branches/2.1.2/; revision=6783
* For bug #148702, automatically enable flags from IUSE if they correspond to ↵Zac Medico2007-06-091-2/+17
| | | | | | unset USE_EXPAND variables such as LINGUAS. The variable only has to be set to some value or an empty string in order to disable these flags. (trunk r6780) svn path=/main/branches/2.1.2/; revision=6781
* For bug #181387, fix an UnboundLocalError for the mymtime variable that is ↵Zac Medico2007-06-091-3/+8
| | | | | | triggered by confmem. (trunk r6778) svn path=/main/branches/2.1.2/; revision=6779
* Only execute $PROMPT_COMMAND when appropriate. (trunk r6772)Zac Medico2007-06-091-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=6773
* For bug #152828, run ${CHOST}-ldconfig when ${CBUILD} != ${CHOST}. (trunk r6770)Zac Medico2007-06-091-10/+20
| | | | svn path=/main/branches/2.1.2/; revision=6771
* For bug #139383, in xtermTitleReset() use os.system() instead of ↵Zac Medico2007-06-081-1/+2
| | | | | | commands.getoutput() since the latter puts too much restriction on what $PROMPT_COMMAND may contain. (trunk r6768) svn path=/main/branches/2.1.2/; revision=6769
* Make all the python code respect USE conditionals in RESTRICT. It's already ↵Zac Medico2007-06-081-15/+15
| | | | | | handled on the bash side since RESTRICT is assigned the value of PORTAGE_RESTRICT. (trunk r6750) svn path=/main/branches/2.1.2/; revision=6764
* Return copies of the cached values from pkgsplit and catpkgsplit. (trunk r6746)Zac Medico2007-06-081-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=6763
* For bug #156536, update --resume docs to show that the resume history is ↵Zac Medico2007-06-081-4/+9
| | | | | | capable of storing two merge lists. (trunk r6742) svn path=/main/branches/2.1.2/; revision=6762
* For bug #181021, preserve timestamps from during merge. For replacement ↵Zac Medico2007-06-081-94/+51
| | | | | | operations, the unmerge phase checks the contents of the newer instance in order to prevent identical files in the newer instance from being unmerged. (trunk r6739, r6740, and r6745) svn path=/main/branches/2.1.2/; revision=6760
* Fix typo, split SPACE_SEPARATED variables on whitespace. (trunk r6738)Zac Medico2007-06-081-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6759
* When dblink.treewalk() looks for an installed instance in the same slot, ↵Zac Medico2007-06-081-0/+8
| | | | | | make sure that it selects the one with the highest COUNTER in case there are multiple matches. (trunk r6737) svn path=/main/branches/2.1.2/; revision=6758
* Remove duplicate entries from special variables processed by env_update() ↵Zac Medico2007-06-081-2/+6
| | | | | | (bug #172194) (trunk r6736 and r6738) svn path=/main/branches/2.1.2/; revision=6757
* For bug #164655, port quickpkg to python and use the tarfile module for ↵Zac Medico2007-06-081-11/+24
| | | | | | proper handling of symlinks to directories. Thanks to Martin Parm <parmus@diku.dk> for the initial port. (trunk r6728) svn path=/main/branches/2.1.2/; revision=6753
* For bug #82378, only set permissions on PORT_LOGDIR if it is created ↵Zac Medico2007-06-061-2/+4
| | | | | | automatically. (trunk r6743) svn path=/main/branches/2.1.2/; revision=6744
* Instead of calling sys.exit() when aux_get() fails inside getfetchlist(), ↵Zac Medico2007-06-011-2/+4
| | | | | | convert the KeyError to an InvalidDependString exception since callers already handle it. (trunk r6708) svn path=/main/branches/2.1.2/; revision=6715
* Don't repeatedly invoke the depend phase for ebuilds that are already known ↵Zac Medico2007-06-011-0/+4
| | | | | | to be broken. (trunk r6707) svn path=/main/branches/2.1.2/; revision=6714
* For bug #149397, raise an InvalidDependString exception if a USE has no ↵Zac Medico2007-06-011-0/+2
| | | | | | basename. (trunk r6706) svn path=/main/branches/2.1.2/; revision=6713
* Raise a KeyError from bindbapi.aux_get() when appropriate. (trunk r6699)Zac Medico2007-06-011-3/+6
| | | | svn path=/main/branches/2.1.2/; revision=6712
* Make automatic "global updates" always use the config instance that's ↵Zac Medico2007-05-311-3/+2
| | | | | | associated with /, since the rest of the code is targeted at /. (trunk r6687) svn path=/main/branches/2.1.2/; revision=6703
* Make dep_zapdeps() pull SLOT from the correct dbapi instance when it falls ↵Zac Medico2007-05-311-3/+8
| | | | | | back to the vdb. (trunk r6698) svn path=/main/branches/2.1.2/; revision=6700