Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make emaint prune stale entires from $PKGDIR/Packages. | Zac Medico | 2007-05-27 | 2 | -3/+37 |
| | | | | svn path=/main/trunk/; revision=6644 | ||||
* | Add an emaint "binhost" target which does the time consuming population of ↵ | Zac Medico | 2007-05-27 | 1 | -1/+59 |
| | | | | | | $PKGDIR/Packages that is necessary for a binhost (MD5 makes it relatively slow). It reuses metadata from the existing Packages file whenever possible. svn path=/main/trunk/; revision=6643 | ||||
* | Fix a typo. | Zac Medico | 2007-05-27 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6642 | ||||
* | Fix an UnboundLocalError when there's no tty. | Zac Medico | 2007-05-27 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=6641 | ||||
* | Add SIGWINCH support so that the progress bar is resized if the xterm is ↵ | Zac Medico | 2007-05-27 | 1 | -2/+7 |
| | | | | | | resized. svn path=/main/trunk/; revision=6640 | ||||
* | Add progress support to emaint (similar to wget's progress bar). | Zac Medico | 2007-05-27 | 2 | -5/+160 |
| | | | | svn path=/main/trunk/; revision=6639 | ||||
* | Add a get_term_size() function that uses the curses module if available and ↵ | Zac Medico | 2007-05-27 | 1 | -11/+24 |
| | | | | | | otherwise falls back to parsing the output of `stty size`. svn path=/main/trunk/; revision=6638 | ||||
* | In the WorldHandler class, add support for an onProgress callback that can ↵ | Zac Medico | 2007-05-27 | 1 | -3/+14 |
| | | | | | | be used notify the user of job progress. This isn't really useful for WorldHandler since it completes quickly, but it will be useful for longer running tasks. svn path=/main/trunk/; revision=6637 | ||||
* | Fix logic for USE_EXPAND variables that are incremental (there are none ↵ | Zac Medico | 2007-05-26 | 1 | -9/+17 |
| | | | | | | currently). svn path=/main/trunk/; revision=6635 | ||||
* | Fix broken dict.get logic. | Zac Medico | 2007-05-26 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=6634 | ||||
* | Create the Packages index whether or not $PKGDIR/All/ exists so that ↵ | Zac Medico | 2007-05-26 | 1 | -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 | ||||
* | xmlint can produce garbage output even on success, so only dump the ouput ↵ | Zac Medico | 2007-05-26 | 1 | -3/+8 |
| | | | | | | when it fails. See bug #179008. svn path=/main/trunk/; revision=6631 | ||||
* | In the econf die message, don't mention bugs.gentoo.org specifically. | Zac Medico | 2007-05-26 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6630 | ||||
* | s/filing a report to/seeking support at/ Thanks to marienz. | Zac Medico | 2007-05-26 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6629 | ||||
* | 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 | ||||
* | Skip fetching of metadata.dtd when mymode == "manifest". | Zac Medico | 2007-05-25 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=6618 | ||||
* | 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 | ||||
* | Fix the ignore-previously-merged option so that it compares the original ↵ | Zac Medico | 2007-05-24 | 1 | -1/+2 |
| | | | | | | files, since mrgconf can be identical to conf['current'] even when conf['new'] is different from the archived .dist version (due to diff3 merging). svn path=/main/trunk/; revision=6615 | ||||
* | 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 | ||||
* | Add a 'ignore-previously-merged' config option which gives similar behavior ↵ | Zac Medico | 2007-05-23 | 2 | -0/+13 |
| | | | | | | to the --noconfmem emerge option. svn path=/main/trunk/; revision=6592 | ||||
* | Pass a temporary file name to the package phase in the environment variable ↵ | Zac Medico | 2007-05-23 | 3 | -19/+34 |
| | | | | | | 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 | 3 | -12/+20 |
| | | | | | | 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 | ||||
* | Fix src_compile() ECONF_SOURCE logic to make sure it behaves properly. | Zac Medico | 2007-05-22 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=6567 | ||||
* | 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 | ||||
* | For bug #179380, make support for ECONF_SOURCE in the default src_compile() ↵ | Zac Medico | 2007-05-22 | 1 | -1/+3 |
| | | | | | | conditional on EAPI != 0. svn path=/main/trunk/; revision=6565 | ||||
* | 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 | ||||
* | For bug #179008, just use metadata.dtd directly from $DISTDIR. | Zac Medico | 2007-05-20 | 1 | -14/+13 |
| | | | | svn path=/main/trunk/; revision=6562 |