feat!: publish the whole ez program as the hub package ezx - #130
Merged
Merged
Conversation
The top-level main.bend is now ez's program and the package entry: it calls src/ez/main.bend's main, so a plain Bend 2.0.32+ user builds the ez binary from the hub with `import ezx@X.Y.Z.0/main.bend as Ez` and `Ez.main()`, as bolt's users do. Its first line is the hub description, "# ezx: ez, the package manager for Bend 2." Every module directory moves under src/ (as ez init lays a project out), so relative imports stay valid and only LICENSE sorts before main.bend in the published walk. `[package] bin` is dropped: the entry is the program, and ez build, ez run and the nix package build it. No LAWS, PROOF, src/check or tests file is reached from main.bend. SPEC.md's Law column, AGENTS.md, the README (hub build first, clone and nix second), the guide, the RFC (WP34), CI and the tests follow the new paths. BREAKING CHANGE: the hub package ezx is now the ez program, not the ledger library. Every module moved under src/, and the ledger library's import path is now src/ledger/manifest.bend (import it directly for parse and show; the top-level main.bend no longer re-exports them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
noah-emp
pushed a commit
that referenced
this pull request
Sep 30, 2026
🤖 I have created a release *beep* *boop* --- ## [1.4.0](v1.3.0...v1.4.0) (2026-09-30) ### ⚠ BREAKING CHANGES * publish the whole ez program as the hub package ezx ([#130](#130)) ### Features * publish the whole ez program as the hub package ezx ([#130](#130)) ([5c530ef](5c530ef)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The hub package
ezxbecomes the whole ez app. A plain bend 2.0.32+ user can now buildezfrom the hub the same way they build bolt:bend t.bend -o ezChanges
main.bendis ez's program and the package entry. Its first line is# ezx: ez, the package manager for Bend 2., which becomes the hub description. It callssrc/ez/main.bend'smain.src/withgit mv(add, check, doctor, ez, fetch, git, hub, init, io, ledger, lock, pkg, pub, remove, run, sha, share, tool, toml). Relative imports between them are unchanged.tests/now imports../src/....[package] binis dropped from ez.toml. The entry is now the program, soez build,ez runand nixmkPackage(bin, else entry) all build it.src/ledger/manifest.bend. The re-exports in the old rootmain.bendare gone.ci.yml's readme job and the flake comments.The published walk (68 files)
LICENSE,main.bend, then 64.bendfiles undersrc/plussrc/share/pass.candsrc/share/pass.js. No LAWS, PROOF,src/check/ortests/file is reached. The walk reaches these hash imports: shake0xcab8…, snap0xabe5…, ezhttp0xf1c9…, eztoml0x8fb9…and sha2560x3bdc…. Each one returns 200 athub.bend-lang.com/<hash>/manifest.Verification (bend 2.0.34)
ez prove: 16 / 16, every PROOF.bend printing ALL PROOFS CHECK.nix flake check -L: passes (proofs, lint 0 errors, fresh, ez).ezruns--help, andez lockleaves ez.lock.toml byte-identical.t.bendthat imports itsmain.bend, and ran plainbend t.bend -o ezwith an empty HOME. bend fetched all 5 hashes from the hub, and./ez --helpworks. The README's ledger-library snippet also runs, printing"app main.bend ".Not published and not merged. Once merged, this lands as 1.4.0.
🤖 Generated with Claude Code