chiark / gitweb /
Allow suppressing publication of posted messages according to rejection reason
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 23 Nov 2012 17:50:02 +0000 (17:50 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 23 Nov 2012 17:50:02 +0000 (17:50 +0000)
commit9897f7372b11dceed762a8419e76e2a6b8dd0ef0
tree7fb5c1c4a23619b1381a976079942f482ae520c4
parent7395bdc0cb884f13b7d684247e577aa0a8ede122
Allow suppressing publication of posted messages according to rejection reason

This is done by creating
  BASEDIR/settings.publish-rejection-kinds
with a series of lines of the form
  [!]<glob-pattern>
where <glob-pattern> may contain * and ? and matches the short
rejection reason keyword.  First match wins; ! means do not publish;
if file does not exist or we run off the end, we do publish.

All of this depends on PUBLISHREJECTIONS=true in settings.
.gitignore
get-settings
xlog/bin/record