mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +01:00
new AntiFeature: SourceGone (automatically set at NoSourceSince). closes #508
This commit is contained in:
parent
4f7a992214
commit
5d8e1bde4f
@ -429,7 +429,7 @@ valuetypes = {
|
||||
["ArchivePolicy"]),
|
||||
|
||||
FieldValidator("Anti-Feature",
|
||||
r'^(Ads|Tracking|NonFreeNet|NonFreeDep|NonFreeAdd|UpstreamNonFree|NonFreeAssets|KnownVuln|ApplicationDebuggable)$',
|
||||
r'^(Ads|Tracking|NonFreeNet|NonFreeDep|NonFreeAdd|UpstreamNonFree|NonFreeAssets|KnownVuln|ApplicationDebuggable|NoSourceSince)$',
|
||||
["AntiFeatures"]),
|
||||
|
||||
FieldValidator("Auto Update Mode",
|
||||
@ -993,6 +993,9 @@ def parse_metadata(metadatapath, check_vcs=False, refresh=True):
|
||||
|
||||
post_metadata_parse(app)
|
||||
|
||||
if app.NoSourceSince:
|
||||
app.AntiFeatures.append('NoSourceSince')
|
||||
|
||||
if not app.id:
|
||||
if app.builds:
|
||||
build = app.builds[-1]
|
||||
|
Loading…
Reference in New Issue
Block a user