[Cuis-dev] Package Installer duplicates

Barry Perryman barry.perryman at gmail.com
Sun Feb 4 14:00:18 PST 2024


Hi All,

When I open up the package installer and allow it to scan for packages the resulting list has a few duplicates in it - confirmed by looking at the details.

I’ve put together something, attached, that kind of fixes the problem but I’m also pretty sure it’s sub-optimal.

1. Added a test for equality to CodePackageFile
2. Update the PackageInstaller>>addPackage to verify that the package hasn’t been seen before before adding it to the collection.

Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PreventPackageInstallerDuplicates-BAP.001.cs.st
Type: application/octet-stream
Size: 523 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240204/bc9cb19e/attachment.obj>
-------------- next part --------------





More information about the Cuis-dev mailing list