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

Automatically refresh Update Manager when package cache or installed packages change #441

Merged
merged 1 commit into from Mar 12, 2019

Conversation

gm10
Copy link
Contributor

@gm10 gm10 commented Dec 13, 2018

Meant to add this for ages.

This only monitors changes to the package cache and dpkg's status, not to apt's configuration, so changing pins, repositories or similar without also refreshing the cache won't be caught. Intentional trade-off, the added complexity and resource usage are not worth monitoring that as well.

This also refactors the AutomaticRefreshThread and no longer cancels the scheduled refresh on exception.

Finally I did a pass over some of the log messages.

@gm10 gm10 changed the title [Next] Automatically refresh Update Manager when the package cache is changed [Next] Automatically refresh Update Manager when package cache or installed packages change Dec 14, 2018
@clefebvre clefebvre changed the title [Next] Automatically refresh Update Manager when package cache or installed packages change Automatically refresh Update Manager when package cache or installed packages change Feb 5, 2019
Related changes:
- refactor AutomaticRefreshThread(), and
- have the application window insensitive until the application is
  fully loaded and the initial refresh finished
@clefebvre clefebvre merged commit cc5d9e0 into linuxmint:master Mar 12, 2019
@gm10 gm10 deleted the CacheWatcher branch March 12, 2019 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants