Hi, On Fri, Oct 22, 2021 at 02:12:52PM -0400, Kyle Lyon wrote: > I am working on it at home. Wondering how I can submit it once I have You have multiple options ranging from "just" attaching a patch here in the BTS to making a merge request on Salsa: https://salsa.debian.org/apt-team/apt (Make a fork, do your thing, commit to a branch and push that branch to your fork – the push will have an URI you can use to open a merge request). > Where is the show command located? The dumpavail function is inside of > apt-main/cmdline/aptcache.cc, so where is the show command? The dumpavail lives in /path/to/apt/cmdline/apt-cache.cc as it is available only in apt-cache. apt & apt-cache share the code for the show command (among other things), so it is in our private library in the file /path/to/apt/apt-private/private-show.cc. I am not quite sure what the semantics of dumpavail should be through. The bug asks for a restoration of a behaviour from a decade ago – so chances are for better or worse that others expect it to behave the way it does now considering the old-soon-to-be-new behaviour a bug. Who are the users of the command anyway? The bugreport has only a dselect user who likes to grep in the available file. Has the former even any users left now that it isn't really developed anymore for years and lacks support for multi-arch and co? The later at least should be equally or better served by using intended interfaces like 'apt search'. Deprecating and dropping dumpavail might be a bit too heretic, but I think before this is (intentionally) changed one way or the other someone (aka not me) should look into who are the (remaining) users and what they are expecting… the produced output reaches epic proportions already (on my system: 162 MB) and that won't be less if we add more… Best regards David Kalnischkies
Attachment:
signature.asc
Description: PGP signature