meiji163
65bc3acaa5
merge upstream
2022-03-07 17:58:48 -08:00
meiji163
aad291a3b8
Merge branch 'tmp' into pin-ext
2022-03-07 17:53:42 -08:00
meiji163
619774d460
fix tests
2022-03-07 17:50:38 -08:00
meiji163
bed630452b
list pinned exts
2022-03-07 17:49:04 -08:00
meiji163
db53df102c
pinning script exts
2022-03-07 17:02:22 -08:00
meiji163
d7277e396c
pinning binary exts
2022-03-07 17:02:22 -08:00
meiji163
95fa7f97cd
Merge branch 'trunk' of https://github.com/meiji163/cli into pin-ext
2022-03-07 16:53:53 -08:00
Nate Smith
e361fd47a3
Merge pull request #5254 from ganboonhong/pr-close-failed
...
pr close skips deleting local branch if not in a git repo
2022-03-07 14:53:41 -06:00
Seito Tanaka
6f66a1d265
Add version to extension list command ( #5219 )
...
* Add version to extension list command
* Trim sha only when displaying
2022-03-07 07:14:26 +00:00
meiji163
f350b917e4
fix tests
2022-03-03 22:10:35 -08:00
Patrick Veverka
cd8d653285
Merge pull request #5211 from cli/edit_codspaces
...
Allow Editing Codespaces
2022-03-03 18:22:01 -05:00
meiji163
bdab7de1d2
list pinned exts
2022-03-02 21:06:23 -08:00
meiji163
44334bbec6
pinning script exts
2022-03-02 19:25:25 -08:00
Patrick Veverka
edfaac23da
updates from review
2022-03-02 13:17:57 +00:00
meiji163
15bca56fd2
Merge branch 'cli:trunk' into pin-ext
2022-03-01 15:02:03 -08:00
meiji163
fe5eca1dd5
pinning binary exts
2022-03-01 15:01:04 -08:00
Mark Phelps
a9e92c9ed5
Fix HexToRGB panic ( #5247 )
2022-03-01 14:37:10 +00:00
Nate Smith
91c4a5d828
Merge pull request #5234 from markphelps/codespaces-accept-perms
...
Codespaces Create: Allow Accepting Permissions
2022-02-28 16:54:45 -06:00
boonhong
a6161cb8cb
pr close skips deleting local branch if not in a git repo
2022-02-26 18:03:05 +08:00
Mark Phelps
dd5feda00a
Update wording after consulting product
2022-02-25 17:32:08 -05:00
Mark Phelps
71f32376d0
Fix tests
2022-02-22 20:20:52 -05:00
Mark Phelps
707220a9b1
PR updates
2022-02-22 14:16:03 -05:00
Mark Phelps
1ea26f33d8
Add create test
2022-02-22 09:50:43 -05:00
Mislav Marohnić
57d0581504
Add note about git auth
2022-02-21 15:24:54 +01:00
Mislav Marohnić
112ca8bf91
Merge remote-tracking branch 'origin' into docs-improvements
2022-02-21 15:24:18 +01:00
Mislav Marohnić
9cbfe73140
Have core commands have consistent Short description
2022-02-18 18:39:30 +01:00
Mislav Marohnić
0f956c8502
auth login: clarify authentication alternatives
2022-02-18 18:39:30 +01:00
Mislav Marohnić
7235384f12
gh: list help topics in help output
2022-02-18 18:39:30 +01:00
Mislav Marohnić
286ba5e8dc
issue/pr list: clarify search syntax
2022-02-18 18:39:30 +01:00
Mislav Marohnić
5f8bdd64da
gh api: clarify how to pass API preview names
2022-02-18 18:39:30 +01:00
Mislav Marohnić
0f1aaae57c
issue/pr comment: allow using editor in non-interactive mode
...
The user should be able to `gh config set prompt disabled` and still be
allowed to use `gh issue comment --editor`.
2022-02-18 18:38:55 +01:00
Mislav Marohnić
57f49d9f8a
issue/pr comment: improve docs as it relates to editor
2022-02-18 18:38:44 +01:00
Mislav Marohnić
512208ca96
repo fork: tweak docs
2022-02-18 18:38:34 +01:00
Mislav Marohnić
19563c4a74
Use StringEnumFlag helper in more places
2022-02-18 12:52:47 +01:00
Mark Phelps
e7c2f973ae
Support opting out of permissions
2022-02-17 15:11:12 -05:00
Jonathan Mayer
1eefda0b45
gh auth login: add git protocol flag ( #5158 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 19:35:59 +00:00
Christian Gregg
c5dbf20ed4
Alias list as ls for all commands ( #5214 )
...
I always get tripped up whenever trying to list my codespaces, adding
`ls` as an alias to `list` feels natural enough.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 13:53:42 +01:00
Mark Phelps
84aad52b22
Merge branch 'cli:trunk' into codespaces-accept-perms
2022-02-16 10:08:49 -05:00
Mark Phelps
590acaa1d6
WIP
2022-02-15 19:35:53 -05:00
Patrick Veverka
e3ff873d64
since we can change the machine name, we should probably allow them to list it
2022-02-16 00:00:13 +00:00
Patrick Veverka
0635514ddf
first stab
...
wip
move to method param
flushing out
2022-02-15 20:13:30 +00:00
Josh Gross
c2a9c5a74b
Support filtering pull requests authored by GitHub Apps ( #5180 )
2022-02-15 19:36:06 +01:00
Mislav Marohnić
5d36bcc4de
Merge remote-tracking branch 'origin' into fix/release-discussion-category
2022-02-15 18:28:08 +01:00
Mislav Marohnić
72340076ae
tests
2022-02-15 18:27:58 +01:00
Breno Silva
6e14426dfb
docs: improve repo edit docs ( #5165 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-15 17:35:30 +01:00
Sam Coe
28d2b52769
release create: warn about unpushed local git tag ( #5104 )
...
If `gh release create <TAG>` was called and TAG exists locally but not on the remote, this warns about the unpushed tag to avoid recreating it on the remote. The user can pass a value for `--target` to silence the warning.
2022-02-15 16:36:37 +01:00
Mislav Marohnić
0a5e220231
Ignore EPIPE errors when writing to a closed pager
...
While a gh command is writing stdout to a pager, the user may choose to
close the pager program before the pager has read all the data on its
standard input. In that case, the parent gh process will receive an
EPIPE error, which would bubble up its error handling and cause it to
print something like:
write |1: broken pipe
Since this was caused by an explicit user action of closing the pager,
and since the user probably doesn't want to see this uninformative
error, this informs our global error handling of this error and causes
it to be ignored.
2022-02-10 16:42:00 +01:00
Mislav Marohnić
c9f44ffda9
Merge pull request #5186 from cli/credential-helper-fix
...
Fix authenticating git operations after `auth login --with-token`
2022-02-10 15:59:41 +01:00
Patrick Veverka
f6f8ba8b7b
Add display name for codespaces ( #5044 )
2022-02-09 16:15:03 +01:00
Mislav Marohnić
6701b526d1
Fix authenticating git operations after auth login --with-token
...
After completing the interactive `gh auth login` flow, the `hosts.yml`
config file will have been populated with both `oauth_token` and `user`
properties for the GitHub host. However, after `auth login --with-token`
only the `oauth_token` is persisted but no username.
This fixes `auth git-credential` behavior so it allows authentication
even if the `user` property is missing. It's entirely optional to send a
proper username for git authentication, since GitHub seems to ignore the
actual value sent and just focuses on the token itself.
2022-02-09 00:10:10 +01:00