fdroidserver.btlog module

Update the binary transparency log for a URL.

fdroidserver.btlog.main()

Generate or update a binary transparency log for a F-Droid repository.

The behaviour of this function is influenced by the configuration file as well as command line parameters.

Raises:
FDroidException

If the specified or default Git repository does not exist.

fdroidserver.btlog.make_binary_transparency_log(repodirs: Iterable, btrepo: str = 'binary_transparency', url: Optional[str] = None, commit_title: str = 'fdroid update')

Log the indexes in a standalone git repo to serve as a “binary transparency” log.

Parameters:
repodirs

The directories of the F-Droid repository to generate the binary transparency log for.

btrepo

The path to the Git repository of the binary transparency log.

url

The URL of the F-Droid repository to generate the binary transparency log for.

commit_title

The commit title for commits in the binary transparency log Git repository.

Notes

Also see https://www.eff.org/deeplinks/2014/02/open-letter-to-tech-companies .