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

Pull OTA updates from github branch or release #259

Open
sjefferson99 opened this issue Nov 24, 2024 · 2 comments
Open

Pull OTA updates from github branch or release #259

sjefferson99 opened this issue Nov 24, 2024 · 2 comments
Assignees
Labels
🔮 enhancement New feature or request 👁 smib-hid SMIBHID related code

Comments

@sjefferson99
Copy link
Member

Extending #241 that can only update lib folder files, the update web page should allow selection of a github branch or release to update SMIBHID to. This will be easier than manual file staging and less error prone. Much of the code can be reused.

Potential design is have a dropdown list of available branches and releases from the smib repo and possibly a repo branch/release/tag URL manual entry to get around issues like repo changing shape if we split out SMIB etc.

Challenges that come to mind are making the API request to populate the releases list and working out a way to pull only different files if possible. This needs to happen without admin overhead of manually versioning files that may also lead to errors. Perhaps some kind of MD5 hashing, but may need an action on githib commit to has the files. No doubt there is a solution for this already out there.

@sam57719
Copy link
Collaborator

This might be made easier to put smibhid in its own repo.

Been talking about it for a while - might be time.

Not got any solid reasoning yet, but then again I've not had my dinner.

@sjefferson99
Copy link
Member Author

Will give it some thought, see if there's any cons to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 enhancement New feature or request 👁 smib-hid SMIBHID related code
Projects
None yet
Development

No branches or pull requests

2 participants