spr
soft-serve
spr | soft-serve | |
---|---|---|
10 | 48 | |
661 | 4,866 | |
- | 3.9% | |
6.7 | 9.0 | |
13 days ago | 9 days ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spr
- Stacked Pull Requests on GitHub
-
Your GitHub pull request workflow is slowing everyone down
Graphite is neat. If you want something lighter-weight, spr[1] is also worth taking a look at as an entirely client-side "solution" to PR stacking.
Unfortunately, it is very hard to build good code review tooling on top of GitHub due to the severe impedance mismatch between the two models as well as GitHub API limitations and rate limits. That mismatch cannot be fully resolved (branches vs. patches) and results in constant friction, and you end up trusting a third party with full control over your repositories and approval workflows.
Graphite is the best attempt I've seen so far, but it still doesn't come anywhere close to Gerrit[2], which simply uses plain Git commits. Every commit becomes a review, and stacking is accomplished by simply pushing multiple commits. No custom tooling required - just `git push`.
It has very, very good code review UX and allows meaningful and in-depth back-and-forth during a code review, without losing context or having to re-review the entire diff. Once you're past the initial learning curve, it is blissful.
Gerrit is open source and it's what Google uses for many of their public projects such as Chromium and Android, and it is quite easy to self-host. It is entirely built on JGit and even stores code reviews as Git commits alongside the repositories.
If you want to give it a try - there's a well-maintained public instance, Gerrithub[3], operated by Gerritforge. Many open source projects use it.
[1]: https://github.com/ejoffe/spr
[2]: https://www.gerritcodereview.com/
[3]: https://gerrithub.io
-
I (kind of) killed Mercurial at Mozilla
The CLI doesn't help with stacked commits, though. There's tools like spr[1] but none of them are anywhere as pleasant to use as Gerrit (or Phabricator, I guess).
[1]: https://github.com/ejoffe/spr
-
GitHub's Down
Haven't tried this one but Reviewable and Graphite. They're all very nice and yours looks nice also. The problem with all these third party SaaS-es on top of GitHub:
- You have to trust a random (no offense meant!) SaaS company with wide-ranging access to your repository.
- GitHub API rate limits end up causing issues sooner or later. For instance, Reviewable would randomly break and ask you to add more admin users so it could load balance API requests across multiple accounts!
- Likewise, you are still forced into the PR model and things that are trivial in Gerrit, like stacked diffs, are still hard. spr helps[1], but at that point you are piling workarounds on top of workarounds, might as well use a tool that supports the workflow natively...
[1]: https://github.com/ejoffe/spr
-
PR that converts the TypeScript repo from namespaces to modules
But, probably better to use https://github.com/ejoffe/spr (which I found many months after writing the create-stack script). Though, in this particular PR's case, it would have been a lot of work to preserve the commit IDs in the commit messages thanks to its generated nature; if you have a stack produced by hand, it'd work a lot better because a human is editing the PR and its description.
-
Git-stack: Stacked branch management for Git
Another tool to look out for: https://github.com/ejoffe/spr
-
Code Review Decision Fatigue
I've heard good things from our customers about spr for GitHub (https://github.com/ejoffe/spr). It extends git with useful commands and hooks directly into GitHub PRs. We'll be adding some direct support for the tool in Reviewable shortly.
- Simple and straight forward helper to stack pull requests.
- If you love the Gerrit style workflow, checkout SPR, a simple tool to stack pull requests and achieve Gerrit like flow on GitHub without any server side scripts or bots.
- If you love the Gerrit style workflow, checkout SPR, a simple tool to stack pull requests and achieve Gerrit like flow on GitHub without an server side changes of bots.
soft-serve
-
Ask HN: Hosting a CLI Tool via SSH?
If you need an open source example to use as a template you might want to take a look at soft serve: https://github.com/charmbracelet/soft-serve
- Self-hosted Git services: You don't need a huge GitLa, Gitea... just cgit!
-
Host a CLI based Git server for your homelab
Good call! The actual project lives at: https://github.com/charmbracelet/soft-serve
-
How to host your own command line based Git server.
with docker: https://github.com/charmbracelet/soft-serve/blob/main/docker.md
- Soft-serve: A tasty, self-hostable Git server for the command line
-
GitHub's Down
If you're into self hosting, soft-serve is a really cool terminal based git server from Charmbracelet
https://github.com/charmbracelet/soft-serve
- Lightweight TUI alternative to github/lab/tea
What are some alternatives?
git-stack - Stacked branch management for Git
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
typeformer - A typescript code terraformer
onedev - Git Server with CI/CD, Kanban, and Packages. Seamless integration. Unparalleled experience.
acyl - Testing Environments On Demand
wish - Make SSH apps, just like that! đź’«
jj - A Git-compatible VCS that is both simple and powerful
Gogs - Gogs is a painless self-hosted Git service
cli - GitHub’s official command line tool
sshwordle - Terminal based wordle clone
sapling - A Scalable, User-Friendly Source Control System.
docker-gitlab - Dockerized GitLab