Skip to content

Steps 7+8#13

Closed
lucasgelfond wants to merge 1 commit intopr/step-6-2-sqlite-statefrom
pr/step-7-1-install-command
Closed

Steps 7+8#13
lucasgelfond wants to merge 1 commit intopr/step-6-2-sqlite-statefrom
pr/step-7-1-install-command

Conversation

@lucasgelfond
Copy link
Owner

Install, Uninstall, GC:Wire up complete install workflow plus uninstall and garbage collection

🤖 Generated with Claude Code

Step 7.1 - zb install:
- Add Installer struct orchestrating complete install workflow
- Plan: fetch formulas, resolve deps, select bottles
- Execute: parallel download, store unpack, cellar materialize, link
- Add InstallPlan for separating planning from execution
- Fix bottle content extraction for Homebrew tarball structure
- Add Clone derive to Formula types
- Add create_installer() factory with standard paths

Step 8.1 - Uninstall:
- Add Installer::uninstall() to clean up linked shims, cellar entry
- Decrement store refs in database
- Add NotInstalled error variant

Step 8.2 - Garbage Collection:
- Add Installer::gc() to delete unreferenced store entries
- Add Store::remove_entry() with locking

Tests:
- Integration tests with wiremock for install, uninstall, GC
@lucasgelfond
Copy link
Owner Author

Closed: all changes merged via PR #1

@lucasgelfond lucasgelfond deleted the pr/step-7-1-install-command branch January 25, 2026 20:44
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.

1 participant