From f33d79acfa5e196d84b9092814421f1b088caca5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 15 Apr 2019 11:01:49 +0200 Subject: [PATCH] Extend the migration code --- ttm/publisher.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ttm/publisher.py b/ttm/publisher.py index 400a5e9b..07b104d3 100644 --- a/ttm/publisher.py +++ b/ttm/publisher.py @@ -169,17 +169,20 @@ class ToTestPublisher(ToTestManager): current_snapshot = None if not self.get_status('testing'): - # migrating. Normally the releaser maintains that snapshot, but to differentiate + # migrating to the attribute status + + # Normally the releaser maintains that snapshot, but to differentiate # bootstrap of new project and migration we explicitly set 'NONE' if there is Nothing self.update_status('testing', current_snapshot if current_snapshot else 'NONE') + self.update_status('publishing', self.api.pseudometa_file_load(self.version_file('snapshot'))) + group_id = self.openqa_group_id() if self.get_status('publishing') == current_snapshot or self.get_status('published') == current_snapshot: self.logger.info('{} is already publishing'.format(current_snapshot)) return None - self.update_pinned_descr = False current_result = self.overall_result(current_snapshot) current_qa_version = self.current_qa_version()