fdroidserver.nightly module

Set up an app build for a nightly build repo.

fdroidserver.nightly.get_repo_base_url(clone_url: str, repo_git_base: str, force_type: Optional[str] = None) str

Generate the base URL for the F-Droid repository.

Parameters:
clone_url

The URL to clone the Git repository.

repo_git_base

The project path of the Git repository at the Git forge.

force_type

The Git forge of the project.

Returns:
repo_base_url

The base URL of the F-Droid repository.

fdroidserver.nightly.main()

Deploy to F-Droid repository or generate SSH private key from keystore.

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

Raises:
VCSException

If the nightly Git repository could not be cloned during an attempt to deploy.