1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

Merge branch 'git' into 'master'

Add codeberg.org

See merge request fdroid/fdroidserver!1280
This commit is contained in:
Jochen Sprickerhof 2023-01-16 14:02:41 +00:00
commit 96d80fbd7c

View File

@ -1145,7 +1145,7 @@ class vcs_git(vcs):
'-c', 'core.sshCommand=/bin/false',
'-c', 'url.https://.insteadOf=ssh://',
]
for domain in ('bitbucket.org', 'github.com', 'gitlab.com'):
for domain in ('bitbucket.org', 'github.com', 'gitlab.com', 'codeberg.org'):
git_config.append('-c')
git_config.append('url.https://u:p@' + domain + '/.insteadOf=git@' + domain + ':')
git_config.append('-c')