Repository navigation
Conversation
|
Member
|
Closing this one for now as discussed on slack, we'll move this to mint-common and use it from there in mintinstall/mintbackup. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One of the problematic features of mintinstall is the listing of installed applications, since it relies on a list in gsettings which only gets populated by applications installed via mintinstall. However, it is unrealistic to expect that users will only use the Mint-specific mintinstall to install packages when most guides will instruct them to use a different command/application.
This patch addresses this by automatically re-creating the list in gsettings for all Debian packages when the application starts. For this the initial install state from ubiquity's installer log is compared against the current state. If the log is unavailable then only the gsettings list is used.
Since the list in gsettings will get updated by this, mintbackup will benefit from this as well (once it gets fixed), although it should probably receive the same code to be able to function stand-alone.