Skip to content

registration-toolkit 1.8.0 (new formula)#12

Closed
csparker247 wants to merge 8 commits into
mainfrom
bump-registration-toolkit-1.8.0
Closed

registration-toolkit 1.8.0 (new formula)#12
csparker247 wants to merge 8 commits into
mainfrom
bump-registration-toolkit-1.8.0

Conversation

@csparker247

Copy link
Copy Markdown
Member

Summary

  • Add Formula/registration-toolkit.rb at v1.8.0.

Source

Notes

  • Supersedes the closed v1.7.0 PR (registration-toolkit 1.7.0 (new formula) #11), which kept failing due to mirror-induced tarball SHA drift.
  • License GPL-3.0-or-later.
  • Docs and tests disabled at build time.
  • test do exercises rt_register --help, allowing exit code 1 (Boost.ProgramOptions exits non-zero on help).

Test plan

  • brew test-bot passes on ubuntu-latest, macos-14, macos-15.
  • auto-label.yml adds pr-pull (branch name matches bump-*).
  • publish.yml uploads bottles to ghcr.io and force-pushes the rewritten formula to main.
  • brew install educelab/code/registration-toolkit works on a clean machine.

🤖 Generated with Claude Code

csparker247 and others added 8 commits June 11, 2026 15:25
C++ utilities for image-to-image and image-to-mesh registration.
v1.8.0 is the first proper GitHub release after the GitLab → GitHub
migration; the v1.7.0 tarball was unstable due to mirror re-pushes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Upstream's CMake pulls smgl, bvh, libcore, and OpenABF via
FetchContent. Each is pinned to an immutable commit/tag, so bottle
reproducibility is preserved.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
brew audit (FormulaAudit/ComponentsOrder) requires depends_on blocks
before allow_network_access!.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Homebrew traps live FetchContent calls (trap_fetchcontent_provider.cmake)
regardless of allow_network_access!. Replace that approach with the
prescribed Homebrew pattern: declare smgl, bvh, libcore, and OpenABF as
resources at the same commits the upstream CMake pins, stage them under
_deps/, and direct the build at the pre-staged sources via
FETCHCONTENT_SOURCE_DIR_<NAME> with FETCHCONTENT_FULLY_DISCONNECTED.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
GitHub/GitLab autogenerated archive tarballs are not byte-stable
enough for sha256 pinning — every fetch can vary in gzip metadata.
Switch each resource to a git URL with an explicit `revision:` so the
content-addressed commit SHA is the immutable identifier, eliminating
the tarball-checksum drift.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- The binary links libtiff (per upstream README); declaring it
  satisfies `brew linkage --test`.
- `rt_register --help` exits 0 and the output uses `--log-level` (not
  "Usage"); update the test to match what the tool actually prints.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The binary links libfmt (transitively via spdlog, but linkage --test
requires direct declaration of anything actually linked).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
rt_register prints its --help output to stderr. shell_output without
2>&1 was capturing an empty stdout, so the assert_match against the
empty string failed.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@csparker247 csparker247 added the pr-pull Mark a formula ready for merge label Jun 11, 2026
@github-actions github-actions Bot closed this in 654a912 Jun 12, 2026
@github-actions github-actions Bot deleted the bump-registration-toolkit-1.8.0 branch June 12, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-pull Mark a formula ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant