o2sh / o2sh/onefetch

.cls file extension not recognized

Open
#1,095 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement upstream
Dominant language
Rust
Stars
12k
Forks
332
Avg merge
1d 23h
Merged PRs (30d)
17

Description

Summary 💡

When I try to run onefetch on a repository for a LaTeX document class, file extension .cls, it returns an error, Error: Could not find any source code in this repository. It appears that this file extension is not recognized.

Motivation 🔦

Working on some custom XeLaTeX document classes which I'm tracking with git.

Contributor guide

Open the contributing guide

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 tracing onefetch's source-code extension detection for .cls, using the reported error as the entry point. Test it against a repository containing a custom XeLaTeX document class; done means onefetch recognizes the repository as containing source code instead of returning that error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.