fsspec / fsspec/filesystem_spec

GithubFileSystem "ls" function raises exception for git submodules

Open
#775 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.4k
Forks
490
Avg merge
2d 3h
Merged PRs (30d)
38

Description

The ls function is broken and raises an exception if a repo contains a git submodule.
Exception is caused by fact that 'type' can be either a 'blob', 'tree' or 'commit' but 'commit' is not supported as key.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the GithubFileSystem ls function and reproduce the exception against a repository containing a git submodule. Verify that entries whose type is commit, as well as blob and tree, no longer cause ls to raise an exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.