Re: CMSP 03. Deprecate YAML Tiny dialect for JSON

2009-10-31 Thread Barbie
On Fri, Oct 09, 2009 at 09:38:45AM -0400, David Golden wrote:
 On Fri, Oct 9, 2009 at 8:11 AM, Ricardo Signes
 perl.cpanw...@rjbs.manxome.org wrote:
  * David Golden xda...@gmail.com [2009-10-09T07:42:35]
  03. Deprecate YAML Tiny dialect for JSON
 
  Strongly agree.
 
  * I would like one violation of the JSON spec: allow Javascript-style
    comments. My one beef with the JSON spec. Elliot
 
  Strongly disagree.  We don't want to have our own dialect.
 
 I agree with Rick.


Sorry to be late to get myself together with following up on these, but
better late than never hopefully :)

I see 01, 02 and 03 all part of the same discussion really. There seems
little point in discussing YAML if we think moving to JSON is the better
option. I'm with the strongly agree camp on the first part of above :)
(and with the no new dialect on the second part)

However, we don't want to suddenly make the whole of CPAN invalid.
Thankfully as Parse::CPAN::Meta appears to support both, I think we have
that covered. I'm happy to support JSON in core, but would rather we do
it visiably rather than under the covers as per the M::B example David
mentioned in an earlier post.

Cheers,
Barbie.
-- 
Birmingham Perl Mongers http://birmingham.pm.org
Memoirs Of A Roadie http://barbie.missbarbell.co.uk
CPAN Testers Blog http://blog.cpantesters.org
YAPC Conference Surveys http://yapc-surveys.org




Re: CMSP 03. Deprecate YAML Tiny dialect for JSON

2009-10-31 Thread David Golden
On Sat, Oct 31, 2009 at 11:38 AM, Barbie bar...@missbarbell.co.uk wrote:
 I see 01, 02 and 03 all part of the same discussion really. There seems
 little point in discussing YAML if we think moving to JSON is the better
 option. I'm with the strongly agree camp on the first part of above :)
 (and with the no new dialect on the second part)

I've actually been thinking that for an upgrade path, it might be
handy to have tools like M::B, EU::MM, and M::I generate a 1.4
META.yml and a 2.0 META.json.

The spec should mandate that tools check the version and not process
anything they don't understand.  Right now, that isn't the case, I
suspect.

 However, we don't want to suddenly make the whole of CPAN invalid.
 Thankfully as Parse::CPAN::Meta appears to support both, I think we have
 that covered. I'm happy to support JSON in core, but would rather we do
 it visiably rather than under the covers as per the M::B example David
 mentioned in an earlier post.

Agreed.  I've tested the waters on p5p and I think it will be possible
to move JSON to core once we code up the toolchain to mandate it.

- David


Re: CMSP 03. Deprecate YAML Tiny dialect for JSON

2009-10-10 Thread David Golden
On Fri, Oct 9, 2009 at 10:46 PM, Ricardo Signes
perl.cpanw...@rjbs.manxome.org wrote:
 * David Golden xda...@gmail.com [2009-10-09T07:42:35]
 03. Deprecate YAML Tiny dialect for JSON

 Branch available: http://github.com/rjbs/cpan-meta-spec/commits/03-json

+1

(I guess I just needed to keep reading my email)


Re: CMSP 03. Deprecate YAML Tiny dialect for JSON

2009-10-09 Thread Graham Barr


On Oct 9, 2009, at 7:11 AM, Ricardo Signes wrote:


* David Golden xda...@gmail.com [2009-10-09T07:42:35]

03. Deprecate YAML Tiny dialect for JSON


Strongly agree.


* I would like one violation of the JSON spec: allow Javascript-style
 comments. My one beef with the JSON spec. Elliot


Strongly disagree.  We don't want to have our own dialect.


+1

Graham.



Re: CMSP 03. Deprecate YAML Tiny dialect for JSON

2009-10-09 Thread David Golden
On Fri, Oct 9, 2009 at 8:11 AM, Ricardo Signes
perl.cpanw...@rjbs.manxome.org wrote:
 * David Golden xda...@gmail.com [2009-10-09T07:42:35]
 03. Deprecate YAML Tiny dialect for JSON

 Strongly agree.

 * I would like one violation of the JSON spec: allow Javascript-style
   comments. My one beef with the JSON spec. Elliot

 Strongly disagree.  We don't want to have our own dialect.

I agree with Rick.

David