Commit graph

95 commits

Author SHA1 Message Date
matt wilkie
85cbdea9d9 Update Nix vendor hash for Go 1.26 (bd-7mh.6) 2026-04-28 07:11:16 -07:00
matt wilkie
e9ebb2bc4d Fix Nix CI Go toolchain selection (bd-7mh.6) 2026-04-28 07:00:35 -07:00
matt wilkie
ae0fc1dd63
fix(nix): use proxy vendor for pure-go package
Build the Nix package with the existing gms_pure_go tag while using proxyVendor to avoid stale vendor/modules.txt consistency checks. Remove leftover ICU flake wiring and the debug env dump from postPatch.

Based on the focused Nix changes from #3278; contributor attribution preserved in c9fa7cf8b.

Closes bd-9ok
2026-04-25 15:02:28 -07:00
matt wilkie
e2e4975044
Document supported go install modes (bd-o5a) (#3480)
- Removed bare first-party go install .../cmd/bd@latest guidance from docs,
    website docs, plugin/npm docs, examples, and doctor hints.
  - Standardized on:
      - CGO_ENABLED=0 go install ... for server-mode only
      - CGO_ENABLED=1 GOFLAGS=-tags=gms_pure_go go install ... for embedded-
        capable
  - Added scripts/check-go-install-guidance.sh and wired it into CI.
  - Updated default.nix to use gms_pure_go instead of ICU flags.

  Validation passed locally:

  - make test
  - golangci-lint run --build-tags=gms_pure_go ./...
  - ./scripts/check-go-install-guidance.sh
  - ./scripts/check-build-tags.sh
  - go test -tags gms_pure_go ./cmd/bd/doctor
  - doc flag check
2026-04-25 11:30:19 -07:00
matt wilkie
1b2dd2cb56 Release 1.0.3 2026-04-24 16:15:11 -07:00
coffeegoddd☕️✨
c486c7d675 /default.nix: update vendor hash 2026-04-22 12:14:48 -07:00
matt wilkie
4e3dbb6db0
fix(nix): update vendorHash after dependabot go.sum bumps (GH#3221) (#3297)
The vendorHash in default.nix went stale after several dependabot
updates to go.mod/go.sum landed post-PR #3064. Updates to the value
reported by Nix as "got" by @luccahuguet.

Fixes #3221

Co-authored-by: luccahuguet <luccahuguet@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 16:10:46 -07:00
emma
a3f834b31f release: beads v1.0.2 — npm provenance URL fix
Executed-By: beads/crew/emma
2026-04-15 13:42:06 -07:00
emma
4c52b9f4ae release: beads v1.0.1
Executed-By: beads/crew/emma
2026-04-15 12:44:44 -07:00
m4dc4p
8ec8f705b1
Update nix install for v1.0.0 (#3064)
* Beads / dolt requires ICU libraries and headers for https://github.com/dolthub/go-icu-regex - added
* Refactor nix slightly for ergonomics.
* Remove unnecessary overlay
2026-04-07 20:07:07 -07:00
beads/crew/emma
db5b05a72f release: beads v1.0.0
Stable release. Embedded Dolt default on all platforms, critical
reliability fixes (concurrent panic, spaces in path, schema migration),
22 community PRs merged, tracker hardening across all backends.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 21:35:30 -07:00
beads/crew/emma
884cc1171e fix(release): revert all non-Linux targets to CGO_ENABLED=0, bump v0.63.3
Only Linux amd64/arm64 can cross-compile with CGO on the CI runner.
macOS needs CoreFoundation/Security frameworks, Windows needs mingw
with framework support, and Android/FreeBSD lack sysroot headers.
These platforms use server mode; embedded Dolt is Linux-only for now.
Removes zig setup (no longer needed — Linux arm64 uses system gcc).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 08:58:25 -07:00
beads/crew/emma
0cac11fbb6 fix(release): add CGO build constraints for embeddeddolt, bump to v0.63.2
Gate embeddeddolt package on //go:build cgo with stub files for !cgo.
Android and freebsd targets use CGO_ENABLED=0 since zig lacks sysroot
headers for these platforms. Server mode still works on all targets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 16:57:50 -07:00
beads/crew/emma
2321038ed5 fix(release): disable CGO for android/freebsd builds, bump to v0.63.1
Zig lacks sysroot headers for android and freebsd targets, causing
stdlib.h not found errors. Revert these two targets to CGO_ENABLED=0
(they do not need embedded Dolt). Remove unused zig wrappers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 15:56:55 -07:00
beads/crew/emma
d1f4784d3b release: v0.63.0 — embedded Dolt default, multi-project sync, graph create
Embedded Dolt is now the default storage backend. Adds multi-project/team
sync for Linear/Jira/ADO, Notion and GitLab sync, bd create --graph,
simplified backup system, and 18 bug fixes from 18 contributors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 15:15:17 -07:00
beads/crew/emma
1402021b8b chore: bump version to 0.62.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 19:50:38 -07:00
beads/crew/emma
3ac028bff3 chore: bump version to 0.61.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 19:06:14 -07:00
Graeme Foster
f320e3cc13
fix(flake): override go_1_25 and fix vendorHash
The overlay must target go_1_25 (not go) because buildGoModule
references go_1_25 directly on nixos-25.11.

Also update vendorHash from placeholder to correct value so
nix build produces a working bd binary.
2026-03-13 19:24:43 +00:00
beads/crew/emma
91df6ef6d3 chore: bump version to 0.60.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 20:53:41 -07:00
beads/crew/emma
45fcd51a68 fix(nix): use go mod edit instead of sed for version patching
Cherry-picked from PR #2512 (MelsovCOZY). The go mod edit approach is
cleaner and more correct than sed for modifying go.mod.

Co-authored-by: Melsov Yernur <MelsovCOZY@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 18:17:32 -07:00
beads/crew/emma
018d18e013 chore: bump version to 0.59.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-03-05 16:00:25 -08:00
beads/crew/collins
7f41edd9c4 feat(nix): modernize flake for nixpkgs-25.11, fix-merge PR #2314
Switch from nixpkgs-unstable to nixpkgs-25.11 which has Go 1.25.6.
Drop flake-utils in favor of inline forAllSystems helper (modern convention).
Refactor default.nix to follow callPackage conventions (explicit deps).
Extract packages.nix for cleaner separation.

Adjustments from original PR:
- Removed unnecessary icu/pkg-config deps (no CGO/ICU usage in beads)
- Removed commented-out dead overlay code
- Preserved shell completion sub-packages (fish/bash/zsh)

Closes #2314

Co-Authored-By: Nick Zadrozny <nz@omc.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 17:24:10 -08:00
beads/crew/emma
ae14933db6 chore: bump version to 0.58.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 22:27:12 -08:00
Thorsten Weber
0702ea010d update nix package so it build again 2026-03-02 20:49:55 +01:00
beads/crew/emma
063faed44d chore: bump version to 0.57.0 on main
The v0.57.0 release was tagged and published from a polecat branch but
the version bump commit was never merged back to main. This lands the
version files, CHANGELOG, and info.go versionChanges on main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-03-01 15:36:30 -08:00
John Jorgensen
4673b0042b Update nix so beads builds (with latest go) 2026-02-26 06:49:34 -05:00
beads/crew/emma
48bfaaad38 fix(release): remove verify-cgo hook from CGO_ENABLED=0 builds
v0.56.0 release failed because verify-cgo.sh was added to darwin and
freebsd builds which intentionally use CGO_ENABLED=0. Bump to v0.56.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-22 19:34:50 -08:00
beads/crew/emma
c14fc2be07 chore: bump version to 0.56.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-22 19:08:36 -08:00
beads/crew/emma
21f49ddb1a chore: Bump version to 0.55.4
Disable CGO for FreeBSD cross-compilation (zig sysroot lacks stdlib.h).
Add PreToolUse hook to block gh run watch across all crew sessions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-20 11:38:31 -08:00
beads/crew/emma
bfe5241609 chore: Bump version to 0.55.3
Disable CGO for macOS cross-compilation targets. Zig sysroot lacks
macOS frameworks (CoreFoundation, Security) and libresolv. Darwin builds
use gms_pure_go + netgo tags for pure-Go operation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-20 09:39:29 -08:00
beads/crew/emma
af1a77884d chore: Bump version to 0.55.2
Fix release CI: strip -lresolv entirely from zig cross-compilation
wrappers instead of replacing with -lresolv.9 (zig sysroot has neither).
macOS builds use netgo tag so libresolv is not needed.

Also add GitHub API rate limit warnings to release formula, release.sh,
and emma private memory to prevent burning 5000/hr quota during CI wait.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-20 09:00:55 -08:00
beads/crew/emma
e3b9e86c4a chore: Bump version to 0.55.1
Fix release workflow YAML broken by heredoc in zig wrapper step,
fix marketplace.json version missed in v0.55.0, run gofmt on 8 files,
fix unused parameter and dead code lint in config.go.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-19 21:30:49 -08:00
beads/crew/emma
d0c11d521f chore: Bump version to 0.55.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-19 21:05:28 -08:00
beads/crew/emma
5fd25249af chore: Bump version to 0.54.0
Fix goreleaser zig cross-compilation race with --parallelism 1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-18 21:46:26 -08:00
beads/crew/emma
bd4d365879 chore: Bump version to 0.53.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-18 20:17:59 -08:00
beads/crew/emma
ea22fd5937 chore: Bump version to 0.52.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 16:06:17 -08:00
emma
6a81082f9f release: v0.51.0 — Dolt-native cleanup
Major release completing the Dolt-native migration:
- 8-phase refactor removing SQLite, JSONL sync, merge engine, tombstones, daemon stubs
- Pruned ~3,000+ lines of dead code across storage factory, type aliases, doctor checks
- Bug fixes for batch deletes, test races, worktree config corruption
- CASCADE deletes cut deletion queries by 60%
- 10+ docs updated from SQLite to Dolt, deprecated docs removed
- Community contributions: 8 merged PRs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 10:38:36 -08:00
beads/crew/emma
bd25acbcb1 chore: Bump version to 0.50.3
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-14 18:30:09 -08:00
beads/crew/emma
9c402efe5f chore: bump version to 0.50.2
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-14 15:33:44 -08:00
mayor
553f9c8ffc chore: bump version to 0.50.1
Also fixes ruff target-version in pyproject.toml (was clobbered to
"0.50.0" by version bump script, restored to "py310").

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 14:24:48 -08:00
mayor
349a57e5fa chore: bump version to 0.50.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 14:08:19 -08:00
David Ahmann
42a26b13a7 ci: fix baseline fmt/lint/windows+nix regressions
Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-12 09:17:14 -08:00
wickham
1666a9db32 fix: Nix flake build and gosec lint error (dolt-800oo)
Nix flake: replace GOTOOLCHAIN=auto (cannot download in sandbox) with
postPatch that relaxes go.mod version to match the available nixpkgs Go.
This fixes the go.mod requires go >= 1.25.6 build failure.

Lint: handle rows.Close() return value to satisfy gosec G104.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 17:56:59 -08:00
beads/crew/emma
153aaf889f revert: restore original Nix vendorHash (Go version too old in nixpkgs)
Nix CI fails before reaching vendorHash validation because nixpkgs has
Go 1.25.5 but go.mod requires 1.25.6+. VendorHash update must wait until
nixpkgs-unstable ships Go 1.25.6+. Restoring original hash.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-07 23:23:08 -08:00
beads/crew/emma
a31599c590 chore(nix): invalidate vendorHash for v0.49.6 dep changes
Embedded Dolt restore brought back ~100 transitive deps. Setting vendorHash
to fake hash so CI produces the correct value in its error output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-07 23:16:22 -08:00
beads/crew/emma
c064f2aa99 release: v0.49.6
Patch release to restore embedded Dolt mode that was incorrectly
removed from Beads in v0.49.5 (was only supposed to be removed
from Gas Town).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-07 22:01:18 -08:00
beads/crew/emma
bcf54c5cf3 release: v0.49.5
Security fixes, 40+ bug fixes, 6 new features, CI improvements.
See CHANGELOG.md for complete details.

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-07 20:28:20 -08:00
Joseph Turian
307cd1b1b5 fix(ci): update vendorHash, fix pre-existing lint failures
- Update default.nix vendorHash after go.mod version change
- Suppress gosec G204 false positive in countLinesInGitHEAD (relPath
  is from filepath.Rel, not user input)
- Remove dead clearSyncBranchGitignore function (never called, always
  returned nil)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:23:14 -05:00
beads/crew/emma
3032c622d2 release: v0.49.4
Label pattern/regex filtering, spec_id field, wisp types, Dolt migration
runner, JSONL locking, merge driver field preservation, atomic claim,
Windows Dolt build, and numerous stability fixes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-05 10:23:08 -08:00
Joseph Turian
8442a83482 revert: remove Go overlay, use continue-on-error instead
Compiling Go 1.25.6 from source in CI is overkill. Use the simpler
continue-on-error approach until nixpkgs-unstable updates Go.

Per nixpkgs#456759, even stable 25.05 only has Go 1.25.3, and
unstable has 1.25.1/1.25.2. Neither has 1.25.6 yet.

Estimated wait: 1-3 weeks for patch version update.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 02:33:00 -08:00