Page MenuHomeFreeBSD

framework: add git-hook to check PORTEPOCH validity
ClosedPublic

Authored by tcberner on Jul 6 2022, 4:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 18, 8:47 PM
Unknown Object (File)
Sat, Mar 14, 6:31 PM
Unknown Object (File)
Sun, Mar 8, 4:53 PM
Unknown Object (File)
Fri, Mar 6, 9:37 AM
Unknown Object (File)
Feb 15 2026, 6:24 AM
Unknown Object (File)
Feb 15 2026, 6:23 AM
Unknown Object (File)
Feb 8 2026, 4:33 AM
Unknown Object (File)
Feb 8 2026, 3:36 AM
Subscribers

Details

Summary
  • checks dropping of PORTEPOCH:

[pre-commit] dropped PORTEPOCH 1 in net/kf5-kdav/Makefile

  • checks it being non-decreasing:

[pre-commit] PORTEPOCH decreasing from 2 to 1 in net-p2p/frost/Makefile

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 46495
Build 43384: arc lint + arc unit

Event Timeline

tcberner retitled this revision from framework: add git-hook to check PORTEPOCH vality to framework: add git-hook to check PORTEPOCH validity.Jul 12 2022, 3:41 PM
rene added inline comments.
.hooks/pre-commit.d/check_portepoch
11

How does this check that old_epoch was set?

.hooks/pre-commit.d/check_portepoch
11

we've had -n/-z for a while now, compounded with @rene 's remark.

tcberner added inline comments.
.hooks/pre-commit.d/check_portepoch
11

switched to using -n and -z respectively

This revision is now accepted and ready to land.Oct 12 2022, 3:29 PM