X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=infra%2Fdgit-repos-policy-trusting;h=0620b704be8aa8c932e9ae4e2aa13e0f9ebabd32;hp=b550d012118e59f3c7633efb528c7a00bfafb79b;hb=71314fb22dac47254619db465f618818afcca3b5;hpb=ed13a339560efb554f9afc9419ffd8157e357727;ds=sidebyside diff --git a/infra/dgit-repos-policy-trusting b/infra/dgit-repos-policy-trusting index b550d012..0620b704 100755 --- a/infra/dgit-repos-policy-trusting +++ b/infra/dgit-repos-policy-trusting @@ -1,4 +1,13 @@ #!/bin/bash +# +# This is a genuine policy, not just one for testing. +# +# It allows anyone authorised to push to also, on demand: +# - wipe the repo and replace it with a new one +# (with --deliberately-fresh-repo) +# - do non-fast-forward pushes +# (with --deliberately-not-fast-forward) + set -e case "$DGIT_DRS_DEBUG" in