From 3a19cff34f5e2ed3cf4ce5cae6808332bef4e183 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 20 Jan 2015 19:44:13 -0500 Subject: [PATCH] build-export: Regenerate summary for the repo Summaries are the ostree mechanism to learn about available branches (ie in our case, applications and runtimes) in remote repositories. Therefore, we should generate summaries for all our repositories. --- xdg-app-builtins-build-export.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xdg-app-builtins-build-export.c b/xdg-app-builtins-build-export.c index 341610e4..9a21bc47 100644 --- a/xdg-app-builtins-build-export.c +++ b/xdg-app-builtins-build-export.c @@ -219,6 +219,9 @@ xdg_app_builtin_build_export (int argc, char **argv, GCancellable *cancellable, g_print ("Content Written: %u\n", stats.content_objects_written); g_print ("Content Bytes Written: %" G_GUINT64_FORMAT "\n", stats.content_bytes_written); + if (!ostree_repo_regenerate_summary (repo, NULL, cancellable, error)) + goto out; + ret = TRUE; out: