Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document user configurable settings #1788

Merged
merged 5 commits into from
Apr 19, 2024

Conversation

jdeanwallace
Copy link
Contributor

@jdeanwallace jdeanwallace commented Apr 17, 2024

Resolves #1573

Since winning the war on Ansible, we've dropped support for many TinyPilot settings that were configurable via /home/tinypilot/settings.yml.

Apart from this blog post (/whats-new-in-2022-05/) we haven't really documented (publicly) which settings are supported, deprecated, and unsupported. This PR does just that:

Notes

  1. The list of supported settings, were compiled from
  2. The list of deprecated settings, were compiled from a combination of
  3. The list of unsupported settings, were compiled from a combination of

Resources used

Review on CodeApprove

@jdeanwallace jdeanwallace marked this pull request as ready for review April 18, 2024 11:55
Copy link
Contributor Author

Automated comment from CodeApprove ➜

@jotaen4tinypilot please review this Pull Request

Copy link
Contributor

@jotaen4tinypilot jotaen4tinypilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

In: Discussion
Is there anything from the documentation that we had in the Ansible roles that would be worth to take over? (E.g., see the archived uStreamer Ansible defaults/main.yml.

I’m thinking, we probably don’t have to repeat documentation that we already have elsewhere, but some of the values might not be immediately obvious (e.g. tinypilot_manage_tls_keys or tinypilot_keyboard_interface). One thought would be to just take over whatever commentary we had, to make it a bit more discoverable; or we could link/refer to the archived Ansible repos?


👀 @jdeanwallace it's your turn please take a look

Copy link
Contributor Author

@jdeanwallace jdeanwallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

In: Discussion
I would probably avoid referencing the respective ansible role repos because there was a stage where we consolidated them into the main tinypilot repo, so I'm not sure what changes were made to the roles since that happened. So my thinking was that the most recent version of the ansible roles were the ansible-role/ and ansible-role-ustreamer/ directories in the tinypilot 2.6.0 (i.e., our last TinyPilot version that used Ansible).

One thought would be to just take over whatever commentary we had, to make it a bit more discoverable

Yeah I think it makes sense to preserve those comments by copying them into this document seeing as Ansible is no more. I only did this for supported and deprecated settings.


👀 @jotaen4tinypilot it's your turn please take a look

Copy link
Contributor

@jotaen4tinypilot jotaen4tinypilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated comment from CodeApprove ➜

Approved on CodeApprove
✔️ Approved


In: Discussion
Cool, that makes sense to me!


👀 @jdeanwallace it's your turn please take a look

@jdeanwallace jdeanwallace merged commit 5b2fe52 into master Apr 19, 2024
14 checks passed
@jdeanwallace jdeanwallace deleted the document-user-configurable-settings branch April 19, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Find a new place to document properties in settings.yml
2 participants