Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 09:32:52 +0300
From:      Anonymous <swell.k@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   git snapshots, PORTVERSION, PORTEPOCH
Message-ID:  <86bpsw2tbf.fsf@gmail.com>

next in thread | raw e-mail | index | archive | help
Would it be okay if I use commit hash in PORTVERSION and constantly bump
PORTEPOCH on each update? Are there any such precedents?

%%%
PORTVERSION=    0.0.10${SNAPSUFFIX}
PORTEPOCH=      1

SNAPSUFFIX=     .${SNAPTYPE}.${SNAPREV}
SNAPTYPE=       git
SNAPREV=        e09f50e
%%%

Where PKGNAME would look like

    myport-0.0.10.git.e09f50e,1

I want to keep commit reference in place and refrain from using vague
dates in PORTVERSION because there can be several commits per day. And
for curious users I can include ChangeLog file in distfile generated
from git-log command.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bpsw2tbf.fsf>