On Fri, Mar 11, 2011 at 7:31 AM, Andreas J. Koenig
wrote:
The PAUSE indexer fails to index Lua::API due to a violation of the meta
yaml spec:
perl -MTest::CPAN::Meta::YAML -e 'meta_spec_ok(@ARGV)' /home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta
ok 1 - /home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta contains valid YAML
not ok 2 - /home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta meets the designated specification
# Failed test '/home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta meets the designated specification'
# at -e line 1.
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API::State) [Validation: 1.4]
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API::Debug) [Validation: 1.4]
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API) [Validation: 1.4]
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API::Buffer) [Validation: 1.4]
Of course, PAUSE should catch that error and provide a proper error
message. --> TODO
yaml spec:
perl -MTest::CPAN::Meta::YAML -e 'meta_spec_ok(@ARGV)' /home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta
ok 1 - /home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta contains valid YAML
not ok 2 - /home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta meets the designated specification
# Failed test '/home/ftp/pub/PAUSE/authors/id/D/DJ/DJERIUS/Lua-API-0.03.meta meets the designated specification'
# at -e line 1.
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API::State) [Validation: 1.4]
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API::Debug) [Validation: 1.4]
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API) [Validation: 1.4]
# ERR: Expected a map structure from YAML string or file (provides -> Lua::API::Buffer) [Validation: 1.4]
Of course, PAUSE should catch that error and provide a proper error
message. --> TODO
--
Best regards, Ruslan.