Rename to git-stack

This commit is contained in:
Olivier 'reivilibre' 2022-12-02 18:52:14 +00:00
parent 331ff0d20c
commit 33f6c621b8
4 changed files with 11 additions and 11 deletions

2
Cargo.lock generated
View File

@ -318,7 +318,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "gh-stack" name = "git-stack"
version = "0.3.0" version = "0.3.0"
dependencies = [ dependencies = [
"clap", "clap",

View File

@ -1,9 +1,9 @@
[package] [package]
name = "gh-stack" name = "git-stack"
version = "0.3.0" version = "0.3.0"
authors = ["Timothy Andrew <mail@timothyandrew.net>, Luis Ball <luqven@gmail.com>"] authors = ["Timothy Andrew <mail@timothyandrew.net>, Luis Ball <luqven@gmail.com>, Olivier 'reivilibre' <olivier@librepush.net>"]
license = "MIT" license = "MIT"
repository = "https://github.com/luqven/gh-stack" repository = "https://git.emunest.net/reivilibre/git-stack"
readme = "README.md" readme = "README.md"
edition = "2021" edition = "2021"
description = "Manage stacked PR workflows on Github" description = "Manage stacked PR workflows on Github"

View File

@ -5,7 +5,7 @@ Wishes:
- [ ] make it play nicely with a workflow that uses 'squash merges' for PRs - [ ] make it play nicely with a workflow that uses 'squash merges' for PRs
- [ ] preserve info about bases/stack even after first PRs have been merged - [ ] preserve info about bases/stack even after first PRs have been merged
- [ ] alternative to autorebase that doesn't force-push unchanged PRs (thus invalidating reviews) - [ ] alternative to autorebase that doesn't force-push unchanged PRs (thus invalidating reviews)
- [ ] rename to git-stack so that we can eventually support other code forges and also fit into git aliases more easily. - [x] rename to git-stack so that we can eventually support other code forges and also fit into git aliases more easily.
Potential wishes: Potential wishes:

View File

@ -6,11 +6,11 @@ use std::env;
use std::error::Error; use std::error::Error;
use std::rc::Rc; use std::rc::Rc;
use gh_stack::api::PullRequest; use git_stack::api::PullRequest;
use gh_stack::graph::FlatDep; use git_stack::graph::FlatDep;
use gh_stack::util::loop_until_confirm; use git_stack::util::loop_until_confirm;
use gh_stack::Credentials; use git_stack::Credentials;
use gh_stack::{api, git, graph, markdown, persist}; use git_stack::{api, git, graph, markdown, persist};
fn clap<'a, 'b>() -> App<'a, 'b> { fn clap<'a, 'b>() -> App<'a, 'b> {
let identifier = Arg::with_name("identifier") let identifier = Arg::with_name("identifier")
@ -93,7 +93,7 @@ fn clap<'a, 'b>() -> App<'a, 'b> {
.arg(exclude.clone()) .arg(exclude.clone())
.arg(identifier.clone()); .arg(identifier.clone());
let app = App::new("gh-stack") let app = App::new("git-stack")
.setting(AppSettings::SubcommandRequiredElseHelp) .setting(AppSettings::SubcommandRequiredElseHelp)
.setting(AppSettings::DisableVersion) .setting(AppSettings::DisableVersion)
.setting(AppSettings::VersionlessSubcommands) .setting(AppSettings::VersionlessSubcommands)