Skip to content

chore: expand .gitignore for Flatpak, IDEs, and tooling - #119

Merged
vigri merged 2 commits into
ScanTailor-Advanced:masterfrom
pablogventura:chore/improve-gitignore
Apr 16, 2026
Merged

chore: expand .gitignore for Flatpak, IDEs, and tooling#119
vigri merged 2 commits into
ScanTailor-Advanced:masterfrom
pablogventura:chore/improve-gitignore

Conversation

@pablogventura

@pablogventura pablogventura commented Apr 14, 2026

Copy link
Copy Markdown

Changes

  • CMake: ignore generated *.cmake but keep versioned modules with !cmake/**/*.cmake; add CMakeUserPresets.json.
  • Flatpak / packaging: .flatpak-builder/, repo/, build-dir/, *.flatpak, *.AppImage.
  • IDEs: .clangd, .cache/clangd/, VS CMake Open Folder (.vs/, CMakeSettings.json, CppProperties.json), *.code-workspace.
  • Misc: C tag/cscope index files, *.orig/*.rej, KDE .directory, section comments in English only.

Follow-up: dropped Python/venv patterns — there are no tracked .py files in this repository (see review discussion).

- Un-ignore tracked cmake modules with !cmake/**/*.cmake
- Flatpak: .flatpak-builder, repo/, build-dir/, *.flatpak
- Editors: .clangd, VS Open Folder, code workspace
- Python caches and venvs; merge/patch leftovers; KDE .directory
- CMakeUserPresets.json; dedupe *.gcov entry

@gorgobacka gorgobacka left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there a need to ignore Python related files? As far as I can see, there are no Python files in this repository.

I can't tell about the other files, because I have no knowledge about C++.

I'm just curios, why wasn't this an issue before and if everything in this PR is really needed?

(Btw, some comments are in Spanish.)

- No tracked .py in this tree; drop __pycache__/venv patterns (PR review).
- Translate section headers to English; tighten a few comment lines.
@pablogventura

Copy link
Copy Markdown
Author

@gorgobacka Thanks for the review.

  • Python ignores: removed. This repository does not ship tracked .py sources, so those patterns were unnecessary noise.
  • Comments: all section headers in .gitignore are now in English (sorry for the earlier mix).
  • Rest of the PR: the Flatpak-related entries align with the local/CI flatpak-builder layout from the other change; CMake !cmake/**/*.cmake keeps generated *.cmake out of commits while still tracking files under cmake/. Other entries are the usual editor/OS/build-artifact cruft.

Pushed an update on the same branch.

@vigri
vigri merged commit 5669ab1 into ScanTailor-Advanced:master Apr 16, 2026
1 of 4 checks passed
@pablogventura
pablogventura deleted the chore/improve-gitignore branch May 24, 2026 02:22
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.

3 participants