PRISTINE-LFS(1) | Git | PRISTINE-LFS(1) |
pristine-lfs - store pristine tarballs in Git LFS
pristine-lfs [-h|--help]
pristine-lfs [OPTIONS] commit [OPTIONS] (--auto | tarball)
pristine-lfs [OPTIONS] import-dsc [OPTIONS] dsc
pristine-lfs [OPTIONS] checkout [-o outdir] tarball
pristine-lfs [OPTIONS] list
pristine-lfs [OPTIONS] verify tarball
pristine-lfs can store pristine upstream tarballs in Git leveraging Git LFS. Instead of storing the potentially large tarballs within the Git repository as blobs, Git LFS only stores specially prepared metadata in the repository, while storing the actual file contents out of band on a Git LFS server.
Using pristine-lfs allows Debian packages to be built entirely using sources in version control, without the need to keep copies of upstream tarballs.
pristine-lfs supports tarballs compressed with any compressor.
Tarball signatures (any files ending with .asc) are committed as they are, without utilising the Git LFS mechanisms.
The upstream parameter is ignored and is supported for compatibility with pristine-tar.
If tarball with a different hash has already been committed, it will only be overwritten if --force-overwrite is specified.
If --full is specified, also imports the Debian packaging and the .dsc file itself.
If tarball with a different hash has already been committed, it will only be overwritten if --force-overwrite is specified.
By default, the tarball is placed in the current directory. If outdir is specified, the file is created in that directory.
For compatibility with pristine-tar, tarball can include the path to the output directory; this takes precedence over the outdir option.
If --auto is specified, pristine-lfs will consult a file named debian/changelog, and if it exists, will check out all tarballs associated with the latest version the changelog mentions.
If --full is specified and a .dsc file is requested, also checks the Debian packaging and the .dsc file itself.
Andrej Shadura <andrew.shadura@collabora.co.uk>
2021-02-22 | 20210222.0 |