ryanlaws / pigeons

Message logistics for monome norns
2 stars 2 forks source link

Make configuration more robust #6

Open ryanlaws opened 3 years ago

ryanlaws commented 3 years ago

Summary

Configuration is currently saved in the repository. This completely defeats the purpose of configuration.

It is useful to have an example configuration so users can figure out how the heck to use pigeons. But the live configuration doesn't belong in the repository. Simply copying an example configuration to the real configuration path would do the job.

Accordingly, a .gitignore should include whatever the path of the live configuration the app uses, ends up being.

Why

Users will modify the configuration. Without a UI, this is an absolute necessity. When they do, Git will think they might want to commit to the repository. This is not necessarily true, and even if it was, they likely do not want to commit their configuration.

Configuration is separate from code for a reason, and after all, this is lisp - configuration is code!

Considerations