Skip to content

Keep working notes out of the source distribution - #89

Merged
mmshad merged 1 commit into
mainfrom
sdist-excludes-plan-notes
Aug 5, 2026
Merged

Keep working notes out of the source distribution#89
mmshad merged 1 commit into
mainfrom
sdist-excludes-plan-notes

Conversation

@mmshad

@mmshad mmshad commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The sdist exclude named me-tui-plan.md, which is no longer in the tree, so the entry
looked like dead housekeeping. Building the sdist showed the opposite problem: a
newer working note, enhancements-aug-4-plan.md, was being shipped.

Hatchling takes every file the VCS does not ignore, and these notes are deliberately
untracked rather than gitignored, so each one has to be excluded or it lands in the
distribution. A pattern covers the one that exists and any later one.

Verified by building before and after: the sdist loses exactly that file, 189 entries
to 188, and still carries pyproject, the README, CONTRIBUTING, src, tests, docs and
the command index. The wheel was never affected, since it ships the package alone.

The exclude named a plan file that no longer exists, while a newer one was
shipping: hatchling takes every file the VCS does not ignore, and these notes are
deliberately untracked rather than ignored. A pattern covers both.
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

The author of this PR, mmshad, is not an activated member of this organization on Codecov.
Please activate this user on Codecov to display this PR comment.
Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.
Please don't hesitate to email us at support@codecov.io with any questions.

@mmshad
mmshad merged commit af96349 into main Aug 5, 2026
8 checks passed
@mmshad
mmshad deleted the sdist-excludes-plan-notes branch August 5, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant