inn icon indicating copy to clipboard operation
inn copied to clipboard

Feature Request: Add option to docheckgroups to prevent removal of newsgroups descriptions

Open jrehmer opened this issue 5 months ago • 2 comments

When using docheckgroups, there does not exist an option to keep newsgroups descriptions for groups it think should be removed. In my configuration I am overriding the defaults and not processing rmgroup via controlchan.

When running docheckgroups I would like to keep the newsgroups descriptions updated without removing descriptions. Maybe an additional flag that when passed will update/add any descriptions but not remove?

jrehmer avatar Sep 04 '25 21:09 jrehmer

I can add a -k flag to docheckgroups that does what you ask for (keeping descriptions). I'm wondering though whether it should not be a global parameter in inn.conf, like keepdescriptions: true/false (being false by default). The advantage would be that the behaviour would then be consistent between docheckgroups, cleannewsgroups (a contrib script) and when control articles are processed (control/modules/checkgroups.pl and rmgroup.pl). A user may want to keep old descriptions during automatical checkgroups and rmgroup processing too.

As a side note, if you currently want docheckgroups to keep old descriptions, you could add them to a file named localgroups in pathetc, and it will keep them.

Julien-Elie avatar Sep 12 '25 21:09 Julien-Elie

Yes, you are correct, a global parameter would be best.

jrehmer avatar Sep 25 '25 15:09 jrehmer