summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix an IndexError in get_operator() that occurs when isvalidatom() passes it ↵v2.1.2.9Zac Medico2007-05-301-0/+2
| | | | | | an empty string. (trunk r6680) svn path=/main/branches/2.1.2/; revision=6681
* For bug #180399, raise an appropriate InvalidDependString exception if there ↵Zac Medico2007-05-301-1/+12
| | | | | | is no flag attached directly to a '?' token. (trunk r6678) svn path=/main/branches/2.1.2/; revision=6679
* Show deprecation warnings if the "clone" parameters are used for the ↵Zac Medico2007-05-301-0/+6
| | | | | | binartree, vartree, or portagetree constructors. (trunk r6676) svn path=/main/branches/2.1.2/; revision=6677
* Return a copy of the cached result from match_from_list(). (trunk r6673)Zac Medico2007-05-301-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=6674
* For bug #61732, support -flag in USE (instead of just +flag). Given the ↵Zac Medico2007-05-301-1/+6
| | | | | | current default USE_ORDER, -flag in IUSE has no effect. (trunk r6671) svn path=/main/branches/2.1.2/; revision=6672
* Fix slot handling at the beginning of match_from_list(). (trunk r6669)Zac Medico2007-05-301-2/+1
| | | | svn path=/main/branches/2.1.2/; revision=6670
* For bug #179870, correctly handle slot deps in the profile's package.* ↵Zac Medico2007-05-291-12/+12
| | | | | | files. (trunk r6665) svn path=/main/branches/2.1.2/; revision=6666
* Fix get_operator() and best_match_to_list() so that slot deps mesh properly ↵Zac Medico2007-05-291-1/+2
| | | | | | with operators. (trunk r6663) svn path=/main/branches/2.1.2/; revision=6664
* Fix dep_getcpv() so that it always properly removes the slot regardless of ↵Zac Medico2007-05-291-3/+2
| | | | | | which operator is present. (trunk r6661) svn path=/main/branches/2.1.2/; revision=6662
* Don't pass slotted packages into pkgsplit since it doesn't handle them. ↵Zac Medico2007-05-291-4/+11
| | | | | | (trunk r6659) svn path=/main/branches/2.1.2/; revision=6660
* For bug #179870, add support for cpv:slot in match_from_list() and use it to ↵Zac Medico2007-05-292-14/+14
| | | | | | make config.setcpv() distinguish slot atoms in package.use. (trunk r6657) svn path=/main/branches/2.1.2/; revision=6658
* Fix logic for USE_EXPAND variables that are incremental (there are none ↵Zac Medico2007-05-261-9/+17
| | | | | | currently). (trunk r6635) svn path=/main/branches/2.1.2/; revision=6636
* Store flags as a set inside the USE incremental loop. (trunk r6627)Zac Medico2007-05-251-10/+8
| | | | svn path=/main/branches/2.1.2/; revision=6628
* For bug #179766, expand USE_EXPAND variables inside the USE incremental loop ↵Zac Medico2007-05-251-24/+25
| | | | | | so that USE"-*" will not always destroy them. (trunk r6623) svn path=/main/branches/2.1.2/; revision=6624
* Punt the portdbapi.getsize() function since it's unused and broken (mysum ↵Zac Medico2007-05-231-13/+0
| | | | | | referenced before assignment). (trunk r6582) svn path=/main/branches/2.1.2/; revision=6607
* hardlink basic suid protection (trunk r6580)Zac Medico2007-05-231-0/+6
| | | | svn path=/main/branches/2.1.2/; revision=6606
* For forward compatibility, make binarytree.populate() work even when ↵Zac Medico2007-05-221-2/+0
| | | | | | $PKGDIR/All/ doesn't exist. svn path=/main/branches/2.1.2/; revision=6578