chiark / gitweb /
Merge branch 'push-install' into 'master'
authorHans-Christoph Steiner <hans@guardianproject.info>
Wed, 17 Aug 2016 09:18:31 +0000 (09:18 +0000)
committerHans-Christoph Steiner <hans@guardianproject.info>
Wed, 17 Aug 2016 09:18:31 +0000 (09:18 +0000)
commit62c59c8534474908e56fe495536054819186379f
treef0d82932f4d8886ed00f420d301bab3f2a3509b4
parent329e0247d5b4fae6c0e1ac25ffd784ce851d54b1
parent85632ba00efd92c3524394dbebff673335b94de5
Merge branch 'push-install' into 'master'

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:

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

See merge request !156