chiark / gitweb /
set up install/delete lists for "push" commands from server
authorHans-Christoph Steiner <hans@eds.org>
Tue, 16 Aug 2016 19:02:15 +0000 (21:02 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 16 Aug 2016 19:02:15 +0000 (21:02 +0200)
commit85632ba00efd92c3524394dbebff673335b94de5
treef0d82932f4d8886ed00f420d301bab3f2a3509b4
parent329e0247d5b4fae6c0e1ac25ffd784ce851d54b1
set up install/delete lists for "push" commands from server

It is now possible for the server operator to specify lists of apps that
must be installed or deleted on the client (aka "push installs).  If
the user has opted in, or the device is already setup to respond to
these requests, then fdroidclient will automatically install/delete
the packageNames listed.  This is protected by the same signing key
as the app index metadata.

It generates single XML elements with the data set in the attributes. This
keeps the XML compact and easily extensible, e.g. for adding versionCode,
signingKey, etc as attributes:

    <install packageName="com.fsck.k9"/>
    <install packageName="at.bitfire.davdroid"/>
    <delete packageName="com.facebook.orca"/>

Copyright: 2016 Blue Jay Wireless
Signed-off-by: Hans-Christoph Steiner <hans@eds.org>
closes #177
examples/config.py
fdroidserver/update.py
tests/run-tests