Bug 17458 - gpk-repos should refresh cash afterwards
Summary: gpk-repos should refresh cash afterwards
Status: RESOLVED WORKSFORME
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-06 02:45 UTC by Sebastian Heinlein
Modified: 2008-10-13 23:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Heinlein 2008-09-06 02:45:53 UTC
If changes have been made to the repository information, gpk-repo should call a refresh of the cash after closing.
Comment 1 Richard Hughes 2008-09-06 03:04:33 UTC
It should do already. If you enable or disable a repo, you get a StateHasChanged method called, which forces Pk to drop caches. Can you describe in detail what you are seeing please? Thanks.
Comment 2 Sebastian Heinlein 2008-10-13 23:34:56 UTC
But StateHasChanged only affects the internal cache of packagekitd. For apt we would have to make a Refresh call to the backend. This is not the case for other backends?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.