[gnome-software/wip/rancell/apt] apt: Consider the license data from filenames to be low quality
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/apt] apt: Consider the license data from filenames to be low quality
- Date: Thu, 7 Apr 2016 10:50:19 +0000 (UTC)
commit 202c59d15798152b31884a341c8bd7a38ca58d7c
Author: Iain Lane <iain orangesquash org uk>
Date: Thu Apr 7 11:49:28 2016 +0100
apt: Consider the license data from filenames to be low quality
If AppStream (or something else) knows the license then it's going to be
better than ours.
src/plugins/gs-plugin-apt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.c b/src/plugins/gs-plugin-apt.c
index d933965..702d7ab 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -495,7 +495,7 @@ gs_plugin_refine (GsPlugin *plugin,
gs_app_add_quirk (app, AS_APP_QUIRK_PROVENANCE);
}
if ((flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_LICENCE) != 0 && info->is_open_source) {
- gs_app_set_license (app, GS_APP_QUALITY_HIGHEST, "@LicenseRef-ubuntu");
+ gs_app_set_license (app, GS_APP_QUALITY_LOWEST, "@LicenseRef-ubuntu");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]