summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* For consistency with other xterm titles code, redirect $PROMPT_COMMAND ↵Zac Medico2007-06-111-1/+10
| | | | | | output to stderr. svn path=/main/trunk/; revision=6799
* Remove the "missing left parenthesis" test for now since it gives false ↵Zac Medico2007-06-111-3/+0
| | | | | | positives. svn path=/main/trunk/; revision=6797
* For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an ↵Zac Medico2007-06-113-10/+37
| | | | | | InvalidDependString exception, and make sure that all callers handle the exception properly. svn path=/main/trunk/; revision=6796
* Fix the suid/sgid check so it only looks at regular files since it can ↵Zac Medico2007-06-101-1/+2
| | | | | | generate false positives otherwise. svn path=/main/trunk/; revision=6794
* Don't bother to warn about hardlinks to suid/sgid files before unlink since ↵Zac Medico2007-06-101-6/+3
| | | | | | it can give false positives and the existing suid/sgid security check should spot problems before this anyway. svn path=/main/trunk/; revision=6793
* For bug #81097, detect and report suspicious hardlinks to suid/sgid files. ↵Zac Medico2007-06-102-0/+57
| | | | | | 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). svn path=/main/trunk/; revision=6792
* For bug #181551, support slot deps in package.keywords.Zac Medico2007-06-101-3/+4
| | | | svn path=/main/trunk/; revision=6790
* Preserve order of flags from IUSE in wildcard expansion.Zac Medico2007-06-101-1/+1
| | | | svn path=/main/trunk/; revision=6786
* 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. svn path=/main/trunk/; revision=6784
* 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). svn path=/main/trunk/; revision=6782
* 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. svn path=/main/trunk/; revision=6780
* For bug #181387, fix an UnboundLocalError for the mymtime variable that is ↵Zac Medico2007-06-091-2/+7
| | | | | | triggered by confmem. svn path=/main/trunk/; revision=6778
* Only execute $PROMPT_COMMAND when appropriate.Zac Medico2007-06-091-1/+2
| | | | svn path=/main/trunk/; revision=6772
* For bug #152828, run ${CHOST}-ldconfig when ${CBUILD} != ${CHOST}.Zac Medico2007-06-092-10/+20
| | | | svn path=/main/trunk/; revision=6770
* 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. svn path=/main/trunk/; revision=6768
* Ignore InvalidDependString exceptions from the RESTRICT of "nomerge" nodes.Zac Medico2007-06-071-4/+7
| | | | svn path=/main/trunk/; revision=6751
* Make all the python code respect USE conditionals in RESTRICT. It's already ↵Zac Medico2007-06-073-14/+26
| | | | | | handled on the bash side since RESTRICT is assigned the value of PORTAGE_RESTRICT. svn path=/main/trunk/; revision=6750
* Make pkgsplit and catpkgsplit return imutable tuples instead of mutable ↵Zac Medico2007-06-072-6/+7
| | | | | | lists so that cached values can be safely returned without cloning them first. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=6749
* Fix strange _DevNull instance has no attribute 'isatty' warnings that occur ↵Zac Medico2007-06-071-1/+1
| | | | | | when epydoc generates docs. svn path=/main/trunk/; revision=6748
* When using a pty for logging, use setsid() to create a new session and make ↵Zac Medico2007-06-073-11/+72
| | | | | | the pty into the controlling terminal of the new session. This makes interactive ebuild behave properly in interactive cases like check_license() where ${PAGER:-less} is invoked. svn path=/main/trunk/; revision=6747
* Return copies of the cached values from pkgsplit and catpkgsplit.Zac Medico2007-06-061-2/+2
| | | | svn path=/main/trunk/; revision=6746
* For bug #181021, don't compare attributes of contents entries when deciding ↵Zac Medico2007-06-061-1/+1
| | | | | | which files not to unmerge. Simply keep any file that's listed in the new contents in order to avoid problematic scenarios such as those described in comments #32 and #40 of bug #8423. svn path=/main/trunk/; revision=6745
* For bug #82378, only set permissions on PORT_LOGDIR if it is created ↵Zac Medico2007-06-061-2/+4
| | | | | | automatically. svn path=/main/trunk/; revision=6743
* For bug #156536, update --resume docs to show that the resume history is ↵Zac Medico2007-06-061-4/+9
| | | | | | capable of storing two merge lists. svn path=/main/trunk/; revision=6742
* Comment in portage.movefile() that it's impossible to preserve timestamps of ↵Zac Medico2007-06-061-0/+2
| | | | | | a symlink since utime() only works on the target. svn path=/main/trunk/; revision=6740
* For bug #181021, preserve timestamps from ${D} during merge. For ↵Zac Medico2007-06-061-95/+49
| | | | | | replacement operations, the unmerge phase checks the contents of the newer instance in order to prevent identical files in the newer instance from being unmerged. svn path=/main/trunk/; revision=6739
* Fix typo, split SPACE_SEPARATED variables on whitespace.Zac Medico2007-06-061-1/+1
| | | | svn path=/main/trunk/; revision=6738
* When dblink.treewalk() looks for an installed instance in the same slot, ↵Zac Medico2007-06-051-0/+8
| | | | | | make sure that it selects the one with the highest COUNTER in case there are multiple matches. svn path=/main/trunk/; revision=6737
* Remove duplicate entries from special variables processed by env_update() ↵Marius Mauch2007-06-051-2/+6
| | | | | | (bug #172194) svn path=/main/trunk/; revision=6736
* Improve support for slot deps atoms given on the command line. Thanks to ↵Zac Medico2007-06-041-2/+5
| | | | | | Flameeyes for reporting. svn path=/main/trunk/; revision=6730
* For bug #164655, port quickpkg to python and use the tarfile module for ↵Zac Medico2007-06-041-0/+51
| | | | | | proper handling of symlinks to directories. Thanks to Martin Parm <parmus@diku.dk> for the initial port. svn path=/main/trunk/; revision=6728
* Fix broken usage of lstrip in creating the PROFILE header field.Zac Medico2007-06-031-2/+3
| | | | svn path=/main/trunk/; revision=6727
* Remove pym/{cache,elog_modules} directory symlinks since they lead to ↵Zac Medico2007-06-032-2/+0
| | | | | | upgrade/downgrade issues. These modules probably aren't referenced from outside of portage anyway. There's a hack in config.load_best_module() so that cache.* in /etc/portage/modules will first try cache.* and then try portage.cache.* if there's an ImportError. svn path=/main/trunk/; revision=6726
* Use the PORTAGE_BINHOST_HEADER_URI environment variable to define the URI ↵Zac Medico2007-06-021-4/+8
| | | | | | header field for the Packages index. If the URI header field is defined then the client will use it as a base URI for fetching packages. svn path=/main/trunk/; revision=6725
* copyrights.. id? what?Alec Warner2007-06-025-0/+22
| | | | svn path=/main/trunk/; revision=6724
* If PORTAGE_BINHOST is defined then use it as a URI attribute in the Packages ↵Zac Medico2007-06-011-0/+3
| | | | | | index header. svn path=/main/trunk/; revision=6723
* Include SHA1 digests in the Packages index.Zac Medico2007-06-011-7/+11
| | | | svn path=/main/trunk/; revision=6722
* Add a VERSION attribute to the Packages index header and reject any index ↵Zac Medico2007-06-011-3/+24
| | | | | | with an unsupported version (current supported version is 0). svn path=/main/trunk/; revision=6721
* Make binarytree.prevent_collision() update the Packages index since it ↵Zac Medico2007-06-011-1/+5
| | | | | | changes the PATH attribute. svn path=/main/trunk/; revision=6720
* Add an optional PATH attribute to the Packages index in order to indicate ↵Zac Medico2007-06-011-9/+25
| | | | | | the relative path of the package within the repository. In the future this will allow storage of more than one package per cpv but for now it's just use to indicate if a package is stored in the old-style All/ directory (instead of the category directory). svn path=/main/trunk/; revision=6718
* Add --getbinpkg digest verification.Zac Medico2007-06-012-6/+51
| | | | svn path=/main/trunk/; revision=6709
* 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. svn path=/main/trunk/; revision=6708
* Don't repeatedly invoke the depend phase for ebuilds that are already known ↵Zac Medico2007-06-011-0/+4
| | | | | | to be broken. svn path=/main/trunk/; revision=6707
* For bug #149397, raise an InvalidDependString exception if a USE has no ↵Zac Medico2007-06-011-0/+2
| | | | | | basename. svn path=/main/trunk/; revision=6706
* Add some additional variables to the Packages header.Zac Medico2007-06-011-0/+17
| | | | svn path=/main/trunk/; revision=6705
* Fix typo.Zac Medico2007-05-311-1/+1
| | | | svn path=/main/trunk/; revision=6704
* Raise a KeyError from bindbapi.aux_get() when appropriate.Zac Medico2007-05-311-0/+2
| | | | svn path=/main/trunk/; revision=6699
* Make dep_zapdeps() pull SLOT from the correct dbapi instance when it falls ↵Zac Medico2007-05-311-3/+8
| | | | | | back to the vdb. svn path=/main/trunk/; revision=6698
* Replace deprecated binarytree.remotepkgs usage with binarytree._remotepkgs ↵Zac Medico2007-05-311-16/+11
| | | | | | since the former is vulnerable to collisions in the tbz2 filename. svn path=/main/trunk/; revision=6697
* Fix typos.Zac Medico2007-05-311-2/+2
| | | | svn path=/main/trunk/; revision=6695