From Newsgroup: muc.lists.freebsd.ports
--0000000000009fba3b063f1a4b05
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hello,
You can also use git describe to get a version with commit count style
instead of <version>-<date>:
~/tmp/vimpager % git describe --tags
2.06-385-g8a4cc18
portversion will be translated to vimpager-2.06.385
as documented in:
[Example 18. Using USE_GITHUB to Access a Commit Between Two Versions]
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_si= tes-github
But in this case a PORTEPOCH will be needed since:
% pkg version -t vimpager-2.06.20250412_1 vimpager-2.06.385
Cheers,
Yusuf Yaman <
nxjoseph@protonmail.com> escreveu (segunda, 15/09/2025 =C3=A0(=
s)
19:18):
Hi,
I am the maintainer of sysutils/vimpager, which is a text pager using vim=
.
I am using repology.org for a while because it is useful, but, in my maintainer information page, this port is seen as problematic because it
has the "release date" on ${DISTVERSION} too. So, I am considering adding PORTEPOCH and removing the date to be able to "look clean" on repology.or=
g.
Do you think this is OK and/or worth it? Thanks in advance!
Kind regards,
Yusuf Yaman
Sent with Proton Mail <https://proton.me/mail/home> secure email.
--=20
Nuno Teixeira
FreeBSD UNIX: <
eduardo@FreeBSD.org> Web:
https://FreeBSD.org
--0000000000009fba3b063f1a4b05
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div><div>Hello,<br><br></div>You can also use git de= scribe to get a version with commit count style instead of <version>-= <date>:<br><br>~/tmp/vimpager % git describe --tags<br>2.06-385-g8a4c= c18<br><br></div>portversion will be translated to vimpager-2.06.385<br></d= iv><div>as documented in:</div><div>[Example 18. Using <code>USE_GITHUB</co=
to Access a Commit Between Two Versions]<br><a href=3D"https://docs.fre=
ebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github">http= s://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-= github</a><br><br></div><div>But in this case a PORTEPOCH will be needed si= nce:<br><br>% pkg version -t vimpager-2.06.20250412_1 vimpager-2.06.385<br>= ></div><div><br></div><div>Cheers,</div><div><br><br></div></div><br><di=
v class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gma= il_attr">Yusuf Yaman <<a href=3D"mailto:
nxjoseph@protonmail.com">nxjosep=
h@protonmail.com</a>> escreveu (segunda, 15/09/2025 =C3=A0(s) 19:18):<br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style=3D"font= -family:Arial,sans-serif;font-size:14px">Hi,<br><br>I am the maintainer of = sysutils/vimpager, which is a text pager using vim.<br><br>I am using <a hr= ef=3D"
http://repology.org" target=3D"_blank">repology.org</a> for a while b= ecause it is useful, but, in my maintainer information page, this port is s= een as problematic because it has the "release date" on ${DISTVER= SION} too. So, I am considering adding PORTEPOCH and removing the date to b=
e able to "look clean" on <a href=3D"
http://repology.org" target= =3D"_blank">repology.org</a>. Do you think this is OK and/or worth it? Than=
ks in advance!<br><br>Kind regards,<br>Yusuf Yaman</div><div style=3D"font-= family:Arial,sans-serif;font-size:14px"><br></div>
<div style=3D"font-family:Arial,sans-serif;font-size:14px">
<div>
=20
</div>
=20
<div>
Sent with <a href=3D"
https://proton.me/mail/home" target=3D"_blank"= >Proton Mail</a> secure email.
</div>
</div>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div>= <div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 <
eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 <a h= ref=3D"
https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">
https://Fr= eeBSD.org</a><br></font></div></div></div></div>
--0000000000009fba3b063f1a4b05--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to
news-admin@muc.de
--- Synchronet 3.21a-Linux NewsLink 1.2