cargo-release VS git-stack

Compare cargo-release vs git-stack and see what are their differences.

cargo-release

Cargo subcommand `release`: everything about releasing a rust crate. (by crate-ci)

git-stack

Stacked branch management for Git (by epage)
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
cargo-release git-stack
11 12
1,245 10
1.3% -
9.1 3.9
2 days ago 7 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
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.

cargo-release

Posts with mentions or reviews of cargo-release. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-23.
  • Changelog-Driven Releases
    5 projects | news.ycombinator.com | 23 Apr 2024
    My problem with maintaining a changelog during development is it can serve as a source of merge conflicts. Instead, I follow Covnentional Commit style and manually write my changelog entries based on the commits. I have a tool [0] that can show me the relevant commits for a package in my repo and automates the entire release process, including doing sanity checks.

    I also feel like releasing from CI is hard, especially if you have multiple packages in a repo [1], including

    - You can't as easily introspect the process

    - You can't as easily recover from failure

    - Getting a lot of the nuance right, like handling releases concurrent to merging of PRs, is difficult

    - When the workflow is an ever-present "release PR" that you merge when ready has issues with selecting which packages to release and at what version

    I have been considering making a tool to generate changelogs from fragments. Been keeping notes at https://github.com/epage/epage.github.io/issues/23

    [0]: https://github.com/crate-ci/cargo-release

    [1]: https://github.com/MarcoIeni/release-plz/discussions/1019

  • Oxlint – written in Rust – 50-100 Times Faster than ESLint
    13 projects | news.ycombinator.com | 15 Dec 2023
    You should combine step 1 and 2 with CI. Just tag a version in your git, push to remote and have CI auto build a release for you.

    Use github actions or other setup for other backends.

    Or go nuts with cargo-release.

    https://github.com/crate-ci/cargo-release

    https://github.com/cargo-bins/release-pr

  • Rust 2030 Christmas list: Subcrate dependencies
    6 projects | /r/rust | 24 Jan 2023
    tools like cargo-release
  • `toml` vs `toml_edit` (ie `toml` 0.6 is out)
    5 projects | /r/rust | 23 Jan 2023
    Just to check, are you aware of cargo-edit's cargo-set-version or cargo-release?
  • What's everyone working on this week (45/2022)?
    9 projects | /r/rust | 7 Nov 2022
    I released my first crate that provides a derive macro to easily obtain a name of a current variant in an enum as a string. I did it mostly to learn about procedural macros and the process of releasing a crate. I then found out there is strum which does this and much more. Nonetheless, I learned a lot and I found couple of nice tools like ```cargo-release and git-cliff.
  • cargo-release v0.22 is out!
    1 project | /r/rust | 21 Oct 2022
  • A GitHub Action for creating "Release PRs" for Cargo projects.
    3 projects | /r/rust | 5 Sep 2022
    I'll note there is an issue in the cargo-release repo where this kind of workflow is wanted. https://github.com/crate-ci/cargo-release/issues/119
  • [Gitoxide December Update]: a new object database and upcoming multi-pack index support
    5 projects | /r/rust | 21 Jan 2022
    cargo-release is on about the same level of features used
  • cargo-release v0.19
    1 project | /r/rust | 7 Jan 2022
    cargo-release automates the release process for your crate. For example, with clap, all I do is add entries to the CHANGELOG and run cargo release patch and cargo-release takes care of updating files, publishing to crates.io, tagging, and pushing.
  • Introducing `cargo smart-release` - the new way to release workspace crates
    3 projects | /r/rust | 13 Aug 2021
    Yes, developers from all three tools were sharing ideas with each other recently

git-stack

Posts with mentions or reviews of git-stack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-21.
  • [Gitoxide December Update]: a new object database and upcoming multi-pack index support
    5 projects | /r/rust | 21 Jan 2022
    git-stack is the most complicated, rewriting history, detecting when a branch was squashed, etc
  • Lazygit: A simple terminal UI for Git commands
    12 projects | news.ycombinator.com | 30 Nov 2021
    I used to use aliases but got frustrated with them when dealing with PRs depending on PRs, so I wrote git-stack [0]. Thought I'd share in case you'd find it useful

    [0] https://github.com/epage/git-stack/blob/main/docs/reference....

  • Stacked changes: how FB and Google engineers stay unblocked and ship faster
    12 projects | news.ycombinator.com | 17 Nov 2021
    For anyone interested, I've been collecting notes on various tools in this space: https://github.com/epage/git-stack/blob/main/docs/comparison... (granted the page doesn't mention git-stack since that is assumed)
  • Good strategy to follow for small incremental pull request
    1 project | /r/git | 17 Nov 2021
    Personally, I rebase my PR branches on top of each other, rather than merge. It creates a cleaner history (if your merge policy allows maintaining branch history). Tired of managing these branches, I wrote a tool to help though there are other tools in this space, like git-branchless and graphite.
  • Lightning-fast rebases with Git-move
    7 projects | news.ycombinator.com | 17 Oct 2021
    git-move and git-branchless do some great stuff, I wish this wasn't focused on the performance side to distract from the real value.

    What I find useful is not the performance but this line

    > For example, it can move entire subtrees, not just branches

    The referenced docs mention other great quality of life improvements that streamline standard workflows (e.g. deleting local PR branches when merged into upstream)

    When performance does matter is when the rebase operation is a small part of a larger operation. In my related tool, git-stack [0], I rebase all branches on top of their latest upstream branches along with re-arranging and squashing fixup commits and soon other features. When automating entire workflows, having each part be fast is important for the whole to still have decent performance.

    [0] https://github.com/epage/git-stack

  • Continuous Integration with Github Actions and Rust
    4 projects | /r/rust | 20 Sep 2021
    audit for security audits - Separate from regular CI since it only matters for specific changes or when new critical issues come out.
  • My favorite git aliases
    1 project | /r/programming | 3 Sep 2021
    You might be interested in git-stack that I've previously announced
  • git-stack: Request for feedback / testers
    2 projects | /r/rust | 18 Aug 2021
    Could you comment on https://github.com/epage/git-stack/issues/25 for why it helps to iterate to find the last non-conflicting commit to rebase onto?
    1 project | /r/git | 18 Aug 2021
    git-stack is the result of me being tired of annoyances in the PR workflow and trying to improve it, like
  • git-stack: Stacked branch management for Git
    2 projects | /r/programming | 18 Aug 2021
    Fixing branches off of branches when applying a fixup commit (not implemented yet)

What are some alternatives?

When comparing cargo-release and git-stack you can also consider the following projects:

Rustup - The Rust toolchain installer

ghstack - Submit stacked diffs to GitHub on the command line

just - 🤖 Just a command runner

lazygit.nvim - Plugin for calling lazygit from within neovim.

cargo-make - Rust task runner and build tool.

graphite-cli - Graphite's CLI makes creating and submitting stacked changes easy.

Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

git-branchless - High-velocity, monorepo-scale workflow for Git

cargo-ebuild - cargo extension that can generate ebuilds using the in-tree eclasses

feedback - Public feedback discussions for: GitHub for Mobile, GitHub Discussions, GitHub Codespaces, GitHub Sponsors, GitHub Issues and more! [Moved to: https://github.com/github-community/community]

cargo-modules - Visualize/analyze a Rust crate's internal structure

GitUp - The Git interface you've been missing all your life has finally arrived.