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

Missing distributions? #31

Open
szabgab opened this issue Nov 26, 2020 · 5 comments
Open

Missing distributions? #31

szabgab opened this issue Nov 26, 2020 · 5 comments

Comments

@szabgab
Copy link
Contributor

szabgab commented Nov 26, 2020

https://metacpan.org/author/TOBYINK says @tobyink has 299 distributions, ( https://cpan.rocks/ shows the same number )
https://cpandashboard.com/TOBYINK/ only has 246 entries

https://metacpan.org/author/SZABGAB has 31 according to MetaCPAN, but only 24 on https://cpandashboard.com/SZABGAB/

What is the source of these differences?

Further checking seems to indicate that the distros that don't indicated their repository in META.json are excluded.

IMHO it would be nice to list those as well and indicate they are missing the repos and maybe an explanation how to add the links.

@davorg
Copy link
Collaborator

davorg commented Nov 26, 2020

It's more specific than that - it only lists distributions with a GitHub repo in META.json. That was a quick fix I put in place last week because there were some repos that were listing old repos (svn in some cases) that broke my parsing code completely :-)

You're right that marking them in some way is probably a better solution. I'll have a look at doing that. And I should probably loosen that requirement to accept all Git repos instead of just GitHub ones.

@davorg
Copy link
Collaborator

davorg commented Nov 26, 2020

It was commit 98dda3b. But looking at that a bit more closely, it seems it has eliminated some GitHub-hosted repos too. I'll investigate further.

@tobyink
Copy link
Contributor

tobyink commented Nov 26, 2020

You could allow authors to define a "fallback pattern" for repos. Like mine might be https://github.com/{repo.lc}/p5-{dist.lc}.

@davorg
Copy link
Collaborator

davorg commented Apr 27, 2023

I think we need to just show all of the distributions that we get back from the MetaCPAN API (but, perhaps, be clever about what we display for VCSs that we don't support properly).

@szabgab
Copy link
Contributor Author

szabgab commented Apr 28, 2023

Maybe open an issue to "support other git repos" and when the project has a git repo that the code does not recognize link to that issue.

Projects that are missing the link could lead to an explanation why and how to add the link.

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

No branches or pull requests

3 participants