minetest / contentdb

A content database for Minetest mods, games, and more
https://content.minetest.net
GNU Affero General Public License v3.0
96 stars 47 forks source link

Download link does not contain the mod folder #319

Closed Wuzzy2 closed 2 years ago

Wuzzy2 commented 3 years ago

Problem

If you click the download link of a mod in the website, you only get the contents of the mod folder, not the mod folder itself. This is annoying when extracting the mod and also violates forum rules for the Mod Releases subforum.

Example (to reproduce)

https://content.minetest.net/packages/Wuzzy/calendar/

Solution

Make it so the download link on the ContentDB website includes the Zip with the mod folder. The folder name could be based on mod.conf.

Thanks for reading.

rubenwardy commented 3 years ago

This only happens with old uploads. New uploads will have the mod folder. I haven't been especially motivated to write code to migrate the old uploads to this form.

To implement this migration, you'd need to:

Wuzzy2 commented 3 years ago

OK, so how can I manually update my old packages?

rubenwardy commented 2 years ago

You'll need to create a new release