- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 7 2020
Rebasing on master.
Update swh.model version to 0.7.0 in requirements
Small style fix.
- fuse: remove unnecessary inode2path
- cache: use non-typified option of WebAPIClient methods
- fs: move ArtifactEntry class to artifact.py
Oct 6 2020
fuse: remove unnecessary fd maps (use inode instead)
Fix indentation in documentation string
- update documentation string
- rename new test to test_get_json
fuse: get_blob: use bytes instead of string
Add async to the codebase
Rebase on master.
Oct 5 2020
- fuse: read: use offset and length parameters
- fuse: lookup: raise and log exception when name not found
Move cache pre-fetching in fuse main
cli: use SWHIDParamType from swh.model.cli
Use str() when comparing results.
Use enter_context instead of enter from the contextlib.
- Clean commit history
- Remove internal entry2inode dictionnary
Oct 2 2020
tox.ini: pin black version to 19.10b0
fs: rework code architecture
tests: raise exception if cannot mount fuse
- Export more information in api-data.py (+ rewrite generator in Python)
- Get expected data for tests from api-data.py instead of hard-coding them
Oct 1 2020
Update unit tests to work with latest config file
Rename SwhCache to FuseCache
CLI: use a config.yml file to configure cache/web-api
MetadataCache and BlobCache are now context managers as well
Clean and re-order the git history.
- cache: separate metadata and blob caches
Sep 30 2020
- cli: by default run as daemon (or use -f/--foreground)
- fuse: use WebAPIClient to retrieve raw content data
- fuse: lookup: now handle mountpoint, archive/ and meta/ entries
- WIP: unit tests framework
Sep 29 2020
- Use list of swhids as input CLI
- Log error when fetching unknown SWHID
- Remove types from documentation (redundant with type hints)
- Move pyfuse3_asyncio.enable() in the main
- Small code clean up
Use sqlite context manager instead of manual commit
Add documentation + type hints
Sep 28 2020
Sep 25 2020
Sep 24 2020
Rebasing on master.
Fix HTML whitespace before quote.
Fix comments formatting.
Sep 23 2020
Use Long.SIZE instead of hardcoded 64.
Replace PermutedFrontCodedStringList with -big version
Make DirEntry.Permission private.
DirEntry: use Permission.Type instead of already encoded int.
Rename FixedWidthDirEntryList to SwhLabel.
Code refactoring
Sep 22 2020
Fix code formatting
Use FixedWidthLongListLabel
add AbstractSwhLabelList + FixedWidthSwhLabelList
Sep 21 2020
Abandoning this diff because:
- swh-graph codebase got updated recently to remove all occurrences of SWH PID in favor of the SWHID terminology.
- Implementation needs to be redone entirely (create a new FixedWidthLongListLabel in webgraph and store both the filename and permissions metadata into one long object).
Sep 18 2020
Rebase on master.
Related (and already merged) diffs:
So yeah there should be no more occurrences of these in the codebase now! :)
Task revamped and merged in D3990.