Skip to content

Remove writ repo commands to make writ VCS-agnostic - #25

Merged
David-Noble-at-work merged 1 commit into
developfrom
feature/remove-repo-commands
Jan 27, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
feature/remove-repo-commands

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Summary

  • Remove writ repo command and subcommands (init/add/list/remove)
  • Remove git-specific helpers (runGitCommand, runGitCommandIn, createRepoStructure)
  • Retain getConfiguredRepo() for layer path resolution from config
  • Layers (base/team/personal) remain tracked as directory paths, not git repos

Test plan

  • Build passes
  • Tests pass
  • writ --help shows no repo command
  • writ init and writ migrate still work

The writ layer system (base/team/personal) is fundamentally just directories.
Remove git-specific commands and helpers:
- writ repo init/add/list/remove subcommands
- runGitCommand, runGitCommandIn helpers
- createRepoStructure (which created .gitignore)
- Repo registration/unregistration functions

Retain getConfiguredRepo() which is needed by layer.go to resolve
configured layer paths from config.
@David-Noble-at-work
David-Noble-at-work merged commit 82fa200 into develop Jan 27, 2026
@David-Noble-at-work
David-Noble-at-work deleted the feature/remove-repo-commands branch January 31, 2026 03:57
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