On 16/12/2022 15:40, Christian Franke via Cygwin-apps wrote:
Jon Turney wrote:
On 11/12/2022 15:11, Christian Franke via Cygwin-apps wrote:
This prevents accidental package loss if reinstall is run from local
directory but the package is no longer cached.
Thanks. This seems right, so please apply.
Done.
Could you please also review "[PATCH setup] Add tooltip for Ctrl+I/R/U
accelerator keys" before next release?
Yes, I hadn't forgotten about that, but I think it will be a bit before
I get back to setup...
BTW, I have a local bash-script 'cygcache' which allows to list package
states ([auto]installed, cached, curr/prev/test), cleanup the cache
using above rules (configurable) or merge cache directories into one.
Still requires some polishing. If there is any interest, I could ITP it
next year.
There's been a few ad-hoc solutions over the years, I think, but unless
it's built into setup somehow, it's not going to reach the majority of
users, I think.
It's been pointed out recently that the top-level cache directory should
probably be the release label (e.g 'cygwin') rather than the mirror URL.
(There's some historical cache layout compatibility stuff in Cygwin for
an even older scheme, but I can't remember the details...)