Re: Package naming rules.
On Tue, 7 May 1996, Rob Browning wrote:
> >>>>> "M" == Michael Alan Dorman <firstname.lastname@example.org> writes:
> M> Now, I also think the "right" way to do this is to create tools for
> M> most common scripting languages so they can get the info from
> M> within the .deb file, rather than trying to coax it out of the file
> M> name.
> If you're talking about some code that does the parsing, the
> disadvantage is that we can't easily fix bugs by releasing a new
> version unless everyone copies and pastes the new code into all their
> scripts (that is, unless the code is in a library (for the languages
> that support it)). Anyway, you get the point.
> I guess we could have a debian-funcs library or something... Of
> course dpkg will do much of this stuff, and maintaining several
> libraries in sync with dpkg might be a lot of work.
The tool already exists. And everyone has it installed too.
sysadmin@pianocktail:[~/debian-packages] #dpkg-deb -f zip-2.01-12.deb Version
sysadmin@pianocktail:[~/debian-packages] #dpkg-deb -f zip-2.01-12.deb Package
Doesn't that do just fine?