]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
spns #40779: support repo in git_info for product
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 11 Jun 2024 09:08:31 +0000 (11:08 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 11 Jun 2024 09:08:31 +0000 (11:08 +0200)
commands/source.py

index 7f0d8a0ead4969dfa82108b146982e21174e78bc..79c11df2cc3b0f59a639f49b1824a8cd1e519abb 100644 (file)
@@ -114,6 +114,8 @@ def get_source_from_git(config,
 
     elif 'repo_dev' in product_info.git_info:
         repo_git = product_info.git_info.repo_dev
+    elif 'repo' in product_info.git_info:
+        repo_git = product_info.git_info.repo
     else:
         logger.error("Error in configuration file: define git repository for product: {}".format(product_info.name))
         return False