Commit graph

6347 commits

Author SHA1 Message Date
JP Ungaretti
d05cdf5ff3 Tidy up comments and errors 2022-10-08 06:30:42 +00:00
JP Ungaretti
4c49fd3e64 Add rebuild command 2022-10-08 06:12:36 +00:00
JP Ungaretti
da91216c31 Add new Rebuild function 2022-10-08 00:04:45 +00:00
David Gardiner
a090b17e38 Ensure port is forwarded and server is shared 2022-10-07 15:37:04 -07:00
JP Ungaretti
4a81e46c1a Add rebuilding state 2022-10-07 22:05:16 +00:00
Mislav Marohnić
a493f6dbe8
Merge pull request #6399 from nsmag/pr-list-headsha
Add `headRefOid` to pull request fields
2022-10-07 12:17:18 +02:00
Natthakit Susanthitanon
bb25202054
Add headRefOid to PullRequestFields 2022-10-07 16:16:15 +07:00
Nate Smith
99e76a709f
Merge pull request #6292 from lpessoa/lp-checks
feat: adding checks at GH PR view
2022-10-06 14:27:38 -05:00
lpessoa
fb6f538f88
Adding no checks message when PR has no checks
Including additional tests.
2022-10-05 22:10:38 -03:00
Nate Smith
9e4508f953
Merge pull request #6392 from lktslionel/rel-cleanup-tag
feat(cmd/release): allow to delete release with its attached tag
2022-10-05 18:08:51 -05:00
vilmibm
0660ced676 tweak wording and formatting 2022-10-05 15:59:33 -07:00
lktslionel
0b0ae1e673
feat(cmd/release): allow to delete release with its attached tag 2022-10-06 00:35:06 +02:00
Chris Westra
4daac49917
Remove released feature flag
`branch_for_issue_api` is no longer in the dotcom codebase so we can remove it from here
2022-10-05 07:45:15 -04:00
Nate Smith
4a2ca15350
Merge pull request #6324 from nsmag/auth-token
Add `gh auth token`
2022-10-04 14:56:21 -05:00
Nate Smith
b2d1955b05
Merge pull request #6296 from heaths/issue6089
Add more help to "template" flags
2022-10-04 14:53:18 -05:00
Nate Smith
9e7a6ebe4e
Merge pull request #6382 from aacoakley/merge-author-email-flag
Add flag to pr merge allowing the selection of the merge commit email
2022-10-04 14:50:57 -05:00
Nate Smith
c13eb9e792
Merge pull request #6320 from cli/label-prompter
add and use ConfirmDeletion in {label,repo} delete
2022-10-04 14:49:59 -05:00
vilmibm
f7fa164792 tweak wording 2022-10-04 12:46:41 -07:00
Nate Smith
f82c6a6c87
Merge pull request #6359 from cli/mntlty/formatting_help
update formatting help
2022-10-04 14:04:30 -05:00
David Gardiner
341fc6c3f7 Mock session/channel for grpc tests 2022-10-03 20:29:31 -07:00
Ariel Deitcher
7a55496b87 code review feedback 2022-10-03 19:07:32 +03:00
Ariel Deitcher
6785e9fa67 update formatting help command 2022-10-03 03:23:14 -07:00
Ariel Deitcher
577d42280c
surface merge conflicts in pr status (#5999) 2022-10-03 09:32:48 +00:00
Austin Coakley
6d4b10edf0 Added flag to pr merge allowing the selection of the merge commit email 2022-10-01 12:16:05 -05:00
David Gardiner
f947020fa5 Add grpc mock server + tests 2022-09-30 11:55:57 -07:00
David Gardiner
d02ff315e4 Fix linting errors 2022-09-29 10:27:17 -07:00
David Gardiner
766e6a2314 Use existing context 2022-09-29 09:58:44 -07:00
Mislav Marohnić
8fc120d700
Merge pull request #6368 from anthonyfok/fix-gh-codespace-ssh.1-man-page
Fix missing text in "man gh-codespace-ssh"
2022-09-29 13:06:36 +02:00
Anthony Fok
f6d0f82701
Fix missing text in gh-codespace-ssh.1 man page
Rearrange the long help text so that '--config' does not appear at the
start of a line which groff interprets as an undefined macro and skips
the content of that whole line.

To reproduce:

  $ go run cmd/gen-docs/main.go --man-page --doc-path /tmp/gh-manpages
  $ man --warnings -E UTF-8 -l -Tutf8 -Z /tmp/gh-manpages/gh-codespace-ssh.1 >/dev/null
  troff: <standard input>:26: warning: macro '--config'' not defined

Discovered by the Debian Lintian tool.
2022-09-28 14:00:37 -06:00
David Gardiner
35d2cf30d0 Send session token 2022-09-28 11:28:35 -07:00
David Gardiner
3f34d6d95e Make suggested gRPC client changes 2022-09-28 10:39:26 -07:00
Mislav Marohnić
98d08cdcba
Merge pull request #6357 from cli/ubuntu-curl
Fix Ubuntu installation instructions for curl
2022-09-28 14:14:03 +02:00
Natthakit Susanthitanon
ed9361fc88
Add header to the gpg-key list output (#6353) 2022-09-28 08:26:43 +02:00
David Gardiner
93f033fe87 Address comments 2022-09-27 16:01:10 -07:00
David Gardiner
b0eb1b379a Implement gRPC client 2022-09-27 11:34:30 -07:00
Mislav Marohnić
0b2348aa61
Merge pull request #6356 from cli/fix-non-256-color
Fix color output for non-256 color terminals
2022-09-27 20:05:09 +02:00
Mislav Marohnić
efe504eefc Fix color output for non-256 color terminals
The function enableVirtualTerminalProcessing must return an error if
virtual terminal processing (only applicable on Windows) was not
enabled, otherwise we assume that the terminal supports both 256-color
and truecolor.

We have been erroneously assuming that all non-Windows terminals are
256-color and sending escape sequences to those that cannot intepret
them. This led to some parts of Survey prompts being invisible on old
terminals.

Regressed in be4b392530
2022-09-27 19:50:05 +02:00
Mislav Marohnić
46ae58bcd9
Fix Ubuntu installation instructions for curl
Newer Ubuntu doesn't come with curl preinstalled anymore.
2022-09-27 19:26:48 +02:00
Chris Westra
48f527fdd3 Show repo url for linked branches in tty 2022-09-26 14:39:04 -04:00
Mislav Marohnić
ec49359467
Merge pull request #6347 from cli/respect-GH_HOST
Respect GH_HOST in `auth login`, `repo delete`
2022-09-26 15:48:11 +02:00
Mislav Marohnić
acb61072cd Respect GH_HOST in auth login, repo delete
Bonus fix: respect fallback host argument to `FromFullNameWithHost()`
2022-09-26 13:32:54 +02:00
Mislav Marohnić
465b952d85
Merge pull request #6344 from cli/yaml-dispatch
Recognize `.yaml` in addition to `.yml` suffix as workflow file name
2022-09-26 11:54:25 +02:00
Sam Coe
ebc681be05
Replace os.Setenv with t.Setenv (#6345) 2022-09-26 13:37:34 +04:00
Mislav Marohnić
6a6fd7bace
Recognize .yaml in addition to .yml suffix as workflow file name 2022-09-26 10:54:57 +02:00
Eng Zer Jun
471cbea4fa
test: use t.Setenv to set env vars in tests (#6333)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-09-26 08:46:02 +00:00
Mislav Marohnić
9aafd0da13
Merge pull request #6325 from jonasjancarik/patch-1
Add instructions for yum (e.g. Amazon Linux 2)
2022-09-22 13:43:20 +02:00
Natthakit Susanthitanon
1a759ecd4b
Add header and id column to the gh ssh-key list output (#6270) 2022-09-22 14:07:57 +04:00
Jonáš Jančařík
e7e2c8e3ab
Add instructions for yum (e.g. Amazon Linux 2)
Installing with `yum` works similar to `dnf` - I haven't had any issues so far.
2022-09-22 11:27:56 +02:00
Natthakit Susanthitanon
60d8cb085a Add gh auth token 2022-09-22 15:47:19 +07:00
Nate Smith
55edf2ae7b
Merge pull request #6312 from cli/linux-docs
Clarify Linux installation instructions
2022-09-21 19:32:29 -05:00