fdroidserver.nightly module¶
Set up an app build for a nightly build repo.
- fdroidserver.nightly.clone_git_repo(clone_url, git_mirror_path)¶
Clone a git repo into the given path, failing if a password is required.
If GitPython’s safe mode is present, this will use that. Otherwise, this includes a very limited version of the safe mode just to ensure this won’t hang on password prompts.
- 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:
VCSExceptionIf the nightly Git repository could not be cloned during an attempt to deploy.