Repository navigation
revision: A lazygit-style TUI for SVN #1768
bapatchirag
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Demo GIF
After working with git with lazygit for a long time, I had to start using SVN at work. And after getting accustomed to lazygit and TUIs, I was looking for a similar tool for SVN, but for Linux.
After trying a few, I thought it might be fun to create one from scratch. And so - revision. A lazygit-style TUI for SVN. revision gives you a fast, keyboard-driven interface over the svn command line: review changes, stage with changelists, commit, update, and browse history without leaving your terminal.
revisionis layered so the UI never knows about SVN:internal/tuiholds domain-agnostic Bubble Tea components - theme, keymap, focus, layout - and is forbidden from importing thesvnorapppackages, with a guard test failing the build if it ever does.internal/appis the only layer that knows both sides, adapting parsedsvn --xmloutput into components and arranging the lazygit-style layout. Every component carries a compile-time interface assertion, a golden test overView(), and ateatestharness driving it as a real program - which is also how the screenshots on the docs site are generated: they're the app's own rendered output read straight from the golden files, not images.A single binary with no dependencies, it uses the already installed svn binary on your machine (MacOS/Linux).
curl -fsSL https://raw.githubusercontent.com/bapatchirag/revision/main/install.sh | shor with go:
go install github.com/bapatchirag/revision/cmd/revision@latestAll usage information is available on the doc pages here: https://bapatchirag.github.io/revision/.
Looking forward to seeing what the community makes of it! Feel free to raise issues/PRs for any enhancements, bugs or features that one may want/encounter here: https://github.com/bapatchirag/revision.
All reactions