chore: introduce inverted gitignore rules to improve file tracking #2208
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Introduce inverted
.gitignorefor precise tracking control as already done for the.dockerignore.This switches from a traditional "ignore unwanted files" approach to an inverted allowlist pattern that explicitly includes only intended tracked files.
Why: The current
.gitignorerisks missing build artifacts, IDE files, and runtime data that can bloat the repository and IDE git tracking tools. I have by times hundreds of untracked files showing up that are generated here and there. Some of the folders depend on my local setup, and it doesn't make sense to add all these folders into a.gitignore.An allowlist approach guarantees only essential sources, configs, and workflows are tracked. And whenever we want to add something new, we have to explicitly add this file and are not distracted by many other not untracked files.
What changes (A first discussable approach by me, can be more detailed if wanted):
README.md,pom.xml,docker-compose.yml, etc.)pom.xml, src/**/resources/*)graphs,elevation_cache,dist, IDE files etc.Pull Request Checklist
have been resolved.
[Unreleased] heading.
along with a short description of what it is for, and documented this in the Pull Request (below).
(at least Germany), and the graphs build without problems (i.e. no out-of-memory errors).
importer etc.), I have generated longer distance routes for the affected profiles with different options
(avoid features, max weight etc.) and compared these with the routes of the same parameters and start/end
points generated from the current live ORS.
If there are differences then the reasoning for these MUST be documented in the pull request.
and why the change was needed.
Fixes # .
Information about the changes
Examples and reasons for differences between live ORS routes, and those generated from this pull request
Required changes to ors config (if applicable)