- Oct 16, 2020
-
-
Stefano Zacchiroli authored
without this click includes the full (long) docstring in the main --help
-
Stefano Zacchiroli authored
Closes T2669
-
Thibault Allançon authored
-
Thibault Allançon authored
Closes T2699.
-
Stefano Zacchiroli authored
h/t @haltode
-
Stefano Zacchiroli authored
also apply various other minor improvements to the configuration documentation: - mention and show in the example the outer "swh > fuse" stanza - fix sphinx markup for verbatim text (it's "``", not "`") - add configuration file doc to the doc index
-
Thibault Allançon authored
- Closes T2705: move --config-file to "swh fuse". - Closes T2678: add default configuration location.
-
Thibault Allançon authored
Closes T2665.
-
- Oct 15, 2020
-
-
Stefano Zacchiroli authored
in particular: - drop the TODO about separate cache DBs (now done) - drop the examples part (we will have a tutorial/walkthrough) - add reference to task dedicated to sharding
-
Thibault Allançon authored
Do not unnecessarily prefetch information before accessing it directly.
-
Stefano Zacchiroli authored
as the alternative switch to --foreground
-
- Oct 14, 2020
-
-
Thibault Allançon authored
-
Thibault Allançon authored
Fixes T2698.
-
- Oct 13, 2020
-
-
Thibault Allançon authored
Closes T2664.
-
Stefano Zacchiroli authored
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
- API data generation script can now easily prefetch content raw data, revision parents, etc. - Use the Rust compiler as testing repository (contains more corner case, such as submodules) - Mount test artifacts on the fly
-
Thibault Allançon authored
-
Thibault Allançon authored
Move the lookup() code logic into FuseEntry class.
-
- Oct 09, 2020
-
-
Thibault Allançon authored
Closes T2663. - Add a `SymlinkEntry` class (+ rework fs/ class init using dataclasses) - Support symlinks, submodules, and mounting revisions - Basic unit tests for revision artifacts
-
Thibault Allançon authored
Closes T2673.
-
- Oct 08, 2020
-
-
Thibault Allançon authored
-
- Oct 07, 2020
-
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
We do not know the encoding beforehand so manipulate every blob coming from the archive as bytes.
-
Thibault Allançon authored
- Change class interface to match async interface (eg: iter -> aiter) - Sync code is now running with `run_in_executor` - Use aiosqlite as the async interface for sqlite
-
Thibault Allançon authored
-
Thibault Allançon authored
This is necessary to read very long files, or use a terminal pager.
-
Thibault Allançon authored
See D4139.
-
Thibault Allançon authored
-
Thibault Allançon authored
Better class abstraction. Now the information is less scattered around the code (especially for fuse.py). Each FUSE entry virtual type is self-contained and defines entirely how it is used, listed, read, etc.
-
Thibault Allançon authored
-
Thibault Allançon authored
- Create a pytest fixture to run swh-fuse in a separate process and setup an offline mock web API - Add basic cnt/dir tests
-
Thibault Allançon authored
More flexible and easier to tweak settings. For example we can now have, the metadata cache in-memory while the blob cache is on-disk: cache: metadata: in-memory: true blob: path: /cache/dir/blob.sqlite
-
Thibault Allançon authored
Rework the cache architecture. The cache code is now separated into multiple classes (one for each cache type, and one global). Every cache is now used as a context manager and must implement `__getitem__` and `__setitem__` to access/update the underlying cache information.