Skip to content

Generate .gitignore files - #22

Merged
NiklasRentzCAU merged 2 commits into
mainfrom
nre/generate-gitignores
Oct 23, 2026
Merged

NiklasRentzCAU merged 2 commits into
mainfrom
nre/generate-gitignores

Conversation

@NiklasRentzCAU

Copy link
Copy Markdown
Member

Add .gitignore files to all generated projects.

The ignore rules depend on the project type:

  • The generator template should produce a minimal .gitignore that ignores only build files. Everything else should remain customizable and committable by users, since the generator is the primary place for manual changes. The template will be replaced with a concrete implementation that translates code from the source repository into project models according to the architecture description.
  • The visualization project should ignore everything except the src/ directory and the Styles service in META-INF/services, so manual styling changes can be committed. See also a follow-up PR.
  • Xtext DSL projects generate multiple subprojects. Ignore all of them together, since SPViz generates them deterministically.
  • Fully ignore all other projects as well, since SPViz generates them deterministically.

Niklas Rentz added 2 commits October 8, 2026 09:07
…odified and ignore all automatically-generated and overwritten code and configuration.
@NiklasRentzCAU NiklasRentzCAU self-assigned this Oct 23, 2026
@NiklasRentzCAU
NiklasRentzCAU merged commit a073fca into main Oct 23, 2026
1 check passed
@NiklasRentzCAU
NiklasRentzCAU deleted the nre/generate-gitignores branch October 23, 2026 13:58
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