Skip to content

chore: do not carry what is not the package - #2

Merged
Sunrisepeak merged 1 commit into
mainfrom
chore/ignore-what-is-not-the-package
Aug 20, 2026
Merged

chore: do not carry what is not the package#2
Sunrisepeak merged 1 commit into
mainfrom
chore/ignore-what-is-not-the-package

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Two files were tracked that describe a machine rather than the package:
openkal/.vscode/settings.json and openkal-windows/compile_commands.json.
Neither is reproducible, neither is read by anything that builds these packages,
and both change whenever somebody opens the directory.

The ignore list is now the same in all six repositories of this project, and it
names three kinds of thing rather than one:

what a build produces target/, .mcpp/, mcpp.lock, compile_commands.json
what an editor or a tool leaves beside the sources .vscode/, .idea/, .cache/, *.swp, *~
what a system leaves behind .DS_Store, Thumbs.db

The released tag is moved after this merges, so that the published tarball does
not carry them either — the index entry that would pin its sha256 has not been
opened yet.

Two files were tracked that describe a machine rather than the package: one
editor's settings, and a compilation database whose every entry is an absolute
path on the machine that produced it. Neither is reproducible, neither is read by
anything that builds this package, and both change whenever somebody opens the
directory.

The ignore list is now the same in all six repositories of this project, and it
names what a build produces, what an editor leaves beside the sources, and what a
file browser leaves behind. A repository that carries one editor's settings has
an opinion about editors.
@Sunrisepeak
Sunrisepeak merged commit 40d168f into main Aug 20, 2026
2 checks passed
@Sunrisepeak
Sunrisepeak deleted the chore/ignore-what-is-not-the-package branch August 20, 2026 03:29
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