chiark / gitweb /
support adding arbitrary files to a repo
authorHans-Christoph Steiner <hans@eds.org>
Thu, 13 Oct 2016 16:24:58 +0000 (18:24 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 2 Nov 2016 17:10:13 +0000 (18:10 +0100)
commit07ce9488097c1361c1cc1a515773fb73199550bf
tree901425fbf5d150bc32c1dfb299694ebdad600523
parent36a585c2fcb27a897ec71601a309125ce68e306b
support adding arbitrary files to a repo

This adds the most basic level of support for including arbitrary files in
an F-Droid repository.  This is useful for things like including videos,
ebooks, update.zip files for ROM updates, and more.  The aim is to have
this as generic as possible to keep it flexible for unforeseen uses.

Code-wise, this is really just a first effort.  This area of code has not
been touched in a very long time, and the repo parsing is done in a giant
function that is not easy to break apart.  It should be broken up to more
cleanly support arbitrary files.

Also remove the TODO line, we've decided to keep the old permission
format for now, at least until there is a major overhaul of the index
data format.  And the issue tracker the proper place for TODOs.
fdroidserver/common.py
fdroidserver/update.py