spr VS git-bug

Compare spr vs git-bug and see what are their differences.

spr

Stacked Pull Requests on GitHub (by ejoffe)

git-bug

Distributed, offline-first bug tracker embedded in git, with bridges (by MichaelMure)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
spr git-bug
10 57
661 8,013
- -
6.7 6.5
12 days ago 20 days ago
Go Go
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of spr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-21.
  • Stacked Pull Requests on GitHub
    1 project | news.ycombinator.com | 17 Apr 2024
  • Your GitHub pull request workflow is slowing everyone down
    1 project | news.ycombinator.com | 23 Feb 2024
    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
    12 projects | news.ycombinator.com | 21 Nov 2023
    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
    4 projects | news.ycombinator.com | 27 Mar 2023
    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
    3 projects | /r/programming | 2 Nov 2022
    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
    2 projects | news.ycombinator.com | 21 Mar 2022
    Another tool to look out for: https://github.com/ejoffe/spr
  • Code Review Decision Fatigue
    2 projects | news.ycombinator.com | 14 Mar 2022
    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.
    1 project | /r/github | 21 Feb 2022
  • 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.
    1 project | /r/github | 23 Jul 2021
  • 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.
    1 project | /r/github | 22 Jul 2021

git-bug

Posts with mentions or reviews of git-bug. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-30.
  • Radicle: Peer-to-Peer Collaboration with Git
    3 projects | news.ycombinator.com | 30 Mar 2024
    Unfortunately github appears to be actively breaking the ability to use git-bug on large repositories (like nixpkgs):

    https://github.com/MichaelMure/git-bug/issues/749#issuecomme...

  • Nintendo emulator 'Suyu' removed from Gitlab following DMCA request
    1 project | news.ycombinator.com | 22 Mar 2024
    True but getting less true by the day:

    https://github.com/MichaelMure/git-bug

    https://www.fossil-scm.org/home/doc/trunk/www/index.wiki

  • CRDTs Turned Inside Out
    2 projects | news.ycombinator.com | 25 Jan 2024
  • Sourcehut and Codeberg are both currently experiencing a DDoS attack
    5 projects | news.ycombinator.com | 12 Jan 2024
    Only not having access to https://todo.sr.ht made me to recognize fully, that I don’t have any access to it. https://github.com/MichaelMure/git-bug suddenly looks much more interesting.
  • Gothub: Alternative front-end for GitHub written with Go
    5 projects | news.ycombinator.com | 1 Sep 2023
    Neither do the issues support. But there is git-bug [0].

    [0]: https://github.com/MichaelMure/git-bug

  • git-appraise – Distributed Code Review for Git
    13 projects | news.ycombinator.com | 10 Aug 2023
    As a sort of spiritual successor to git-appraise, I've been working on git-bug[1] which support issues and will at some point support kanban and code review. There is a few notables improvements:

    - CRDT-like reusable data structure [2][3] for true p2p workflow and easily create new entities (code review ...)

    - bidirectional bridges to github, gitlab ... to ease the transition or just use git-bug as a complement of those platform

    - CLI, terminal UI and web UI, for different taste and integrate into your tooling/workflow

    [1]: https://github.com/MichaelMure/git-bug

    [2]: https://github.com/MichaelMure/git-bug/blob/master/doc/model...

    [3]: https://github.com/MichaelMure/git-bug/blob/master/entity/da...

  • Show HN: Gitopia: Decentralized GitHub Alternative for Open Source Collaboration
    2 projects | news.ycombinator.com | 28 Jun 2023
    > but that is for the development of the platform and network of Gitopia. For the end user the workflows remain almost the same for collaboration.

    I have to disagree here. Accidental complexity in a system can have severe downstream impacts on end users, whether that be in the form of poor performance, unreliability, or just slow update cycles. It's not something you can paper over and completely hide from the user.

    > Along with this the blockchain layer layer offers immutable, transparent and tamper proof versioning of code

    Tamper-proof can be accomplished natively by signing [0]. receive.denyNonFastForwards and receive.denyDeletes[1] can be used to make a git repository immutable. Git commits are also already content-addressable. And transparency is achieved by just having the repo available for people to clone.

    > along with the collaboration meta and augments the current collaboration flow

    Could this augmentation not be accomplished by storing the collaboration information in the repo under a set of special-purpose branches? Like git-bug[2] or git-issue[3]? Coupled with GPG signatures and you've got your immutability, too!

    > Along with this it enables us to provide a novel means to incentivize open-source contributions along with fostering a more decentralized approach for governance (even for projects), every token holder could have a say in the decision making, reducing the risk of undue influence by a single party, hence eliminating centralized control.

    This one I'll grant you, but it's by far the least compelling aspect of the project to me. I don't think we're going to solve the centralization of GitHub by centralizing on a new plutocracy, I'd much rather see efforts towards full decentralization. There's nothing inherent to Git that requires that we all use the same set of servers.

    [0] https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work

    [1] https://git-scm.com/book/en/v2/Customizing-Git-Git-Configura...

    [2] https://github.com/MichaelMure/git-bug

    [3] https://github.com/dspinellis/git-issue

  • So, I went down the rabbit hole of buying GitHub Stars, so you won't have to
    4 projects | news.ycombinator.com | 1 Jun 2023
    Regarding the issues, there are some projects like git-bug https://github.com/MichaelMure/git-bug trying to embed these sorts of meta-work into git.
  • Let's Make Sure Github Doesn't Become the only Option
    9 projects | /r/programming | 2 May 2023
    Probably git-bug is closer to what Fossil does: It uses Git as a storage engine, and can coexist with your code in the same physical repository, but the issues don't actually show up as source files. Instead, each issue is a special branch (buried in refs so it won't clutter up git branch) that has zero common ancestry with anything else. So in theory you can poke at it with Git, but really, the Git under the hood is mostly an implementation detail, and as long as you interact with those files through the tool, it guarantees you won't have merge conflicts.
  • Clocks and Causality – Ordering Events in Distributed Systems
    1 project | news.ycombinator.com | 2 Apr 2023
    You might be interested by git-bug and https://github.com/MichaelMure/git-bug/blob/master/doc/model..., which seems to be exactly what you describe. (Disclaimer: author).

What are some alternatives?

When comparing spr and git-bug you can also consider the following projects:

git-stack - Stacked branch management for Git

git-issue - Git-based decentralized issue management

typeformer - A typescript code terraformer

EdenSCM - A Scalable, User-Friendly Source Control System. [Moved to: https://github.com/facebook/sapling]

acyl - Testing Environments On Demand

nessie - Nessie: Transactional Catalog for Data Lakes with Git-like semantics

jj - A Git-compatible VCS that is both simple and powerful

Kaiserreich-4-Bug-Reports - Issue tracker for Kaiserreich for Hearts of Iron 4

soft-serve - The mighty, self-hostable Git server for the command line🍦

dolt - Dolt – Git for Data

cli - GitHub’s official command line tool

gumtree - An awesome code differencing tool