[gnome-builder] flatpak: do not allow downloads from dependencies stage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: do not allow downloads from dependencies stage
- Date: Wed, 10 Jan 2018 21:29:35 +0000 (UTC)
commit e297ead8464610cbe2c8cfe2f6f1ec10f380ab9e
Author: Christian Hergert <chergert redhat com>
Date: Wed Jan 10 13:25:14 2018 -0800
flatpak: do not allow downloads from dependencies stage
This needs to be done in the earlier downloads stage. Otherwise,
we might try to download a second time, which is pretty damn
annoying (and not possible w/o network connection anyway).
src/plugins/flatpak/gbp-flatpak-pipeline-addin.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c
b/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c
index 6597fb4..1d50a9d 100644
--- a/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c
+++ b/src/plugins/flatpak/gbp-flatpak-pipeline-addin.c
@@ -338,11 +338,14 @@ register_dependencies_stage (GbpFlatpakPipelineAddin *self,
ide_subprocess_launcher_push_argv (launcher, "--ccache");
ide_subprocess_launcher_push_argv (launcher, "--force-clean");
ide_subprocess_launcher_push_argv (launcher, "--disable-updates");
+ ide_subprocess_launcher_push_argv (launcher, "--disable-download");
+
if (self->state_dir != NULL)
{
ide_subprocess_launcher_push_argv (launcher, "--state-dir");
ide_subprocess_launcher_push_argv (launcher, self->state_dir);
}
+
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]