Article View: news.software.nntp
Article #89081Re: Configuration file generator
From: Grant Taylor
Date: Sat, 15 Jan 2022 19:07
Date: Sat, 15 Jan 2022 19:07
79 lines
3867 bytes
3867 bytes
On 1/15/22 4:11 AM, Julien ΓLIE wrote:
> Hi all,
Hi,
> To facilitate the configuration, wouldn't a generator be useful for news
> admins?
I think a well executed configuration generator or management system
/could/ be useful for new and maybe even experienced admins.
I also think that a configuration generator / management system could
likely integrate with most INN installations with relative easy. As in
locate the files and then edit them as necessary.
Aside: This is the type of thing I was alluding to when referencing
xfree86config from years ago.
> I mean either a web page (in PHP or like) or an interactive script
> shipped with INN.Β I personally think the web page is better as you can
> easily use the button back in your navigator to try other settings, and
> it is more user-friendly for new news admins.
I would much rather see the shell based utility /first/. After all,
that's where the files that need to be modified are going to be
interacted with.
I'm also not a fan of web things.
> A simple HTML form with fields to fill and boxes to check:
It's relatively simple to ask the user with something like the following
in a terminal.
Question that you are being asked about.
The default is:
Your options are:
Your current setting is:
It's also fairly easy to get the current setting from the file(s) in
question. The web interface is going to be lacking that without a lot
more work and a likely worse experience in the web UI.
> And... same thing for readers.conf :-)
I feel like there more that will need to be configured.
> I think it is the sort of thing that would help news admins, and
> experiment with different options to see the resulted readers.conf and
> have a working one quickly.
I agree that something /could/ help those that don't want to read
comments in files / man pages /at/ /the/ /time/.
> Such a configuration file generator would perhaps be far better than
> anything we could provide in (too dense or too long) documentation.
I think a well executed configuration generator or management system
/could/ be useful for new and maybe even experienced admins.
> Any comments?
I *STRONGLY* favor the utility that is run in shell over the web interface.
> A quick attempt here (CSS and display not finalized):
> Β http://usenet.trigofacile.com/inn/peering-conf-generator.php
My preference for a shell utility not withstanding, I like the concept.
I've also thought about something similar as a form for new perspective
peers to use to fill out when requesting peering with me. But I've not
yet found the requisite number of Round-2-Its. Mostly because the
demand is low enough that I haven't yet bothered.
--
Grant. . . .
unix || die
Technical Details
Message-ID:
<srv60j$4iu$1@tncsrv09.home.tnetconsulting.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<srua4n$21a2c$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <srv60j$4iu$1@tncsrv09.home.tnetconsulting.net> Subject: Re: Configuration file generator Date: Sat, 15 Jan 2022 12:07:02 -0700 From: Grant Taylor <gtaylor@tnetconsulting.net> References: <srua4n$21a2c$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: TNet Consulting Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 15 Jan 2022 19:06:59 -0000 (UTC) Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251"; logging-data="4702"; mail-complaints-to="newsmaster@tnetconsulting.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <srua4n$21a2c$1@news.trigofacile.com> Content-Language: en-US Lines: 78