Commit 125646e4
125646e40527Merged
Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 10 files · ~3 modified · -7 deleted
Description
Revert PR #747 (Spinelfile / spinel-gem POC)
This reverts merge commit dc55928 (the neidiom/master branch). Reverting the entire PR including:
- Spinelfile DSL (spinel_gem.rb) and spinel-gem CLI wrapper
- Spinelfile.loadpaths sidecar mechanism
- spinel_parse.c --loadpaths argument plumbing
- test_gem/ unit + E2E tests
- Makefile test-gems target
Rationale: gem-discovery / loadpath strategy is still under discussion in #925. Phase 0 POC was merged prematurely, exposing a new file format (Spinelfile, Spinelfile.loadpaths) and new CLI (spinel-gem) before the design conversation concluded. Stdlib shadowing precedence and the lockfile-vs-generator question for Spinelfile.loadpaths also need to be settled first.
The bundled require-bug fix and test/require_top_of_file.rb regression test are also reverted; if still needed they can be re-landed as a standalone patch independent of the gem machinery.
Co-Authored-By: Claude Opus 4.7 [email protected]
Details
- Commit
- 125646e40527
- Parent
- e4d2ffaa5870
MakefilemodifiedView file
COMPILER_HELPERS_STAMP := build/stamps/compiler_helpers.rb.stampPARSE_STAMP := build/stamps/spinel_parse.c.stamp.PHONY: all parse bootstrap codegen rbs_extract test retest test-gems clean-test-results regen-expected bench optcarrot clean install uninstall deps.PHONY: all parse bootstrap codegen rbs_extract test retest clean-test-results regen-expected bench optcarrot clean install uninstall deps# `make all` includes spinel_rbs_extract when vendor/rbs has been# fetched (via `make deps`). Without vendor/rbs the extractor isretest: clean-test-results @$(MAKE) --no-print-directory test# spinel-gem POC tests: unit tests for the Spinelfile DSL + shell-driven# end-to-end scenarios (basic resolution, walk-up discovery, negative,# dedup, invalid config). Depends on the parser binary being current so# the E2E flow exercises the loadpath sidecar plumbing for real.test-gems: spinel_parse$(EXE) @sh test_gem/run_all.sh# The .ok target is the test's stamp; mtime tracking gives per-test# caching for free. Order-only spinel_parse$(EXE) / spinel_analyze$(EXE)spinelmodifiedView file
Loading diff…
spinel-gemdeleted
Loading diff…
spinel_gem.rbdeleted
Loading diff…
spinel_parse.cmodifiedView file
Loading diff…
test/require_top_of_file.rbdeleted
Loading diff…
test/require_top_of_file.rb.expecteddeleted
Loading diff…
test_gem/run_all.shdeleted
Loading diff…
test_gem/run_e2e.shdeleted
Loading diff…
test_gem/spinelfile_test.rbdeleted
Loading diff…