kcmerrill / alfred

(v0.2) Even Batman needs a little help. Task runner. Automator. Build system.
MIT License
63 stars 14 forks source link

Feature request: Generic downloader with integrity check #62

Open iilyak opened 6 years ago

iilyak commented 6 years ago

This might be out of scope for Alfred. However since Alfred got remote workflow feature recently it might be very easy to implement an integrity check for downloads (if you think it is useful).

Ability to download files via http/https with integrity checking. The goal is to automate the installation of development environment for new team members. We would love to be able to specify a list of urls to download with correspondent sha256 hash for every file. Of cause we could use a combination of following tools:

But how to download and check integrity of these tools? It is getting complicated to bootstrap the environment very quickly.

kcmerrill commented 6 years ago

So a few things pop into mind here. You could have a config file with urls and their hashes(see config component) then loop with for component and do a curl + Sha256 validation. It could be done with Alfred as is. I'll see though if there is a clean way of doing this. On Thu, Dec 28, 2017 at 1:10 PM iilyak notifications@github.com wrote:

This might be out of scope for Alfred. However since Alfred got remote workflow feature recently it might be very easy to implement an integrity check for downloads (if you think it is useful).

Ability to download files via http/https with integrity checking. The goal is to automate the installation of development environment for new team members. We would love to be able to specify a list of urls to download with correspondent sha256 hash for every file. Of cause we could use a combination of following tools:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kcmerrill/alfred/issues/62, or mute the thread https://github.com/notifications/unsubscribe-auth/AAqMSbmK4btrBjDzrp9joHjzifDrWhI0ks5tE_WagaJpZM4ROnXz .