dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Missing distributions?

Open szabgab opened this issue 5 years ago • 5 comments

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.

szabgab avatar Nov 26 '20 09:11 szabgab

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 avatar Nov 26 '20 10:11 davorg

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

davorg avatar Nov 26 '20 10:11 davorg

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

tobyink avatar Nov 26 '20 16:11 tobyink

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).

davorg avatar Apr 27 '23 14:04 davorg

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.

szabgab avatar Apr 28 '23 04:04 szabgab