[prev in list] [next in list] [prev in thread] [next in thread]
List: macports-dev
Subject: Re: non-integer epoch?
From: Ryan Schmidt <ryandesign () macports ! org>
Date: 2018-08-12 16:33:43
Message-ID: F74CC87F-B074-4535-8E28-37270F215DA4 () macports ! org
[Download RAW message or body]
On Aug 11, 2018, at 15:58, René J.V. Bertin wrote:
> > " Some Portfile authors have used large epoch values that look like a date, but \
> > there is no reason to do so"
>
> nor is there a reason not to (that's not based on an ad-hoc decision) ...
>
> The doc reads a bit as if the epoch is equivalent to the `N:` element that some \
> Debian/Ubuntu packages prepend to the version, except that that element is visible \
> to the user so they can understand seemingly counter-intuitive version \
> progressions. (Note that I'm not perfectly certain what that N: element stands \
> for.)
>
> > > A question though: what epoch was being used for those ports of mine - just the \
> > > `floor(epoch)` (or `(int)(epoch)`) value? If I'm going to have to correct my \
> > > ports I'd just as well avoid the introduction of a new epoch ...
> >
> > I have no idea.
>
>
> Let me rephase: how does one query the epoch value for an installed port?
Well it's probably in the registry. You could open the registry in an SQLite client \
and query it (after loading the MacPorts SQLite plugin).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic