[gnome-software/wip/iainl/ubuntu-xenial: 268/287] apt: Consider the license data from filenames to be low quality



commit 8a76d137289298df71620073714328028f77ce7e
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 45ff4aa..83a71e4 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -515,7 +515,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]