-
Notifications
You must be signed in to change notification settings - Fork 54
Go: duffle upgrade
#59
Comments
question about the syntax here... In Homebrew's model, it's a "rolling update" model in which you can only upgrade to the latest and greatest, so there's no such thing as installing a given tag. You can switch back and forth between prior versions you've installed before, but you can't "pin" to a newer version unless you've installed it before. Given the idea that we want to reference tags, how do we want to architect the repository hosting the bundles such that we can allow users to point at a particular version of a bundle? We could go about it a few ways:
If we're allowing users to specify tags rather than a "rolling release" style of package management, I'm leaning towards option 5 as it gives us a little bit of flexibility. However, if we're leaning towards Homebrew's rolling release update model then options 1 or 6 would be the best choices. See https://github.com/fishworks/fish-food/issues/1 for why we should consider a cargo-style model. Scoooooooope? |
The
duffle upgrade
command takes a claim name and a new bundle, and it replaces the claim's old bundle with the new bundle, executing theupgrade
action on the new bundle.This one may be rather complex, so don't feel like we need to solve all of the problems.
Most of the base logic can be found in
duffle install
in #47The text was updated successfully, but these errors were encountered: