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
F135866226: D14412.id39420.diff
Thu, Nov 13, 4:25 PM
Unknown Object (File)
Tue, Nov 4, 3:25 AM
Unknown Object (File)
Sun, Nov 2, 2:18 AM
Unknown Object (File)
Tue, Oct 28, 1:15 AM
Unknown Object (File)
Mon, Oct 27, 2:22 AM
Unknown Object (File)
Sat, Oct 25, 3:23 PM
Unknown Object (File)
Thu, Oct 16, 6:09 PM
Unknown Object (File)
Oct 12 2025, 7:51 AM
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