Skip to content

Fix beads git tracking after bd to br migration#73

Merged
cscheid merged 3 commits intomainfrom
beads-gitignore-cleanup
Mar 20, 2026
Merged

Fix beads git tracking after bd to br migration#73
cscheid merged 3 commits intomainfrom
beads-gitignore-cleanup

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Mar 20, 2026

This repo was originally set up with steveyegge/beads (bd), which auto-manages .beads/.gitignore at runtime — bd init creates it, bd doctor --fix regenerates it, and since bd rewrites it on the fly, the root .gitignore excludes it from tracking (line 17: .beads/.gitignore).

After switching to Dicklesworthstone/beads_rust (br), this breaks: br writes .beads/.gitignore once during br init and never touches it again. There is no br doctor that auto-repairs it. With the root .gitignore still blocking it, the file is invisible to git and the patterns inside (like .br_history/) have no effect.

The result is that local-only artifacts get committed on every git add .beads/: .br_history/ snapshots (~545KB full copies of issues.jsonl after every mutation), the SQLite database, temp files, and migration artifacts.

Changes

  1. Add .beads/.gitignore matching br init defaults. Ignores *.db, .br_history/, lock files, merge artifacts, and other local-only files.

  2. Replace bd-era beads rules in root .gitignore with a one-line comment pointing to .beads/.gitignore.

  3. Untrack files that should be local-only: .br_history/, last-touched, .local_version, deletions.jsonl.migrated.

  4. Comment out sync-branch: "beads-sync" in config.yaml — a bd feature not used by br.

  5. Add 5 beads issues for known Windows test failures discovered during Add Windows development support and contributor onboarding #72 (CRLF in quarto-doctemplate, file-locking in quarto-hub, CSL manifest, pampa test skips, pampa Windows ports).

After this change, only portable files remain tracked: issues.jsonl, config.yaml, metadata.json, README.md, .gitignore.

cderv added 3 commits March 20, 2026 15:13
5 issues for known Windows test failures not addressed in PR #72:
- bd-1d3e: CRLF failures in quarto-doctemplate (8 tests)
- bd-18wn: File-locking failures in quarto-hub (2 tests)
- bd-2w80: CSL manifest failure after rebase
- bd-2rbk: Pampa test skip behavior without Pandoc
- bd-238o: Port pampa Windows fixes from quarto-markdown
Add .beads/.gitignore matching br init defaults and remove beads
rules from root .gitignore (let br own its ignore list).

Untrack files that should be local-only: .br_history/, beads.db,
last-touched, .local_version, deletions.jsonl.migrated.

Comment out unused sync-branch config in config.yaml.

Tracked files remaining: issues.jsonl, config.yaml, metadata.json,
README.md, .gitignore.
@cscheid cscheid merged commit 1dabba9 into main Mar 20, 2026
4 checks passed
@cscheid cscheid deleted the beads-gitignore-cleanup branch March 20, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants