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-28 14:49:20 +0300
commit3bd44f6784b85b1ece8b00b13d12cf416f5a87e7 (patch)
treed932795f63ef7f84dd88ab3d15c80a45a52bc6bb
parentd37dbfe1c69911483cfcc9e2294f43c8dc639604 (diff)
Stop using git protocol for submodules2020-02
GitHub is removing support for unauthenticated git: https://github.blog/2021-09-01-improving-git-protocol-security-github/ (cherry picked from commit 1c3bc7a1d43557e47fbc91f38da250ab7506815e)
-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={