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)
committerFabian Groffen <grobian@gentoo.org>
Sun, 30 Jan 2011 20:52:50 +0000 (21:52 +0100)
commit8e1c57067c4556ee2c730f0722d344c52cf4888c
tree38abff2a89ab194ab96fd068751b000f19198878
parentf3d72b4418d19cae39d3c327699d244bbfad6461
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