lunarmodules / Penlight

A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.
https://lunarmodules.github.io/Penlight/
MIT License
1.93k stars 241 forks source link

Fix link on luarocks #470

Closed tordans closed 7 months ago

tordans commented 7 months ago

The link on https://luarocks.org/modules/steved/penlight links to https://stevedonovan.github.com/Penlight which shows a 404

alerque commented 7 months ago

The issue here is the LuaRocks page you landed on (somehow?) is not the current one. The way LuaRocks works with namespace transfers is a new copy of everything is created, but all the old legacy postings still exist. The current canonical LuaRocks publication of Penlight is at:

https://luarocks.org/modules/tieske/penlight

You will see the links on that page are correct. This is the page you'll land on if you search for Penlight on LuaRocks or just luarocks install penlight.

The question is where did you get a link to to the legacy LuaRocks page? That's probably the only end of things that remains to be fixed.

tordans commented 7 months ago

The question is where did you get a link to to the legacy LuaRocks page? That's probably the only end of things that remains to be fixed.

I think I had this from Google https://www.google.com/search?q=penlight+lua&sca_esv

image

The fix would be to place a canonical tag https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls on the old page that points to the new page so google knows to move the SEO index there.

The fact that Luarocks does not show any notification / archive / deprecation notice on the page does not help either…

I will close this, since this is nothing to be fixed here, apparently. Thanks for the help!

Tieske commented 6 months ago

LuaRocks has multiple manifests, the global one was switched from Steve's repo to mine, once we transferred the ownership. But Steves repo is still around, which is the one you hit.

This allows people to have forks of repo's and modify an dhave them available. You just need to namespace them, my guess is that luarocks install steved/penlight will actually install Steves last published version.