Loading
Commits on Source 8
-
GitLab Renovate Bot authored
-
renovate-bot authored
chore(deps): update dependency gitlab-org/caproni to v2.61.0 See merge request !778
-
GitLab Renovate Bot authored
-
renovate-bot authored
chore(deps): update dependency lima-vm/lima to v2.1.3 See merge request !774
-
Andrew Newdigate authored
Disable every EditorConfig rule for .copier-*.yml answer files by setting the full six keys (charset, end_of_line, indent_size, indent_style, insert_final_newline, trim_trailing_whitespace) to `unset`. - Update the template .editorconfig to the full six-key section, and drop the duplicate insert_final_newline in the [*] section. - Add a reusable, idempotent ConfigUpdater-based editor (migration-scripts/lib/editorconfig.py) that injects a synthetic root section so the section-less `root = true` can be parsed, tolerates the pre-existing duplicate key, and preserves comments/formatting. - Add migration-scripts/editorconfig-copier-yml-unset.py and wire it into copier.yml _migrations, pinned at 1.58.4.post1 so it fires once for projects rendered at <= v1.58.4. Since .editorconfig is in _skip_if_exists, a migration is the only way to evolve it. Co-Authored-By:Claude Opus 4.8 <noreply@anthropic.com>
-
Andrew Newdigate authored
Ensure every content change in the rendered template .editorconfig.jinja has a propagation migration, since .editorconfig is _skip_if_exists and is only evolved via migrations. - Rename editorconfig-copier-yml-unset.py to editorconfig-common-updates.py and have it apply all unconditional .editorconfig updates: the [.copier-*.yml] unset rules (template v1.58.1) plus [*.rego] tab indent (template v1.25.0). - Add editorconfig-go-unset.py: switch [*.go] from indent_style=tab to unsetting indent_style/indent_size/trim_trailing_whitespace plus the explanatory comment (template v1.48.0). Gated on golang projects. - Add optional leading-comment support to lib/editorconfig.py, added idempotently so re-runs do not duplicate it. - All migrations pinned at 1.58.4.post1 (most projects have already upgraded), fire-once and idempotent. - Remove the duplicate insert_final_newline from .editorconfig.jinja so freshly-rendered projects no longer inherit it (the earlier fix only touched this repo's own .editorconfig, not the rendered template). Co-Authored-By:Claude Opus 4.8 <noreply@anthropic.com>
-
Andrew Newdigate authored
- Specify encoding="utf-8" on both open() calls in lib/editorconfig.py so parsing/writing does not depend on the platform default encoding. - Add --quiet to the configupdater pip installs in copier.yml to keep copier update output clean. Co-Authored-By:Claude Opus 4.8 <noreply@anthropic.com>
-
Andrew Newdigate authored
feat(editorconfig): add migrations for editorconfig See merge request !779