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-api

Re: [Xen-API] RFC: Shuffling xen-api-libs

To: Vincent Hanquez <Vincent.Hanquez@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] RFC: Shuffling xen-api-libs
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Fri, 28 Oct 2011 12:32:22 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 28 Oct 2011 04:32:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EAA84A8.4000800@xxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <C1AE0619-A994-487F-8D21-C9660F9E408E@xxxxxxxxxxxxx> <4EAA31C4.5020509@xxxxxxxxxxxxx> <4B9E0180-816A-4C1D-BE63-14F9CEBEC225@xxxxxxxxxxxxx> <4EAA84A8.4000800@xxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyVZULnUxsIbmj2SJCTOt1PqZYd1w==
Thread-topic: [Xen-API] RFC: Shuffling xen-api-libs
Heh, you're probably right, bad example.

Good examples of findlib packages that should definitely die:

xen-utils (utility to finesse the calling of a script to modify the xen command 
line)
uuid (not really uuids at all, just random strings in a particular format)
xml-light2 (only exists because we didn't have time to change xapi to use xmlm 
properly)

So what I'm looking for is general consensus about which things should go and 
which shouldn't. Sounds like cpuid might be useful in its own right, maybe. Are 
there others?

Jon
  
On 28 Oct 2011, at 11:32, Vincent Hanquez wrote:

> On 10/28/2011 08:38 AM, Jonathan Ludlam wrote:
>> There's not much point in, e.g. the cpuid module being it's own findlib 
>> package. For some of the larger ones, there's a more reasonable argument 
>> (e.g. log). That's the whole point. Which modules do you feel should have 
>> their own findlib package?
> 
> I think cpuid was probably the worst example :-), as Anil mentioned, it's 
> useful 
> in its own rights. As a similar example it's also available as a single small 
> package in haskell [1].
> 
> Of course having a descent build system make it convenient (or not) to have 
> small packages, and that's why i'd made the breaked up xapi-libs in the first 
> place where each directoried had its own oasis build system.
> 
> [1] http://hackage.haskell.org/package/cpuid
> 
> -- 
> Vincent
> 


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api