ponylang / corral

:horse: Pony dependency manager tool
https://ponylang.io
BSD 2-Clause "Simplified" License
192 stars 20 forks source link

Fix installing ponyc dependency #258

Closed SeanTAllen closed 11 months ago

SeanTAllen commented 11 months ago

Curling against cloudsmith isn't working. It downloads nothing. wget is working.

lskillen commented 11 months ago

Hey @SeanTAllen - We changed the latest endpoint to redirect to the download file, rather than just serving it immediately. The reason for it was, static file caching (3600 seconds for static files) meant the latest endpoint was slow for users to update, so subsequent updates might be missed by users. This way, there's no issues with caching anymore. Adding -L to curl would make it follow the redirect, but otherwise, wget is a good substitute too. :)

SeanTAllen commented 11 months ago

@lskillen thanks for the info. that makes sense. it being a holiday weekend, i didn't investigate very deeply.