tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
3.02k stars 252 forks source link

Deprecate settings.yml, and document usage #1692

Closed jotaen4tinypilot closed 10 months ago

jotaen4tinypilot commented 10 months ago

Resolves https://github.com/tiny-pilot/tinypilot/issues/1524.

The outcome of our discussion in the ticket was this:

This PR adds a comment in settings.py, marking its usage as quasi-deprecated. It also adds some historical context, references the SQlite DB as default storage, and lists sample exceptional cases.

I realized that we probably don’t need to add any documentation to the SQlite DB, since there is not really an alternative to it any longer. So by deprecating settings.yml, the SQlite DB is the only storage option anyway, and there shouldn’t be any ambiguity left. Contrary to my initial proposal, I also don’t think we should move settings.py up to the app package, as that might mistakenly promote its usage. Review on CodeApprove