chiark / gitweb /
lint: don't be pedantic about downloading code
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 5 Jun 2015 14:59:01 +0000 (16:59 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 5 Jun 2015 14:59:01 +0000 (16:59 +0200)
We don't really control this if run via a script, which happens more often.

fdroidserver/lint.py

index d51dab9222b44fd1851e08867ecbe58ab62cc871..ec4373dd6e547aae4e15a8b5a2e28902e749501a 100644 (file)
@@ -214,13 +214,6 @@ def main():
                     if ref.startswith(s):
                         warn("Branch '%s' used as commit in srclib '%s'" % (
                             s, srclib))
-            for s in ['git clone', 'git svn clone', 'svn checkout', 'svn co', 'hg clone']:
-                for flag in ['init', 'prebuild', 'build']:
-                    if not build[flag]:
-                        continue
-                    if s in build[flag]:
-                        # TODO: This should not be pedantic!
-                        pwarn("'%s' used in %s '%s'" % (s, flag, build[flag]))
 
         if not curid:
             print