Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Store flags as a set inside the USE incremental loop. | Zac Medico | 2007-05-25 | 1 | -10/+8 |
| | | | | svn path=/main/trunk/; revision=6627 | ||||
* | Call tcgetattr and tcsetattr on the slave end of the pty in order to avoid ↵ | Zac Medico | 2007-05-25 | 1 | -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 Medico | 2007-05-25 | 1 | -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 Medico | 2007-05-25 | 2 | -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 Medico | 2007-05-24 | 1 | -2/+3 |
| | | | | | | way and the * behavior was already annoying enough. svn path=/main/trunk/; revision=6617 | ||||
* | Make PackageIndex.write() omit USE when appropriate. | Zac Medico | 2007-05-24 | 1 | -3/+4 |
| | | | | svn path=/main/trunk/; revision=6613 | ||||
* | Remember to call the superclass constructor. | Zac Medico | 2007-05-24 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=6612 | ||||
* | Make PackageIndex.write() alphabetize the metadata keys. | Zac Medico | 2007-05-24 | 1 | -2/+6 |
| | | | | svn path=/main/trunk/; revision=6611 | ||||
* | Fix paren_normalize logic. | Zac Medico | 2007-05-24 | 1 | -6/+3 |
| | | | | svn path=/main/trunk/; revision=6610 | ||||
* | Add more relevant package metadata to the Packages index, including ↵ | Zac Medico | 2007-05-24 | 2 | -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 Medico | 2007-05-23 | 2 | -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 Medico | 2007-05-23 | 1 | -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 Medico | 2007-05-23 | 1 | -12/+36 |
| | | | | | | just built. svn path=/main/trunk/; revision=6589 | ||||
* | Store the path of $PKGDIR/Packages as binarytree._pkgindex_file. | Zac Medico | 2007-05-23 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=6588 | ||||
* | Lock $PKGDIR/Packages during population so that it won't get out of sync if ↵ | Zac Medico | 2007-05-23 | 1 | -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 Medico | 2007-05-23 | 2 | -4/+49 |
| | | | | | | hurt performance). svn path=/main/trunk/; revision=6586 | ||||
* | Discard metadata from the Packages file if there's no MTIME attribute. | Zac Medico | 2007-05-22 | 1 | -10/+4 |
| | | | | svn path=/main/trunk/; revision=6585 | ||||
* | Split reading/writing of $PKGDIR/Packages into a PackageIndex class. | Zac Medico | 2007-05-22 | 2 | -22/+38 |
| | | | | svn path=/main/trunk/; revision=6584 | ||||
* | Fix missing red import. | Zac Medico | 2007-05-22 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6583 | ||||
* | Punt the portdbapi.getsize() function since it's unused and broken (mysum ↵ | Zac Medico | 2007-05-22 | 1 | -13/+0 |
| | | | | | | referenced before assignment). svn path=/main/trunk/; revision=6582 | ||||
* | More namespace fixes. | Zac Medico | 2007-05-22 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6581 | ||||
* | Fix namespace for S_ISUID and S_ISGID. | Zac Medico | 2007-05-22 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6580 | ||||
* | - cleaner version of the hardlink basic suid protection. actually check that ↵ | Ned Ludd | 2007-05-22 | 1 | -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 Medico | 2007-05-22 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6571 | ||||
* | Fix size comparison logic. | Zac Medico | 2007-05-22 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6570 | ||||
* | Cache xpak metadata in ${PKGDIR}/Packages in order to minimize disk load ↵ | Zac Medico | 2007-05-22 | 2 | -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 Medico | 2007-05-22 | 2 | -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 | ||||
* | Use bash to spawn FETCHCOMMAND under selinux since most other binaries are ↵ | Zac Medico | 2007-05-22 | 1 | -0/+2 |
| | | | | | | forbidden as entrypoints into the fetch domain. Thanks to Justin Heesemann <jh@ionium.org> for reporting. svn path=/main/trunk/; revision=6566 | ||||
* | Add a missing newline to the writemsg output. | Zac Medico | 2007-05-21 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=6564 | ||||
* | - blind chmod 0 before unlinking files to avoid anybody doing sneaky stuff ↵ | Ned Ludd | 2007-05-21 | 1 | -0/+4 |
| | | | | | | via hardlinks svn path=/main/trunk/; revision=6563 | ||||
* | In fetch(), don't try to parse digests unless the "O" variable is defined. | Zac Medico | 2007-05-20 | 1 | -2/+7 |
| | | | | svn path=/main/trunk/; revision=6561 | ||||
* | For bug #179206, improve efficiency by using a containment test instead of ↵ | Zac Medico | 2007-05-20 | 1 | -2/+2 |
| | | | | | | str.count inside update_dbentry. Thanks to Jason Lai <jason.lai@gmail.com>. svn path=/main/trunk/; revision=6560 | ||||
* | Add edges to shown_edges at the first oportunity. | Zac Medico | 2007-05-19 | 1 | -6/+3 |
| | | | | svn path=/main/trunk/; revision=6557 | ||||
* | In --tree output, keep track of which graph edges have already been ↵ | Zac Medico | 2007-05-19 | 1 | -2/+14 |
| | | | | | | displayed and try not to display a given edge more than once. svn path=/main/trunk/; revision=6556 | ||||
* | Avoid permission errors when trying to lock repo_path. Note that the lock ↵ | Zac Medico | 2007-05-19 | 1 | -1/+6 |
| | | | | | | file should be mapped into /var somewhere. svn path=/main/trunk/; revision=6555 | ||||
* | Fall back to pickle if cPickle is unavailable. Thanks to Michael ↵ | Zac Medico | 2007-05-18 | 1 | -1/+5 |
| | | | | | | Haubenwallner <michael.haubenwallner@salomon.at> for reporting. svn path=/main/trunk/; revision=6552 | ||||
* | Only show extra whitespace where there are some news items to display. | Zac Medico | 2007-05-18 | 1 | -4/+6 |
| | | | | svn path=/main/trunk/; revision=6551 | ||||
* | Catch a potential OSError if the child process has already died. | Zac Medico | 2007-05-18 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=6550 | ||||
* | Enable elog functionality for the python side of portage | Marius Mauch | 2007-05-18 | 10 | -119/+213 |
| | | | | svn path=/main/trunk/; revision=6548 | ||||
* | Display notification about unread news in all situations specified by glep 42 | Marius Mauch | 2007-05-18 | 1 | -16/+28 |
| | | | | svn path=/main/trunk/; revision=6547 | ||||
* | - store newsid in unread file, not the path to the news item | Marius Mauch | 2007-05-18 | 1 | -52/+52 |
| | | | | | | | | - use octal numbers to specify file permissions - use descriptive exceptions when (not) creating NewsItem objects - code style cleanups svn path=/main/trunk/; revision=6546 | ||||
* | Add registration support for preserved library objects, move the ↵ | Marius Mauch | 2007-05-18 | 2 | -45/+168 |
| | | | | | | | | | library->consumer map code out of vardbapi and fix a bug in the setup code for preserve-libs and collision-protect caused by using relative paths with os.path.islink() svn path=/main/trunk/; revision=6545 | ||||
* | wrap lines | Zac Medico | 2007-05-17 | 1 | -9/+9 |
| | | | | svn path=/main/trunk/; revision=6542 | ||||
* | For bug #162404, use a pseudo-terminal device pair (instead of a normal ↵ | Zac Medico | 2007-05-17 | 1 | -25/+47 |
| | | | | | | pipe) for moving ouput out of the sesandbox domain. svn path=/main/trunk/; revision=6541 | ||||
* | Don't protect USE_EXPAND variables from -* anymore because the really ↵ | Zac Medico | 2007-05-16 | 1 | -1/+1 |
| | | | | | | critical ones should all be in use.force now (typically kernel_linux, elibc_glibc, and userland_GNU). svn path=/main/trunk/; revision=6540 | ||||
* | fix syntax (merged from branches/prefix r6534) | Zac Medico | 2007-05-14 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6537 | ||||
* | For bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty. | Zac Medico | 2007-05-13 | 1 | -2/+5 |
| | | | | svn path=/main/trunk/; revision=6535 | ||||
* | the profile check is spammy and should be squelched when --quiet is given | Alec Warner | 2007-05-13 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=6530 | ||||
* | Fix the varexpand quotes tests since quotes are no longer removed by this ↵ | Zac Medico | 2007-05-13 | 1 | -2/+2 |
| | | | | | | function. svn path=/main/trunk/; revision=6525 | ||||
* | Add TODO note about support for blocks within slots. Thanks to Brian ↵ | Zac Medico | 2007-05-12 | 1 | -6/+5 |
| | | | | | | Harring for reporting. svn path=/main/trunk/; revision=6524 |