-
Notifications
You must be signed in to change notification settings - Fork 162
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
Use the installed version of Chocolatey rather than shipping chocolatey.dll as part of Boxstarter #394
Comments
I think we could go forward with this by always installing choco as a dependency of boxstarter. We would still need to bundle a version with boxstarter that is "pushed" to remote computers and installed if, and only if no other/newer version of Chocolatey is already installed on the target machine. Currently, |
Could we not simply install that using the Chocolatey.org install script on a remote computer?
It sounds like you are talking about organizational use (ie. a different way / script to use for installing Chocolatey)? In that instance the org will likely have interanlized / localised that install script so are you suggesting having an option to use that but default to the Chocolatey.org one? |
I'm basically talking about remote boxstarter usage plus the use of Boxstarter.bat here. |
In an organizational context we could leverage the Chocolatey way of installing Chocolatey either through an internal repository or localising the installation script? |
+ rip out chocolatey.dll (use choco.exe from $env:ChocolateyInstall) + install chocolatey from nupkg if not present (local + remote) + lots of fixes for *nix systems (case-sensitive! / renamed files) + lots of autofmt changes
I think something is not working with the build artifacts from this PR #479 (2.13.13). I cannot call I tried printing the keys of the On (2.13.0) the keys are:
On (2.13.13) the keys are:
From looking at the |
Thanks @Baune8D ! - will investigate/fix asap |
Hey @Baune8D - could you further elaborate how you're calling boxstarter wich then fails to reboot b/c of the missing variable |
Sure. We kick off the package install with the following command: The error happens if i put I have tried this multiple times now, if i switch to |
Notes / Design Decisions: With "Unbundling Chocolatey from Boxstarter" we'll bump Boxstarter to the next major version - Boxstarter v3 Boxstarter v3 will still come with a 'packaged' (nupkg) version of Chocolatey which will be installed when no Boxstarter v3 will always prefer to use the Boxstarter v3 should support licensed editions of Chocolatey. "Boxstarter Chocolatey Packages" (a.k.a. packages containing Boxstarter cmdlets) will still only work when called via Starting with Boxstarter v3, each |
🎉 This issue has been resolved in version 3.0.0 🎉 The release is available on:
Your GitReleaseManager bot 📦🚀 |
To be able to use the neweset functionality within Chocolatey would require unbundling Chocolatey within Boxstarter and using the latest version from Chocolatey.org.
There looks to be quite a few iussues around this and @mwrock has mentioned some of them at #89. There is no further information around what has been patched so would be good to understand this.
Currently Boxstarter uses it's own version for remote installs but the remote installs could install, or use the current version of the Chocolatey package on the local machine to install remotely.
Bundling a version of Chocolatey helps to keep that version as a known entity - we know it works with Boxstarter so there will be no surprises. However we could install that particular version of Chocolatey and get the same outcome.
I've opened this to get a wider discussion on the merits of doing and not doing this.
Related #225, #247, #369
The text was updated successfully, but these errors were encountered: