Re: Should I use PORTEPOCH for the sake of "looking clean"?
Nuno Teixeira <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <CAFDf7UJinAwdYR9qs_7mW9GZeWGzmNT8XH-+NhXLUgBM_9=fCg@mail.gmail.com> |
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_sites-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 <[email protected]> escreveu (segunda, 15/09/2025 Ă (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.org. > 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. > -- Nuno Teixeira FreeBSD UNIX: <[email protected]> Web: https://FreeBSD.org