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)
Sat, Jul 4, 11:35 AM
Unknown Object (File)
Sat, Jul 4, 1:22 AM
Unknown Object (File)
Fri, Jul 3, 12:58 PM
Unknown Object (File)
Thu, Jul 2, 7:49 PM
Unknown Object (File)
Thu, Jul 2, 5:44 AM
Unknown Object (File)
Sun, Jun 14, 7:48 PM
Unknown Object (File)
Jun 12 2026, 11:17 AM
Unknown Object (File)
May 14 2026, 8:34 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
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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