Skip to main content

a pristine-tar replacement that works with Git LFS

Project description

About

pristine-lfs is a tool to replace pristine-tar by the means of using Git LFS to store tarballs. The original pristine-tar tool is a way to store binary tarballs in Git by regenerating them using only a small binary delta file and a checkout of the upstream branch. On the contrary, pristine-lfs only uses the Git LFS storage, only uploading or downloading binary blobs as they’re needed, which helps reduce the Git repository size (compared to storing tarballs directly in Git) and the checkout times (compared to the plain Git LFS usage, which would download all tarballs each time the LFS-managed branch is checked out).

Installation

pristine-lfs assumes you have Python 3.6 or later installed as /usr/bin/python3.

pristine-lfs ships with a setup.py installer based on setuptools. To install pristine-lfs, simply type:

./setup.py install

This will install pristine-lfs itself, its manpage and this README file into their proper locations.

Alternatively, to install via pip, run:

pip install pristine-lfs

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 text for more details.

You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Authors

For the list of contributors, see CONTRIBUTORS.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pristine-lfs-20241219.0.tar.gz (25.1 kB view details)

Uploaded Source

File details

Details for the file pristine-lfs-20241219.0.tar.gz.

File metadata

  • Download URL: pristine-lfs-20241219.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for pristine-lfs-20241219.0.tar.gz
Algorithm Hash digest
SHA256 e35232ac760cb64f29ad43ca19cff6d37711f0a8b7c9e742a4787b6a865de447
MD5 0ce74d8772cca5e4899d1557a0543745
BLAKE2b-256 5aa4c230ee4cbc0ad9fedda7e446c30cdbf9bb0e9e0042767d777fe87768bcb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page