On Wed, Nov 11, 2026 at 04:59:09PM +0000, Stuart Henderson wrote:
> On 2026/11/11 16:55, Marc Espie wrote:
> > One point I wish to make about the name is that doing anything that
> > doesn't simply manipulate the pkgname stem would mean cascading changes
> > all over the ports infrastructure.
> 
> yes.. I think my favourite option would be something like
> stem-version-flavors.dbg.tgz but I see why that is trickier.
> 
> > The very simple structure of having a stem, followed by a dash,
> > then a version number that starts with a digit and extends up to a possible
> > dash followed by flavors markers is pervasive, both in bsd.port.mk, and in
> > all the ports tree tools.
> > 
> > If you do anything else, like having debug packages treated like another 
> > flavor, would require special coding for conflict markers and stuff like
> > that.
> > 
> > I feel that that stuff is already complicated enough.
> > 
> > It's worthwhile choosing a stem-extension that's not confusing.
> > 
> > We could also make it .dbg, since it's the name of the files used in the
> > package proper ?
> > 
> > e.g., stem.dbg-version[-flavors] ?
> > 
> > I don't find it either less confusing or more confusing than any other 
> > proposal
> > so far.
> > 
> 
> I am happy with these, in decreasing order of preference for me,
> but I'd be ok with any of them:
> 
> stem.dbg-version[-flavors]
> stem.dbgsym-version[-flavors]
> stem-dbgsym-version[-flavors]
> stem.debuginfo-version[-flavors]
> stem-debuginfo-version[-flavors]
> 
> I don't really like stem-dbg-version, stem-debug-version, or 
> stem.debug-version
> 
> 
So, go with .dgb-version[-flavors]

it doesn't pose any problem with tools, I don't think you need me
to rewrite the patch I sent ;)

And once it's committed, I can look at basic pkg_* options, then probably
manpages and FAQ changes.

I doubt it will be an issue wrt shearing compared to putting .dbg at the
end after flavors... There are overall very few packages with several versions
and flavors and debug packages around.

Reply via email to