On Mon, Jan 17, 2011 at 02:05:29AM +0100, Tobias Ulmer wrote:
> Did I get the EPOCH stuff right? ;-)
...
> -DISTNAME=            ncmpc-0.17
> -EPOCH=                       0
> -REVISION=            0
> +DISTNAME=            ncmpc-0.18
> +EPOCH=                       1

No. Version 0.18 goes correctly up from 0.17p0, so there is no need to
bump EPOCH. EPOCH should stay at zero.

EPOCH never goes away or goes to lower value. Always need to go up, but
*only* in certain (hopefuly rare) situations. Here is example when would
go up with EPOCH:

If by any chance in a week you need to revert ncmpc update back to 0.17
(from 0.18) then you need to tell pkg tools that from now on 0.17 is
newer version than 0.18 (in terms of OpenBSD ports and packages) so you
bump EPOCH. On a everyday basis that usually does not happend.

EPOCH is bumped always when version goes backward, so pkg tools know that
package needs to be updated anyway, even if the version is lower. That
is why EPOCH is for.

Hope makes sense.

-- 
best regards
q#

Reply via email to