gitkraken / gk-cli Goto Github PK
View Code? Open in Web Editor NEWGitKraken CLI Releases and Documentation
Home Page: https://www.gitkraken.com
License: Other
GitKraken CLI Releases and Documentation
Home Page: https://www.gitkraken.com
License: Other
Please check the PDF file attached and answer the following:
Our internal security scanning found this vulnerability. we would like Atlassian to go thru the findings (attached PDF) and response us back:
a. Do you accept the finding/is it valid?
a. If so, what is the remediation plan, timeline, and was an internal ticket opened that we could reference?
b. If not, provide justification.
4.1.1
No response
No response
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is it possible to build this from source? Binaries for macOS are only for aarch64 and x86_64, there are none for PowerPC or i386.
Is your feature request related to a problem? Please describe.
There's no documented way to log in to gk
on a terminal-only system (i.e. that has no browser).
Describe the solution you'd like
I'd like the documentation of the gk login
command to include instructions on how to log in to gk
using the terminal, and possibly another system where a token can be obtained using a browser.
Describe alternatives you've considered
Disassembling the executable to find the flags of the gk login
command.
Additional context
On a terminal only system, calling gk login
fails silently with no comment/warning/error.
I confirmed that I can manually clone, pull, push from the single repositories (I do it on a daily basis). It is just the cloud workspace feature which is not working.
If there is any additional setting that our IT department need to do on the GitHub side, please let us know.
9.13.0
git version 2.44.0.windows.1
I've just installed the CLI on my Ubuntu WSL2, logged in with a PRO subscription, gave oAuth permissions to Gitkraken on my GitHub account and in the organization I'm in.
Most commands return the error message
Error: Something went wrong
invalid credentials
1.5.1
Windows 11 Pro, version 10.0.22631 Build 22631 with WLS2
Ubuntu 22.04.4
x86_64
git version 2.43.2
A go error happens when trying to ls pr from bitbucket server
2.01
windows 10
git version 2.36.1.windows.1
PS C:\xxxx\gir_repo>gk pr view
Workspace: Data Engineering
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x98 pc=0x142f30b]
goroutine 77 [running]:
github.com/gitkraken/cli/pkg/infrastructure/domain.PullRequestRestRepository.listFromRepos.func1.1(0x1, {{0x0, 0x0}, {0x0, 0x0}, {0xc000784380, 0x20}, {0x0, 0x0}, {0xc0007ce473, ...}, ...})
/Users/runner/work/cli/cli/pkg/infrastructure/domain/pull_request_rest_repository.go:174 +0x6ab
created by github.com/gitkraken/cli/pkg/infrastructure/domain.PullRequestRestRepository.listFromRepos.func1 in goroutine 8
/Users/runner/work/cli/cli/pkg/infrastructure/domain/pull_request_rest_repository.go:146 +0x453
gk focus
commandPS D:\dev\Elkiwa\Main> gk settings
- Default workspace: ScoopInstaller
- Max display items: 30
- Max concurrency: 3
- Clone protocol: ssh
- Open default:
1.2.2
git version 2.43.0.windows.1
PS D:\dev\Elkiwa\Main> gk focus
Using default workspace: ScoopInstaller
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x40 pc=0x18cb134]
goroutine 1 [running]:
github.com/gitkraken/cli/pkg/infrastructure/domain.UserRestRepository.GetProviderUserInfo({{_, _}, {_, _}, {_, _}, {_, _}}, {{0xc000031050, 0x24}, ...}, ...)
/Users/runner/work/cli/cli/pkg/infrastructure/domain/user_rest_repository.go:94 +0xf4
github.com/gitkraken/cli/pkg/cmd/focus.NewCmdFocus.func2(0xc000144000, {0x1b7115b?, 0x4?, 0x1b71083?})
/Users/runner/work/cli/cli/pkg/cmd/focus/focus.go:69 +0x448
github.com/spf13/cobra.(*Command).execute(0xc000144000, {0x375c5e0, 0x0, 0x0})
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916 +0x87c
github.com/spf13/cobra.(*Command).ExecuteC(0xc000145500)
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
github.com/spf13/cobra.(*Command).ExecuteContext(0xc000122db0?, {0x2b0df88?, 0x375c5e0?})
/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:961 +0x47
main.main()
/Users/runner/work/cli/cli/cmd/gk/main.go:55 +0x63a
Hello,
For your information, this project has been packaged to nixpkgs
After the merge of this PR, it will be more easier for any Nix user to use your package
nix-shell --packages gk-cli
In order to be available on more systems, i would like to know, which ARM the Linux_arm.zip file targets : ARMv6 or ARMv7 or other ?
Just installed cli. Shell is zsh.
Created a workspace and wanted to add a number of repos to it.
Because I have many repos I figured I loop over a directory where all my repos are sitting in.
Setup default ws: gk ws switch
(Your default workspace is now xxxx)
Loop through folders:
find . -maxdepth 1 -type d -exec gk ws -s add-repo {} \;
(example output: gk ws -s add-repo ./folder_name
)
Yet I get asked each time which ws I want to use. I tried the long version of -s
and also on different places (before ad-repo
and after). Its a local ws.
Pressing enter to confirm selection works (I only have 1 ws currently) and adds repo correctly.
Is this the intended behavior? I assume the command uses my "currently in use ws" (hence from switch).
1.3.0
Mac
2.43.0
brew info gitkraken-cli
==> gitkraken-cli: 1.3.0
https://github.com/gitkraken/gk-cli
/opt/homebrew/Caskroom/gitkraken-cli/1.3.0 (47.0MB)
In the GUI 9.13.0 on debian.
I think this is related to my gitconfig url
[remote "origin"]
url = MyUserName%git%Myhost.FQDN.TLD@GITSERVERHOSTNAME:public/REPOGROUP/REPONAME
I changed the url to an unknown host and saved and tried to push and got a host not found error.
Then I changed the url back to the above format (but real values) and saved and it went through.
I did not originally clone or create this branch with git kraken.
But now I can't easily reproduce this issue.
Dont know
Debian
git version 2.43.0
Describe the bug
Not opening correct repo from graph command
To Reproduce
Steps to reproduce the behavior:
gk graph
from a different repoExpected behavior
GitKraken Client opens the repo you ran the command in.
I want to connect to GitHub (github.com).
I pair my GitKraken with the token, then provide my SSH key generated by this command: "ssh-keygen -t ed25519" and add it to GitHub using GitKraken, along with a comment to name my key.
So far, so good.
But once I've done this, the key name isn't the one I added and the connection to GitHub doesn't work.
It's as if GitKraken was trying to make my SSH key work with the wrong GitHub key.
I'd like to point out that the Github account has several SSH keys, since several of us are working on it, and that yesterday (17/01), during the 1st creation, it worked.
Example: I create and add an SSH key that I name "AXEL_GitKraken", then once I've added it, GitKraken tells me that my key is called "Local FPO" and that it was added on 24/11/2023 instead of today, which is the date the "Local FPO" key was added to Github, but not the "AXEL_GitKraken" key.
9.11.1
Windows 11
No response
No response
In the Terminal Panel of GitKraken 9.6.0 (x64 64-bit), running any gk
commands gives an error:
gk version
v1.0.7
Error: unknown command "setCwd" for "gk"
Run 'gk --help' for usage.
I'm current (as far as I know) on both GitKraken, and as-of today current on gk-cli as well (oops).
1.0.7
Microsoft Windows [Version 10.0.22631.2048]
Processor Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz 2.30 GHz
Installed RAM 32.0 GB (31.9 GB usable)
System type 64-bit operating system, x64-based processor
Edition Windows 11 Pro
Version 23H2
OS build 22631.2048
Experience Windows Feature Experience Pack 1000.22658.1000.0
git version 2.41.0.windows.2
No response
On Windows using Powershell, if you attempt to create a patch from an untracked file, you get the response Error: patch data cannot be blank
.
gk patch create
and follow the prompts or use gk patch create --from-wip --title <title
Error: patch data cannot be blank
Creating a patch with the repository in the same state from GitKraken Client works as expected. Also, if you commit the file and create a patch from this commit it works as expected.
1.4.0
Windows 11 Pro v10.0.22621 Build 22621
git version 2.41.0.windows.3
It just looks like the "gk login" process is still waiting for login after the browser said "you can now close the window"/
1.0.8
MacOS Ventura 13.5.2
git version 2.39.2 (Apple Git-143)
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
It would be nice when you could import a ready workspace from the GUI client. I am sure that info sits somewhere on the harddisk?
Env: Linux
Command: gk version
Error:
panic: interface conversion: interface {} is nil, not version.NewVersionInfo
goroutine 1 [running]:
github.com/gitkraken/cli/pkg/cmd.endVersionCheck(0x254aff8?, {0x252b690, 0xc0001ccbd0}, {0x2526c40, 0xc000070038}, 0x40?)
/Users/runner/work/cli/cli/pkg/cmd/root_command.go:139 +0x11a
github.com/gitkraken/cli/pkg/cmd.NewCmdRoot.func2(0xc00062e300?, {0x1592f34?, 0x4?, 0x1592ef0?})
/Users/runner/work/cli/cli/pkg/cmd/root_command.go:56 +0x69
github.com/spf13/cobra.(*Command).execute(0xc00062e300, {0x314a480, 0x0, 0x0})
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:936 +0xa22
github.com/spf13/cobra.(*Command).ExecuteC(0xc0006cd200)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1044 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:968
github.com/spf13/cobra.(*Command).ExecuteContext(0x2526050?, {0x2531388?, 0x314a480?})
/Users/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:961 +0x47
main.main()
/Users/runner/work/cli/cli/cmd/gk/main.go:30 +0x12e
1.2.0
EndeavourOS Linux
2.43.0
No response
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
gk provider
seems to be limited to only 1 github account.
What if I have multiple github.com accounts and/or github enterprise accounts?
Describe the solution you'd like
A clear and concise description of what you want to happen.
All the provider categories (azure, bitbucket, gitlab, github, jira, trello) should support the possibility of multiple accounts for a given category.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
would like to get the output in a machine readable format for further processing, eg to list specific fields only. Eg to use in WTF
Describe the solution you'd like
all output can have a --json
or so like flag
Describe alternatives you've considered
scraping with sed/awk
Additional context
havng some additional info in the json (optionally), like tags, author, would be nice extra
Tried to get pro with github student pack used my github account has student stuff yet still dont have pro >:(
1.0.6
MacOS Big Sur
No response
No response
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
After installing the CLI on MacOS and moving it to /usr/local/bin/
, I get the following error when running gk
:
zsh: command not found: gitk
Describe the solution you'd like
The readme should probably be updated with more information about installing on MacOS.
Describe alternatives you've considered
Eventually, it would be great to be able to install this using HomeBrew!
Happy to provide any other information you need.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.