https://github.com/SoftwareHeritage/swh-model
Revision 0be753d567db61e45d7e3c691cc159ecdb085487 authored by Valentin Lorentz on 05 August 2022, 12:20:38 UTC, committed by Valentin Lorentz on 08 August 2022, 12:38:34 UTC
It allows building a snapshot manifest despite some branches being
unresolved (instead of raising an error).

This feature was removed in 57ae405d312879bec19107d29a20c2c290d7861d
but in the end, Snapshot.compute_hash() will need to use it so that
swh-scrubber does not crash when checksum such snapshots.
1 parent 79ed550
History
Tip revision: 0be753d567db61e45d7e3c691cc159ecdb085487 authored by Valentin Lorentz on 05 August 2022, 12:20:38 UTC
Add parameter 'ignore_unresolved' to snapshot_git_object
Tip revision: 0be753d
File Mode Size
bin
docs
swh
.git-blame-ignore-revs -rw-r--r-- 140 bytes
.gitignore -rw-r--r-- 137 bytes
.pre-commit-config.yaml -rw-r--r-- 847 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-- 522 bytes
pyproject.toml -rw-r--r-- 237 bytes
pytest.ini -rw-r--r-- 276 bytes
requirements-cli.txt -rw-r--r-- 30 bytes
requirements-test.txt -rw-r--r-- 51 bytes
requirements.txt -rw-r--r-- 380 bytes
setup.cfg -rw-r--r-- 342 bytes
setup.py -rwxr-xr-x 2.4 KB
tox.ini -rw-r--r-- 1.7 KB

README.md

back to top