summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Documnet EAPI in the MASKED PACKAGES section.Zac Medico2007-10-051-0/+5
| | | | svn path=/main/trunk/; revision=7951
* Fix spelling of backward.Zac Medico2007-10-051-1/+1
| | | | svn path=/main/trunk/; revision=7950
* Document the EAPI variable.Zac Medico2007-10-051-0/+11
| | | | svn path=/main/trunk/; revision=7949
* ignore missing filesMarius Mauch2007-10-051-2/+3
| | | | svn path=/main/trunk/; revision=7948
* add TODO list for portage-2.2Marius Mauch2007-10-051-0/+4
| | | | svn path=/main/trunk/; revision=7947
* copy of gentoolkit r451Marius Mauch2007-10-051-1/+1
| | | | svn path=/main/trunk/; revision=7946
* 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
* Make the EbuildQuote check ignore lines beginningZac Medico2007-10-051-1/+1
| | | | | | | with local or export builtins since unquoted assignments are okay there. svn path=/main/trunk/; revision=7942
* In portdbapi.aux_get(), simplify code by using stringZac Medico2007-10-041-9/+2
| | | | | | | | manipulation instead of int conversion to manipulate negative EAPI when deciding whether or not regen is necessary. svn path=/main/trunk/; revision=7919
* Handle UnsupportedAPIException when running the ebuild(1)Zac Medico2007-10-041-0/+8
| | | | | | command. svn path=/main/trunk/; revision=7918
* Include the package name in all exceptions raised fromZac Medico2007-10-042-3/+5
| | | | | | | | portdbapi.getfetchlist() so that a redundant and sometimes inaccurate message doesn't have to be shown when the error is caught in digestgen(). svn path=/main/trunk/; revision=7917
* Make portdbapi.getfetchlist() bail out if the EAPIZac Medico2007-10-041-1/+8
| | | | | | | | is unsupported. This makes it impossible for an unsupported EAPI to result in invalid Manifest generation. svn path=/main/trunk/; revision=7916
* Fix logic for the message that's show whenZac Medico2007-10-041-1/+1
| | | | | | --force is disabled. svn path=/main/trunk/; revision=7915
* Make repoman bail out if it is unable to properlyZac Medico2007-10-042-19/+55
| | | | | | | | access ebuild metadata for some reason. In this case it's impossible to generate a Manifest and therefore the --force option has to be disabled. svn path=/main/trunk/; revision=7914
* Add EAPI masking support for binary packages.Zac Medico2007-10-042-5/+19
| | | | svn path=/main/trunk/; revision=7913
* Fix UnsupportedAPIException.__str__() to strip the leadingZac Medico2007-10-041-1/+5
| | | | | | negative sign (-) from the EAPI, to prevent confusion. svn path=/main/trunk/; revision=7912
* Non-integer EAPI isn't supported. In case it's supported inZac Medico2007-10-041-3/+9
| | | | | | | the future, assume that it's valid (rather than trigger a regen). svn path=/main/trunk/; revision=7911
* When the metadata cache contains a negative EAPI, it meansZac Medico2007-10-041-1/+7
| | | | | | | | | | | that the cache entry was generated by a version of portage that did not support the eapi. When the user upgrades to a version that now supports the previously unsupported EAPI, those cache entries need to be regenerated. Therefore, when a cache entry has a negative EAPI, check if the EAPI would be supported and trigger a regen if appropriate. svn path=/main/trunk/; revision=7910
* Bump EAPI from 0 to 1 and fix eapi_is_supported() so thatZac Medico2007-10-042-2/+8
| | | | | | it works properly with both 0 and 1. svn path=/main/trunk/; revision=7909
* no need to use "function" when defining a functionMike Frysinger2007-10-031-10/+10
| | | | svn path=/main/trunk/; revision=7908
* this isnt part of gentoolkit anymoreMike Frysinger2007-10-031-1/+1
| | | | svn path=/main/trunk/; revision=7907
* Eliminate confusing false positive error messagesZac Medico2007-10-032-8/+24
| | | | | | | | | | | | | | for SRC_URI.syntax and digestentry.unused that are reported when the SRC_URI for one or more ebuilds can't be parsed for some reason. There's no point in producing a false error here since the root cause will produce a valid error elsewhere, such as "SRC_URI.syntax" or "ebuild.sytax". Also, update the docs for the "ebuild.syntax" error to indicate that a digest verification failure can trigger it. svn path=/main/trunk/; revision=7905
* In the EbuildQuote check, combine the var_assignmentZac Medico2007-10-031-4/+1
| | | | | | | | regex together with the ignore_line regex. This also fixes an issue with the var_assignment regex allowing violations like `make DESTDIR=${D}` to slip through. svn path=/main/trunk/; revision=7904
* Filter some false positives out of the EbuildQuote check.Zac Medico2007-10-021-13/+48
| | | | | | | It might work well enough now so that we don't have to degrade it to a warning. svn path=/main/trunk/; revision=7901
* Bug #194398 - Do not log "exiting successfully" in emerge.logZac Medico2007-10-011-2/+5
| | | | | | | unless the status really is successful. Otherwise, log "exiting unsuccessfully". Thanks to David Watzke. svn path=/main/trunk/; revision=7900
* Apply new checks, minor cleanupAlec Warner2007-10-011-8/+11
| | | | svn path=/main/trunk/; revision=7899
* Rename checks as the naming was overkill (they are all obviously checks ↵Alec Warner2007-10-012-6/+24
| | | | | | being in the check module), add nesteddie check svn path=/main/trunk/; revision=7898
* Delete some extra leaky vars, also after some testing I discovered read() is ↵Alec Warner2007-10-011-4/+2
| | | | | | much faster than readlines(), see http://dev.gentoo.org/~antarus/projects/portage/stats/StringIOVsFiles.txt svn path=/main/trunk/; revision=7897
* keep old repoman names so we don't confuse peopleAlec Warner2007-10-011-1/+1
| | | | svn path=/main/trunk/; revision=7896
* Add Donnie's quote check, refactor other ebuild-content checks into classes ↵Alec Warner2007-10-011-65/+34
| | | | | | and get them out of repoman in an attempt to start moving other checks out as well. Again wonder at the price of StringIO and N passes, is the readability worth it? svn path=/main/trunk/; revision=7895
* Add new repoman check classes using StringIO; possibly need some testing, ↵Alec Warner2007-10-013-0/+189
| | | | | | obviously the old code was faster (1 iteration over the file), here we do one iteration per check, StringIO was to try and negate this by doing the checks in memory...how much of a price do we pay here? svn path=/main/trunk/; revision=7894
* Bug #142508 - Clear the screen each time before callingZac Medico2007-10-011-0/+14
| | | | | | | | the "diff" command so that any remnants of the previous config are now shown with the current one. command so that svn path=/main/trunk/; revision=7893
* Reimplement portdbapi.visible() so that is works withoutZac Medico2007-09-301-45/+51
| | | | | | | | | | | | | | | using self.xmatch(). This should be 100% compatible with the previous implementation and have comparable performance. By eliminating the xmatch() dependency, the code becomes more generically usable, like for visibility filtering of binary packages. It seems that it will be necessary to move this code outside of the dbapi since visiblity filtering is really a resolver level function and to solve things like bug #88613 will require a more flexible approach. since the current internal svn path=/main/trunk/; revision=7892
* Document interaction between config.setinst() andZac Medico2007-09-301-0/+7
| | | | | | old-style virtuals preferences. svn path=/main/trunk/; revision=7891
* Remove redundant trailing slashes from ${D}. (branches/prefix r7886)Zac Medico2007-09-291-14/+17
| | | | svn path=/main/trunk/; revision=7890
* Initialize PORTAGE_TMPDIR before using it.Zac Medico2007-09-291-3/+3
| | | | svn path=/main/trunk/; revision=7887
* revert useless quotingMike Frysinger2007-09-292-4/+2
| | | | svn path=/main/trunk/; revision=7879
* Fix quoting as reported by Drac in bug 194169Alec Warner2007-09-293-3/+3
| | | | svn path=/main/trunk/; revision=7878
* Bug #194095 - Validate dispatch-conf input in order toZac Medico2007-09-291-2/+13
| | | | | | | | prevent spurious input characters from being interpreted as user input (which can be quite confusing and gives an "out of control" feeling). svn path=/main/trunk/; revision=7877
* Bug #193548 - When scanning for config updates and an errorZac Medico2007-09-281-4/+6
| | | | | | | occurs, send find's stdout to /dev/null so that only an error message is shown. svn path=/main/trunk/; revision=7875
* When scanning for config updates, treat a symlink to an existingZac Medico2007-09-281-0/+9
| | | | | | directory as if it's just a normal directory. svn path=/main/trunk/; revision=7873
* Bug #193548 - When emerge spawns find to search for config updates,Zac Medico2007-09-281-1/+2
| | | | | | show the find output if there is an error. svn path=/main/trunk/; revision=7871
* Bug #194081 - Add EBUSY to the list of ignored errnos for unlinkZac Medico2007-09-281-4/+8
| | | | | | and rmdir calls during unmerge. svn path=/main/trunk/; revision=7869
* Handle KeyError thrown from aux_get().Zac Medico2007-09-271-5/+6
| | | | svn path=/main/trunk/; revision=7866
* Move prelink tempfile cleanup to the finally block andZac Medico2007-09-271-6/+2
| | | | | | remove unused locking code. svn path=/main/trunk/; revision=7864
* Simplify update_eclasses() a little.Zac Medico2007-09-271-8/+5
| | | | svn path=/main/trunk/; revision=7861
* Move a newline to fix formatting.Zac Medico2007-09-271-1/+2
| | | | svn path=/main/trunk/; revision=7858
* Ignore ENOTDIR from unmerge unlink calls.Zac Medico2007-09-271-1/+1
| | | | svn path=/main/trunk/; revision=7856
* Bug #194025 - Lock /var/db/pkg in post_merge() during theZac Medico2007-09-271-4/+10
| | | | | | | "Regenerating GNU info directory index" routine. svn path=/main/trunk/; revision=7853
* with help from Donnie and Ulrich, use sed to extract the statement that led ↵Mike Frysinger2007-09-271-2/+24
| | | | | | to the call to die so we can print it out in our error message svn path=/main/trunk/; revision=7852