WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: multiple disk images, how to?

To: Charles Duffy <cduffy@xxxxxxxxxxx>
Subject: Re: [Xen-users] Re: multiple disk images, how to?
From: Molle Bestefich <molle.bestefich@xxxxxxxxx>
Date: Tue, 17 Jan 2006 18:30:25 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Jan 2006 17:38:02 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Qb5oaQK6pdsVwkt2NEMe5Lq1yJ6IE1A/myE1X51BBa3ipoyT2GjLDA29f6k/CtR3Dn/DBqBGS4ZJI453Kt12T4cJC99C1k4e4sY9qhOlSX5nWDclDQW13IxRLdP+IO7xxyswvFSOUjHIRUQHXNFK/8yg8djkCI8fh2bcJlxemWo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43CD238B.6070200@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <62b0912f0601090911n5565ceebsbb02dc4d5901d340@xxxxxxxxxxxxxx> <43C299D6.8060806@xxxxxxxxx> <62b0912f0601090926t60480591l5d350d351b581d3b@xxxxxxxxxxxxxx> <dqgcgr$vrh$2@xxxxxxxxxxxxx> <62b0912f0601170723xbd0437bt7ef84ea0470d4105@xxxxxxxxxxxxxx> <43CD128F.5030402@xxxxxxxxxxx> <62b0912f0601170851w5af8405k15954ecb1c18e4a8@xxxxxxxxxxxxxx> <43CD238B.6070200@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Charles Duffy wrote:
> Molle Bestefich wrote:
> > ...you would want at least be able to throw a warning when it happens,
> > since regular users probably expect standard config-file semantics
> > from a config file, not Python semantics.
>
> Extending lists by describing the same item multiple times isn't Python
> semantics,

I know.  I never argued that it was.  You must've misunderstood me..

> and not every config-semantics-compliant parser issues
> complaints when redefinitions occur.

My point exactly, a whole lot of them actually uses redefinitions for
something purposeful.

> You're arguing to make things uglier for users who take
> advantage of advanced features

Mmh.  Yes.

> for the purpose of implementing a feature which is strictly a
> nice-to-have to help folks realize when they've screwed up.

Wrong - to inform regular users that the config file is not in the
syntax that they (anyone) would expect.

> Now, if there weren't documentation to help prevent folks from screwing up,
> you might almost have a point --

Ah, "almost", now you're just poking me in the eye for the fun of it.
Don't do that...

> It's already documented that it's Python code

Ah, if it's documented, fair enough then.
But alas...

> -- xmexample2's first line of documentation text describes it as
> "# Example Python setup script for 'xm create'",

"Python setup script" in no way implies that the script is a "Python script".

"Python script used to setup domains by 'xm create'" would have, but
that's not what it says.

> while xmexample1 starts with "# Python configuration setup for 'xm create'".

Again, the above in no way implies that the file itself is a Python script.

> Furthermore, the xmexample* files include examples of
> the Pythonic list syntax, so there's a clear reference to use when
> defining multiple drives (or whatnot).

That's not good enough.  You cannot expect newbies to dig in to the
most complicated features / configurations of a system just to get to
know how to achieve the basics.

> so yes, each and every example configuration file given does indeed
> already note that it's Python syntax.

No, you're wrong.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users