https://github.com/SoftwareHeritage/swh-model
Revision 523ab642bb48491f8e09fb61cc32a9e11420b556 authored by Valentin Lorentz on 30 April 2021, 09:26:32 UTC, committed by Valentin Lorentz on 11 May 2021, 08:33:36 UTC
Before this commit, manifests were only computed internally before
hashing, so they were not available to outside modules.

This makes testing the module very painful, because identifier
functions can only be tested by checking the hash; so test failures
did not show mismatches between the computed manifest and
the expected one.

Additionally, the 'git bare cooker' of the vault is likely to use
these as well, as it needs to format git objects in the same format.
1 parent 31cb72e
History
Tip revision: 523ab642bb48491f8e09fb61cc32a9e11420b556 authored by Valentin Lorentz on 30 April 2021, 09:26:32 UTC
identifiers: Expose manifest computation
Tip revision: 523ab64
File Mode Size
bin
docs
swh
.gitignore -rw-r--r-- 137 bytes
.pre-commit-config.yaml -rw-r--r-- 1021 bytes
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 45 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 157 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 24 bytes
README.md -rw-r--r-- 620 bytes
mypy.ini -rw-r--r-- 571 bytes
pyproject.toml -rw-r--r-- 237 bytes
pytest.ini -rw-r--r-- 247 bytes
requirements-cli.txt -rw-r--r-- 30 bytes
requirements-test.txt -rw-r--r-- 18 bytes
requirements.txt -rw-r--r-- 380 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 1.6 KB

README.md

back to top