Commit graph

512 commits

Author SHA1 Message Date
boonhong
57ec879aea Fix typos 2020-11-12 22:32:36 +08:00
Mislav Marohnić
fc3f517419
Merge pull request from GHSA-fqfh-778m-2v32
Ensure that only PATH is searched when shelling out to external commands
2020-11-11 16:36:50 +01:00
Mislav Marohnić
5b4a08dcb9 Ensure that only PATH is searched when shelling out to external commands
Works around https://github.com/golang/go/issues/38736 for Windows.
2020-11-11 16:33:13 +01:00
Mislav Marohnić
feec114bb6 Fix truncateLabels for empty values 2020-11-11 15:29:40 +01:00
Mislav Marohnić
8d054486a3 Merge remote-tracking branch 'origin' into jan25/issue-2042 2020-11-11 15:23:46 +01:00
Mislav Marohnić
62e4c536ce Ensure parentheses are preserved after truncating labels in table view 2020-11-11 15:22:34 +01:00
Cristian Dominguez
fa8674386b
Render links as absolute URLs in repo view (#2363)
Co-authored-by: Cristian Dominguez <cristiand391@users.noreply.github.com>
2020-11-11 13:13:19 +01:00
Sam Coe
86906c6769
Small cleanup 2020-11-04 12:40:40 +03:00
Sam Coe
241e90aa9b
Make markdown:generate annotation a markdown generation override for hidden commands 2020-11-04 12:35:58 +03:00
Sam Coe
f770c6481c
Generate markdown for help topics 2020-11-04 12:35:58 +03:00
Sam
c7ede29779
Refactor help topics to include short message 2020-11-04 12:35:58 +03:00
Alisson Santos
cf617e88f4 Extract repeated code to util function 2020-11-03 22:05:04 +01:00
Nate Smith
910063336d
Merge pull request #2351 from alissonbrunosa/improve-release-create-message
Improve error message for "gh release create" command
2020-11-03 13:36:31 -06:00
Nate Smith
441f40b427
Merge pull request #2319 from cli/cleanup-duplicate-config
Refactor config command to improve testability
2020-11-03 12:54:16 -06:00
Nate Smith
24d863eccc
Merge pull request #2316 from cli/colors-1624
migrate off of utils color functions
2020-11-03 12:49:02 -06:00
Alisson Santos
7a106e2ded improve error message 2020-11-03 18:46:07 +01:00
Sam
d79eb494d9
Merge pull request #2279 from malaDev/1818-pr-checks-empty
add message on `pr checks` returns no CI with non-empty PR
2020-11-03 10:14:31 +03:00
Sam Coe
9acbf8aae4
Refactor regexp writer 2020-11-03 09:59:40 +03:00
Sam Coe
bf46b870cb
Add multiple writes test 2020-11-03 09:59:39 +03:00
Sam Coe
eaa685ac9b
Use custom scanLines function for RegexWriter 2020-11-03 09:59:38 +03:00
Sam Coe
212993632b
Fix up regex to escape dot in URL 2020-11-03 09:59:11 +03:00
Sam Coe
28b3b2c9e7
Address PR comments 2020-11-03 09:59:09 +03:00
Sam Coe
97504f4f1f
Filter out unwanted stderr output during git push commands 2020-11-03 09:58:29 +03:00
Sam Coe
58b93e77fc
new packages for get and set subcommands 2020-11-03 09:49:06 +03:00
Sam Coe
5c5f52c4c4
Refactor config command 2020-11-03 09:49:05 +03:00
vilmibm
47eef416b3 more iostreams passing 2020-11-02 11:47:12 -08:00
vilmibm
893fe09a83 try passing iostreams around instead of writer+colorscheme 2020-11-02 11:44:50 -08:00
vilmibm
74fe97b689 use shared color function 2020-11-02 11:26:11 -08:00
vilmibm
46a1598c19 favor SuccessIcon 2020-11-02 11:13:28 -08:00
Alisson Santos
699a6c68fe Use slice and make both status lines the size of the terminal width. 2020-11-02 13:21:46 +01:00
Alisson Santos
7bff34f408 Use terminal width for the status line 2020-11-02 10:56:23 +01:00
vilmibm
a2aa154794 port entirely to ColorScheme 2020-10-29 12:37:45 -07:00
Mislav Marohnić
5e89036d49
Merge pull request #2253 from emhagman/repo-clone-friendly-error
Print friendly error when "gh repo clone" is missing required argument
2020-10-29 17:02:53 +01:00
Mislav Marohnić
fc969281cf Better tests for clone argument parsing 2020-10-29 16:52:50 +01:00
Mislav Marohnić
6b953f2913 Simplify checks test 2020-10-29 13:08:25 +01:00
Irzhy Ranaivoarivony
03309930f0 add message on pr checks returns no CI with non-empty PR 2020-10-29 13:08:25 +01:00
Abhilash Gnan
9e03d01bdf Fetch all issue labels
Signed-off-by: Abhilash Gnan <abhilashgnan@gmail.com>
2020-10-28 19:45:21 +01:00
Mislav Marohnić
e093d23521
Merge pull request #2276 from ianbillett/view-closed-prs
Allow `gh pr view <closed_pr_branch_name>` to view closed PRs
2020-10-28 17:50:10 +01:00
Mislav Marohnić
2ac68cc534 PullRequestForBranch: fix outdated error message
This method doesn't necessarily search through open pull requests.
2020-10-28 15:50:59 +01:00
Ian Billett
0f61272333 Allow PullRequestForBranch to search in closed pull requests 2020-10-28 15:50:59 +01:00
Sam
edecb2e4f7
Merge pull request #2207 from cli/codespaces
[Codespaces] Support "integration" tokens
2020-10-27 15:37:02 +03:00
Mislav Marohnić
e74e4310bb
Merge pull request #2208 from cli/merge-confirmation-fixup
Restore backwards compatibility in scripted `pr merge`
2020-10-27 13:25:18 +01:00
Mislav Marohnić
2d04292d44 Improve git config set git_protocol example
It's better to set this per-host in general, since setting the top-level
`git_protocol` key will not have any effect if the per-host setting
exists, and it does by default for anyone who ran `auth login`.
2020-10-26 14:42:24 +01:00
Mislav Marohnić
ae7d42a876 Centralize all known configuration options 2020-10-26 14:42:04 +01:00
Mislav Marohnić
ec64363085 Merge remote-tracking branch 'origin' into fix855 2020-10-26 14:05:49 +01:00
Nate Smith
78f047424b
Merge pull request #2205 from cli/garden-sigterm
Handle Ctrl-C in repo garden
2020-10-23 15:44:00 -05:00
Mislav Marohnić
c8b7dade30
Merge pull request #2262 from quiye/issue-report
Change feedback repo to github.com/cli/cli instead of cli/cli
2020-10-23 12:44:09 +02:00
zamasu
d5403fa5f5 Change feedback repo to github.com/cli/cli instead of cli/cli 2020-10-23 09:57:47 +09:00
Sam Coe
101bb90ab5
Add host back into repo flag description 2020-10-22 17:51:16 +02:00
Eric Hagman
af1d8a60e0 Print friendly error when "gh repo clone" is missing required argument 2020-10-21 23:23:39 -04:00