Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2021-09-02 12:24:39 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2021-09-02 12:24:39 +0300
commit1c3bc7a1d43557e47fbc91f38da250ab7506815e (patch)
tree37b55358eda74a4a10575b3cf34154878374f116
parent0f5996c8cddec0f571c4c70a98ac5333eae1c9bb (diff)
Stop using git protocol for submodulesHEADmain
GitHub is removing support for unauthenticated git: https://github.blog/2021-09-01-improving-git-protocol-security-github/
-rw-r--r--bockbuild/package.py4
-rw-r--r--packages/gtk-sharp.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/bockbuild/package.py b/bockbuild/package.py
index 7d73206..9b9c1ca 100644
--- a/bockbuild/package.py
+++ b/bockbuild/package.py
@@ -380,7 +380,7 @@ class Package:
# if source.startswith ('http://'):
# raise Exception ('HTTP downloads are no longer allowed: %s', source)
- if source.startswith(('http://', 'https://', 'ftp://')):
+ if source.startswith(('http://', 'https://', 'ftp://')) and not source.endswith('.git'):
cache = get_download_dest(source, self.version)
if self.profile.cache_host is not None:
cached_source = os.path.join(
@@ -1040,7 +1040,7 @@ class GitHubPackage (Package):
configure_flags=configure_flags,
configure=configure,
sources=[
- 'git://github.com/%{organization}/%{name}.git'],
+ 'https://github.com/%{organization}/%{name}.git'],
override_properties=override_properties)
diff --git a/packages/gtk-sharp.py b/packages/gtk-sharp.py
index 71de522..c1f45d1 100644
--- a/packages/gtk-sharp.py
+++ b/packages/gtk-sharp.py
@@ -2,7 +2,7 @@ class GtkSharp212ReleasePackage (Package):
def __init__(self):
Package.__init__(self, 'gtk-sharp',
- sources=['git://github.com/mono/gtk-sharp.git'],
+ sources=['https://github.com/mono/gtk-sharp.git'],
git_branch='gtk-sharp-2-12-branch',
revision='33fabaf9333f6cf26af1682cc67b4cfa99a0fc41',
override_properties={