This package implements a git export command that can be given a list of already exported worktrees and the tree SHAs these worktrees correspond too. For every file to export it then looks in the existing worktrees whether an identical file is already present and in that case hardlinks to the new export location instead of writing the same file again.
Use Case: A git based web deployment system that exports git trees to be served by a web server. Every new deployment is written to a new folder. After the export, the web server should start serving new requests from the new folder.
Be aware of the dangers of hardlinks. Hardlinks on linux do not have copy-on-write semantics! This command also does not verify the integrity of old exported trees. Use git reset –hard after this command to guarantee a correct export.
Metadata
Release files for git_export_hardlink 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git_export_hardlink-0.1.0.tar.gz | 8.7 kB | Details |
Release files / git_export_hardlink-0.1.0.tar.gz
| Download URL | git_export_hardlink-0.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3ec214cf0ddb40594ff9359f3ffd2ecd9908eb22f15c8b9e56d18ccd32ba9c7
|
|
BLAKE2b-256 checksum How to use checksums |
006f0a95ee6b71b9ce8fdabf74d42e02279464c1ee93cdda9737913bf551c71d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |