Re: PATCH: speed up pkg_add

2022-03-16 Thread Marc Espie
I got a new slightly different one. Specifically, the old one has a "fun" failure mode in case an old package got broken and is missing files. The heuristics correctly deduces that the files are not there, so it extracts in-place... then pkg_delete promptly deletes what it believes to be files

Re: PATCH: speed up pkg_add

2022-03-15 Thread Stuart Henderson
On 2022/03/15 11:50, Marc Espie wrote: > I've changed pkg_add for updates and tied files a while back, which resulted > in creating a lot of temp files. The logic was complicated, and I didn't > want to make it more complex at the time until most of the issues were fixed. > > Then we got tags, so

PATCH: speed up pkg_add

2022-03-15 Thread Marc Espie
I've changed pkg_add for updates and tied files a while back, which resulted in creating a lot of temp files. The logic was complicated, and I didn't want to make it more complex at the time until most of the issues were fixed. Then we got tags, so that most packing-lists are innocuous these