New Feature: Online Updates #71
nebhead
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a side project currently that I plan to integrate into PiFire, which will add update functionality. Basically, it's a quick and dirty update system that can check if there are any updates available from Github, then perform the update for you.
Behind the scenes, it's basically just doing some Git functions, to check the remote branch for any changes. If there are changes, you can review those commits in the WebUI, and pull those changes (it's a force pull, so if there are any code changes on your branch, they will be blown away). You can select your branch, so if you are working out of the development branch you can pull from there directly as well. Also, if you are working from a fork, it should just point to whatever remote you are using.
This also means, we can start versioning this project. I'm following @weberbox's lead and utilizing the versioning format in the settings file that he established for the Android application. I'll try to start tagging the version numbers, as they are updated in the future.
Anyway, just thought I would share what I've been working on recently. I'm ashamed to admit it's taken a long time to get this working. Once I integrate this, I'll bring it into the development branch, and will mark it experimental. I suspect there will be bugs that need to be worked out, and unexpected corner cases. But it's been fun to play with.
Beta Was this translation helpful? Give feedback.
All reactions