chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5567182
)
import: fix bitbucket import
author
Marcus Hoffmann
<bubuiic@aol.com>
Wed, 4 Oct 2017 16:18:30 +0000
(18:18 +0200)
committer
Marcus Hoffmann
<bubuiic@aol.com>
Wed, 4 Oct 2017 16:54:47 +0000
(18:54 +0200)
repo type can be found on main url, not under /src
fdroidserver/import.py
patch
|
blob
|
history
diff --git
a/fdroidserver/import.py
b/fdroidserver/import.py
index dbc790d5907a54ca8e0bc88f28748d525ce3e8ef..f07c3c4ad888268f04237aae16f5c20aba4c172f 100644
(file)
--- 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'):