itchio / itch.io

:bug: Public itch.io issues tracker and documentation - use support instead for private information!
https://itch.io/support
239 stars 25 forks source link

Build a better system for package managers to download game files #268

Open leafo opened 8 years ago

leafo commented 8 years ago

https://aur.archlinux.org/packages/after-school/

dcelasun commented 8 years ago

The problem is the lack of direct download URLs, so I had to work around that by parsing the JSON from the download request. Even a simple redirect would solve the problem.

leafo commented 8 years ago

We don't want other websites hotlinking directly to our files, so having an official api to get the download link would be preferred

leafo commented 8 years ago

Also, should it return the latest linux file's link, so the AUR package doesn't need to be updated when the game is?

dcelasun commented 8 years ago

+1 on the API but -1 on the latest file link. It would be much better if the API returned both the file version and a link unique to that version.

fasterthanlime commented 8 years ago

+1 on the API but -1 on the latest file link. It would be much better if the API returned both the file version and a link unique to that version.

the problem with that in our current system is that old versions usually disappear completely when developers upload a new version

we need a proper versioning system

dcelasun commented 8 years ago

Hmm, maybe the last N versions could be made available? It would keep hosting costs down and offer some time for package maintainers to update their builds.