Issue #7041 has been updated by R.I. Pienaar.

Category set to Core
Status changed from Unreviewed to Needs Decision

Not really sure how to address this, will need some thinking etc.

We can 'compile' the existing DDLs into JSON for use in other languages and 
provide some tools to help with this but the epic fail that's Ruby + JSON will 
make doing this really hard.

We let users mix symbols and strings however they please and this will make 
actually doing this really hard, I anticipate somewhere between 1.2.0 and 1.4.0 
we will need to start enforcing what we use - breaking backward compatibility - 
and then we can look at this again and also consider using JSON on the 
transport.

Just for reference the problem with symbols and strings and json is:

<pre>
>> {:foo => "bar"}.to_json
=> "{"foo":"bar"}"
>> {"foo" => "bar"}.to_json
=> "{"foo":"bar"}"
>> {"foo" => "bar", :foo => "bar"}.to_json
=> "{"foo":"bar","foo":"bar"}"
</pre>

So without forcing either symbols or strings everywhere this makes things 
really overly complex.

We'll need to do this for the main protocol bits as well as what users are 
allowed to do in agents.
----------------------------------------
Feature #7041: DDL should be a non-ruby specific format
https://projects.puppetlabs.com/issues/7041

Author: Ken Barber
Status: Needs Decision
Priority: Normal
Assignee: 
Category: Core
Target version: 
Keywords: 
Branch: 
Affected mCollective version: 1.1.2


(feedback from training)

Currently the DDL is written in Ruby. This request is to use a non-ruby 
specific cross-platform serialization for this file format so other languages 
can utilize the DDL as well.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to