mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
Ability to run a scan but avoid slow svn repos
This commit is contained in:
parent
d3ddc7fea3
commit
60a6ca575a
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,8 @@ def main():
|
|||
help="Spew out even more information than normal")
|
||||
parser.add_option("-p", "--package", default=None,
|
||||
help="Scan only the specified package")
|
||||
parser.add_option("--nosvn", action="store_true", default=False,
|
||||
help="Skip svn repositories - for test purposes, because they are too slow.")
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
# Get all apps...
|
||||
|
@ -65,6 +67,8 @@ def main():
|
|||
elif not app['builds']:
|
||||
print "Skipping %s: no builds specified" % app['id']
|
||||
skip = True
|
||||
elif options.nosvn and app['Repo Type'] == 'svn':
|
||||
skip = True
|
||||
|
||||
if not skip:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue