Rename to git-stack
This commit is contained in:
parent
331ff0d20c
commit
33f6c621b8
|
@ -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",
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
12
src/main.rs
12
src/main.rs
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue