Re: NM CLI



I like python, but I only see it becoming a limitation once the system reaches an embedded device.  Python does not like to run on systems with 64 megs or less.  If the final goal is to have a cli with the ability to run without even an x server then I see the embedded space a large target user space of this feature and writing it in c would be highly beneficial.  Dan had alluded to having the cli run in conjunction with nm-applet for user-settings services, but I do not know if that would be for the first pass through. 

I am willing to help on this, but it is still unclear to me what people refer to as a cli.  My goal would be to run network manager with no dependency on gtk and I realize this may not be accomplished on the first pass through.  I am glad to see others have interest in a cli and look forward to seeing if this goes anywhere.

--
John

On Fri, Jul 3, 2009 at 10:41 PM, Mathieu Trudel-Lapierre <mathieu tl gmail com> wrote:
On Wed, Jul 1, 2009 at 9:27 AM, Dan Williams<dcbw redhat com> wrote:
>
> The use of python for cnetworkmanager, which while it does make
> development a *lot* quicker, is a blocker for most of the people that
> I'd consider prime candidates for a CLI client.  The target for a CLI
> client are users of headless machines that don't necessarily run a GUI,
> or even casual users of a desktop that spend most of their time in a
> terminal, or for those users of a DE (enlightenment, XFCE) that don't
> yet have a native GUI client.
>

I'm not really one to care much for what language this or that
software is written in, as long as it works...

But for my personal knowledge, how is cnetworkmanager using python a
problem or a blocker for candidates to use it as a CLI client? Python
is quite common on just about all systems. Most (or at least a lot) of
system configuration or administration utilities are written in it
(yum, etc.) afaik... I definitely understand how it makes development
quicker to roll out something like cnetworkmanager, but wouldn't it
also be pretty much on a standard (read minimal) server install, where
you're likely to see a headless setup? I just don't see how a language
forces people to use a GUI :)

Don't mind me, I'm just curious. I would probably have written a quite
nm utility like the one you described in python, if anything because
it seems quicker to me to get the necessary DBus bits working, for
example. I'll probably even write a simple thing to begin with and
update current procedures on the servers I manage.

/ Matt
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]