Commit graph

4949 commits

Author SHA1 Message Date
Sam Coe
50a15cae86
Better error message 2021-08-19 14:46:26 -07:00
Josh Gross
530c0244f9 Add support to code for VS Code Insiders 2021-08-19 17:37:57 -04:00
Sam Coe
232ad2a67c
Fix up link 2021-08-19 13:41:26 -07:00
Sam Coe
e9f7459ce2
Add extension create command 2021-08-19 13:30:34 -07:00
Mislav Marohnić
51d609078b Enable gh help <command> for extensions
This sends the `--help` flag to the extension. The extension is
reponsible for printing something useful as a result.
2021-08-19 20:38:19 +02:00
Jose Garcia
55f0dad3db merge upstream 2021-08-19 18:30:10 +00:00
Mislav Marohnić
1881de6d41 Allow fully qualified extension name as argument to upgrade, remove 2021-08-19 20:01:18 +02:00
Mislav Marohnić
c84bfa9e66
Merge pull request #4156 from rneatherway/patch-1
Extend query suite with quality queries
2021-08-19 19:01:01 +02:00
Robin Neatherway
6ebafb55ae
Extend query suite with quality queries 2021-08-19 15:05:28 +01:00
Mislav Marohnić
d24e963f34
Merge pull request #4155 from rneatherway/rneatherway/off-by-one
Correct benign mistake in off-by-one guard
2021-08-19 15:52:02 +02:00
Robin Neatherway
0e51ec1699 Correct benign mistake in off-by-one guard
m[2] is the third element of m, rather than the second, so we have to
check instead that the len of m is at least 3.

Because the regular expression has two capture groups, the length of m
will always be 3, so currently the guard will always be true.
2021-08-19 14:41:04 +01:00
Issy Long
9cb8200732 Merge pull request #78 from github/fix-ports-usage-docs
cmd/ghcs/ports: Fix usage docs for the new `source:forward` syntax
2021-08-19 10:12:57 +01:00
Issy Long
a53eb53ad4 cmd/ghcs/ports: Fix usage docs for the new source:forward syntax
Co-authored-by: George Brocklehurst <georgebrock@github.com>
2021-08-19 10:10:30 +01:00
Mislav Marohnić
3e23dcab15 Fix HTTP 502 error reporting from GraphQL request
Now it makes sure that the message portion will be printed to stderr
when the user encounters the error.
2021-08-18 22:17:32 +02:00
Issy Long
9697aa3a78 Merge pull request #77 from github/lowercase-deletions
cmd/ghcs/delete: When matching repos to delete, standardize casing
2021-08-18 18:33:57 +01:00
Issy Long
28a3644a07 cmd/ghcs/delete: I learnt about strings.EqualFold - thanks, linter! 2021-08-18 18:15:15 +01:00
Issy Long
5af1cccb73 cmd/ghcs/delete: When matching repos to delete, standardize casing
- It was possible to delete Codespaces for repo `SomePerson/foo` but not
  `someperson/foo`, despite the fact that the GitHub APIs don't actually
  care about casing - `SomePerson` and `someperson` is the same account.
- This fixes that by lowercasing both the user-provided repo name, and
  the repository that is attached to the Codespace for a match.
- Fixes #76.
2021-08-18 18:11:11 +01:00
Mislav Marohnić
8a56359902
Merge pull request #4144 from cli/install-docs
Refresh Linux & BSD installation docs
2021-08-18 17:21:24 +02:00
Jose Garcia
269196c94f support existing connections for port forwarding 2021-08-18 15:12:47 +00:00
Mislav Marohnić
45b358bcfc
Merge pull request #4136 from lepasq/filter-by-topic
Add topic filter to repository listing
2021-08-18 16:55:48 +02:00
Sam
8fb6bb66c8
Merge pull request #3992 from despreston/858-config-browser
add browser option to config
2021-08-17 14:17:54 -07:00
Sam Coe
b9438015a2
Add GH_BROWSER to help topic 2021-08-17 14:10:15 -07:00
Sam Coe
a07748f1f1
Add support for GH_BROWSER env var 2021-08-17 14:07:49 -07:00
Sam
2c02c2819b
Merge pull request #4145 from cli/remove-homedir
Remove backwards compatibility with homedir library for config files
2021-08-17 13:56:40 -07:00
Mislav Marohnić
321fd98f82 Add ability to force terminal-style output even when redirected 2021-08-17 20:12:25 +02:00
Sam Coe
315c6e4eb7
Remove backwards compatibility with homedir library for config files 2021-08-17 10:28:16 -07:00
Sam Coe
34b3d5bb86
Add tests and a little polish 2021-08-17 10:05:54 -07:00
Jose Garcia
00502e9263 Merge pull request #66 from github/jg/multiple-ports
Multiple ports support in port forwarding
2021-08-17 10:02:48 -04:00
Jose Garcia
8533d08461 rename var 2021-08-17 13:07:40 +00:00
Jose Garcia
b5670252de small update to description 2021-08-17 12:58:46 +00:00
Jose Garcia
5fe84c6121 merge upstream 2021-08-17 12:57:04 +00:00
Mislav Marohnić
c1b549258f Merge pull request #69 from github/docs
Improve command docs
2021-08-17 14:43:20 +02:00
Mislav Marohnić
517aae2805 Merge remote-tracking branch 'origin' into docs 2021-08-17 14:42:09 +02:00
Mislav Marohnić
9b10968878 Merge pull request #70 from github/ci-lint
Run tests on all branches, perform lint check in CI
2021-08-17 14:33:08 +02:00
Mislav Marohnić
58096e6852 Merge pull request #68 from github/dev
Improve experience in development
2021-08-17 14:09:14 +02:00
Mislav Marohnić
5ad9736c4e Merge remote-tracking branch 'origin' into ci-lint 2021-08-17 13:31:50 +02:00
Mislav Marohnić
35e50cb679 Merge pull request #59 from github/output-formats
Add machine-readable output formats
2021-08-17 13:31:11 +02:00
Mislav Marohnić
6dd0bf8e5e Merge pull request #67 from github/jg/output-formats
add back . indicators & update ConnectToTunnel
2021-08-17 13:07:14 +02:00
Mislav Marohnić
b47686163a Fixes for log/output streams 2021-08-17 13:04:55 +02:00
Mislav Marohnić
810c42120a Add installation note about Raspberry Pi OS 2021-08-17 12:16:59 +02:00
Mislav Marohnić
0366e047e2 Cleanup Linux installation docs 2021-08-17 11:47:37 +02:00
Mislav Marohnić
1ec632b1b8 Add OpenBSD instructions 2021-08-17 11:47:21 +02:00
Mislav Marohnić
ca60e30171 Add warning about Snap 2021-08-17 11:46:25 +02:00
Mislav Marohnić
5e472bc0e5 Improve command descriptions and argument assertions 2021-08-16 23:24:11 +02:00
Mislav Marohnić
97d8285b58 Do not require GITHUB_TOKEN for merely viewing command help 2021-08-16 23:19:20 +02:00
Mislav Marohnić
22be26431e Have --codespace <name> flag be consistent across commands 2021-08-16 22:31:29 +02:00
Jose Garcia
c9c1ff8dac add back . indicators & update ConnectToTunnel 2021-08-16 20:16:50 +00:00
Mislav Marohnić
05328fbe13
Merge pull request #4114 from cli/powershell-docs
Add PowerShell instructions to completions help
2021-08-16 19:28:22 +02:00
Mislav Marohnić
ca40eeba5f
Merge pull request #4116 from cli/extensions-ui-tweaks
Extensions UI tweaks
2021-08-16 19:00:30 +02:00
lepasq
998a29d391 Update list_test.go to include topics as well 2021-08-15 14:31:24 +02:00