[go: up one dir, main page]

Skip to content

Dynamic Project Templates (Project Generators)

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

The Rails template is not necessarily being kept up to date with the rails project. This tool is also not parameterised with all of the things that the rails new command supports (for example setting the project name, testing framework, database type). Using the template means you could likely not be using the latest rails project structure or latest dependencies.

Keeping it up to date seems inefficient since we're replicating efforts by the Rails community and I believe that people would likely prefer to always create a project with rails new.

Similar tooling exists for frameworks other than rails:

Intended users

Further details

Proposal

Similar to selecting a template you should be able to select from a list of "Generators". The generator will have a predefined set of parameters to fill in a form.

After creating the project the generator will trigger a single CI job to run for that project which will then execute the generator steps and push the code back into the project once it is generated.

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

Links / references

Edited by 🤖 GitLab Bot 🤖