typst / typst/package-check

False positive on template files named like the thumbnail

Open
#73 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
36
Forks
9
Avg merge
1h 46m
Merged PRs (30d)
1

Description

If a file in the template has the same base name as the thumbnail, it will raise an error. See the annotation on this file: https://github.com/typst/packages/pull/4951/changes#diff-035a421521ea66d1a47b094482a1f2a94753dfd9730182174526c8ad87bb84f7

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 with the linked annotation in typst/packages pull request 4951 and trace how package-check validates template files against the thumbnail. Reproduce the case where a template file shares the thumbnail's base name, then verify that the checker no longer raises a false-positive error for that valid package.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.