From: Marcus Hoffmann Date: Wed, 4 Oct 2017 16:18:30 +0000 (+0200) Subject: import: fix bitbucket import X-Git-Tag: 0.9~63 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1c5dccb41361ba518dde48e562801ebe4570f2ff;p=fdroidserver.git import: fix bitbucket import repo type can be found on main url, not under /src --- diff --git a/fdroidserver/import.py b/fdroidserver/import.py index dbc790d5..f07c3c4a 100644 --- a/fdroidserver/import.py +++ b/fdroidserver/import.py @@ -133,7 +133,7 @@ def get_metadata_from_url(app, url): app.SourceCode = url + '/src' app.IssueTracker = url + '/issues' # Figure out the repo type and adddress... - repotype, repo = getrepofrompage(app.SourceCode) + repotype, repo = getrepofrompage(url) if not repotype: raise FDroidException("Unable to determine vcs type. " + repo) elif url.startswith('https://') and url.endswith('.git'):