[gnome-builder] flatpak: disable updates by default



commit 82ffd194af4a2fc7f8bf5091f7d4774a3a76af40
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 14 17:55:17 2017 -0800

    flatpak: disable updates by default
    
    Don't update sources automatically as part of the build pipeline
    setup unless we must. We'll use the "update dependencies action
    to do this manually.

 src/plugins/flatpak/gbp-flatpak-pipeline-addin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c 
b/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c
index 2743076..8ea35b9 100644
--- a/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c
+++ b/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c
@@ -280,6 +280,7 @@ register_downloads_stage (GbpFlatpakPipelineAddin  *self,
   ide_subprocess_launcher_push_argv (launcher, "--ccache");
   ide_subprocess_launcher_push_argv (launcher, "--force-clean");
   ide_subprocess_launcher_push_argv (launcher, "--download-only");
+  ide_subprocess_launcher_push_argv (launcher, "--disable-updates");
   stop_at_option = g_strdup_printf ("--stop-at=%s", primary_module);
   ide_subprocess_launcher_push_argv (launcher, stop_at_option);
   ide_subprocess_launcher_push_argv (launcher, staging_dir);


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