You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Joe Schaefer <jo...@sunstarsys.com> on 2005/07/20 20:20:22 UTC

Re: PAUSE indexer report JOESUF/libapreq2-2.06-dev.tar.gz

The indexer completely ignored META.yml again.
It looks like it can't parse the file; does
anyone see what's wrong with it?

PAUSE <up...@pause.fiz-chemie.de> writes:

> The following report has been written by the PAUSE namespace indexer.
> Please contact modules@perl.org if there are any open questions.
>   Id: mldistwatch 621 2005-07-07 05:25:43Z k 
>
>                User: JOESUF (Joe Schaefer)
>   Distribution file: libapreq2-2.06-dev.tar.gz
>     Number of files: 318
>          *.pm files: 23
>              README: libapreq2-2.06-dev/README
>            META.yml: META.yml found but error encountered while
>   loading: --- !perl/YAML::Error 
> code: YAML_PARSE_ERR_INCONSISTENT_INDENTATION
> msg: Inconsistent indentation level
> line: 2
> document: 1
> ..
>  at /home/k/PAUSE/cron/mldistwatch line 1597
>
>   Timestamp of file: Wed Jul 20 17:10:48 2005 UTC
>    Time of this run: Wed Jul 20 18:02:42 2005 UTC


-- 
Joe Schaefer

Re: PAUSE indexer report JOESUF/libapreq2-2.06-dev.tar.gz

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
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

Re: PAUSE indexer report JOESUF/libapreq2-2.06-dev.tar.gz

Posted by Ville Skyttä <vi...@iki.fi>.
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.