From 1f7f9b4b53de369f2220073d83d056b2c1cf2977 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Wed, 26 Feb 2025 15:59:35 +0100 Subject: [PATCH] Filter our private repositories from getting licences --- conanfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conanfile.py b/conanfile.py index ab31b7ae9d..b3e070e3b3 100644 --- a/conanfile.py +++ b/conanfile.py @@ -219,6 +219,9 @@ class CuraConan(ConanFile): @staticmethod def _get_license_from_repository(sources_url, version, license_file_name = None): + if sources_url.startswith("https://github.com/Ultimaker/") and "private" in sources_url: + return None + git_url = sources_url if git_url.endswith('/'): git_url = git_url[:-1]