mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
get_app_from_url: add codeberg.org as git url
This commit is contained in:
parent
57446eee1c
commit
46a464a74b
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue