- Feb 08, 2022
-
-
vlorentz authored
-
vlorentz authored
PyPI cannot render :ref: or domain roles
-
vlorentz authored
We need to use the original names for commit/tag content to match their hash; otherwise git-fsck/git-clone would error and make cooked repositories unusable.
-
vlorentz authored
This allows restoring objects as-is, so they match checksums; even when the parser was lossy.
-
- Feb 07, 2022
-
-
Antoine R. Dumont authored
Related to T3916
-
- Feb 02, 2022
-
-
vlorentz authored
-
- Jan 18, 2022
-
-
Antoine R. Dumont authored
Related to D6967
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also drops spurious copyright headers to those files if present. Related to T3812
-
Nicolas Dandrimont authored
-
- Nov 23, 2021
- Nov 22, 2021
- Nov 16, 2021
-
-
vlorentz authored
It can be confusing to just have 'Processing...' in the UI for hours. With this change, a new progress update should be sent every few minutes. In the swh-web UI, it will show only 'Processing... %d objects processed' in the main table, but 'Over %d remaining' will be shown when hovering the progress bar. This does not show 'Processing... %d/%d' or a percentage, because the number of remaining objects is not always known.
-
- Oct 12, 2021
-
-
Antoine R. Dumont authored
It seems the broken reference was only about the missing `s` so drop the intermapping configuration. Part of the broken build [1] [1] https://jenkins.softwareheritage.org/job/DDOC/job/dev/6791/console Related to T3648
-
Antoine R. Dumont authored
This uses `swh-docs/swh/docs/sphinx/conf.py:intersphinx_mapping` config to resolve the link. Part of the broken build [1] [1] https://jenkins.softwareheritage.org/job/DDOC/job/dev/6791/console Related to T3648
-
- 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
-