Page MenuHomeFreeBSD

bump-revision.sh: Consider PORTEPOCH when PORTREVISION is not set.
Needs ReviewPublic

Authored by rakuco on Feb 17 2018, 2:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 7:51 AM
Unknown Object (File)
Sun, Oct 12, 1:35 AM
Unknown Object (File)
Thu, Sep 18, 6:57 PM
Unknown Object (File)
Sep 14 2025, 10:07 PM
Unknown Object (File)
Sep 7 2025, 2:44 AM
Unknown Object (File)
Aug 29 2025, 8:44 PM
Unknown Object (File)
Aug 5 2025, 12:55 PM
Unknown Object (File)
Jul 24 2025, 2:06 PM
Subscribers
None

Details

Reviewers
robak
Group Reviewers
portmgr
Summary

Some ports, such as the py-qt{4,5}-* ones, do not set PORTVERSION
themselves, but may have PORTEPOCH right below PORTNAME.

If such ports have PORTNAME and PORTEPOCH but no PORTREVISION, the script
would add a PORTREVISION below PORTEPOCH instead of before it.

Test Plan

Running the script on a port without PORTVERSION and PORTREVISION, but with PORTEPOCH worked fine.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 15101
Build 15194: arc lint + arc unit