GithubHelp home page GithubHelp logo

qs's Introduction

Quick source management tool

Installation Prerequisites

gh version > 2.27

git

  • $Git\usr\bin must be in PATH
    • gives yes, grep, sed and other Unix utilities

xclip

For linux additionally: sudo apt install xclip

Installation

go install github.com/untillpro/qs@latest

Basic Usage

Must be run in cloned github repo folder. Path qs.exe should be added to system PATH env variable.

  • qs: show status of current folder

  • qs d : Download sources (git pull)

  • qs u -m [message] : Upload sources (git add + commit + push)

  • qs r : Create release

  • qs g : Shows Git GUI

  • qs -h, qs --help : Help for qs

  • qs -v, qs --verbose : Verbose output

  • qs fork : Forks repo to user's account and creates upstream

  • qs dev repo-name : Make new dev branch with name repo-name Repo-name can be copied as - [Name and Permanent link] from Project Kaiser task. - URL of github issue with issue number. If a buffer contains link on issue number, qs dev creates brnach and links it to github issue

  • qs dev -d : Deletes branches in user's repository, which were accepted & mergred to parent repo

  • qs dev -i, qs dev --ignore-hook : Create developer branch and does not ask to add hook against large files.

  • qs dev -n, qs dev --no-fork : Allows to create developer branch in trunk.

  • qs pr : Create pull request. Title is taken from name of topic in "qs dev" command : If a branch is linked to github issue, qs pr makes a pull request, linked to that issue.

  • qs pr -d, qs pr --draft : Create pull request draft.

  • qs pr merge [PR URL] : Merge pull request.

  • qs upgrade : Shows command to install qs

  • qs version : Shows version of currently installed qs

Note

  • qs u takes comment from clipboard. If current branch is "main/master", and message is empty or very short (<3 symbols), qs willask to enter message. If the message is too short, it shows error:
    ---- Too short comment not allowed! ---

Prevent large commits

Command 'qs dev' creates a developer branch and after success, it shows the following question:

   Git pre-commit hook, preventing commit large files does not exist.
   Do you want to set hook(y/n)?
  • On 'y', qs creates github local pre-commit hook script for current repository.

If local pre-commit hook found, 'qs dev' does not asks to create the hook.

qs's People

Contributors

daniilsolovyov avatar host6 avatar ivvist avatar maxim-ge avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ivvist

qs's Issues

`qs pr` does nothing

qs pr at https://github.com/host6/voedger/tree/1460-voedger-re-implement-1311-take-qnames-from-workspaces:

gdy@GDYW7 MINGW64 /c/workspace/go/voedger (1460-voedger-re-implement-1311-take-qnames-from-workspaces)
$ qs pr -v
03/01 10:28:48.000: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git status -s]
03/01 10:28:48.101: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Go\bin\go.exe [go env GOPATH]
03/01 10:28:48.151: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Go\bin\go.exe [go version -m C:\workspace\go\gopath/bin/qs.exe]
03/01 10:28:48.155: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\grep.exe [grep -i -h mod.*github.com/untillpro/qs]
03/01 10:28:48.158: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\gawk.exe [gawk {print $3}]
03/01 10:28:48.288: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Go\bin\go.exe [go list -m -versions github.com/untillpro/qs]
03/01 10:28:49.058: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh --version]
03/01 10:28:49.152: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh auth status]
03/01 10:28:49.534: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git config --local remote.origin.url]
03/01 10:28:49.538: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\sed.exe [sed s/\.git$//]
03/01 10:28:49.603: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh api repos/host6/voedger --jq .parent.full_name]
03/01 10:28:50.093: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git remote]
03/01 10:28:50.157: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git branch]
03/01 10:28:50.160: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\sed.exe [sed -n /\* /s///p]
03/01 10:28:50.219: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git branch -r]
03/01 10:28:50.223: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\grep.exe [grep /main]
03/01 10:28:50.279: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git remote]
03/01 10:28:50.324: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git fetch upstream]
03/01 10:28:51.087: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git diff --quiet 1460-voedger-re-implement-1311-take-qnames-from-workspaces...upstream/main]
03/01 10:28:51.134: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git status -s]
03/01 10:28:51.179: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git log --pretty=format:%N HEAD ^main]

gdy@GDYW7 MINGW64 /c/workspace/go/voedger (1460-voedger-re-implement-1311-take-qnames-from-workspaces)
$

problems with `qs pr` for bp3 if created from task in Kaiser

qs pr in the branch created when the follwing was in the clipboard:

Strange error in backoffice
https://dev.untill.com/projects/#!685392

causes pr with follwing problems:

  • name Strange error in backoffice https://dev.untill.com/projects/#!685392 #976
  • press Squash and merge button (because building does not start automatically)
    • Strange error in backofficehttps://dev.untill.com/projects/#!685392 (#976) (no space!) commit message is suggested
      • should be Strange error in backoffice (#976) ???
    • details below the suggested commit message contains all commit messages from my branch like go on, misc etc
      • should be:
Strange error in backoffice
https://dev.untill.com/projects/#!685392

or just:

https://dev.untill.com/projects/#!685392

incorrect pull request name "Resolves voedger/voedger#XXX" by default on `qs pr`

https://github.com/voedger/voedger/issues/57 in in the clipboard, qs dev - created branch, made a commit, then qs pr. Created a pull request https://github.com/voedger/voedger/pull/58, just pressed button squash and merge -> commit with message Fixes voedger/voedger#57 (#58) is created, which is wrong. I'm expecting something like air / ACL for Payments. Fixes #57 is suggested as the pull request name. Or add Fixes #57 message in details of the pull request

no error on missing `gh`

no gh installed -> no errors and nothing is made on qs u. Expecting an error.

$ qs u -v
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "remote", "-v"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\grep.exe", []string{"grep", "fetch"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/(fetch)//"}
alisher https://github.com/anurmanov/voedger
maxim-ge        https://github.com/maxim-ge/voedger
origin  https://github.com/host6/voedger
upstream        https://github.com/voedger/voedger
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "status", "-s", "-b", "-uall"}
## 517-use-vql-for-tables-of-voedger...origin/517-use-vql-for-tables-of-voedger
 M pkg/apps/sys/registry/provide.go
 M pkg/sys/authnz/signupin/consts.go
 M pkg/sys/authnz/signupin/provide.go
 M pkg/sys/provide.go
?? pkg/sys/authnz/signupin/schemas.sql
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "status", "-s"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "config", "--local", "remote.origin.url"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/\\.git$//"}
--- GetRepoAndOrgName ok: "repourl:", "https://github.com/host6/voedger", "arr:", []string{"https:", "", "github.com", "host6", "voedger"}, "repo:", "voedger", "org:", "host6"
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "config", "--local", "remote.origin.url"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/\\.git$//"}
--- GetRepoAndOrgName ok: "repourl:", "https://github.com/host6/voedger", "arr:", []string{"https:", "", "github.com", "host6", "voedger"}, "repo:", "voedger", "org:", "host6"
--- PipedExec: "gh", []string{"gh", "api", "repos/host6/voedger", "--jq", ".parent.full_name"}
--------------------------------------------------------------------


Denis@Admin-Note MINGW64 ~/Workspace/voedger (517-use-vql-for-tables-of-voedger)
$ gh
bash: gh: command not found

`qs dev` fails to create a dev branch

https://github.com/untillpro/qs/issues/22 is in the clipboard, standing in upstreammain branch, tracked is remotes/upstream/main of https://github.com/untillpro/airs-bp3, have following remotes:

C:\workspace\go\airs-bp3>qs dev -v
--- PipedExec: "C:\\Program Files\\Git\\bin\\git.exe", []string{"git", "config", "--local", "remote.origin.url"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/\\.git$//"}
--- PipedExec: "C:\\Program Files\\GitHub CLI\\gh.exe", []string{"gh", "api", "repos/host6/airs-bp3", "--jq", ".parent.full_name"}
Dev branch 'https-github-comuntillproqsissues22' will be created. Continue(y/n)? y
--- PipedExec: "C:\\Program Files\\Git\\bin\\git.exe", []string{"git", "config", "--local", "remote.upstream.url"}
--- PipedExec: "C:\\Program Files\\Git\\bin\\git.exe", []string{"git", "branch", "-r"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\grep.exe", []string{"grep", "/master"}
--- PipedExec: "C:\\Program Files\\Git\\bin\\git.exe", []string{"git", "status", "-s"}
--- PipedExec: "C:\\Program Files\\Git\\bin\\git.exe", []string{"git", "checkout", "master"}
Already on 'master'
Your branch is up to date with 'maxim-ge/master'.
--- PipedExec: "C:\\Program Files\\Git\\bin\\git.exe", []string{"git", "pull", "-p", "upstream", "master"}
fatal: couldn't find remote ref master

exit status 1

note: git pull in master branch, tracked is remotes/maxim-ge/master, works w\o errors

qs pr does not work on a different PC

qs dev on one PC, qs pr on another PC -> nothing is made on qs pr:

$ qs pr
gh version 2.27.0 (2023-04-07)
https://github.com/cli/cli/releases/tag/v2.27.0
github.com
  ✓ Logged in to github.com as host6 (keyring)
  ✓ Git operations for github.com configured to use https protocol.
  ✓ Token: gho_************************************
  ✓ Token scopes: gist, read:org, repo, workflow
✓ Synced the "main" branch from host6/voedger to local repository

no errors, pull request is not made

`qs pr` does nothing

airs-bp3, qs dev success, qs pr does nothing

gdy@GDYW7 MINGW64 /c/workspace/go/airs-bp3 (661642-Consecutive-bill-numbers)
$ qs version
qs version v1.48.0

gdy@GDYW7 MINGW64 /c/workspace/go/airs-bp3 (661642-Consecutive-bill-numbers)
$ qs pr -v
10/20 15:03:11.359: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git status -s]
10/20 15:03:11.464: ---: [exec.(*PipedExec).Start:110]: C:\workspace\go\goinstall\bin\go.exe [go env GOPATH]
10/20 15:03:11.584: ---: [exec.(*PipedExec).Start:110]: C:\workspace\go\goinstall\bin\go.exe [go version -m c:/workspace/go/gopath/bin/qs.exe]
10/20 15:03:11.586: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\grep.exe [grep -i -h mod.*github.com/untillpro/qs]
10/20 15:03:11.588: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\gawk.exe [gawk {print $3}]
10/20 15:03:11.759: ---: [exec.(*PipedExec).Start:110]: C:\workspace\go\goinstall\bin\go.exe [go list -m -versions github.com/untillpro/qs]
10/20 15:03:12.453: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh --version]
10/20 15:03:12.557: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh auth status]
10/20 15:03:13.202: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git config --local remote.origin.url]
10/20 15:03:13.203: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\sed.exe [sed s/\.git$//]
10/20 15:03:13.271: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh api repos/host6/airs-bp3 --jq .parent.full_name]
10/20 15:03:13.853: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git remote]
10/20 15:03:13.881: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git branch]
10/20 15:03:13.883: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\sed.exe [sed -n /\* /s///p]
10/20 15:03:13.929: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git branch -r]
10/20 15:03:13.932: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\grep.exe [grep /main]
10/20 15:03:13.977: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git remote]
10/20 15:03:14.002: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git fetch upstream]
10/20 15:03:15.627: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git diff --quiet 661642-Consecutive-bill-numbers...upstream/main]
10/20 15:03:15.664: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git status -s]
10/20 15:03:15.723: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git log --pretty=format:%N HEAD ^main]
10/20 15:03:15.725: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\grep.exe [grep -v ^$]

gdy@GDYW7 MINGW64 /c/workspace/go/airs-bp3 (661642-Consecutive-bill-numbers)
$

exit status 1 on `qs pr` in a branch

nothing in the clipboard, I'm in host6/53-deactivate-workspace branch (probably created manually)

 qs pr -v
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "status", "-s"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "branch", "-r"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\grep.exe", []string{"grep", "/master"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "log", "--pretty=format:'%cd'", "--date=iso", "HEAD", "^main"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\tail.exe", []string{"tail", "-1"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "rev-list", "HEAD", "--after=''2023-04-23 18:49:55 +0200''"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\tail.exe", []string{"tail", "-1"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "notes", "show", "4d4682d5354134ef67b4bdba600e23a96295f2ec"}

exit status 1

I'm expecting pull request creation or explanation what I did wrong

`qs dev` failed if main is behind of remotes/origin/main

$ qs dev
Dev branch for issue #1837 will be created. Agree?(y/n)y
✓ Set host6/airs-bp3 as the default repository for the current directory
From https://github.com/untillpro/airs-bp3
 * branch              main       -> FETCH_HEAD
Already up to date.
From https://github.com/untillpro/airs-bp3
 * branch              main       -> FETCH_HEAD
Merge made by the 'ort' strategy.
 airsbp3/impl.go | 2 +-
 go.mod          | 2 +-
 go.sum          | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
To https://github.com/host6/airs-bp3.git
 ! [rejected]          main -> main (non-fast-forward)
error: failed to push some refs to 'https://github.com/host6/airs-bp3.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. If you want to integrate the remote changes,
hint: use 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

exit status 1

GraphQL: Validation failed: Branch name has already been taken

create a dev branch for https://github.com/voedger/voedger/issues/71 using qs dev, manually delete the just created local and remote branch, qs dev again:

$ qs dev -v
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "config", "--local", "remote.origin.url"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/\\.git$//"}
--- PipedExec: "C:\\Program Files\\GitHub CLI\\gh.exe", []string{"gh", "api", "repos/host6/voedger", "--jq", ".parent.full_name"}
Dev branch for issue #71 will be created. Agree?(y/n)
y
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "config", "--local", "remote.origin.url"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/\\.git$//"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "config", "--local", "remote.origin.url"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/\\.git$//"}
--- PipedExec: "C:\\Program Files\\GitHub CLI\\gh.exe", []string{"gh", "api", "repos/host6/voedger", "--jq", ".parent.full_name"}
--- PipedExec: "C:\\Program Files\\GitHub CLI\\gh.exe", []string{"gh", "repo", "set-default", "host6/voedger"}
✓ Set host6/voedger as the default repository for the current directory
--- PipedExec: "C:\\Program Files\\GitHub CLI\\gh.exe", []string{"gh", "issue", "develop", "71", "--issue-repo=voedger/voedger", "--repo", "host6/voedger"}
GraphQL: Validation failed: Branch name has already been taken (createLinkedBranch)

I'm expecting relinking the branch in this case

Additional improvements

  1. "qs dev" must work only with user fork. So should give error if user tries to make brunch in main/master.
  2. "qs dev —no-fork(-n)" - allows to make branch in main/master
  3. "qs upgrade" – print command "go install github.com/untillpro/qs@latest"
  4. "qs dev", "qs pr" first must check if new version of qs exist and ask to upgrade.

improve merged branches cleaning

Now: qs dev -b works wrong: it suggests to delete branches I could work on
The following workflow would be better:

  • suggest to eliminate each local branch if any of:
    • in main there is a commit with name that is the same as local branch name (consider the branch is merged already)
    • the related issue is closed as not planned
      Delete the main branch and according remotes/origin/<branchName> branch
      Do not suggest to delete local branhc if the according remote branch is missing (current implementation works wrong)

exist status 4 on `qs dev`

https://github.com/voedger/voedger/issues/56 is in the clipboard, the latest qs and gh are installed, I'm in the main branch of my fork, have uncommitted changes, qs dev is executed:

Denis@admin-note MINGW64 /c/Workspace/voedger (main)
$ qs dev -v
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "config", "--local", "remote.origin.url"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\sed.exe", []string{"sed", "s/\\.git$//"}
--- PipedExec: "C:\\Program Files\\GitHub CLI\\gh.exe", []string{"gh", "api", "repos/host6/voedger", "--jq", ".parent.full_name"}

exit status 4

exit status 1 on `qs pr` in the `main` branch

nothing in the clipboard, upstreammain branch of github.com/voedger/voedger:

$ qs pr -v
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "status", "-s"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "branch", "-r"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\grep.exe", []string{"grep", "/master"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "log", "--pretty=format:'%cd'", "--date=iso", "HEAD", "^main"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\tail.exe", []string{"tail", "-1"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "rev-list", "HEAD", "--after=''2023-05-03 14:03:16 +0200''"}
--- PipedExec: "C:\\Program Files\\Git\\usr\\bin\\tail.exe", []string{"tail", "-1"}
--- PipedExec: "C:\\Program Files\\Git\\mingw64\\bin\\git.exe", []string{"git", "notes", "show", "91db59c6c93ce8958a857a644db253c16924e939"}

exit status 1

qs pr in the main branch is senceless so I'm expecting just no errors

qs dev -d suggests to delete a branch that exists in upstream but not exists in origin

I have fix-errors-ignoring branch whose tracked branch is remotes/upstream/fix-errors-ignoring. I'm in the main branch now whose tracked branch is remotes/origin/main. qs dev -d suggests me to delete fix-errors-igoring branch which is wrong.

$ qs dev -d

*** There are no remote branches to delete.
Checking if unused local branches exist...
------------------------------------------
57-air-acl-for-payments
fix-errors-ignoring
------------------------------------------
*** Branches shown above are unused local branches. Delete them all? 'y': agree> 

57-air-acl-for-payments is correct

qs dev opens `vim` text editor

airs-bp3, adapt mocks to new IState https://dev.untill.com/projects/#!687223 is in the clipboard, orogin/main needs to be updated from upstream/main, qs dev opens vim text editor:

 qs dev -v
03/28 18:42:13.007: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git status -s]
03/28 18:42:13.054: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Go\bin\go.exe [go env GOPATH]
03/28 18:42:13.085: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Go\bin\go.exe [go version -m C:\Workspace\gopath/bin/qs.exe]
03/28 18:42:13.087: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\grep.exe [grep -i -h mod.*github.com/untillpro/qs]
03/28 18:42:13.089: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\gawk.exe [gawk {print $3}]
03/28 18:42:13.139: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Go\bin\go.exe [go list -m -versions github.com/untillpro/qs]
03/28 18:42:13.442: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh --version]
03/28 18:42:13.504: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh auth status]
03/28 18:42:13.857: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git config --local remote.upstream.url]
03/28 18:42:13.873: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\mingw64\bin\git.exe [git config --local remote.origin.url]
03/28 18:42:13.875: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\Git\usr\bin\sed.exe [sed s/\.git$//]
03/28 18:42:13.894: ---: [exec.(*PipedExec).Start:110]: C:\Program Files\GitHub CLI\gh.exe [gh api repos/host6/airs-bp3 --jq .parent.full_name]
Dev branch '687223-adapt-mocks-to-new-IState' will be created. Continue(y/n)? y

image
quit vim without saving and the qs dev finishes successfuly

Incorrect `qs dev` behaviour on issue from a different repo in the clipboard

in the local upstreammain branch, tracked branch is https://github.com/untillpro/airs-bp3/tree/main, have https://github.com/voedger/voedger/issues/53 in the clipboard:

$ qs dev
Dev branch 'https-github-comvoedgervoedgerissues53' will be created. Continue(y/n)? 
$ qs dev https://github.com/voedger/voedger/issues/53
Dev branch 'https-github-comvoedgervoedgerissues53' will be created. Continue(y/n)? 

I'm expecting 53-deactivate-workspace branch name is suggested +the branch is mentioned at https://github.com/voedger/voedger/issues/53

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.