Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle repeatability? #162

Closed
habemus-papadum opened this issue Mar 28, 2016 · 2 comments
Closed

Bundle repeatability? #162

habemus-papadum opened this issue Mar 28, 2016 · 2 comments
Labels

Comments

@habemus-papadum
Copy link

I see the note in the Readme describing Homebrew's behavior of using only the latest versions and realize this can defeat repeatability.

Instead of vagrant, does the following alternative sound like an alternate possibility for creating repeatable builds? -- Create a mechanism to lock brew (and taps) at a particular version (a brewenv or brewvm, if you will). Or rather simply record commit sha's for brew and taps in some sort of per project .brewenv. Then a bootstrap tool could, on a per project basis, first set up a brewenv using the records sha's, then install bundle into that env, and then use that version of homebrew going forward.

Because many packages are being shipped via bintray, I'm not sure how long old versions are being kept, and if this would defeat repeatability. I'm sure there are other issues I'm not seeing.

thanks

@MikeMcQuaid
Copy link
Member

I'm definitely open to pull requests that improve repeatability but given Homebrew doesn't support it I don't think Homebrew Bundle can yet.

@ilovezfs
Copy link
Contributor

@lilinjn I think you'd have to capture the brew config since Apple's stuff is a moving target, too. In additional, Haskell components would tend to break over time unless you also bundled in a cabal.config for every Haskell formula. I think the biggest problem you'd face is that brew fetch would inevitably be doomed so you'd want to find a way to get everything to build offline from tarballs you'd self-host. A snapshot of the Homebrew cache would get you partially there.

@lock lock bot added the outdated label Jan 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants