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:
115f5db
)
Import from gitorious projects
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 27 Feb 2012 09:08:25 +0000
(09:08 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 27 Feb 2012 09:08:25 +0000
(09:08 +0000)
import.py
patch
|
blob
|
history
diff --git
a/import.py
b/import.py
index 0e7307c98f471a715583545bca939c6c919b8568..77c43db34a301c87ce8583afaba5069f52fa9311 100755
(executable)
--- a/
import.py
+++ b/
import.py
@@
-62,6
+62,11
@@
def main():
repo = url + '.git'
repotype = 'git'
sourcecode = url
+ elif url.startswith('https://gitorious.org/'):
+ projecttype = 'gitorious'
+ repo = 'https://git.gitorious.org/' + url[22:] + '.git'
+ repotype = 'git'
+ sourcecode = url
elif url.startswith('http://code.google.com/p/'):
if not url.endswith('/'):
print "Expected format for googlecode url is http://code.google.com/p/PROJECT/"