Repository navigation
CI: install rclone and ccache on Windows from OpenMS/chocolatey-packages - #10560
Conversation
…A256 check The Chocolatey community feed returned a 504 for rclone.portable and failed the whole Windows job. Fetch pinned release zips with curl retries instead and verify them against a recorded SHA256. rsync stays on choco (pinned 6.2.7, no upstream release zip). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AjPemB9tAThx27Re3pD7iU
RUNNER_TOOL_CACHE is C:\hostedtoolcache\windows; bash cannot use that in PATH, so rclone was not found right after its install. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AjPemB9tAThx27Re3pD7iU
|
This is why I created this repo. I was working around the issues with installing doxygen. |
| ccache \ | ||
| rclone | ||
| # These are only needed in CI (fetched from GitHub releases, SHA256-checked): | ||
| bash "$(dirname "$0")/install-windows-tools.sh" rclone ccache |
There was a problem hiding this comment.
Why create a new file? I think it's already bad that we have these files (due to CI security issues) but I don't see a way around that.
There was a problem hiding this comment.
ok thanks, will improve
There was a problem hiding this comment.
Done in 3c03649: install-windows-tools.sh is gone. rclone and ccache are now packages in OpenMS/chocolatey-packages (OpenMS/chocolatey-packages#1, same pattern as doxygen: pinned GitHub release, SHA256-checked), and deps-windows.sh and the wheels job install them from the local build with choco install -s .. That PR needs to be merged first, since the Windows jobs here clone its trunk.
Generated by Claude Code
As suggested in review: instead of a separate download script, take the two tools from the OpenMS/chocolatey-packages repository, which deps-windows.sh already builds for doxygen. Its packages download the same pinned GitHub releases and check their SHA256, so the community feed is no longer involved. Drops tools/ci/install-windows-tools.sh; Chocolatey's shims put rclone and ccache on PATH as before. Needs the ccache and rclone packages on chocolatey-packages' trunk. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UFThLd6bYAZiPrdrwGfx8d
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Change: Bug fix Merge Risk: ⚪ Minimal · up to
|
The Chocolatey community feed fails often (e.g. a 504 on
rclone.portablefailed this job).choco install -s .), so the community feed is not involved.tools/ci/deps-windows.shand the pyOpenMS wheels Windows job.Depends on OpenMS/chocolatey-packages#1, which adds the two packages; merge it first, since the Windows jobs clone that repo's
trunk.🤖 Generated with Claude Code
https://claude.ai/code/session_01UFThLd6bYAZiPrdrwGfx8d
Summary by CodeRabbit
rcloneand other CI tools from locally built Chocolatey packages instead of the community feed. Thersyncversion remains unchanged.