canonical / chisel

GNU Affero General Public License v3.0
248 stars 39 forks source link

feat: support for several slices of the same package #134

Closed letFunny closed 1 month ago

letFunny commented 2 months ago

Due to several bugs and several limitations in the code, not all cases of selecting several slices of the same package worked. Specifically, we were not reporting the second slice correctly, which meant that the scripts could not select those paths. Additionally, there were several more problems when the slices had overlapping globs (which are valid in the same package). Mainly, the whole until calculation had to be redone, and the extractor had to be refactored to group by destination path, where before it was assuming there was only one.