Skip to content

Add gitignore which included all auto-generated files #14

@iDoka

Description

@iDoka

Based on good practice of usage auto-generated source files in VCS should store only sources ("input" to generate some auto-generated entities), therefore auto-generated sources should not added under VCS control. To avoid this, we must also generate a .gitignore file which included all auto-generated files.

Most convenient way to do this required to add new variable to csrconfig in [globcfg] section like BASEDIR - the root path for other sections. All another path variables from secondary sections should complement BASEDIR path to get full path.

In this case we can place .gitignore in BASEDIR and place path and files into .gitignore relative to BASEDIR.

I think this is the easiest way to achieve goal: auto-generated files cannot accidentally add under VCS control.

would be great to automaticaly add informative header to all auto-generated entities as comment:

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions