From 6bfbbbefc91069cb4244cf5a5462e6cef3cef3e6 Mon Sep 17 00:00:00 2001 From: wired Date: Sun, 15 Aug 2010 01:56:40 +0300 Subject: repoman: check for deprecated eclasses compare the inherited eclasses to a list of deprecated eclasses. print QA warnings for each deprecated eclass found and suggest an alternative for those that have one. --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index df4232516..3b28bf5be 100755 --- a/bin/repoman +++ b/bin/repoman @@ -285,6 +285,7 @@ qahelp={ "file.name":"File/dir name must be composed of only the following chars: %s " % allowed_filename_chars, "file.UTF8":"File is not UTF8 compliant", "inherit.autotools":"Ebuild inherits autotools but does not call eautomake, eautoconf or eautoreconf", + "inherit.deprecated":"Ebuild inherits a deprecated eclass", "java.eclassesnotused":"With virtual/jdk in DEPEND you must inherit a java eclass", "KEYWORDS.dropped":"Ebuilds that appear to have dropped KEYWORDS for some arch", "KEYWORDS.missing":"Ebuilds that have a missing or empty KEYWORDS variable", @@ -396,6 +397,7 @@ qawarnings = set(( "ebuild.patches", "file.size", "inherit.autotools", +"inherit.deprecated", "java.eclassesnotused", "metadata.warning", "virtual.versioned", -- cgit v1.2.3-1-g7c22