mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Also replace git@gitlab.com submodule urls
This commit is contained in:
parent
231339ba80
commit
2872027835
1 changed files with 2 additions and 0 deletions
|
@ -649,6 +649,8 @@ class vcs_git(vcs):
|
|||
for line in lines:
|
||||
if 'git@github.com' in line:
|
||||
line = line.replace('git@github.com:', 'https://github.com/')
|
||||
if 'git@gitlab.com' in line:
|
||||
line = line.replace('git@gitlab.com:', 'https://gitlab.com/')
|
||||
f.write(line)
|
||||
|
||||
p = FDroidPopen(['git', 'submodule', 'sync'], cwd=self.local, output=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue