On Oct 1, 2009, at 4:11 PM, Paul Lathrop wrote:

>
> On Thu, Oct 1, 2009 at 3:57 PM, Luke Kanies <[email protected]> wrote:
>> So (Paul Lathrop will correct me if I'm wrong, I hope), it looks like
>> we decided on the following simplistic metadata for modules:
>>
>> * version
>> * name
>> * author
>> * source (i.e., a URL)
>> * requires
>
> * license
> * platforms

Got it.

>
>> The requires need to be able to specify either names or names and
>> version.
>
> I put version comparators in the "next version" bucket. So, for now,
> you should be able to specify "requires MODULE" or "requires MODULE
> version VERSION" but not "requires MODULE version greater than
> VERSION"

Right - I've got direct version equality, but that's it.

>
>> We also decided that the data will be stored in a file named  
>> something
>> like 'metadata.json', and the file format will be json.
>
> I'd say we settled on metadata.json, that json is what we will support
> at first, but clearly that leaves it open to support other formats
> later.

Yep.

>
>> My plan at this point is to do the requires as either an array, or an
>> array of arrays:
>>
>>   requires: foo, bar
>>   requires: [foo, 1.0], [bar, 2.0]
>>
>> Comments?
>>
>> I'm partway to a first version, anyway.
>
> You are a machine! I was totally going to hack up a first pass at a
> tool this evening. Ah well, c'est la vie.

I didn't get it done yesterday, but maybe today.

-- 
This space intentionally has nothing but text explaining why this
space has nothing but text explaining that this space would otherwise
have been left blank, and would otherwise have been left blank.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to