mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Merge branch 'scan_giturls' into 'master'
get_app_from_url: add codeberg.org as git url See merge request fdroid/fdroidserver!737
This commit is contained in:
commit
1b0b4fc57d
@ -1789,6 +1789,10 @@ def get_app_from_url(url):
|
||||
app.IssueTracker = url + '/issues'
|
||||
# Figure out the repo type and adddress...
|
||||
app.RepoType, app.Repo = getrepofrompage(url)
|
||||
elif parsed.netloc == 'codeberg.org':
|
||||
app.RepoType = 'git'
|
||||
app.SourceCode = url
|
||||
app.IssueTracker = url + '/issues'
|
||||
elif url.startswith('https://') and url.endswith('.git'):
|
||||
app.RepoType = 'git'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user