- 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.
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
To stop the process, run: `fusermount -u MNTDIR`.
-
Thibault Allançon authored
- Variables/comments rewording - Use SQLite context manager instead of manual commit - Get a list of swhids as input in the CLI
-
Thibault Allançon authored
-
Thibault Allançon authored
FUSE bindings to locally mount and navigate (as a virtual file system) the Software Heritage archive. - Basic CLI (usage: swh fuse mount SWHID PATH) - Handle `cnt` and `dir` artifacts - User-level commands working: ls, cd, cat - Metadata and blob are cached using SQLite
- Sep 24, 2020
-
-
Stefano Zacchiroli authored
-
- Sep 23, 2020
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
in particular: - use docs/README.rst to reuse it via include - add docs/cli.rst documentation for CLI
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-