Implement AptFacade.set_caching

Bug #865299 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
High
Björn Tillenius

Bug Description

SmartFacade has a set_caching() method. It receives either ALWAYS or NEVER. If ALWAYS is passed, reload_channels() won't re-download the Packages files of the channels, but will re-use the already downloaded ones. If NEVER, reload_channels() will re-download the Packages files for all configured channels.

It should be as simple as not calling self._cache.update() if caching is set to ALWAYS.

Related branches

Changed in landscape-client:
importance: Undecided → Medium
tags: added: points-1 squad-gamma theme-apt
Changed in landscape-client:
importance: Medium → High
milestone: none → 11.10.1
Changed in landscape-client:
status: New → In Progress
assignee: nobody → Björn Tillenius (bjornt)
Changed in landscape-client:
status: In Progress → Fix Committed
Changed in landscape-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.