Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML::Grammar::Vered is not indexed in MetaCPAN (it appears fine in search.cpan.org) #1051

Closed
shlomif opened this issue Feb 2, 2014 · 8 comments

Comments

@shlomif
Copy link
Contributor

shlomif commented Feb 2, 2014

Hi all.

These searches on MetaCPAN return no results: https://metacpan.org/search?q=xml%3A%3Agrammar%3A%3Avered , https://metacpan.org/search?q=vered , and XML::Grammar::Vered does not appear here - https://metacpan.org/author/SHLOMIF . But it is present in https://metacpan.org/author/SHLOMIF and on http://search.cpan.org/~shlomif/XML-Grammar-Vered-0.0.7/ .

Why is this the case? Can you look into fixing that?

Best regards,

— Shlomi Fish

@oalders
Copy link
Member

oalders commented Feb 2, 2014

Hi Shlomi,

The indexer doesn't like it. :) Can you check your Pod encoding directives?

metacpan@bm-n2:~/api.metacpan.org$ ./bin/metacpan release --latest http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-Grammar-Vered-0.0.7.tar.gz
2014/02/02 15:57:55 I release: Downloading http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-Grammar-Vered-0.0.7.tar.gz
2014/02/02 15:58:01 I release: Processing /home/metacpan/api.metacpan.org/bin/../var/tmp/http/authors/id/S/SH/SHLOMIF/XML-Grammar-Vered-0.0.7.tar.gz
2014/02/02 15:58:02 F release: Nested processed encoding. at /usr/local/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Pod/Simple/BlackBox.pm line 380.

@shlomif
Copy link
Contributor Author

shlomif commented Feb 2, 2014

Hi @oalders ,

OK, fixed it now. It was a Pod::Weaver SNAFU. Is there any way to get a report when metacpan fails to process an upload for some reason? Moreover, the POD validity tests (as part of «dzil test --all») passed here fine. Which version of Pod::Simple / Pod::Simple::BlackBox are you using?

Regards,

-- Shlomi Fish

@oalders
Copy link
Member

oalders commented Feb 3, 2014

Hi @shlomif,

olaf@bm-n2:~$ mversion Pod::Simple
3.28
olaf@bm-n2:~$ mversion Pod::Simple::BlackBox
3.28

There is no way to get a report presently, but you could add it to the wishlist: https://github.com/CPAN-API/cpan-api/wiki/Wishlist It's something that wouldn't take a lot of effort and would probably save a lot of bug reports in cases like this, so I think it's a very good idea.

Best,

Olaf

@oalders oalders closed this as completed Feb 3, 2014
@shlomif
Copy link
Contributor Author

shlomif commented Feb 3, 2014

@oalders : thanks for the reply. These are the same versions of Pod::Simple that I have, so it's strange, that I didn't detect it. Anyway, I am going to add it to the wishlist now.

Note however, that one problem was that XML::Grammar::Vered completely disappeared from MetaCPAN due to the problematic upload, even though there were still earlier uploads in BackPAN and possibly in CPAN as well. Are all of them faulty?

Regards,

-- Shlomi Fish

@karenetheridge
Copy link
Contributor

Why is the pod being parsed at all, since there is a 'provides' field in META.yml that should be treated as canonical?

@oalders
Copy link
Member

oalders commented Feb 3, 2014

@karenetheridge the Pod is being parsed as part of the indexing process (getting the documents into the API).

@oalders
Copy link
Member

oalders commented Feb 3, 2014

@shlomif We'd need to look further, but it may be that since the indexing was not complete, any previous releases were no longer listed as "latest". Only latest releases show up in a search. If the latest release is broken in some way, showing the previous release as "latest" isn't really correct. However, not having anything appear in the search is kind of a bad solution too.

@shlomif
Copy link
Contributor Author

shlomif commented Feb 3, 2014

@oalders : OK, thank you for the heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants