mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
import: fix bitbucket import
repo type can be found on main url, not under /src
This commit is contained in:
parent
5567182629
commit
1c5dccb413
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ def get_metadata_from_url(app, url):
|
||||||
app.SourceCode = url + '/src'
|
app.SourceCode = url + '/src'
|
||||||
app.IssueTracker = url + '/issues'
|
app.IssueTracker = url + '/issues'
|
||||||
# Figure out the repo type and adddress...
|
# Figure out the repo type and adddress...
|
||||||
repotype, repo = getrepofrompage(app.SourceCode)
|
repotype, repo = getrepofrompage(url)
|
||||||
if not repotype:
|
if not repotype:
|
||||||
raise FDroidException("Unable to determine vcs type. " + repo)
|
raise FDroidException("Unable to determine vcs type. " + repo)
|
||||||
elif url.startswith('https://') and url.endswith('.git'):
|
elif url.startswith('https://') and url.endswith('.git'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue