fsspec / fsspec/filesystem_spec
GithubFileSystem "ls" function raises exception for git submodules
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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