-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
DietPi-Update | Live patches via GitHub repository version file #4572
Conversation
+ DietPi-PREP | Apply live patches via new mechanism and store info of already applied patches in .version file. Do this as early as possible, to have bugs fixed before using the scripts. Copy the separately stored image version file back in place, after .version got removed during a later cleanup step.
+ DietPi-Update | A new live patching system has been implemented. This allows us to ship little fixes and updates, that are safe to apply with a one-line command, until the next DietPi version is released. Live patches are checked for together with DietPi updates and a notification is shown in the login banner as well, when new live patches have been found. When available, each patch can be individually applied or dismissed and the login banner won't bother you again about patches that you have seen in the dietpi-update menu already, regardless whether you applied them or not.
@MichaIng
EDIT: |
Both fixed already 🙂: e36a548 |
ok looks good on |
@MichaIng Should we give some more information on the available Live Patch on the initial screen
Right now it's just giving a number 🤔 |
I hope this is clear that more info on a patch can be seen when selecting it? I wanted to keep it slim and have only a single description variable, which needs to be long enough for a brief explanation and a link to the related GitHub issue. But that one is too long for the whiptail menu 🤔. For that we'd need an additional variable, like a title. |
Just as an idea, what about naming the software title in question? like So you already know what it is about and not just need to go to each patch. All just ideas. Probably we will not have that much live patched 😄 |
It wouldn't be a big deal. We can add an additional array (https://github.com/MichaIng/DietPi/blob/master/.update/version) like |
personally I would vote on this but it's up to you 😜 |
Status: Ready
Commit list/description: