-
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
(GH-394) chocolatey.dll no more #479
Conversation
754f879
to
a117c68
Compare
rebased to include #478 (upload build artifacts on appveyor build) |
note: as of #478 you now can grab the build artifacty from appveyor (i.e. the last build ) and use/install/test them in a VM or local machine. |
the new version has a rather exhaustive list of fixes, see https://docs.chocolatey.org/en-us/choco/release-notes#october-27th-2021
d84b79c
to
5f822b9
Compare
Adding feedback to this PR instead as requested by @pauby Installation of remote package does not start with 2.13.16 artifactsWhat You Are Seeing?Boxstarter never initiates remote install and just hangs on I can verify that remoting works, because i can see Boxstarter trigging scripts on the remote machine on setup and teardown. What Is Expected?Remote install is expected to start. How Did You Get This To Happen? (Steps to Reproduce)This issue only happens with the 2.13.16 artifacts from AppVeyor https://ci.appveyor.com/project/chocolatey/boxstarter/builds/41341291/artifacts Using Boxstarter 2.13.0 the remote installations starts correctly. Remote install is kicked off from the host with Host is using Chocolatey 0.11.3 Installation of chocolatey package triggers verbose information and ends in a loop using 2.13.16 artifactsWhat You Are Seeing?When installing chocolatey package through Boxstarter 2.13.16, it triggers alot of verbose information and ulimately ends in a loop with the message What Is Expected?Chocolatey package should install correctly and without verbose information. How Did You Get This To Happen? (Steps to Reproduce)Calling This issue only happens with the 2.13.16 artifacts from AppVeyor https://ci.appveyor.com/project/chocolatey/boxstarter/builds/41341291/artifacts Using Boxstarter 2.13.0 the installation runs correctly. Output LogLog from |
Hey @Baune8D , thanks again for your effort! (note/memo: |
I have yet to do some testing and update the docs, I'm not entirely sure if opening a new process for invoking chocolatey so far I've tested:
|
I'll try to give it a spin. I think this should definitely be a major version release, so that would also be a hint that there's a chance of behaviour changing. |
@mwallner Excited to give this another run! 😄 I'm currently running into a minor issue. Boxstarter complains about not being able to find It seems that adding |
I am also still seeing alot of irrelevant verbose information in the terminal window when installing Chocolatey packages (As described in #479 (comment)) : |
Good Catch! |
the new version has a rather exhaustive list of fixes, see https://docs.chocolatey.org/en-us/choco/release-notes#october-27th-2021
4eddff3
to
1b645c6
Compare
rebased onto current master |
the new version has a rather exhaustive list of fixes, see https://docs.chocolatey.org/en-us/choco/release-notes#october-27th-2021
3050df5
to
2b3d682
Compare
@mwallner thanks for all your work in pulling this together, it is VERY much appreciated! |
Description
Related Issue
Fixes #247
Fixes #369
Fixes #394
Fixes #423
Fixes #442
Fixes #455
Motivation and Context
To be able to use the neweset functionality within Chocolatey would require unbundling Chocolatey within Boxstarter and using the latest* version from Chocolatey.org.
With this PR, Boxstarter will always try to use the Chocolatey version from $env:ChocolateyInstall or install Chocolatey from a chocolatey.nupkg that comes with Boxstarter and should easily be updated whenever a new version of Chocolatey is released. (I intentionally do not use 'latest' here, because there might be unforseen issues with a newer version - hence it's safer to stick with a 'known-to-be-good' version until verified/tested. / as of today, Boxstarter would 'ship' with Chocolatey 0.11.3)
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.
How Has This Been Tested?
Mainly on my dev-pc, use
psake Package
in the "buildscripts" directory to build artifacts that can be installed via chocolatey or simply useboxstartershell.ps1
(note: you still need topsake Package
before!) and useInstall-BoxstarterPackage
on a remote host.Screenshots (if appropriate):
Types of changes
Checklist: