modules.raku.org icon indicating copy to clipboard operation
modules.raku.org copied to clipboard

Disambiguation Page Generated when not needed

Open stmuk opened this issue 8 years ago • 2 comments

http://modules.perl6.org/dist/Ddt:github:Shoichi%20Kaji

gives me a Disambiguation Page of two identical results

stmuk avatar Oct 19 '17 11:10 stmuk

It's 'cause it's listed twice in the meta list: https://github.com/perl6/ecosystem/blob/c2fda9a1725ad58b256de5039fbba24ffbec1f47/META.list#L749-L750

While behaviour of the site in such situations can be improved, I don't think authors listing individual versions in the META.list is a sustainable approach. I've seen a tool, made by @tony-o (I think), that automatically extracts commits of new versions from repos and I thought zef already used it, though my tests show it can only find the version from HEAD at the moment... So both zef and the site could use that tool to know dist versions and authors could list just one meta URL in META.list per dist.

zoffixznet avatar Oct 19 '17 12:10 zoffixznet

I swept the problem under the rug for now, in 2a535de504, fe6f22d, and efe6024

I'm gonna be adding version key for dists this weekend to solve another problem, and I suspect that will be part of fixing this issue as well, where we'd pull the versions from $somewhere and authors would always ever list just one META url in the META.list

zoffixznet avatar Oct 19 '17 16:10 zoffixznet