Page MenuHomeSoftware Heritage
Feed Advanced Search

Dec 17 2020

haltode added a comment to T2724: fuse: populate history/ incrementally to avoid temporary hangs on huge repos.

I experimented a bit with the streaming idea, here is what we could do:

Dec 17 2020, 4:15 PM · Software Heritage filesystem

Dec 16 2020

haltode moved T2841: FUSE: update cache with new origin visits from In progress to Done on the Software Heritage filesystem board.
Dec 16 2020, 4:24 PM · Software Heritage filesystem
haltode closed T2841: FUSE: update cache with new origin visits as Resolved by committing rDFUSEa6cef6bad56e: cache: update cache with new origin visits.
Dec 16 2020, 4:24 PM · Software Heritage filesystem
haltode moved T2838: "swh fs mount" silently fails if fusermount3 isn't available from In progress to Done on the Software Heritage filesystem board.
Dec 16 2020, 2:31 PM · Software Heritage filesystem
haltode closed T2838: "swh fs mount" silently fails if fusermount3 isn't available as Resolved by committing rDFUSE9546ba2f7bd5: cli: raise error when missing fusermount3 dependency.
Dec 16 2020, 2:31 PM · Software Heritage filesystem
haltode added a revision to T2838: "swh fs mount" silently fails if fusermount3 isn't available: D4752: FUSE: cli: raise error when missing fusermount3 dependency.
Dec 16 2020, 11:36 AM · Software Heritage filesystem
haltode changed the status of T2838: "swh fs mount" silently fails if fusermount3 isn't available from Open to Work in Progress.
Dec 16 2020, 11:35 AM · Software Heritage filesystem

Dec 15 2020

haltode added a revision to T2841: FUSE: update cache with new origin visits: D4744: FUSE: cache: update cache with new origin visits.
Dec 15 2020, 2:54 PM · Software Heritage filesystem
haltode changed the status of T2841: FUSE: update cache with new origin visits from Open to Work in Progress.
Dec 15 2020, 1:32 PM · Software Heritage filesystem
haltode moved T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint from In progress to Done on the Software Heritage filesystem board.
Dec 15 2020, 1:31 PM · Software Heritage filesystem
haltode closed T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint as Resolved.

The visibility part of this task is done, I filed a new task about supporting rm cache/{...} syntax in T2889.

Dec 15 2020, 1:31 PM · Software Heritage filesystem
haltode renamed T2889: FUSE: cache: support removing individual objects from FUSE: cache: support remove individual objects to FUSE: cache: support removing individual objects.
Dec 15 2020, 1:30 PM · Software Heritage filesystem
haltode triaged T2889: FUSE: cache: support removing individual objects as Normal priority.
Dec 15 2020, 1:30 PM · Software Heritage filesystem
zack renamed T2724: fuse: populate history/ incrementally to avoid temporary hangs on huge repos from history/ dir browsing is too slow on big repos like the Linux kernel to populate history/ incrementally to avoid temporary hangs on huge repos.
Dec 15 2020, 11:58 AM · Software Heritage filesystem
zack claimed T2825: add origin (and search) example to the FUSE tutorial.
Dec 15 2020, 11:26 AM · Documentation, Software Heritage filesystem

Dec 14 2020

haltode updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Dec 14 2020, 4:26 PM · Software Heritage filesystem
haltode added a revision to T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint: D4734: fs: add cache/ directory under mount point.
Dec 14 2020, 3:42 PM · Software Heritage filesystem
haltode moved T2822: add "swh web search" command to perform archive searches via the CLI from In progress to Done on the Software Heritage filesystem board.
Dec 14 2020, 1:28 PM · Software Heritage filesystem, Web client
zack renamed T2825: add origin (and search) example to the FUSE tutorial from add origin example to the FUSE tutorial to add origin (and search) example to the FUSE tutorial.
Dec 14 2020, 1:23 PM · Documentation, Software Heritage filesystem
haltode closed T2822: add "swh web search" command to perform archive searches via the CLI as Resolved by committing rDWCLI176c6b134cbb: cli: add 'swh web search' subcommand.
Dec 14 2020, 1:21 PM · Software Heritage filesystem, Web client

Dec 9 2020

haltode added a revision to T2822: add "swh web search" command to perform archive searches via the CLI: D4696: Add "swh web search" command to perform archive searches via the CLI.
Dec 9 2020, 2:39 PM · Software Heritage filesystem, Web client
haltode changed the status of T2822: add "swh web search" command to perform archive searches via the CLI from Open to Work in Progress.
Dec 9 2020, 1:39 PM · Software Heritage filesystem, Web client

Dec 8 2020

haltode moved T2863: FUSE: lookup: add optional regex pre-condition from In progress to Done on the Software Heritage filesystem board.
Dec 8 2020, 5:28 PM · Software Heritage filesystem
haltode updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Dec 8 2020, 5:27 PM · Software Heritage filesystem
haltode closed T2863: FUSE: lookup: add optional regex pre-condition as Resolved by committing rDFUSE6e413667a220: fs: lookup: add optional regexp name validation.
Dec 8 2020, 5:27 PM · Software Heritage filesystem
haltode added a revision to T2863: FUSE: lookup: add optional regex pre-condition: D4689: FUSE: fs: lookup: add optional regexp name validation.
Dec 8 2020, 4:51 PM · Software Heritage filesystem
haltode moved T2842: Hang while running ls on a directory containing a symlink from In progress to Done on the Software Heritage filesystem board.
Dec 8 2020, 4:45 PM · Software Heritage filesystem
haltode moved T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty from In progress to Done on the Software Heritage filesystem board.
Dec 8 2020, 4:45 PM · Software Heritage filesystem
haltode closed T2842: Hang while running ls on a directory containing a symlink as Resolved by committing rDFUSE8515c5171d53: fs: directory: check first for symlink before content/directory.
Dec 8 2020, 4:45 PM · Software Heritage filesystem
haltode closed T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty as Resolved by committing rDFUSE80af8893dd1c: fs: directory: ignore missing artifact for submodules.
Dec 8 2020, 4:45 PM · Software Heritage filesystem
haltode changed the status of T2863: FUSE: lookup: add optional regex pre-condition from Open to Work in Progress.
Dec 8 2020, 4:41 PM · Software Heritage filesystem
haltode triaged T2864: FUSE: cache history/by-date/ entries even when not done populating as Normal priority.
Dec 8 2020, 4:40 PM · Software Heritage filesystem
seirl added a comment to T2863: FUSE: lookup: add optional regex pre-condition.

My API idea was to simply have something like ENTRIES_REGEXP = r'^.*:.*$' as a class attribute of each type of directory, and a validate_entry(self, name: str) method which, by default, just checks that it matches the regexp.

Dec 8 2020, 11:59 AM · Software Heritage filesystem
haltode triaged T2863: FUSE: lookup: add optional regex pre-condition as Normal priority.
Dec 8 2020, 11:55 AM · Software Heritage filesystem
zack added a project to T2822: add "swh web search" command to perform archive searches via the CLI: Software Heritage filesystem.
Dec 8 2020, 11:48 AM · Software Heritage filesystem, Web client
zack renamed T2843: FUSE: multiple origin visits on the same day are ignored from Multiple visits on the same day are ignored to FUSE: multiple origin visits on the same day are ignored.
Dec 8 2020, 11:34 AM · Software Heritage filesystem
haltode added a revision to T2842: Hang while running ls on a directory containing a symlink: D4682: FUSE: fix directory listing bugs.
Dec 8 2020, 10:39 AM · Software Heritage filesystem
haltode added a revision to T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty: D4682: FUSE: fix directory listing bugs.
Dec 8 2020, 10:39 AM · Software Heritage filesystem
haltode changed the status of T2842: Hang while running ls on a directory containing a symlink from Open to Work in Progress.
Dec 8 2020, 10:29 AM · Software Heritage filesystem
haltode changed the status of T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty from Open to Work in Progress.
Dec 8 2020, 10:29 AM · Software Heritage filesystem

Dec 7 2020

haltode changed the status of T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint from Open to Work in Progress.
Dec 7 2020, 5:11 PM · Software Heritage filesystem
haltode moved T2840: FUSE: snapshot artifacts fail on "alias" target_type from In progress to Done on the Software Heritage filesystem board.
Dec 7 2020, 9:59 AM · Software Heritage filesystem
haltode closed T2840: FUSE: snapshot artifacts fail on "alias" target_type as Resolved by committing rDFUSE77a5bcd6d73d: snapshot: add support for 'alias' target type.
Dec 7 2020, 9:58 AM · Software Heritage filesystem

Dec 4 2020

zack added a comment to T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty.

good catch!, a broken symlink would be preferable over omitting the entry

Dec 4 2020, 1:50 PM · Software Heritage filesystem
zack renamed T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty from FUSE: directory completely empty when one artifact is missing from the archive to FUSE: directories referencing artifacts missing from the archive are reported as empty.
Dec 4 2020, 1:49 PM · Software Heritage filesystem
haltode renamed T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty from FUSE: directory completly empty when one artifact is missing from the archive to FUSE: directory completely empty when one artifact is missing from the archive.
Dec 4 2020, 12:35 PM · Software Heritage filesystem
haltode triaged T2851: FUSE: directories referencing artifacts missing from the archive are reported as empty as Normal priority.
Dec 4 2020, 12:34 PM · Software Heritage filesystem
haltode added a revision to T2840: FUSE: snapshot artifacts fail on "alias" target_type: D4665: snapshot: add support for 'alias' target type.
Dec 4 2020, 12:29 PM · Software Heritage filesystem
haltode updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Dec 4 2020, 9:30 AM · Software Heritage filesystem

Dec 3 2020

haltode changed the status of T2830: FUSE: history/by-date/.status file implementation does not seem reliable from Open to Work in Progress.
Dec 3 2020, 4:29 PM · Software Heritage filesystem
haltode changed the status of T2840: FUSE: snapshot artifacts fail on "alias" target_type from Open to Work in Progress.
Dec 3 2020, 4:29 PM · Software Heritage filesystem
haltode moved T2839: ls "<mountpoint>/origins/<invalidurl>" creates two empty directory entries with the same name from In progress to Done on the Software Heritage filesystem board.
Dec 3 2020, 4:29 PM · Software Heritage filesystem
haltode closed T2839: ls "<mountpoint>/origins/<invalidurl>" creates two empty directory entries with the same name as Resolved by committing rDFUSEfbfed4d9a4fc: fuse: origin: properly handle invalid origin URL.
Dec 3 2020, 4:29 PM · Software Heritage filesystem
haltode added a revision to T2839: ls "<mountpoint>/origins/<invalidurl>" creates two empty directory entries with the same name: D4657: fuse: origin: properly handle invalid origin URL.
Dec 3 2020, 4:05 PM · Software Heritage filesystem
haltode changed the status of T2839: ls "<mountpoint>/origins/<invalidurl>" creates two empty directory entries with the same name from Open to Work in Progress.
Dec 3 2020, 3:24 PM · Software Heritage filesystem
zack added a comment to T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint.
In T2771#53972, @seirl wrote:

We also need to discuss what exactly we put in cache/. I thought about symlinks to archive/ and meta/, what do you think? Removing the symlinks also means removing the data from the cache.

Dec 3 2020, 2:01 PM · Software Heritage filesystem
seirl added a comment to T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint.

We also need to discuss what exactly we put in cache/. I thought about symlinks to archive/ and meta/, what do you think? Removing the symlinks also means removing the data from the cache.

Dec 3 2020, 1:44 PM · Software Heritage filesystem
zack renamed T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint from FUSE: shard entries returned by ls {archive,meta}/, hiding {archive,meta}/SWHID entries to FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint.
Dec 3 2020, 1:40 PM · Software Heritage filesystem
zack added a comment to T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint.

New proposal (lather, rinse, repeat…) based on an idea from @seirl:

Dec 3 2020, 1:37 PM · Software Heritage filesystem

Dec 2 2020

haltode added a comment to T2843: FUSE: multiple origin visits on the same day are ignored.

Yes, this is actually documented (https://docs.softwareheritage.org/devel/swh-fuse/design.html#ori-nodes-origins) and logged (in DEBUG level) when there is a date conflict. We will probably decide on a more fine-grained layout in the future to account for this instead of simply ignoring and picking the first one.

Dec 2 2020, 3:43 PM · Software Heritage filesystem
vlorentz added a project to T2843: FUSE: multiple origin visits on the same day are ignored: Software Heritage filesystem.
Dec 2 2020, 3:40 PM · Software Heritage filesystem
vlorentz added a comment to T2842: Hang while running ls on a directory containing a symlink.
$ swh fs mount /tmp/foobar/ -f
^CERROR:root:Error running FUSE: 
ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<_session_loop() done, defined at /home/dev/.local/lib/python3.7/site-packages/_pyfuse3.py:28> exception=AssertionError()>
Traceback (most recent call last):
  File "/home/dev/.local/lib/python3.7/site-packages/_pyfuse3.py", line 30, in wrapper
    await fn(*args, **kwargs)
  File "src/internal.pxi", line 253, in _session_loop
  File "src/handlers.pxi", line 189, in fuse_readlink_async
  File "/home/dev/.local/lib/python3.7/site-packages/swh/fuse/fuse.py", line 257, in readlink
    assert isinstance(entry, FuseSymlinkEntry)
AssertionError
Dec 2 2020, 3:34 PM · Software Heritage filesystem
zack added a comment to T2842: Hang while running ls on a directory containing a symlink.

@vlorentz: can we have the logs please?
Run mount with the "--foreground" option and/or check your user log in "journalctl --user".
TIA

Dec 2 2020, 3:33 PM · Software Heritage filesystem
vlorentz triaged T2842: Hang while running ls on a directory containing a symlink as Normal priority.
Dec 2 2020, 3:32 PM · Software Heritage filesystem
haltode moved T2832: FUSE: add tests for CLI commands from In progress to Done on the Software Heritage filesystem board.
Dec 2 2020, 3:21 PM · Software Heritage filesystem
haltode closed T2832: FUSE: add tests for CLI commands as Resolved.

See D4636.

Dec 2 2020, 3:21 PM · Software Heritage filesystem
zack added a comment to T2841: FUSE: update cache with new origin visits.

The difficulty with this one is deciding when to re-query the backend to check if there are new visits. Doing it too often will make the cache of visit metadata useless. Doing it too seldomly will make you miss new visits. Either way, we probably need to add a timestamp somewhere in the cache to note down when the metadata have been fetched last (!= most recent visit timestamp).

Dec 2 2020, 2:53 PM · Software Heritage filesystem
haltode triaged T2841: FUSE: update cache with new origin visits as Normal priority.
Dec 2 2020, 2:46 PM · Software Heritage filesystem
haltode triaged T2840: FUSE: snapshot artifacts fail on "alias" target_type as Normal priority.
Dec 2 2020, 2:43 PM · Software Heritage filesystem
vlorentz triaged T2839: ls "<mountpoint>/origins/<invalidurl>" creates two empty directory entries with the same name as Normal priority.
Dec 2 2020, 2:43 PM · Software Heritage filesystem
vlorentz created T2839: ls "<mountpoint>/origins/<invalidurl>" creates two empty directory entries with the same name.
Dec 2 2020, 2:43 PM · Software Heritage filesystem
zack added a comment to T2838: "swh fs mount" silently fails if fusermount3 isn't available.

nice catch, thanks @vlorentz.

Dec 2 2020, 2:33 PM · Software Heritage filesystem
vlorentz triaged T2838: "swh fs mount" silently fails if fusermount3 isn't available as Low priority.
Dec 2 2020, 2:31 PM · Software Heritage filesystem

Dec 1 2020

haltode updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Dec 1 2020, 5:38 PM · Software Heritage filesystem
haltode moved T2820: FUSE: nest branch names in snapshot views instead of URL-escaping slashes from In progress to Done on the Software Heritage filesystem board.
Dec 1 2020, 5:37 PM · Software Heritage filesystem
haltode closed T2820: FUSE: nest branch names in snapshot views instead of URL-escaping slashes as Resolved by committing rDFUSEfe07b1cd293c: fs: snapshot: nest branch names as directories instead of URL-escaping.
Dec 1 2020, 5:37 PM · Software Heritage filesystem
haltode changed the status of T2832: FUSE: add tests for CLI commands from Open to Work in Progress.
Dec 1 2020, 12:55 PM · Software Heritage filesystem
zack triaged T2832: FUSE: add tests for CLI commands as Low priority.
Dec 1 2020, 11:32 AM · Software Heritage filesystem
zack renamed T2771: FUSE: rethink the visibility of files under archive/ and meta/, and possibly add a new cache/ entrypoint from FUSE: make ls archive/ meta/ return no result to FUSE: shard entries returned by ls {archive,meta}/, hiding {archive,meta}/SWHID entries.
Dec 1 2020, 11:31 AM · Software Heritage filesystem

Nov 30 2020

haltode moved T2829: FUSE: test_list_history randomly fails during CI on by-date/ listing from In progress to Done on the Software Heritage filesystem board.
Nov 30 2020, 5:22 PM · Software Heritage filesystem
haltode closed T2829: FUSE: test_list_history randomly fails during CI on by-date/ listing as Resolved by committing rDFUSE91da32397917: tests: use fixed delay in test_list_history.
Nov 30 2020, 5:22 PM · Software Heritage filesystem
haltode triaged T2830: FUSE: history/by-date/.status file implementation does not seem reliable as Normal priority.
Nov 30 2020, 4:58 PM · Software Heritage filesystem
haltode changed the status of T2829: FUSE: test_list_history randomly fails during CI on by-date/ listing from Open to Work in Progress.
Nov 30 2020, 4:00 PM · Software Heritage filesystem
haltode triaged T2829: FUSE: test_list_history randomly fails during CI on by-date/ listing as High priority.
Nov 30 2020, 4:00 PM · Software Heritage filesystem
haltode added a revision to T2820: FUSE: nest branch names in snapshot views instead of URL-escaping slashes: D4631: fs: snapshot: nest branch names as directories instead of URL-escaping.
Nov 30 2020, 3:18 PM · Software Heritage filesystem

Nov 28 2020

zack triaged T2825: add origin (and search) example to the FUSE tutorial as Low priority.
Nov 28 2020, 1:27 PM · Documentation, Software Heritage filesystem

Nov 27 2020

haltode changed the status of T2820: FUSE: nest branch names in snapshot views instead of URL-escaping slashes from Open to Work in Progress.
Nov 27 2020, 3:05 PM · Software Heritage filesystem
haltode moved T2803: FUSE history/by-{date,hash} views need an index to improve performances from In progress to Done on the Software Heritage filesystem board.
Nov 27 2020, 2:50 PM · Software Heritage filesystem
haltode closed T2803: FUSE history/by-{date,hash} views need an index to improve performances as Resolved by committing rDFUSE0a24b804f6f1: cache: add 'date' column in metadata_cache for history/by-date.
Nov 27 2020, 2:49 PM · Software Heritage filesystem
zack updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 27 2020, 1:37 PM · Software Heritage filesystem
zack updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 27 2020, 12:23 PM · Software Heritage filesystem
zack updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 27 2020, 12:20 PM · Software Heritage filesystem
zack updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 27 2020, 12:15 PM · Software Heritage filesystem
zack renamed T2820: FUSE: nest branch names in snapshot views instead of URL-escaping slashes from FUSE: next branch names in snapshot views instead of URL-escaping slashes to FUSE: nest branch names in snapshot views instead of URL-escaping slashes.
Nov 27 2020, 12:15 PM · Software Heritage filesystem
zack triaged T2820: FUSE: nest branch names in snapshot views instead of URL-escaping slashes as Low priority.
Nov 27 2020, 12:15 PM · Software Heritage filesystem
zack updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 27 2020, 12:10 PM · Software Heritage filesystem
haltode updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 27 2020, 10:23 AM · Software Heritage filesystem

Nov 26 2020

haltode updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 26 2020, 11:27 AM · Software Heritage filesystem
haltode updated the task description for T2811: FUSE: fix various paper cuts (user testing 2020-11-24).
Nov 26 2020, 10:59 AM · Software Heritage filesystem

Nov 25 2020

zack removed hashtags from Software Heritage filesystem: #fuse_virtual_file_system, #user-space_filesystem.
Nov 25 2020, 5:11 PM