repoman: add check for using offset vars with helpers
authorFabian Groffen <grobian@gentoo.org>
Sun, 30 Jan 2011 20:52:50 +0000 (21:52 +0100)
committerZac Medico <zmedico@gentoo.org>
Wed, 2 Feb 2011 23:20:42 +0000 (15:20 -0800)
commite1b7dcba97af663b8589c01e6245f4875621c9fd
treedcb4c5e5422f849ae8932b2ed5447d8d95491cfe
parenta10e1f74f4f0e84c88a17407cf54b9be5d6ea272
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).
bin/repoman
pym/repoman/checks.py
pym/repoman/errors.py