[gnome-builder/wip/chergert/deploy] pipeline: add commit phase



commit cd8eacb2a01986418147b4281e5001cceff4332a
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 7 01:13:19 2018 -0800

    pipeline: add commit phase
    
    This allows us a bit more reuse of the pipeline for when we are going to
    deploy to a device. We might not want to hit the bundle path, but reuse
    the build-finish/build-export code paths.

 src/libide/buildsystem/ide-build-pipeline.c | 4 ++++
 src/libide/buildsystem/ide-build-pipeline.h | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/buildsystem/ide-build-pipeline.c b/src/libide/buildsystem/ide-build-pipeline.c
index 12b61cc10..33e84d4a7 100644
--- a/src/libide/buildsystem/ide-build-pipeline.c
+++ b/src/libide/buildsystem/ide-build-pipeline.c
@@ -2935,6 +2935,10 @@ ide_build_pipeline_get_message (IdeBuildPipeline *self)
       ret = _("Installing…");
       break;
 
+    case IDE_BUILD_PHASE_COMMIT:
+      ret = _("Committing…");
+      break;
+
     case IDE_BUILD_PHASE_EXPORT:
       ret = _("Exporting…");
       break;
diff --git a/src/libide/buildsystem/ide-build-pipeline.h b/src/libide/buildsystem/ide-build-pipeline.h
index 51bfd318f..d04b0c984 100644
--- a/src/libide/buildsystem/ide-build-pipeline.h
+++ b/src/libide/buildsystem/ide-build-pipeline.h
@@ -46,8 +46,9 @@ typedef enum
   IDE_BUILD_PHASE_CONFIGURE    = 1 << 4,
   IDE_BUILD_PHASE_BUILD        = 1 << 6,
   IDE_BUILD_PHASE_INSTALL      = 1 << 7,
-  IDE_BUILD_PHASE_EXPORT       = 1 << 8,
-  IDE_BUILD_PHASE_FINAL        = 1 << 9,
+  IDE_BUILD_PHASE_COMMIT       = 1 << 8,
+  IDE_BUILD_PHASE_EXPORT       = 1 << 9,
+  IDE_BUILD_PHASE_FINAL        = 1 << 10,
   IDE_BUILD_PHASE_BEFORE       = 1 << 28,
   IDE_BUILD_PHASE_AFTER        = 1 << 29,
   IDE_BUILD_PHASE_FINISHED     = 1 << 30,


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