]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
chore(gitignore): ignore user-local ev-profiles JSON files (#1982)
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 8 Jul 2026 14:44:03 +0000 (16:44 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2026 14:44:03 +0000 (16:44 +0200)
Add `src/assets/ev-profiles*.json` with negation for
`ev-profiles-template.json`, alongside the existing `config` and
`idtags` patterns. The three pairs are semantically identical:
user-mutable local instance + committed template.

The `ev-profiles.json` user file was previously untracked and
surfaced as noise in `git status`; the template
(`ev-profiles-template.json`) is documented in the README as the
canonical starting point for the `evProfilesFile` template field
consumed by the coherent MeterValues generator.

Verified with `git check-ignore -v`:
- `src/assets/ev-profiles.json`         → matched by .gitignore:7
- `src/assets/ev-profiles-template.json` → NOT ignored (negation)

.gitignore

index a64df1c8624fe866543db5a83473d1685a0733fd..32df8163199dd9164972a3efab96b4fcf7893e13 100644 (file)
@@ -4,6 +4,8 @@ src/assets/config*.json
 src/scripts/scriptConfig.json
 src/assets/*idtags*.json
 !src/assets/idtags-template.json
+src/assets/ev-profiles*.json
+!src/assets/ev-profiles-template.json
 src/assets/configs-docker/*.json
 mikro-orm.config*.ts
 !mikro-orm.config-template.ts