Wing-Kam Wong
5699daef27
refactor: change from [] to {}
2023-03-23 11:51:55 +08:00
Wing-Kam Wong
3b27e068f2
feat: gist rename test
2023-03-22 00:11:40 +08:00
Wing-Kam Wong
b705ea94a0
fix: revise test cases in TestNewCmdRename in rename_test.go
2023-03-19 21:31:58 +08:00
Wing-Kam Wong
9e1d34f473
feat: add FlagErrorf for missing flag cases
2023-03-19 21:31:23 +08:00
Wing-Kam Wong
eb2da16b60
feat: TestNewCmdRename for gist rename
2023-03-19 19:43:34 +08:00
Wing-Kam Wong
daf4922176
refactor: remove unused code
2023-03-19 17:28:02 +08:00
Wing-Kam Wong
54de75db82
feat: add gist rename logic
2023-03-18 01:16:59 +08:00
Wing-Kam Wong
f9d3b71c3b
feat: add gistRenameCmd to gist.go
2023-03-17 22:35:37 +08:00
Sam Coe
f7930a430b
Dont follow redirects on repo delete ( #7106 )
2023-03-14 04:38:57 +11:00
Anupam Kumar
e5a0b1fe34
Add variable delete command ( #6929 )
2023-03-13 03:41:55 +00:00
Anupam Kumar
c82509587e
Add variable list command ( #6995 )
2023-03-13 03:21:21 +00:00
Anupam Kumar
88cc4d2531
Add variable set command ( #6928 )
2023-03-13 03:01:38 +00:00
Alex Petrov
76f6aa1fc1
Clarify gh auth refresh command behavior ( #7132 )
2023-03-13 02:08:32 +00:00
Sam Coe
cff5dec2ce
Make repo sync git fetch authenticated ( #7139 )
2023-03-13 13:00:37 +11:00
Alex Petrov
c2d728ecd3
Improve documentation and consistency of the --commit flag for gh browse command ( #7105 )
2023-03-13 01:27:07 +00:00
Sam Coe
78ffa73f44
Use transform.Transformer interface for ascii sanitization ( #7117 )
2023-03-13 08:36:46 +11:00
Nate Smith
661d962112
Merge pull request #7116 from cli/even-more-prompts
...
New prompt testing utility
2023-03-10 10:43:41 -08:00
Nate Smith
aae4023cdc
use t.Cleanup(m.Verify)
2023-03-09 16:43:48 -08:00
vilmibm
10dd74b4af
fix bug with Prompter.MultiSelect
2023-03-09 16:40:27 -08:00
vilmibm
b5c3d982b1
new tooling for assertions about prompting
2023-03-09 16:40:27 -08:00
Mislav Marohnić
71d9e0eb40
Merge pull request #7124 from cli/config-get-token-fix
...
config get: support getting oauth_token from keyring
2023-03-09 15:43:31 +00:00
Mislav Marohnić
db68dfa47b
config get: support getting oauth_token from keyring
...
Since we've advertised `gh config get -h HOST oauth_token` as an API for outside scripts and extensions to access the token, this should continue working even if the token was technically stored in keyring and not in the config file.
2023-03-09 16:35:07 +01:00
Mislav Marohnić
b2b0a1692e
Merge pull request #7120 from cli/codespace-ssh-fix
...
codespace ssh: fix "connection reset by peer"
2023-03-09 14:26:05 +00:00
Mislav Marohnić
1933fc2f69
codespace ssh: fix "connection reset by peer"
2023-03-09 15:14:39 +01:00
Sam Coe
50ddb369a6
Manually get current user name rather than use api client ( #7114 )
2023-03-09 11:50:12 +11:00
JP Ungaretti
03730c2c33
Merge pull request #6848 from cli/jungaretti/fix-jupyter-spinner
...
Fix progress indicator bug with generic RunWithProgress function
2023-03-08 09:51:21 -07:00
Mislav Marohnić
66cd90296e
Merge pull request #7108 from cli/diff-sanitize
...
pr diff: sanitize control characters for terminal output
2023-03-08 16:17:38 +00:00
Mislav Marohnić
32afc5d67f
pr diff: sanitize control characters for terminal output
2023-03-08 16:59:35 +01:00
Mislav Marohnić
030a363728
Merge pull request #7107 from cli/dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.2
...
Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2
2023-03-08 15:11:19 +00:00
dependabot[bot]
2c2ce9b487
Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2
...
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases )
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 14:59:14 +00:00
Sam Coe
b74ba55e3f
Make auth refresh more convenient with secure storage ( #7098 )
2023-03-08 10:19:42 +11:00
JP Ungaretti
0673dcccb1
Fix delete tests
2023-03-07 19:29:44 +00:00
JP Ungaretti
39a1dc90af
Match return style
2023-03-07 19:05:49 +00:00
JP Ungaretti
c347737ace
Fix build errors
2023-03-07 18:47:27 +00:00
JP Ungaretti
5a7f779cf7
Merge branch 'trunk' into jungaretti/fix-jupyter-spinner
2023-03-07 18:43:34 +00:00
Sam Coe
44b02188e2
Properly handle C1 control sequences ( #7079 )
2023-03-07 12:44:30 +11:00
Sam Coe
05bf29d88e
Introduce GH_PATH environment variable ( #7025 )
2023-03-07 11:30:10 +11:00
Sam Coe
4636931b02
Use default host for auth token command if a hostname is not provided ( #7094 )
2023-03-07 10:34:54 +11:00
Caleb Brose
c9992b41a2
Always open new vscode window in gh cs code ( #7092 )
...
* Open new vscode window
* Tests
2023-03-06 22:50:43 +00:00
Alex Petrov
7d4ab65af3
fix: correctly set ErrNotOnAnyBranch error in git client ( #7082 )
...
Before, git client was not correctly setting `ErrNotOnAnyBranch` error.
Because of that, `gh pr status` was not functioning correctly when run
from the detached HEAD. This commit fixes that.
Fixes #7051
2023-03-06 09:16:29 +11:00
Nate Smith
2268d2e4eb
Merge pull request #7077 from cli/vilmibm-patch-1
2023-03-02 19:29:55 -06:00
Sam Coe
35a24caed2
Standardize retry mechanism ( #7027 )
2023-03-02 23:06:30 +00:00
Nate Smith
f68fdf504f
Update working-with-us.md
2023-03-02 13:13:49 -08:00
Nate Smith
3a22869439
Merge pull request #7003 from Ruminateer/unarchive
...
feature: add command `gh repo unarchive`
2023-03-01 18:25:23 -06:00
vilmibm
b85a22cc71
use new cfg.Authentication()
2023-03-01 16:12:32 -08:00
Nate Smith
0bc2f28575
Merge branch 'trunk' into unarchive
2023-03-01 17:59:50 -06:00
Nate Smith
fe78331342
Merge pull request #7038 from yanskun/feat/add-open-num-commit-hash
...
Made it possible to do open num only commit hash with Browse Command
2023-03-01 17:38:34 -06:00
Hamish 'James' Coates
394b23aa9b
Include new line after existing fork error log ( #7030 )
2023-02-28 00:53:25 +00:00
Sam Coe
c9a2d85793
Cleanup config.AuthToken and config.DefaultHost methods ( #7049 )
2023-02-28 00:24:45 +00:00
Sam Coe
df83dc2d58
Add ability to store tokens in encrypted storage ( #7043 )
2023-02-28 00:04:53 +00:00