Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.99k stars 11.36k forks source link

Autoupdate Formulae Versions #39328

Closed ma11hew28 closed 9 years ago

ma11hew28 commented 9 years ago

Heroku Toolbelt is outdated.

Is there someway to make it so that Homebrew formulae autoupdate (by themselves)? Maybe some sort of public API, standard, machine learning, etc?

For example, for Heroku Toolbelt, the URL https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client.tgz always points to the latest version.

DomT4 commented 9 years ago

Heroku Toolbelt is outdated.

Open a PR :wink:.

always points to the latest version.

Homebrew doesn't use these types of URLs because Homebrew has no control/detection over when they're changed/updated/etc, and consequently are borderline impossible to bottle, update and (perhaps more importantly) checksum.

There are various implementations around as to detecting en-mass when packages are updated, but there's nothing completely reliable, scalable or removing the need for human intervention at some point yet, to my knowledge at least.

@asparagui has probably the best implementation of something that makes en-mass update detection a more pleasant experience here, but it still requires a human to do the formulae changes and PR them.

jacknagel commented 9 years ago

We continue to see value in human verification of updates.