- Mar 04, 2022
-
-
Nicolas Dandrimont authored
check_config converts the "stored" configuration (with toplevel keys for most services) into a config suitable for the ``get_vault`` function. Ensure all tests use the same codepath to make sure it is properly exercized, and that the vault backend object can be properly initialized in all cases.
-
Nicolas Dandrimont authored
This makes the server "fixtured" config use the production structure, with storage, objstorage, cache etc. set at the top level instead of within the vault configuration key.
-
Nicolas Dandrimont authored
-
vlorentz authored
The azure backend cannot be run in the same thread as an asyncio event loop: https://forge.softwareheritage.org/T3981
- Mar 02, 2022
-
-
vlorentz authored
The objstorage no longer implements it.
-
- Feb 24, 2022
-
-
David Douard authored
- add the `get_datastore` function in `swh.vault` - add the `get_current_version` method in `VaultBackend`, - remove dbversion management from sql init script - update tests accordingly
-
- Feb 14, 2022
-
-
David Douard authored
otherwise XXX
-
- Feb 10, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
- 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
-