From 7c0f0c10520c1ea336d7eeaf54de8af78925fc25 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 5 Aug 2022 10:10:17 +0200 Subject: [PATCH] osbuild-mpp: Add comment detailing the stage formating --- tools/osbuild-mpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/osbuild-mpp b/tools/osbuild-mpp index a489ccf4..5eac5d46 100755 --- a/tools/osbuild-mpp +++ b/tools/osbuild-mpp @@ -1107,6 +1107,9 @@ class ManifestFile: parent_node = None parent_key = None + # Avoid unnecessarily running the stage processing on things + # that don't look like a stage. The indidual stage processing + # will verify that the stage looks right too. if parent_key == "stages": pipeline_name = self.get_pipeline_name(parent_node) self._process_stage(node, pipeline_name)