[INN] #102: Improve checkgroups semantics in control.ctl
INN
rra at stanford.edu
Sat Dec 27 11:52:40 UTC 2008
#102: Improve checkgroups semantics in control.ctl
-----------------------+----------------------------------------------------
Reporter: iulius | Owner: eagle
Type: defect | Status: new
Priority: low | Milestone:
Component: utilities | Version: 2.4.5
Severity: normal | Resolution:
Keywords: |
-----------------------+----------------------------------------------------
Comment(by iulius):
According to Julien Élie:
Regarding checkgroups, I believe controlchan code should be adapted
because it can no longer use the last control.ctl matching line to achieve
that. Thus, it will be possible to use lines like:
checkgroups:*:*binaries*:drop
But they should be processed in order.
checkgroups:*:*binaries*:drop
checkgroups:group-admin at isc.org:comp.*:verify-news.announce.newgroups
-> we do not want comp.*binaries*
-> and only comp.* groups should remain in the checkgroups
However, several checkgroups will be processed (one for each line) since
one might want for instance:
checkgroups:group-admin at isc.org:comp.*:verify-news.announce.newgroups
checkgroups:group-admin at isc.org:misc.*:mail
I believe I should also match the first pattern in order to make a
difference between a "cn.*" and a "cn.bbs.*" checkgroups for instance (and
not remove wrong groups).
By the way, I have just noticed a but in current checkgroups
implementation:
checkgroups:ausadmin at aus.news-admin.org:aus.*:verify-ausadmin at aus
.news-admin.org
checkgroups:ausadmin at aus.news-admin.org:canb.*:drop
As the list is reversed and canb.* will first match, checkgroups for aus.*
will also be dropped.
--
Ticket URL: <http://inn.eyrie.org/trac/ticket/102#comment:1>
INN <http://www.eyrie.org/~eagle/software/inn/>
InterNetNews
More information about the inn-bugs
mailing list