mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 22:24:14 +02:00
[snap] mapping verified status for suggestions
This commit is contained in:
@@ -45,7 +45,8 @@ class SnapManager(SoftwareManager):
|
|||||||
name=app_json.get('name'),
|
name=app_json.get('name'),
|
||||||
version=app_json.get('version'),
|
version=app_json.get('version'),
|
||||||
latest_version=app_json.get('version'),
|
latest_version=app_json.get('version'),
|
||||||
description=app_json.get('description', app_json.get('summary')))
|
description=app_json.get('description', app_json.get('summary')),
|
||||||
|
verified_publisher=app_json.get('developer_validation', '') == 'verified')
|
||||||
|
|
||||||
if app.publisher and app.publisher.endswith('*'):
|
if app.publisher and app.publisher.endswith('*'):
|
||||||
app.verified_publisher = True
|
app.verified_publisher = True
|
||||||
|
|||||||
Reference in New Issue
Block a user