mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-04 05:46:55 -04:00
lint: Improve UCM:Tags warning
If the vercode is higher than CVC, then we're probably only following stable versions or something like that
This commit is contained in:
@@ -141,7 +141,8 @@ def main():
|
||||
# Potentially incorrect UCM
|
||||
if (curbuild and curbuild['commit']
|
||||
and app['Update Check Mode'] == 'RepoManifest'
|
||||
and curbuild['commit'] != 'unknown - see disabled'
|
||||
and not curbuild['commit'].startswith('unknown')
|
||||
and curbuild['vercode'] == app['Current Version Code']
|
||||
and any(s in curbuild['commit'] for s in '.,_-/')):
|
||||
pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
|
||||
curbuild['commit'], app['Update Check Mode']))
|
||||
|
||||
Reference in New Issue
Block a user