Mateusz Urbanek
67595110e8
Improve table output from codespace list command ( #4516 )
...
Co-authored-by: Jose Garcia <josebalius@github.com>
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-10-21 16:42:08 +00:00
Jose Garcia
bbea5ac95e
codespace: progress indication, logging ( #4555 )
...
* Rework logging, showing progress, and printing from `codespace` commands
* Change rendering of the general progress indicator so that it's visible on both dark and light backgrounds
* The progress indicator now "spins" faster
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-10-21 18:04:04 +02:00
Alan Donovan
a199de00be
Merge pull request #4577 from cli/no-remote
...
gh cs cp: report error if no filename is remote
2021-10-21 10:51:34 -04:00
Alan Donovan
7215522123
use FlagError
2021-10-21 10:06:11 -04:00
stdtom
9468e9e7df
Fix copy/paste mistake in docs
2021-10-21 12:34:20 +02:00
Alan Donovan
8fb5e5e1d5
Report error if no filename is remote
2021-10-20 14:21:22 -04:00
Mislav Marohnić
b9c26dfba3
Declare that the delete repo endpoint needs delete_repo scope
...
The API endpoint doesn't declare this in its `X-Accepted-Oauth-Scopes`
response header.
2021-10-19 19:16:50 +02:00
Mislav Marohnić
d84a7c7fa7
Merge pull request #4559 from cli/api-pagination-fix
...
Prevent repeating GET parameters when paginating with api command
2021-10-19 18:54:17 +02:00
Mislav Marohnić
a9b2c0dc82
Merge pull request #4523 from joshmgross/joshmgross/support-localhost
...
Support github.localhost as a non-enterprise host
2021-10-19 18:37:39 +02:00
Nate Smith
5a3b9ceab0
Merge pull request #4451 from cli/repo-delete
...
gh repo delete
2021-10-19 11:13:33 -05:00
Sam
5d27e1d272
Merge pull request #4542 from Sixeight/fix-release-create-d-option
...
People doesn't want to publish release when specify -d option
2021-10-19 09:05:07 -07:00
Sam Coe
2135918c47
Turn survey options into variables so they can't accidentally become unsynced with default value
2021-10-19 08:55:30 -07:00
Alan Donovan
fc1de3aaa0
Merge pull request #4564 from cli/e-flag
...
gh cs cp: disable remote shell expansion unless -e flag
2021-10-19 11:38:19 -04:00
Alan Donovan
f683d6cb4c
Disable remote shell expansion unless -e
2021-10-19 10:11:31 -04:00
Tomohiro Nishimura
c7f79e8447
Set default publish action to draft if --draft option is set
2021-10-19 22:37:46 +09:00
Alan Donovan
b96ccb4d99
Merge pull request #4553 from cli/cs-cp
...
gh cs cp: copy files between local/remote file systems
2021-10-18 17:32:08 -04:00
Sam
a02d423687
Merge pull request #3822 from owenvoke/feature/gpg-key
...
feat: add GPG key management commands
2021-10-18 11:36:44 -07:00
Mislav Marohnić
01adff037f
api: prevent repeating GET parameters when paginating
2021-10-18 20:18:23 +02:00
Mislav Marohnić
ebc1f2f156
Consistently respect GH_HOST in repo archive/create/garden/view commands
2021-10-18 20:05:53 +02:00
Mislav Marohnić
2c86e671f3
Enable gh auth login for github.localhost
2021-10-18 20:01:18 +02:00
Alan Donovan
48ada6d5f2
Use correct destination string, not root@localhost
2021-10-18 13:59:41 -04:00
Alan Donovan
e31b2567b8
gh cs cp: copy files between local/remote file systems
2021-10-18 12:39:09 -04:00
Mike McDonald
e923eb8853
Merge branch 'trunk' into mm-codespaces-remove-friendly-machine-name
2021-10-18 10:35:48 -06:00
Jose Garcia
84ced52131
Update cmd docs to match other commands
2021-10-16 17:10:34 -04:00
Mike McDonald
e175d0f0a6
removing unused dependencies
2021-10-15 22:05:54 +00:00
Mike McDonald
5f98c9d2e4
Fixing formatting
2021-10-15 21:58:52 +00:00
Mike McDonald
21ff083b9b
Removing "friendly" machine name from prompt
...
Currently the options end up as `Basic` through to `X`. No other client
provides these types of names, so we should just show machine info.
2021-10-15 21:56:17 +00:00
Nate Smith
06c06c87dc
Merge pull request #3833 from cristiand391/gh-run-cancel
...
Add `run cancel` command
2021-10-15 15:14:49 -05:00
nate smith
a4015b7f09
prompt tests
2021-10-15 15:08:53 -05:00
nate smith
f381a804fc
fix tests
2021-10-15 14:57:20 -05:00
nate smith
18975e61d1
fix imports
2021-10-15 14:31:29 -05:00
nate smith
b81eda0c46
newline
2021-10-15 14:28:28 -05:00
nate smith
f329ebd7ca
add interactive prompt for in progress runs
2021-10-15 14:19:16 -05:00
Nate Smith
dcf3f60e00
Merge pull request #4007 from bchadwic/relative-path
...
gh browse relative path enhancement
2021-10-15 14:13:58 -05:00
nate smith
4a01e6b702
Merge remote-tracking branch 'origin/trunk' into gh-run-cancel
2021-10-15 14:12:53 -05:00
Meijke
f7b4588d09
scope error handling
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-10-15 08:35:33 -07:00
Marwan Sulaiman
6f34e4a605
Rename privacy sub-command to visibility ( #4533 )
...
* Rename privacy sub-command to visibility
* PR fixes
2021-10-15 09:51:46 -04:00
meiji163
caa282f0ba
commit review suggestions
2021-10-14 21:26:31 -07:00
Jose Garcia
4504e49e96
Update running method
2021-10-14 20:02:02 -04:00
Jose Garcia
1aec892326
Merge pull request #4520 from cli/jg/new-api-shape
...
codespace: implement new API payload
2021-10-14 19:59:59 -04:00
nate smith
70c78f2aa8
some fixes, streamlining
2021-10-14 17:07:51 -05:00
Mislav Marohnić
f6b33572fd
Merge pull request #4279 from SiarheiFedartsou/sf-pr-list-head-filter
...
Add `--head` filter to `gh pr list`
2021-10-14 20:54:56 +02:00
Nate Smith
cb89b8ca7a
Merge pull request #4442 from cli/cleanup-upgrade
...
Cleanup extension upgrade command
2021-10-14 13:39:14 -05:00
Mislav Marohnić
b0360612d2
Merge pull request #4521 from cli/jg/bind-locally
...
codespace: switches port binding to 127.0.0.1 where possible
2021-10-14 20:29:21 +02:00
Mislav Marohnić
78443964d4
Merge pull request #4513 from cli/missing-oauth-scopes
...
Warn about missing OAuth scopes when reporting HTTP 4xx errors
2021-10-14 20:21:13 +02:00
Mislav Marohnić
89ad870190
auth refresh: preserve existing scopes when requesting new ones
...
When there was a previously valid token that was granted some scopes,
ensure all those scopes will be re-requested when doing the
authentication flow for the new token.
2021-10-14 19:52:59 +02:00
nate smith
4996ba2ba4
Merge remote-tracking branch 'origin/trunk' into relative-path
2021-10-14 12:24:27 -05:00
Mislav Marohnić
64a19ee71f
Remove OAuth scopes checking logic from ssh-key commands
...
Scopes checking is now handled on the HTTP client level for all commands.
2021-10-14 18:36:55 +02:00
Nate Smith
78ac77180e
Merge pull request #3950 from bchadwic/browse-commit
...
Add feature open latest commit in gh browse
2021-10-14 11:31:15 -05:00
nate smith
5bdaab882b
fix
2021-10-14 11:25:33 -05:00