Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Reply to some questions about Config::Model package

 
   Soft32 Home -> Linux -> Perl RSS
Next:  Bug#505270: /usr/share/splashy/themes  
Author Message
Dominique Dumont

External


Since: Mar 13, 2007
Posts: 30



(Msg. 1) Posted: Sat Dec 20, 2008 1:20 pm
Post subject: Reply to some questions about Config::Model package
Archived from groups: linux>debian>maint>perl (more info?)

Hello

While packaging Config::Model for Debian in libconfig-model-perl, I
got some questions from Gregor. Since the answer to the first question
might interest other people, I've used both debian-perl and
config-model user lists

Here we go:

> QUESTIONS:

> - /usr/bin/config-edit sounds like a very generic name; is it
> needed (under /usr/bin/)? should it be renamed?

config-edit is indeed a very generic name. That's because
Config::Model is also a generic framework. As a framework,
Config::Model is able to edit any kind of (well, most of)
configuration file provided (here's the rub) that a model is
available.

The specialisation of config-edit command will be done with the -model
option. [1]

So far, the only model worth talking about are the sshd_config and
ssh_config model [2] . With these model, users will be able to edit
/etc/ssh/sshd_config with the following command:

config-edit -model Sshd

As syntactic sugar, a config-edit-sshd and config-edit-ssh commands
will be provided so the user will be able to see what models are
available with config-edit[TAB].

If some model provider choose not to provide this king of "sugar"
command, the user will habe to type "config-edit -mode Foo".

Eventually, config-edit will be able to propose the user to select one
of the model available on his system, but this feature is rather low
priority on my TODO list.

> - Build.PL talks about Term::ReadLine::Perl or Term::ReadLine::Gnu; should
> they be in Suggests?

Yes. You're right.

I have another question, config-edit is much easier to use with the
Gui (or the Curses interface). I still need to package these modules
for Debian. Is it acceptable to "Recommend" package which are not yet
available ? Or should I wait for them to be available before adding
them in the Recommends list of libconfig-model-perl ?

Thanks for your help


[1] http://search.cpan.org/dist/Config-Model/config-edit
[2] http://search.cpan.org/~ddumont/Config-Model-OpenSsh-0.104/


--
To UNSUBSCRIBE, email to debian-perl-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Dominique Dumont

External


Since: Mar 13, 2007
Posts: 30



(Msg. 2) Posted: Sat Dec 20, 2008 3:20 pm
Post subject: Re: Reply to some questions about Config::Model package [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

gregor herrmann <gregoa DeleteThis @debian.org> writes:

> If config-edit's purpose is to edit files that are only writable by
> root it should probably to go /usr/sbin.
> But if it's for all kind of config files (also under $HOME) then
> /usr/bin is fine ...

Both. For instance, with Ssh model, config-edit will edit
/etc/ssh/ssh_config when run as root and will edit ~/.ssh/config when
run as normal user.

> Please wait with the Recommends until the packages are available:
> * apt (since a few months) installs Recommends by default.
> * "No unmet recommends relations inside main" is a lenny release goal
> (and of course also valid for after-lenny):
> http://release.debian.org/lenny/goals.txt

No problem.

I'll update lib-config-model-perl soon.

Thanks for your help

All the best


--
To UNSUBSCRIBE, email to debian-perl-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-user] A couple of config questions - 1) Look ma... no hosts.deny or hosts.allow. Is this a Gentoo-ism, or did I forget to install something? 2) Let's..

simple redhat-config-network questions - I was advised not to set my machine up with this utility, but I lost ability to receive mail, and so tried running it.....

[gentoo-dev] Where to post bug report/questions about weba.. - Hi, (I previously sent this message directly to Stuart and got no reply - is there a better mailing list to discuss..

2.6.20-rc6-rt2 - SMP/x86 -- questions about .config select.. - Hi Ingo, I did boot with (almost) no problems. Here is ps ax info:- PID TTY STAT TIME COMMAND 1 ? ....

XMMS mp3 package questions - I downloaded the xmms mp3 package from freshrpms.net. It's a source rpm. The problem is - when I went to install it -...

errors when I try to install "medley-package-config" with .. - Hi, I am having the following problems when I try to install "medley-package-config" with "apt-get&quot...
       Soft32 Home -> Linux -> Perl All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]