Open globalcitizen opened 11 years ago
It is not if you want up-to-date stuff. Should add a command-line switch telling lxc-gentoo how old of a cache we are tolerating.
tbh the entire fetching subsystem is in grave need of some refactoring
Agreed... I hit issues with this recently.
The portage snapshot is typically undated except at the filesystem's own metadata layer so that could be a bit of a hassle. Instituting a yes/no cache update when either the stage3
or portage snapshot
is over some reasonable number of days old (eg. 30) might be enough.
Care should be taken such that changes to the interface to support better cache handling do not impact on current automated execution paths. This may require a catch-all "quiet mode" or similar to be added.
Seems a waste of time!