spr VS cli

Compare spr vs cli and see what are their differences.

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 cli
10 254
661 35,528
- 1.2%
6.7 9.7
13 days ago 6 days ago
Go Go
MIT License MIT License
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

cli

Posts with mentions or reviews of cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-05.
  • Tools that keep me productive
    14 projects | dev.to | 5 May 2024
    GitHub CLI - GitHub on the command line. Great for creating PRs, etc.
  • The power of the CLI with Golang and Cobra CLI
    9 projects | dev.to | 6 Apr 2024
    This package is widely used for powerful CLI builds, it is used for example for Kubernetes CLI and GitHub CLI, in addition to offering some cool features such as automatic completion of shell, automatic recognition of flags (the tags) , and you can use -h or -help for example, among other facilities.
  • pyaction 4.28.0 Released
    3 projects | dev.to | 16 Feb 2024
    This Docker image is designed to support implementing Github Actions with Python. As of version 4.0.0., it starts with the official python docker image as the base which is a Debian OS. It specifically uses python:3-slim to keep the image size down for faster loading of Github Actions that use pyaction. On top of the base, we've installed curl gpg, git, and the GitHub CLI. We added curl and gpg because they are needed to install the GitHub CLI, and they may come in handy anyway (especially curl) when implementing a GitHub Action.
  • The Ladybird Browser Project
    8 projects | news.ycombinator.com | 6 Feb 2024
    You might be interested in GitHub's cli tool, which is open source, if you want to access GitHub without running their proprietary JS code.

    https://cli.github.com/

  • Ok Boomer! Instant GitHub Repo Creation in One Command 🚀
    1 project | dev.to | 1 Feb 2024
    👉 Note: This script uses the GitHub CLI. So make sure you've installed that if you haven't already. Instructions here.
  • Essential Command Line Tools for Developers
    29 projects | dev.to | 15 Jan 2024
    View on GitHub
  • NixOS has one fatal flaw
    3 projects | news.ycombinator.com | 15 Dec 2023
    (Context: I'm pretty thick into Nix, and have been for about four years. Most of this post is focussed on the NixOS desktop experience, so DevOps nerds, ymmv.)

    Unpopular opinion: Nix is not that hard.

    What's "hard" from a nix-promotion strategy is motivating people to understand why they would want the benefits it offers. Mostly because Nix, especially with home-manager, dramatically worsens UX for several day-to-day tasks, simply by violating the Law of Least Surprise every couple of hours in normal use.

    I want a fully idempotent, version-locked, rewindable user environment, with a version-controlled central config, because I have half a dozen devices that, for reasons, I need to keep perfectly interchangeable with one another. Most users do not want this, for the simple fact that mutating their configs and differentiating them locally on specific machines is not a bug, but a feature.

    Even more than that, it's an expectation that most software developers share as well.

    Case in point: I filed a bug against the GitHub CLI last week. If any org has the scope and motivation to build software that's compatible with NixOS, an OS most of whose users are developers, it should be GitHub, which is, at least notionally, all about developers, developers, developers. A change in GH required a config format migration, which was sensibly done by opening the config .yml and rewriting it.

    Of course, this breaks NixOS not just in practice but in principle. NixOS/home-manager makes config files read-only. Surprise! https://github.com/cli/cli/issues/8462

    The response from GitHub was basically, "yeah, we knew this was going to happen, we mentioned it to the packagers at NixOS, but we did it anyway, because it was still the best way to proceed for us." (And they weren't wrong.)

    Now, once a month is an annoyance, but I run into these problems daily. I can't imagine any sane person -- which I am not -- would persist with using it.

    Why do I keep using NixOS, then? Because I am terribly and disproprotionately annoyed by small changes in my user experience, which I find disruptive to my workflow and hence threaten my success. For me, forbidding apps from mutating the config files I established for them is a selling point. Being able to version-control an idempotent declarative config for all of them at once is heaven.

    Unless you're like me, you'll hate NixOS. But some were meant for Nix.

    Because

  • How do you handle secret rotation in kubernetes (i. e. with github access tokens)
    1 project | /r/kubernetes | 9 Dec 2023
    To use a proper dynamic auth for ghcr.io you can create a "credential helper" and then it is supported by flux, see here: https://fluxcd.io/flux/cheatsheets/oci-artifacts/#authentication Unfortunately the "official" credential helper for ghcr.io doesn't exist. I use this simple script as a helper: https://gist.github.com/pkit/a98411d21ecc9293066f4579088187d1 Which requires gh cli to be installed.
  • pyaction 4.27.0 Released
    2 projects | dev.to | 8 Dec 2023
    This Docker image is designed to support implementing Github Actions with Python. As of version 4.0.0., it starts with the official python docker image as the base which is a Debian OS. It specifically uses python:3-slim to keep the image size down for faster loading of Github Actions that use pyaction. On top of the base, we've installed curl gpg, git, and the GitHub CLI. We added curl and gpg because they are needed to install the GitHub CLI, and they may come in handy anyway (especially curl) when implementing a GitHub Action.
  • Everything I install and set up on a new MacBook as a web developer
    6 projects | dev.to | 5 Dec 2023
    Two CLI tools I install right away are the GitHub CLI (via brew) and the Netlify CLI (via npm).

What are some alternatives?

When comparing spr and cli you can also consider the following projects:

git-stack - Stacked branch management for Git

cobra - A Commander for modern Go CLI interactions

typeformer - A typescript code terraformer

gh.vim - Vim/Neovim plugin for GitHub

acyl - Testing Environments On Demand

glab - The GitLab CLI tool. Archived: now officially adopted by GitLab as the official CLI tool and maintained at https://gitlab.com/gitlab-org/cli. See https://github.com/profclems/glab/issues/983

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

vscode-dev-containers - NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!

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

octo.nvim - Edit and review GitHub issues and pull requests from the comfort of your favorite editor

sapling - A Scalable, User-Friendly Source Control System.

cockroach - CockroachDB - the open source, cloud-native distributed SQL database.