Salome HOME
spns #42205 [SAT][Windows] support different values for CMAKE_BUILD_TYPE - part III
[tools/sat.git] / src / environment.py
index 74e6bbdd2106f6ede15163a074b1889472e37e29..7bf1ec6f5ef67b4229ab5a3e3480a5aa7079755f 100644 (file)
@@ -604,6 +604,12 @@ class SalomeEnviron:
         #    src.appli_test_property(self.cfg,"pip_install_dir", "python") ):
         #        return
 
+        # skip product if git server does not host all git repositories
+        git_server= src.get_git_server(self.cfg, logger)
+        if src.product.product_is_not_opensource(pi) and not src.git_server_has_all_repositories( self.cfg, git_server):
+            logger.warning("%s is a closed-source software and is not available on %s" % (pi.name, git_server))
+            return
+
         # skip mesa products (if any) at run time, 
         # unless use_mesa property was activated
         if not self.forBuild: