summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-01-30 21:52:50 +0100
committerZac Medico <zmedico@gentoo.org>2011-02-02 15:20:42 -0800
commite1b7dcba97af663b8589c01e6245f4875621c9fd (patch)
treedcb4c5e5422f849ae8932b2ed5447d8d95491cfe /bin
parenta10e1f74f4f0e84c88a17407cf54b9be5d6ea272 (diff)
downloadportage-e1b7dcba97af663b8589c01e6245f4875621c9fd.tar.gz
portage-e1b7dcba97af663b8589c01e6245f4875621c9fd.tar.bz2
portage-e1b7dcba97af663b8589c01e6245f4875621c9fd.zip
repoman: add check for using offset vars with helpers
New check: NoOffsetWithHelpers. Checks whether helper functions, such as dodir and insinto, are used with offset variables either referring to the installation image (D, ED), the alternate root location (ROOT, EROOT), or the offset prefix (EPREFIX).
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index dd2b774e8..c049e70d1 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -340,6 +340,7 @@ qahelp={
"ebuild.nesteddie":"Placing 'die' inside ( ) prints an error, but doesn't stop the ebuild.",
"variable.invalidchar":"A variable contains an invalid character that is not part of the ASCII character set",
"variable.readonly":"Assigning a readonly variable",
+ "variable.usedwithhelpers":"Ebuild uses D, ROOT, ED, EROOT or EPREFIX with helpers",
"LIVEVCS.stable":"This ebuild is a live checkout from a VCS but has stable keywords.",
"LIVEVCS.unmasked":"This ebuild is a live checkout from a VCS but has keywords and is not masked in the global package.mask.",
"IUSE.invalid":"This ebuild has a variable in IUSE that is not in the use.desc or its metadata.xml file",