httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject Re: PAUSE indexer report JOESUF/libapreq2-2.06-dev.tar.gz
Date Wed, 20 Jul 2005 19:48:55 GMT
On Wed, 20 Jul 2005, Ville [ISO-8859-1] Skyttä wrote:

> On Wed, 2005-07-20 at 14:20 -0400, Joe Schaefer wrote:
> > The indexer completely ignored META.yml again.
> > It looks like it can't parse the file; does
> > anyone see what's wrong with it?
>
> Dunno about "wrong", I'm not that familiar with YAML, but the stuff
> after "#YAML:1.0" trips ysh from YAML-0.39:
>
>   $ ysh < META.yml
>   --- !perl/YAML::Error
>   code: YAML_PARSE_ERR_INCONSISTENT_INDENTATION
>   [...]
>
> The attached patch should generate a META.yml that appeases ysh, and
> maybe the CPAN indexer.

I'm not completely sure either, but another change that
seems to work (if one wanted to keep the comment in) is
to use the following:
===================================================================
Index: build/version_check.pl
===================================================================
--- build/version_check.pl	(revision 219681)
+++ build/version_check.pl	(working copy)
@@ -149,7 +149,7 @@

     if ($opts{version}) {      # generate META.yml file content
         print <<EOT;
---- #YAML:1.0 (see http://module-build.sourceforge.net/META-spec.html)
+#YAML:1.0 (see http://module-build.sourceforge.net/META-spec.html)
 name: libapreq2
 version: $opts{version}
 license: open_source
===================================================================
(ie, have a comment line begin with #).

-- 
best regards,
randy

Mime
View raw message