[gnome-software/wip/hughsie/XbBuilderSource-adapter] Support .yml.gz AppStream data



commit 78b19b5d75298a2810d75305b487766f4338b038
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Mar 7 12:10:48 2019 +1300

    Support .yml.gz AppStream data

 plugins/core/gs-plugin-appstream.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/core/gs-plugin-appstream.c b/plugins/core/gs-plugin-appstream.c
index df46988f..dca85091 100644
--- a/plugins/core/gs-plugin-appstream.c
+++ b/plugins/core/gs-plugin-appstream.c
@@ -391,6 +391,7 @@ gs_plugin_appstream_load_appstream (GsPlugin *plugin,
        while ((fn = g_dir_read_name (dir)) != NULL) {
                if (g_str_has_suffix (fn, ".xml") ||
                    g_str_has_suffix (fn, ".yml") ||
+                   g_str_has_suffix (fn, ".yml.gz") ||
                    g_str_has_suffix (fn, ".xml.gz")) {
                        g_autofree gchar *filename = g_build_filename (path, fn, NULL);
                        g_autoptr(GError) error_local = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]