fdroidserver.push module

Push files into the build setup for a given ApplicationID:versionCode.

This is a carefully constructed method to copy files from the host filesystem to inside the buildserver VM/container to run the build. The source paths are generated based on the build metadata, and the destination is forced to build home. This is not meant as a generic method for copying files, that is already provided by each VM/container system (e.g. podman cp).

Since this is an internal command, the strings are not localized.

fdroidserver.push.create_build_dirs(appid, vercode, virt_container_type)

Create directories required for running builds.

fdroidserver.push.full_push_sequence(appid, vercode, virt_container_type)

Push all files into vm required for specified build.

fdroidserver.push.main()

CLI main method for this subcommand.

fdroidserver.push.make_file_list(appid, vercode)

Assemble list of files/folders that go into this specific build.

fdroidserver.push.podman_push(paths, appid, vercode, as_root=False)

Push relative paths into the podman container using the tar method.

This builds up a tar file from the supplied paths to send into container via put_archive(). This assumes it is running in the base of fdroiddata and it will push into common.BUILD_HOME in the container.

This is a version of podman.api.create_tar() that builds up via adding paths rather than giving a base dir and an exclude list.

fdroidserver.push.push_wrapper(paths, appid, vercode, virt_container_type)

Push standard set of files into VM/container.

fdroidserver.push.vagrant_push(paths, appid, vercode)

Push files into a build specific vagrant VM.