-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Declare chocolatey dependency on VC redist package #7437
Conversation
Cool photo! :) Thanks for fixing it even while you're on vacation! Tried it:
The line you mentioned is there, so far so good. Do you think the failure is expected? (I wouldn't know, since I never install Bazel from Chocolatey.) |
No, that's a failure. "Unable to resolve dependency"; it cannot find that version of the |
Hi! Thanks for working on this! That's odd. I noticed |
Hey @petemounce, do you still plan to fix this issue? |
Sorry! Yes. |
Thanks! Could you try and rebase your change on top of |
Fixes bazelbuild#7376. Currently untested, am on holiday without my build environment. To verify: 1. check out this branch on a Windows computer 1. `cd scripts/packages/chocolatey` 1. in powershell: `./build.ps1 -version 0.23.0 -mode rc -rc 2` (I think 0.23 release is in flight, and rc2 has not been pushed) * should produce ./bazel-0.23.0rc2.nupkg (from memory; filename might vary) 1. `choco install --verbose --yes ./bazel-0.23.0rc2.nupkg` * should see `[INFO ] - [NuGet] Attempting to resolve dependency 'vcredist2015 (= 14.0.24215.20170201).' in log, where, previous to this change, would not be present in log.
Oops, done. Speaking of which - where can I add a buildkite step to build the chocolatey package? On reading through the windows node setup powershell, I think all the dependencies are there. Publishing the package will still require the chocolatey API key to available to the agent. |
Ah, best to reply inside #4049 I think. |
Hey @petemounce , do you plan fix this PR? |
I thought I rebased when you asked; what's outstanding? |
Oh sorry, it's all good! Let me import it. |
Shall I keep the whole PR message? :) |
What would you write if you didn't? |
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
I'd leave out the part about your having been on holiday and the PR being untested. Didn't mean to sound like a censor, I'm happy to keep everything verbatim. |
I'll fix the CLA thing tomorrow. |
Sounds good to me. |
Once #4049 progresses, this becomes testable within CI, or if you give me a steer toward how (where, really) to add a build step so I can download the bazel binary from buildkite artifacts (I assume it's built and pushed there) and then run the package build.PS1 and test.Ps1? |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
bazelbuild/continuous-integration#745 adds a .msi building step to the release process. I believe that's where you must add the Chocolatey step. |
Fixes bazelbuild#7376. Currently untested, am on holiday without my build environment. cc @laszlocsomor, @RNabel, @vmax. To verify: 1. check out this branch on a Windows computer 1. `cd scripts/packages/chocolatey` 1. in powershell: `./build.ps1 -version 0.23.0 -mode rc -rc 2` (I think 0.23 release is in flight, and rc2 has not been pushed) * should produce `./bazel-0.23.0rc2.nupkg` (from memory; filename might vary) 1. `choco install --verbose --yes ./bazel-0.23.0rc2.nupkg` * should see `[INFO ] - [NuGet] Attempting to resolve dependency 'vcredist2015 (= 14.0.24215.20170201).' in log, where, previous to this change, would not be present in log. ![selfie-0](https://i.imgur.com/OZHeyFD.png) [_GitHub Selfies_](https://github.com/thieman/github-selfies/) Closes bazelbuild#7437. PiperOrigin-RevId: 257362183
Fixes #7376. Currently untested, am on holiday without my build environment.
cc @laszlocsomor, @RNabel, @vmax.
To verify:
cd scripts/packages/chocolatey
./build.ps1 -version 0.23.0 -mode rc -rc 2
(I think 0.23 release is in flight, and rc2 has not been pushed)./bazel-0.23.0rc2.nupkg
(from memory; filename might vary)choco install --verbose --yes ./bazel-0.23.0rc2.nupkg
GitHub Selfies