mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Also warn if UCM is None when using tags in commit=
This commit is contained in:
parent
2f5b029d97
commit
6d23119fae
1 changed files with 3 additions and 2 deletions
|
|
@ -85,9 +85,10 @@ def main():
|
||||||
lastcommit = build['commit']
|
lastcommit = build['commit']
|
||||||
|
|
||||||
# Potentially incorrect UCM
|
# Potentially incorrect UCM
|
||||||
if (app['Update Check Mode'] == 'RepoManifest' and
|
if (app['Update Check Mode'] in ['RepoManifest', 'None'] and
|
||||||
any(s in lastcommit for s in ('.', ',', '_', '-', '/'))):
|
any(s in lastcommit for s in ('.', ',', '_', '-', '/'))):
|
||||||
warn("Last used commit '%s' looks like a tag, but Update Check Mode is RepoManifest" % lastcommit)
|
warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
|
||||||
|
lastcommit, app['Update Check Mode']))
|
||||||
|
|
||||||
# No license
|
# No license
|
||||||
if app['License'] == 'Unknown':
|
if app['License'] == 'Unknown':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue