Commit graph

4106 commits

Author SHA1 Message Date
Siarhei Fedartsou
373d1efb58 format code 2021-09-12 20:50:21 +03:00
Siarhei Fedartsou
11466fda12 Add --draft and --non-draft filters to gh pr list 2021-09-12 20:48:23 +03:00
Mislav Marohnić
3b20dfc032
Merge pull request #4299 from andrewhsu/fix-project-layout
fix link to code in project-layout doc
2021-09-09 18:16:47 +02:00
Andrew Hsu
7519421fc0 fix link to code in project-layout doc
Update link to code so it matches given example in doc: `gh help issue
list`.
2021-09-09 10:24:42 -05:00
Mislav Marohnić
156872c5db
Merge pull request #4271 from wrslatz/4201-extension-doc
Document installing extensions using full repo URL
2021-09-07 14:33:41 +02:00
Mislav Marohnić
2a2088dc89 💅 tweak extension docs 2021-09-06 20:04:40 +02:00
wrslatz
28cbfc4aab
Document installing extensions using full repo URL 2021-09-03 18:14:10 -04:00
Mislav Marohnić
8f3b6749d7
Merge pull request #4241 from cli/saml-error
Suggest to re-authenticate to fix "SAML enforcement" error
2021-09-03 16:10:16 +02:00
Mislav Marohnić
029d49f3b3
Merge pull request #4199 from cli/go-module-v2
Rename the module to "github.com/cli/cli/v2"
2021-09-02 20:10:09 +02:00
Mislav Marohnić
e0fa56dc29 Merge remote-tracking branch 'origin' into go-module-v2 2021-09-02 20:02:16 +02:00
Nate Smith
1af6a669e3
Merge pull request #4214 from cli/garden-portability
Use `x/term` package for repo garden instead of shelling out to stty
2021-09-02 12:39:23 -05:00
Mislav Marohnić
abfe29617a
Merge pull request #4253 from despreston/4248-line-range
feat(4248): add support for line range w/ browse
2021-09-01 18:08:51 +02:00
Des Preston
dafd0bfbd1 feat(4248): add support for line range w/ browse
Allow using a range of lines when browsing files. For example:

`gh browse test.go:10-20`

Closes #4248
2021-08-31 16:32:37 -04:00
Mislav Marohnić
b0b67014f1 Suggest to re-authenticate to fix "SAML enforcement" error
As far as I can put together, this error appears when someone has
authenticated GitHub CLI with a PAT that isn't authorized to access a
certain org. It can also happen if someone has authorized GitHub CLI
using the legacy "GitHub CLI (dev)" OAuth app instead of our production
OAuth app.

Doing `gh auth refresh` will re-authenticate the user using our
production "GitHub CLI" OAuth app which will not have problems accessing
resources in different GitHub organizations.
2021-08-30 17:18:59 +02:00
Mislav Marohnić
e6ff77ce73
Merge pull request #4239 from Jernik/trunk
add quotes around `@me` in documentation to ensure examples work on ps
2021-08-30 16:27:33 +02:00
Luke
1102de89be add quotes around @me in documentation to ensure examples work on powershell 2021-08-30 09:13:43 -05:00
Mislav Marohnić
99cbfd3dd8
Merge pull request #4213 from cli/defunct-doc-link
Remove defunct link from `gh actions`
2021-08-26 18:16:40 +02:00
Mislav Marohnić
6cbc886c53 Use x/term package for repo garden instead of shelling out to stty
Shelling out to stty seems hard to get right between Linux and macOS.
2021-08-26 16:45:55 +02:00
Mislav Marohnić
5dfeb1f7ce Remove defunct link from gh actions
The online guide that was GitHub CLI-specific no longer exists. Instead,
"GitHub CLI" sections were added to existing individual articles about
managing workflow runs.
2021-08-26 15:48:08 +02:00
Mislav Marohnić
6ec289c408
Merge pull request #4203 from kidonng/patch-1
Use `/usr/bin/env bash` instead of `/bin/bash` in `gh extension create`
2021-08-26 11:36:23 +02:00
Kid
b56f77b2e5
Use /usr/bin/env bash instead of /bin/bash in gh extension create 2021-08-26 00:49:33 +08:00
Mislav Marohnić
11fbb60ae7 Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
Mislav Marohnić
355d28195e
Merge pull request #4189 from cuonglm/issue-4188
Disable auth for cobra shell request completion hidden commands
2021-08-24 20:48:46 +02:00
Cuong Manh Le
6cf6bb4a44 Disable auth for cobra shell request completion hidden commands
Those hidden command are used by the shell completion scripts, but they
are not disabled auth check. Thus, the shell completion does not work
even the completion setup was done properly.

Fixes #4188
2021-08-25 01:35:49 +07:00
Mislav Marohnić
a94cadc702
Merge pull request #4184 from cli/changelog-squashed-merges
Improve changelog script so it includes squashed merges
2021-08-24 18:59:30 +02:00
Mislav Marohnić
4e219a9c8f Improve changelog script so it includes squashed merges 2021-08-24 14:29:29 +02:00
Heath Stewart
e2973453b5
Add helper template functions for rendering tables (#3519)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 21:00:25 +02:00
Nate Smith
a53ea0c655
Merge pull request #4177 from cli/survey231
bump survey to 2.3.1
2021-08-23 13:51:03 -05:00
Heath Stewart
88af63d36f
Re-enable label colors for issue list (#4106)
* Re-enable label colors for issue list
* Drop parentheses wrapping issue labels
* Support ANSI escape codes in TablePrinter cells
* Switch to a Truncate implementation that correctly measures ANSI escape codes
* Only output RGB color if terminal has truecolor capabilities
* Enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` on Windows - fixes wrapping issues with full lines and allows truecolor rendering

Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 19:55:12 +02:00
vilmibm
0388d457b0 bump survey to 2.3.1 2021-08-23 12:53:11 -05:00
Sam
25b150ad6e
Merge pull request #4159 from cli/ext-create
Add extension create command
2021-08-23 10:44:54 -07:00
Sam Coe
5756e2397a
Extension template is executable according to git 2021-08-23 10:36:29 -07:00
Nate Smith
5a328c38db
Merge pull request #4172 from cli/accessible-survey
Bump Survey for accessibility features
2021-08-23 11:55:49 -05:00
Mislav Marohnić
351cd622e7
Merge pull request #4175 from cli/bump-go
Require Go 1.16+
2021-08-23 18:41:40 +02:00
Mislav Marohnić
eb78ac0dcb Require Go 1.16+ 2021-08-23 18:08:09 +02:00
Sam Coe
c8963a6345
Address PR comments 2021-08-23 09:01:05 -07:00
Sam Coe
bb0107ad51
Unhide extension commands 2021-08-23 08:49:09 -07:00
Mislav Marohnić
af2aecd40b
Merge pull request #4146 from cli/force-tty
Add ability to force terminal-style output even when redirected
2021-08-23 16:46:14 +02:00
Mislav Marohnić
0701f8aa82 Add tests for ForceTerminal 2021-08-23 16:09:08 +02:00
Mislav Marohnić
8129fb3d3e
Merge pull request #4171 from mahdyar/chore/make-gh-status-clickable
chore: make gh status link clickable
2021-08-23 13:12:35 +02:00
Mislav Marohnić
a508fee4e1
Merge pull request #4158 from cli/extensions-ux
Enable `help` for extensions, accept full extension names as argument
2021-08-23 12:45:22 +02:00
Mislav Marohnić
c96834228e
Merge pull request #4169 from saintmalik/patch-1
fix typos in docs
2021-08-23 12:23:44 +02:00
Mislav Marohnić
18ea94a28e Bump Survey for accessibility features
a4e159a1a7
2021-08-23 12:20:31 +02:00
Mislav Marohnić
4a45ca6fa6
Merge pull request #4154 from cli/graphql-502-error
Fix HTTP 502 error reporting from GraphQL request
2021-08-23 12:03:34 +02:00
Mahdyar Hasanpour
db74830e64
chore: make gh status clickable
Adding https:// to githubstatus.com to make it clickable on terminal emulators
2021-08-22 18:01:55 +04:30
SaintMalik
75dc51084b
fix typos in docs 2021-08-22 08:25:15 +01:00
Sam Coe
7f0e09c13f
Move link to next line since it is long 2021-08-19 16:18:59 -07:00
Sam Coe
d22286a8e8
Add examples to template 2021-08-19 15:58:01 -07:00
Sam Coe
50a15cae86
Better error message 2021-08-19 14:46:26 -07:00
Sam Coe
232ad2a67c
Fix up link 2021-08-19 13:41:26 -07:00