summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* For bug #180399, raise an appropriate InvalidDependString exception if there ↵Zac Medico2007-05-301-1/+12
| | | | | | is no flag attached directly to a '?' token. svn path=/main/trunk/; revision=6678
* Show deprecation warnings if the "clone" parameters are used for the ↵Zac Medico2007-05-303-0/+6
| | | | | | binartree, vartree, or portagetree constructors. svn path=/main/trunk/; revision=6676
* Return a copy of the cached result from match_from_list().Zac Medico2007-05-301-1/+1
| | | | svn path=/main/trunk/; revision=6673
* For bug #61732, support -flag in USE (instead of just +flag). Given the ↵Zac Medico2007-05-302-2/+7
| | | | | | current default USE_ORDER, -flag in IUSE has no effect. svn path=/main/trunk/; revision=6671
* Fix slot handling at the beginning of match_from_list().Zac Medico2007-05-301-2/+1
| | | | svn path=/main/trunk/; revision=6669
* For bug #179870, correctly handle slot deps in the profile's package.* files.Zac Medico2007-05-291-12/+12
| | | | svn path=/main/trunk/; revision=6665
* Fix get_operator() and best_match_to_list() so that slot deps mesh properly ↵Zac Medico2007-05-291-1/+2
| | | | | | with operators. svn path=/main/trunk/; revision=6663
* Fix dep_getcpv() so that it always properly removes the slot regardless of ↵Zac Medico2007-05-291-3/+2
| | | | | | which operator is present. svn path=/main/trunk/; revision=6661
* Don't pass slotted packages into pkgsplit since it doesn't handle them.Zac Medico2007-05-291-4/+11
| | | | svn path=/main/trunk/; revision=6659
* 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. svn path=/main/trunk/; revision=6657
* Fix binarytree.gettbz2() so that it works without $PKGDIR/All/ and inserts ↵Zac Medico2007-05-281-2/+4
| | | | | | the downloaded package into the local index. svn path=/main/trunk/; revision=6656
* Include IUSE in the Package index so that it can be used for --newuse ↵Zac Medico2007-05-281-1/+2
| | | | | | calculations. svn path=/main/trunk/; revision=6655
* Cap the progress bar columns at 80 since it looks ridiculous when it gets ↵Zac Medico2007-05-281-0/+3
| | | | | | too wide. svn path=/main/trunk/; revision=6654
* Add new emaint targets called "moveinst" and "movebin" for applying package ↵Zac Medico2007-05-283-16/+32
| | | | | | moves from $PORTDIR/profiles/updates/ on installed packages and binary packages. svn path=/main/trunk/; revision=6652
* For bug #180009, add a PORTAGE_RSYNC_INITIAL_TIMEOUT config variable. The ↵Zac Medico2007-05-281-2/+10
| | | | | | default is 15 seconds and it can be disabled by setting it to 0. svn path=/main/trunk/; revision=6650
* For bug #180079, fix a KeyError so that a search for the empty string will ↵Zac Medico2007-05-281-2/+2
| | | | | | go ahead and match all packages. svn path=/main/trunk/; revision=6648
* Fix typo.Zac Medico2007-05-271-2/+2
| | | | svn path=/main/trunk/; revision=6647
* Make emaint prune stale entires from $PKGDIR/Packages.Zac Medico2007-05-271-1/+1
| | | | svn path=/main/trunk/; revision=6644
* Add progress support to emaint (similar to wget's progress bar).Zac Medico2007-05-271-1/+127
| | | | svn path=/main/trunk/; revision=6639
* Add a get_term_size() function that uses the curses module if available and ↵Zac Medico2007-05-271-11/+24
| | | | | | otherwise falls back to parsing the output of `stty size`. svn path=/main/trunk/; revision=6638
* Fix logic for USE_EXPAND variables that are incremental (there are none ↵Zac Medico2007-05-261-9/+17
| | | | | | currently). svn path=/main/trunk/; revision=6635
* Fix broken dict.get logic.Zac Medico2007-05-261-2/+4
| | | | svn path=/main/trunk/; revision=6634
* Create the Packages index whether or not $PKGDIR/All/ exists so that ↵Zac Medico2007-05-261-38/+37
| | | | | | improved binarytree.populate() performance will be available in either case. When dealing with packages in $PKGDIR/All/, it's assumed that the file name, size, and timestamp are enough information to avoid reading the xpak data. svn path=/main/trunk/; revision=6633
* Store flags as a set inside the USE incremental loop.Zac Medico2007-05-251-10/+8
| | | | svn path=/main/trunk/; revision=6627
* Call tcgetattr and tcsetattr on the slave end of the pty in order to avoid ↵Zac Medico2007-05-251-2/+2
| | | | | | an "invalid argument" error on Solaris. Thanks to grobian. svn path=/main/trunk/; revision=6625
* 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. svn path=/main/trunk/; revision=6623
* To ease the namespace transition, automatically translate cache.* to ↵Zac Medico2007-05-252-2/+12
| | | | | | portage.cache.* if an ImportError occurs. svn path=/main/trunk/; revision=6620
* Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that ↵Zac Medico2007-05-241-2/+3
| | | | | | way and the * behavior was already annoying enough. svn path=/main/trunk/; revision=6617
* Make PackageIndex.write() omit USE when appropriate.Zac Medico2007-05-241-3/+4
| | | | svn path=/main/trunk/; revision=6613
* Remember to call the superclass constructor.Zac Medico2007-05-241-0/+1
| | | | svn path=/main/trunk/; revision=6612
* Make PackageIndex.write() alphabetize the metadata keys.Zac Medico2007-05-241-2/+6
| | | | svn path=/main/trunk/; revision=6611
* Fix paren_normalize logic.Zac Medico2007-05-241-6/+3
| | | | svn path=/main/trunk/; revision=6610
* Add more relevant package metadata to the Packages index, including ↵Zac Medico2007-05-242-0/+61
| | | | | | dependencies with USE conditionals collapsed. svn path=/main/trunk/; revision=6609
* Pass a temporary file name to the package phase in the environment variable ↵Zac Medico2007-05-232-4/+30
| | | | | | PORTAGE_BINPKG_TMPFILE and move the temporary file into place inside binarytree.inject(). This allows binarytree.inject() to perform the move while holding a lock. svn path=/main/trunk/; revision=6591
* Save memory by not holding a reference to the PackageIndex when it's not ↵Zac Medico2007-05-231-10/+9
| | | | | | being used. svn path=/main/trunk/; revision=6590
* Lock the Packages index while it's being updated with a packages that was ↵Zac Medico2007-05-231-12/+36
| | | | | | just built. svn path=/main/trunk/; revision=6589
* Store the path of $PKGDIR/Packages as binarytree._pkgindex_file.Zac Medico2007-05-231-4/+4
| | | | svn path=/main/trunk/; revision=6588
* Lock $PKGDIR/Packages during population so that it won't get out of sync if ↵Zac Medico2007-05-231-0/+12
| | | | | | another process updates it. svn path=/main/trunk/; revision=6587
* Update /Packages as each package is built (MD5 is done here since it won't ↵Zac Medico2007-05-232-4/+49
| | | | | | hurt performance). svn path=/main/trunk/; revision=6586
* Discard metadata from the Packages file if there's no MTIME attribute.Zac Medico2007-05-221-10/+4
| | | | svn path=/main/trunk/; revision=6585
* Split reading/writing of $PKGDIR/Packages into a PackageIndex class.Zac Medico2007-05-222-22/+38
| | | | svn path=/main/trunk/; revision=6584
* Fix missing red import.Zac Medico2007-05-221-1/+1
| | | | svn path=/main/trunk/; revision=6583
* Punt the portdbapi.getsize() function since it's unused and broken (mysum ↵Zac Medico2007-05-221-13/+0
| | | | | | referenced before assignment). svn path=/main/trunk/; revision=6582
* More namespace fixes.Zac Medico2007-05-221-2/+2
| | | | svn path=/main/trunk/; revision=6581
* Fix namespace for S_ISUID and S_ISGID.Zac Medico2007-05-221-1/+1
| | | | svn path=/main/trunk/; revision=6580
* - cleaner version of the hardlink basic suid protection. actually check that ↵Ned Ludd2007-05-221-5/+6
| | | | | | the file is setXid svn path=/main/trunk/; revision=6579
* Handle a KeyError if an MTIME is missing from the Packages index.Zac Medico2007-05-221-2/+2
| | | | svn path=/main/trunk/; revision=6571
* Fix size comparison logic.Zac Medico2007-05-221-2/+2
| | | | svn path=/main/trunk/; revision=6570
* Cache xpak metadata in ${PKGDIR}/Packages in order to minimize disk load ↵Zac Medico2007-05-222-2/+122
| | | | | | when binarytree.populate() is called. This does not do all the keys that genpkgindex does but it will copy metadata from the existing Packages file if it appears valid. The binarytree.populate() code is performance critical, so the MD5 will certainly have to be done elsewhere (like just after a package is built). svn path=/main/trunk/; revision=6569
* When ${PKGDIR}/All/ doesn't exist, put packages in ${PKGDIR}/${CATEGORY}/ ↵Zac Medico2007-05-222-9/+9
| | | | | | instead. This new layout is backward compatible with portage-2.1.2 and it will be a requirement for new PORTAGE_BINHOST support that is comming. svn path=/main/trunk/; revision=6568