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:
3c9eeff
)
import: add notabug.org
author
Boris Kraut
<krt@nurfuerspam.de>
Sun, 26 Mar 2017 16:05:37 +0000
(18:05 +0200)
committer
Boris Kraut
<krt@nurfuerspam.de>
Sun, 26 Mar 2017 16:05:37 +0000
(18:05 +0200)
fdroidserver/import.py
patch
|
blob
|
history
diff --git
a/fdroidserver/import.py
b/fdroidserver/import.py
index 8090abb744fc1fc5faf78be9917e4e153f7c87af..ff839b5bc222abf1d0628d8008ab91f5720e5f8b 100644
(file)
--- a/
fdroidserver/import.py
+++ b/
fdroidserver/import.py
@@
-105,6
+105,15
@@
def get_metadata_from_url(app, url):
app.WebSite = url
app.SourceCode = url + '/tree/HEAD'
app.IssueTracker = url + '/issues'
+ elif url.startswith('https://notabug.org/'):
+ projecttype = 'notabug'
+ if url.endswith('.git'):
+ url = url[:-4]
+ repo = url + '.git'
+ repotype = 'git'
+ app.SourceCode = url
+ app.IssueTracker = url + '/issues'
+ app.WebSite = ""
elif url.startswith('https://bitbucket.org/'):
if url.endswith('/'):
url = url[:-1]