- Oct 07, 2021
-
-
vlorentz authored
-
- Oct 06, 2021
-
-
vlorentz authored
-
- Sep 21, 2021
-
-
vlorentz authored
-
- Sep 17, 2021
-
-
vlorentz authored
There are too many corrupt objects currently, it's unreasonable to crash every time there is one in a repository. We should revert this commit when T3552 is resolved, though.
-
- Sep 15, 2021
-
-
vlorentz authored
No change in swh-web will only show the first line; but this will include the detailed error in notification emails.
-
- Sep 14, 2021
-
-
vlorentz authored
Useful in docker to use mailhog instead of actually sending emails
-
- Sep 07, 2021
-
-
vlorentz authored
gi-fsck (rightly) does not accept them.
-
- Sep 06, 2021
-
-
vlorentz authored
-
- Sep 02, 2021
-
-
vlorentz authored
This saves 30KB in the final archive.
-
- Aug 26, 2021
-
-
vlorentz authored
Needed for debian builds to pass.
- Aug 19, 2021
-
-
vlorentz authored
The interfaces were a bit messy, as bundle types sometimes included the object type ('directory' was also a bundle type) and sometimes did not. Instead, the bundle types now do not include the object type at all, which means users do no have to care about what cooker will cook their bundle, they just need to provide a bundle type. Instead, the information about the object type is now carried along the object id, in a SWHID. This allows simplifying interfaces and removing multiple convertions (especially between hex and bytes). This is unfortunately a pretty large commit, as it is easier to change everything at once, than to try to make it incrementally and adding temporary convertions at some moving borders. It also invalidates the existing cache entirely, as it used bundle types and object ids as keys, which are now changed.
-
- Aug 18, 2021
-
-
vlorentz authored
-
- Aug 17, 2021
-
-
vlorentz authored
Using this type narrowing trick: https://mypy.readthedocs.io/en/latest/literal_types.html#exhaustive-checks
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
Instead of parsing self.bundle_type on the fly in multiple places.
-
vlorentz authored
'obj_type' was confusing, because it means 'the type of objects in the vault backend', which is actually made of an object type (dir/rev/...) AND the cooker name. Plus, I want to reuse the name 'obj_type' in a future commit to reference what is actually the object type, in the swh-model definition.
-
vlorentz authored
It allows me to tweak the code to experiment
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
- Aug 05, 2021
- Jul 19, 2021
-
-
vlorentz authored
This should be a considerable performance improvement, as we don't need to query swh-graph for every head (which includes a lot of duplicates).
-
- Jul 16, 2021
- Jul 15, 2021
- Jun 29, 2021
-
-
vlorentz authored
which happens in the Debian builder environment
-
vlorentz authored
It expects the path to be a string rather than a pathlib object. Dulwich 0.19 is in Debian buster so we need to support it.
-
Antoine R. Dumont authored
This decreases warnings during tests.
-
vlorentz authored
Git 2.21 changes the error message raised by git-fsck when an object hash does not match the content: https://git.kernel.org/pub/scm/git/git.git/commit/?id=01f8d5948a7f370c42d9fe2deb724139a1bfcb7b
-
Antoine R. Dumont authored
Those were missed in the first part of the implementation. They got revealed by the debian build. Related to T3412
-
Antoine R. Dumont authored
It's not packaged nor ready yet as some internal reworking has been discussed. Related to T3412
-