commit e2ec5822d08d0833fb6242ff5beef3313758833c647410ec269d00c1c6678860 from: Stefan Sperling date: Wed Jul 16 12:18:45 2025 UTC show examples for reference protection rules in gotsys.conf manual commit - 2a92232a9cb7dfb5ca98335fdae47c7b479270c7d495a479ad89759c8ad62dbe commit + e2ec5822d08d0833fb6242ff5beef3313758833c647410ec269d00c1c6678860 blob - 72a3d5ad1602584af0b99497758c2f3a56a31377c55dace2d2725601e478de37 blob + 1cd16fc9a35130cbe4ac87eb058bfb3ba763026c73c3ea660ba3cbfdc5a55d42 --- gotsys/gotsys.conf.5 +++ gotsys/gotsys.conf.5 @@ -521,8 +521,8 @@ repository "src" { permit rw :developers permit ro anonymous .\" -.\" protect branch "main" -.\" protect tag namespace "refs/tags/" + protect branch "main" + protect tag namespace "refs/tags/" } repository "openbsd/ports" { @@ -532,10 +532,10 @@ repository "openbsd/ports" { permit ro anonymous deny flan_hacker -.\" protect { -.\" branch "main" -.\" tag namespace "refs/tags/" -.\" } + protect { + branch "main" + tag namespace "refs/tags/" + } .\" .\" notify { .\" branch "main" @@ -547,9 +547,9 @@ repository "openbsd/ports" { repository "secret" { permit rw flan_hacker head "refs/heads/private" -.\" -.\" protect branch "main" -.\" protect tag namespace "refs/tags/" + + protect branch "private" + protect tag namespace "refs/tags/" } .Ed .Sh SEE ALSO