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:
6b5d9ab
)
Write .fdroidvcs when retaining imported vcs repo
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 24 Jun 2013 09:40:27 +0000
(10:40 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 24 Jun 2013 09:40:27 +0000
(10:40 +0100)
fdroidserver/import.py
patch
|
blob
|
history
diff --git
a/fdroidserver/import.py
b/fdroidserver/import.py
index dcc977945a4c85a5239100c43dcf4de204ac3659..3bd4bf758cb42c32d86efff576431ccc328f60ff 100644
(file)
--- a/
fdroidserver/import.py
+++ b/
fdroidserver/import.py
@@
-274,6
+274,8
@@
def main():
if not os.path.exists('build'):
os.mkdir('build')
shutil.move(src_dir, os.path.join('build', package))
+ with open('build/.fdroidvcs-' + package, 'w') as f:
+ f.write(repotype + ' ' + repo)
metafile = os.path.join('metadata', package + '.txt')
common.write_metadata(metafile, app)