summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Make diefunc() clean up QA_INTERCEPTORS in case it isZac Medico2007-11-111-1/+6
| | | | | | called from inherit() since sed called below. svn path=/main/trunk/; revision=8490
* Convert all the checks in repoman.checks to use a new LineCheckZac Medico2007-11-101-30/+9
| | | | | | | | | | | | | | | | | interface that takes a single line as an argument. This has at least a few of benefits: * Eliminates lots of redundant code * Error messages are ordered by line number across all checks The performance is slightly worse due to the increased number of method calls, but it's not really noticeable in comparison to the time consumed by dependency checks. Thanks to Petteri Räty <betelgeuse@gentoo.org> for the initial patch which I only made a few minor modifications to. svn path=/main/trunk/; revision=8483
* move checkfile parsing into its own functionMarius Mauch2007-11-091-5/+1
| | | | svn path=/main/trunk/; revision=8479
* Move glsa-check from gentoolkit into portage so the gentoolkit version can ↵Marius Mauch2007-11-092-2/+341
| | | | | | be removed after 2.2 is released svn path=/main/trunk/; revision=8478
* Bug #198492 - Make quickpkg create $PKGDIR if it doesn'tZac Medico2007-11-081-0/+4
| | | | | | already exist. svn path=/main/trunk/; revision=8464
* Remove the usage.obsolete "KEYWORDS contain -*" warning since peopleZac Medico2007-11-061-3/+0
| | | | | | | are using -* to indicate that a package should not be tried on archs other than those for which it already has KEYWORDS. svn path=/main/trunk/; revision=8447
* Remove references to ${O} in dyn_spec() since antarusZac Medico2007-11-061-1/+1
| | | | | | made that variable mutable. svn path=/main/trunk/; revision=8444
* Go ahead and exempt selected profile-specific USE_EXPANDZac Medico2007-11-061-1/+6
| | | | | | | | | | | | | flags from IUSE QA Notices since we are planning to make these particular flags into implicit members of IUSE. We can make this extensible later, but for now we just want to eliminate some useless QA Notices (a subset of bug #70648). We're not exempting any non profile- specific USE_EXPAND flags here. For non profile-specific flags, we intend to implement an IUSE syntax extension (bug #133327). svn path=/main/trunk/; revision=8442
* remove O and PPID from being readonly. O is set python side (and we will ↵Alec Warner2007-11-061-1/+1
| | | | | | hopefully stop being exported soon. PPID is ro by bash, so no need to declare it twice svn path=/main/trunk/; revision=8437
* Make WorldHandler lock the world file when in --fix mode.Zac Medico2007-11-051-11/+23
| | | | svn path=/main/trunk/; revision=8432
* Add support for package sets in WorldHandler.Zac Medico2007-11-051-1/+11
| | | | svn path=/main/trunk/; revision=8431
* Fix 'TypeError: not all arguments converted during string formatting'Zac Medico2007-11-051-1/+2
| | | | | | issues with the EbuildNestedDie check. svn path=/main/trunk/; revision=8429
* Replace StringIO usage with a simple list of lines. TheZac Medico2007-11-051-8/+6
| | | | | | | | | iteration interface is practically identical but the list of lines if more efficient because the lines only have to be split one time for each ebuild instead of for each check. svn path=/main/trunk/; revision=8428
* Generate a usage.obsolete warning wheneverZac Medico2007-11-041-2/+5
| | | | | | -* is found in KEYWORDS. svn path=/main/trunk/; revision=8414
* Call die() so that the $TMP directory is always properlyZac Medico2007-11-031-7/+6
| | | | | | cleaned up. svn path=/main/trunk/; revision=8405
* if mode=1 and `dialog` is not usable, abort #197990 by DominikBuerkleMike Frysinger2007-11-031-0/+7
| | | | svn path=/main/trunk/; revision=8402
* Sort scanlist and ebuildlist to ensure that repoman alwaysZac Medico2007-11-021-0/+2
| | | | | | processes packages in a predictable order. svn path=/main/trunk/; revision=8383
* Add a check for redundant cd "${S}" statements on the firstZac Medico2007-11-011-3/+3
| | | | | | | line of src_(compile|install|test) ebuild methods. Thanks to Petteri Räty <betelgeuse@gentoo.org> for this patch. svn path=/main/trunk/; revision=8351
* Fix diefunc() so that it doesn't report that the ebuild is fromZac Medico2007-10-311-1/+2
| | | | | | an overlay when EMERGE_FROM == binary. svn path=/main/trunk/; revision=8349
* Optimize repoman to share portdbapi.cp_list() resultsZac Medico2007-10-261-0/+3
| | | | | | | | | between all profiles since those results never change. The cached results also propagate to the xmatch match-all when appropriate (old-style virtuals are excluded since they are profile dependent). svn path=/main/trunk/; revision=8313
* Optimize repoman visibility checks to access as littleZac Medico2007-10-261-2/+2
| | | | | | | | | | metadata as possible. (improves performance especially in cases where metadata needs to be generated). This works by starting at the lowest version since that's most likely to have keywords and it returns as soon as the first visible package is found. svn path=/main/trunk/; revision=8309
* FIX: indentation problem, also end the Portage identificationZac Medico2007-10-251-1/+1
| | | | | | | line with a ) if repoman wasn't forced to do its job. (branches/prefix r8281) svn path=/main/trunk/; revision=8296
* Fix: Make repoman actually USE -m commit message again (and -MZac Medico2007-10-251-4/+4
| | | | | | commit message file). (branches/prefix r8280) svn path=/main/trunk/; revision=8295
* Begin to use python logging framework. Remove if quiet < bla logic and ↵Alec Warner2007-10-231-58/+41
| | | | | | instead use loglevels (critical, error, warn, info, debug). Default to WARN for repoman, which will print CRITICAL, ERROR, and WARN messages. one -v will print INFO messages and two -v's will print DEBUG messages, each -q will reduce the loglevel by one. -q and -v can be given in any order. svn path=/main/trunk/; revision=8250
* aha, i knew that diff was screwy, the mail to portage-commits and grep made ↵Alec Warner2007-10-231-71/+0
| | | | | | it obvious as to why; lets try removing those dupe checks. svn path=/main/trunk/; revision=8247
* fix tabbingAlec Warner2007-10-231-1/+1
| | | | svn path=/main/trunk/; revision=8246
* Sigh, this integration did not go well, please check the diff (it seemed to ↵Alec Warner2007-10-231-216/+283
| | | | | | add some weird ass code, but it looked fine on sources.gentoo.org). Next time I'll try and either work in a branch or commit faster ;) svn path=/main/trunk/; revision=8245
* Print the Id tag an it's own line to avoid goingZac Medico2007-10-231-2/+2
| | | | | | over 80 columns. svn path=/main/trunk/; revision=8243
* Fix the version Id tag.Zac Medico2007-10-231-2/+1
| | | | svn path=/main/trunk/; revision=8242
* Bug #196652 - Check for useless ABOUT-NLS|COPYING|LICENSEZac Medico2007-10-231-3/+4
| | | | | | files in dodoc arguments. svn path=/main/trunk/; revision=8236
* Fix broken imports.Zac Medico2007-10-221-2/+2
| | | | svn path=/main/trunk/; revision=8235
* Bug #184118 - Add an emaint "cleanresume" action that deletesZac Medico2007-10-221-1/+50
| | | | | | | any existing resume lists from the mtimedb. Thanks to Arfrever Frehtes Taifersar Arahesis for the initial patch. svn path=/main/trunk/; revision=8224
* Remove slashes that cause problems when unpacking files with relative paths ↵Marius Mauch2007-10-211-4/+4
| | | | | | (bug #196565) svn path=/main/trunk/; revision=8200
* Bug #196537 - Make portageq check that the <root> parameterZac Medico2007-10-211-7/+13
| | | | | | is an existing directory and exit gracefully if not. svn path=/main/trunk/; revision=8195
* Bug #196043 - Implement a `portageq owners <root> [<filename>]+`Zac Medico2007-10-171-1/+66
| | | | | | | | | command that is suitable for identifying all packages that own one or more files when a file collision has occurred. This uses dblink.isowner() so that the query works properly even when paths are ambiguous due to symlinked directories. svn path=/main/trunk/; revision=8154
* Move the emerge module to _emerge to make it privateZac Medico2007-10-161-3/+3
| | | | | | | since it's mostly unsuitable for api consumers at this time. svn path=/main/trunk/; revision=8142
* Fix --help summary so that "commit" mode shows.Zac Medico2007-10-151-1/+1
| | | | svn path=/main/trunk/; revision=8140
* Bug #195949 - Add one more using_editor conditional forZac Medico2007-10-151-2/+10
| | | | | | diff_command. svn path=/main/trunk/; revision=8130
* Bug #195949 - Use a different diff_command sanity checkZac Medico2007-10-151-7/+14
| | | | | | when using_editor is true. svn path=/main/trunk/; revision=8129
* Sort the modes in the repoman --help output.Zac Medico2007-10-151-0/+3
| | | | svn path=/main/trunk/; revision=8125
* Avoid an error message from find when "${D}"/usr/shareZac Medico2007-10-131-1/+1
| | | | | | does not exist. svn path=/main/trunk/; revision=8117
* Remove duplicate call to digestgen().Zac Medico2007-10-071-7/+0
| | | | svn path=/main/trunk/; revision=7996
* Move the "commit" mode manifest generation earlier in orderZac Medico2007-10-071-9/+13
| | | | | | | to avoid digest verification issues when FEATURES="strict" is enabled. svn path=/main/trunk/; revision=7995
* add --debug option and display a message about skipping non-files so we dont ↵Mike Frysinger2007-10-071-3/+9
| | | | | | get confusing loops where portage claims there are things to update but etc-update claims there are not svn path=/main/trunk/; revision=7994
* add standard --help/--version optionsMike Frysinger2007-10-071-1/+25
| | | | svn path=/main/trunk/; revision=7993
* unify diff_command handlingMike Frysinger2007-10-071-16/+19
| | | | svn path=/main/trunk/; revision=7992
* add support for .lzma / .tar.lzma to unpackMike Frysinger2007-10-071-0/+8
| | | | svn path=/main/trunk/; revision=7991
* add QA check for .pyc/.pyo files in /usr/shareMike Frysinger2007-10-071-0/+10
| | | | svn path=/main/trunk/; revision=7990
* let dohtml handle weird filenames, patch by TGL (bug #171272)Marius Mauch2007-10-061-6/+6
| | | | svn path=/main/trunk/; revision=7983
* Bug #194764 - All the match* functions can raiseZac Medico2007-10-051-9/+13
| | | | | | | | | a ValueError if cpv_expand() receives an ambiguous atom. Therefore, move the ValueError handling code out of match() and use it to handle all such errors when appropriate. svn path=/main/trunk/; revision=7944