On 2023-04-27 10:11, Jon Turney via Cygwin-apps wrote:
On 24/04/2023 19:16, Achim Gratz via Cygwin-apps wrote:
Corinna Vinschen via Cygwin-apps writes:
Calm could create a database containing all the files from the tar
archives it uploads, and compare that against the newly uploaded files
on th
Jon Turney wrote:
...
Using std::set_intersection() on values from std::map() here is
probably
a mistake. It's simple to write, but the performance is not good.
A faster alternative which avoids set_intersection calls in a loop is
possibly to use one large data structure which maps filenames
On 24/04/2023 19:16, Achim Gratz via Cygwin-apps wrote:
Corinna Vinschen via Cygwin-apps writes:
Calm could create a database containing all the files from the tar
archives it uploads, and compare that against the newly uploaded files
on the fly.
That already exists as the basis for package gr
On 24/04/2023 17:26, Christian Franke via Cygwin-apps wrote:
Jon Turney via Cygwin-apps wrote:
Detect filename collisions between packages
Don't check filenames under /etc/postinstall/ for collisions
Report when filename collisions exist
Add option '--collisions' to enable
IMO a useful enhance