Thread View: news.software.nntp
6 messages
6 total messages
Started by Russ Allbery
Mon, 13 Dec 2010 03:35
control-archive 1.4.0 released
Author: Russ Allbery
Date: Mon, 13 Dec 2010 03:35
Date: Mon, 13 Dec 2010 03:35
40 lines
2792 bytes
2792 bytes
I'm pleased to announce release 1.4.0 of control-archive.
This software generates an INN control.ctl configuration file from
hierarchy configuration fragments, verifies control messages using GnuPG
where possible, processes new control messages to update a newsgroup list,
archives new control messages, and exports the list of newsgroups in a
format suitable for synchronizing the newsgroup list of a Netnews news
server. It is the software that maintains the control message and
newsgroup lists available from ftp.isc.org.
Changes from previous release:
Add support for chkscope parameters in the checkgroups control
message. process-control now correctly filters out out-of-scope lines
and doesn't apply the checkgroups to out-of-scope entries in the
current active file, but the scope is not yet correctly used to
determine the matching control.ctl entry. Should fix problems with
processing ka.* checkgroups.
Suppress Perl warnings from some malformed control messages.
Hierarchy updates:
* Update URL for de.*
* Update all information for ba.* to new hierarchy maintainer
* Update URL for fr.*
* Add nntpworld.*
You can download it from:
<http://www.eyrie.org/~eagle/software/control-archive/>
This package is maintained using Git; see the instructions on the above
page to access the Git repository.
Please let me know of any problems or feature requests not already listed
in the TODO file.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: control-archive 1.4.0 released
Author: Thomas Hochstein
Date: Sun, 02 Jan 2011 11:29
Date: Sun, 02 Jan 2011 11:29
26 lines
1979 bytes
1979 bytes
Russ Allbery schrieb: > Please let me know of any problems or feature requests not already listed > in the TODO file. The new versions seems to drop the first line of a checkgroups message, leading to control-archive wrongly logging rmgroups for whatever group will be listed first, e.g. * ba.announce * belwue.infos * de.admin.infos * kgk.admin * nl.actueel.wikileaks * nntpworld.info * opennews.admin * us.arts * x-privat.info * z-netz.alt.c64 (I just discovered that when reading <ifpbdq$q3n$1@usenet.stanford.edu> in news.lists.misc, as de.admin.infos surely has not been removed. I have already contacted <usenet-config@isc.org> by mail.) Regards (and a happy new year, everybody), -thh
Re: control-archive 1.4.0 released
Author: Julien ÉLIE
Date: Sun, 02 Jan 2011 18:26
Date: Sun, 02 Jan 2011 18:26
43 lines
2614 bytes
2614 bytes
Hi Thomas and Russ,
> The new versions seems to drop the first line of a checkgroups
> message, leading to control-archive wrongly logging rmgroups for
> whatever group will be listed first, e.g.
Note that archived checkgroups on ftp.isc.org are correct.
I see that process-control redefines @control here:
# If this is a checkgroups, figure out what hierarchy it's affecting.
# This should really be based on the checkgroups arguments if present, but
# isn't yet.
if ($control[0] eq 'checkgroups') {
my $group = checkgroups_group (\@body);
@control = ('checkgroups', $group);
}
$group is set to the first valid newsgroup in the checkgroups control
article.
Incidentally, I do not see any use afterwards of $group; and @control
in the case of a checkgroups is used in check_ctl() just below (to match
the first group). Maybe check_ctl could be changed to take $group
and no longer modify @control before its call.
Hmm… If the inclusion pattern is set to the first group, why is it
then excluded from the checkgroups? (and not also from the active
file when it is read)
Is
my ($id, $pattern, $body, @args) = @_;
assigning the right arguments with
checkgroups ($id, $pattern, \@body, @control[1 .. $#control]);
?
--
Julien ÉLIE
« Sol attigit talos. »
Re: control-archive 1.4.0 released
Author: Russ Allbery
Date: Sun, 02 Jan 2011 19:56
Date: Sun, 02 Jan 2011 19:56
29 lines
2165 bytes
2165 bytes
Thomas Hochstein <thh@inter.net> writes:
> The new versions seems to drop the first line of a checkgroups
> message, leading to control-archive wrongly logging rmgroups for
> whatever group will be listed first, e.g.
> * ba.announce
> * belwue.infos
> * de.admin.infos
> * kgk.admin
> * nl.actueel.wikileaks
> * nntpworld.info
> * opennews.admin
> * us.arts
> * x-privat.info
> * z-netz.alt.c64
Ack, thank you. Yes, checkgroups processing was completely broken. I've
reprocessed the affected checkgroups and the groups should all be back
now, and I'll release and deploy a new version shortly that will squash
this bug.
Sorry about that. I should have realized something was wrong a while back
from reading the daily reports.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: control-archive 1.4.0 released
Author: Russ Allbery
Date: Sun, 02 Jan 2011 19:58
Date: Sun, 02 Jan 2011 19:58
43 lines
2956 bytes
2956 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> I see that process-control redefines @control here:
> # If this is a checkgroups, figure out what hierarchy it's affecting.
> # This should really be based on the checkgroups arguments if present, but
> # isn't yet.
> if ($control[0] eq 'checkgroups') {
> my $group = checkgroups_group (\@body);
> @control = ('checkgroups', $group);
> }
> $group is set to the first valid newsgroup in the checkgroups control
> article.
> Incidentally, I do not see any use afterwards of $group; and @control
> in the case of a checkgroups is used in check_ctl() just below (to match
> the first group). Maybe check_ctl could be changed to take $group
> and no longer modify @control before its call.
> Hmm… If the inclusion pattern is set to the first group, why is it
> then excluded from the checkgroups? (and not also from the active
> file when it is read)
> Is
> my ($id, $pattern, $body, @args) = @_;
> assigning the right arguments with
> checkgroups ($id, $pattern, \@body, @control[1 .. $#control]);
> ?
Yup, that was the problem. It was limiting processing of the checkgroups
to only the first group in the checkgroups, and then excluding that group
from the checkgroups due a separate bug in handling chkscope arguments,
resulting in removing the first group and ignoring the rest of the
checkgroups. Sigh.
I really need to write some sort of effective test suite for this
software.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: control-archive 1.4.0 released
Author: Thomas Hochstein
Date: Mon, 03 Jan 2011 19:30
Date: Mon, 03 Jan 2011 19:30
8 lines
1616 bytes
1616 bytes
Russ Allbery schrieb: > Ack, thank you. Yes, checkgroups processing was completely broken. I've > reprocessed the affected checkgroups and the groups should all be back > now, and I'll release and deploy a new version shortly that will squash > this bug. Thanks for your fast response!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads