tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Versioning unversioned packages



* On 2016-06-20 at 20:25 BST, Roland Illig wrote:

> Am 18.06.2016 um 11:53 schrieb Ryo ONODERA:
> > Hi,
> > 
> > From: Gavan Fantom <gavan%coolfactor.org@localhost>, Date: Fri, 10 Jun 2016 13:13:07 +0100
> > 
> >> Hi folks,
> >>
> >> Occasionally we have packages which are not derived from a specific
> >> release upstream. Sometimes because the last release was a long time
> >> ago and a newer, unreleased, version is needed to do anything useful,
> >> and sometimes because upstream simply hasn't ever made releases and
> >> just expects people to use the latest version from github.
> >>
> >> But in pkgsrc we need a version number for every package. How do we
> >> derive this version number in the case of packages where the author
> >> has not supplied a version number, and we are just stating a revision
> >> in github or similar?
> > 
> > I prefer "pre" or "rc" described in pkgsrc/mk/help/distname.help .
> > For example, 0pre20160618.
> 
> Wow, this idea is so simple and effective that I'd like to document it
> as the "official way" in the pkgsrc guide.
> 
> Any objections?

I like it, but one thing to be aware of is that it doesn't support the
"foo>=0" style of DEPENDS as used by quite a few packages.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index