gosu / releasy

A rake task generator to help with building/packaging/deploying Ruby applications (⚠️ unmaintained)
https://spooner.github.com/libraries/releasy/
MIT License
378 stars 29 forks source link

Manage downloading of wrappers #13

Open bil-bas opened 12 years ago

bil-bas commented 12 years ago

Download ruby.7z or gosu.app wrappers with another task. If it fails to find the files you specify in the config, then tell user to download them: "It looks like you forgot to get the wrappers, please run 'rake gimme' or download them manually".

Suggested by shawn42

What it shouldn't do is auto-download or download inside the gem or to a random location.

shawn42 commented 12 years ago

yay.

bil-bas commented 12 years ago

OK, thinking about implementing this again. I sort of disagree; I think it should download them into ~/.releasy, but it does seem more sensible to offer the user a "planning to download Ruby 1.9.2 (10MB) to ~/.releasy/windows_wrappers/whatever [yes/no]" rather than doing it without asking.

This also means the wrapper would be defined to be "1.8.7", "1.9.2" or "1.9.3" for windows and only "1.9.2" on OSX (since that is all that the Gosu wrapper supports, always downloading the latest version of the app wrapper).

shawn42 commented 12 years ago

Sounds good.

jlnr commented 12 years ago

~/.releasy is likely to clutter up user backups. But I don't have a better suggestion.

bil-bas commented 12 years ago

There is precedent for downloading to the home directory (.pik and .rvm come to mind) so I suggest that people already know how to exclude files from backup :)

shawn42 commented 12 years ago

~/.releasy or /tmp/releasy are my two ideas