[gnome-builder/wip/chergert/flatpak-repo] flatpak: always run sdk download
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/flatpak-repo] flatpak: always run sdk download
- Date: Wed, 25 Aug 2021 21:20:33 +0000 (UTC)
commit aa2cccc3f6b794e50e3dd898a0849ff3dd392f49
Author: Christian Hergert <chergert redhat com>
Date: Wed Aug 25 14:20:07 2021 -0700
flatpak: always run sdk download
We need to rely on transient settings to remove this.
src/plugins/flatpak/gbp-flatpak-sdk-stage.c | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-sdk-stage.c b/src/plugins/flatpak/gbp-flatpak-sdk-stage.c
index 0cb90d770..0e79ded70 100644
--- a/src/plugins/flatpak/gbp-flatpak-sdk-stage.c
+++ b/src/plugins/flatpak/gbp-flatpak-sdk-stage.c
@@ -171,6 +171,15 @@ gbp_flatpak_sdk_stage_build_finish (IdePipelineStage *stage,
IDE_RETURN (ret);
}
+static void
+gbp_flatpak_sdk_stage_query (IdePipelineStage *stage,
+ IdePipeline *pipeline,
+ GPtrArray *targets,
+ GCancellable *cancellable)
+{
+ ide_pipeline_stage_set_completed (stage, FALSE);
+}
+
static void
gbp_flatpak_sdk_stage_finalize (GObject *object)
{
@@ -189,6 +198,7 @@ gbp_flatpak_sdk_stage_class_init (GbpFlatpakSdkStageClass *klass)
stage_class->build_async = gbp_flatpak_sdk_stage_build_async;
stage_class->build_finish = gbp_flatpak_sdk_stage_build_finish;
+ stage_class->query = gbp_flatpak_sdk_stage_query;
object_class->finalize = gbp_flatpak_sdk_stage_finalize;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]