Commit graph

6106 commits

Author SHA1 Message Date
Nate Smith
f2febbc46e
Merge pull request #6567 from cli/gh-ext-search
gh ext search
2022-11-08 12:54:07 -08:00
vilmibm
036e16608f Merge remote-tracking branch 'origin/trunk' into gh-ext-search 2022-11-08 12:40:21 -08:00
Nate Smith
bd54e8e472
Merge pull request #6530 from cli/gh-ext-browse-tview
gh ext browse
2022-11-08 12:35:10 -08:00
vilmibm
3abba558f3 review feedback 2022-11-08 12:32:44 -08:00
vilmibm
85e336526d tweak usage 2022-11-08 12:31:33 -08:00
vilmibm
e84383589e add more usage info 2022-11-08 11:15:39 -08:00
vilmibm
4bc623591f gh ext browse 2022-11-08 10:51:20 -08:00
vilmibm
869248fc53 review feedback 2022-11-07 15:05:35 -08:00
vilmibm
4a2c5f222a add gh ext search 2022-11-04 15:21:12 -07:00
JP Ungaretti
a8f5767674
Merge pull request #6568 from jungaretti/jungaretti/add-proto-guide
Add instructions for adding protocol buffers
2022-11-04 13:40:25 -07:00
JP Ungaretti
67236841ee Specify directory for generate.sh 2022-11-04 20:30:41 +00:00
JP Ungaretti
95542a8211 Remove colon from header 2022-11-04 20:28:47 +00:00
JP Ungaretti
c020d602ff Remove extra generation 2022-11-04 20:14:48 +00:00
JP Ungaretti
7ade90089d Add docs for gRPC 2022-11-04 20:12:19 +00:00
Natthakit Susanthitanon
8617eb7df9
Add jobs field for run view --json (#6507)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-03 12:59:35 +00:00
Mislav Marohnić
b94d07347f
Add support for garage.github.com (#6478) 2022-11-03 12:12:38 +00:00
Mislav Marohnić
9ec2107cc6
Merge pull request #6421 from cli/go-gh-term
Dogfood term package from go-gh
2022-11-03 13:02:24 +01:00
Mislav Marohnić
c2793b62c4
Bump go-gh
Features:
- Support garage.github.com
- Resolve ssh hostname aliases with `ssh -G`
- Correctly measure terminal size when stdout is redirected
2022-11-03 12:51:51 +01:00
Ariel Deitcher
33e589465e
--force overrides pinned extensions (#6513) 2022-11-03 12:12:20 +01:00
Sam Coe
f96b2fce57
Refactor git client and add tests (#6525) 2022-11-03 11:58:38 +01:00
Mislav Marohnić
6c8aaff919
Merge pull request #6538 from cli/release-make-latest
Support explicitly marking a Release as "Latest"
2022-11-03 11:31:10 +01:00
Mislav Marohnić
63a64ee4f0
Merge pull request #6556 from cli/time-zone-test
Normalize time-zone headers in tests
2022-11-03 11:30:04 +01:00
Mislav Marohnić
57b3ef1f38
Merge pull request #6558 from cli/setup-git-windows
Fix setting up git credential helper on Windows
2022-11-02 18:58:02 +01:00
BakaFT
fa2223129b
Warn from gh gpg-key add when key is not armored (#6528)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-02 16:33:25 +01:00
Mislav Marohnić
ba028b9044 Fix setting up git credential helper on Windows 2022-11-02 15:53:26 +01:00
Mislav Marohnić
4b2e380768
Normalize time-zone headers in tests
Setting a static time zone guards from test failures when the local time zone could not be detected.
2022-11-02 12:54:39 +01:00
Mislav Marohnić
ff9b18310a
Merge pull request #6552 from cli/owner-affiliations
Fix `repo list` when belonging to org with IP Allow list enabled
2022-11-02 10:28:22 +01:00
Luis Filipe Pessoa
a15c254eba
Adding output functionality (#6410)
Output flag allows one to download to a specific file location or event redirect to output using '-' as argument.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-02 10:24:33 +01:00
Mislav Marohnić
17e64674f5
repo list: fix when belonging to org with IP Allow list enabled
Using `ownerAffiliations` instead of `affiliations` seems more semantically correct to list all repos belonging to a user or an organization, but the latter thas an added benefit that it also works around a problem when the API would return an error if the user happens to belong to an organization that has IP allow list enabled.

From our GraphQL docs:

> `affiliations`: Array of viewer's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the current viewer owns.
>
> `ownerAffiliations`: Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns.
2022-11-02 00:55:46 +01:00
Caleb Brose
3692defe8d
Merge pull request #6551 from jungaretti/jungaretti/incremental-rebuild 2022-11-01 17:45:31 -05:00
JP Ungaretti
925edf3892 Add long description 2022-11-01 22:35:39 +00:00
JP Ungaretti
66c4e7eca8 Use Log and Error instead of Fatal 2022-11-01 21:45:56 +00:00
JP Ungaretti
647ba727f1 Fix name of mock function 2022-11-01 21:10:58 +00:00
JP Ungaretti
a29820ebe3 Use incremental rebuild by default 2022-11-01 21:00:14 +00:00
Mislav Marohnić
e8dc825c7c
Avoid duplicate release when creating a release with assets (#6493)
When publishing a release, we rely on server-side validation to abort the operation if an existing published release with the same tag name already exists.

However, then creating a release with assets, we first create a draft release, upload assets to it, then publish. If there was an existing release with the same tag name, the operation would fail but it would leave behind a temporary draft release with assets. This makes the operation fail earlier, before creating any records.
2022-11-01 19:03:03 +00:00
Mislav Marohnić
afef80e988
Merge pull request #6494 from cli/run-number
gh run list --json: add `number` field
2022-11-01 19:40:34 +01:00
Jeffrey Duroyon
6d32ce612c
feat: make topic param as list in repo list command (#6539)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-01 19:39:43 +01:00
Mislav Marohnić
eeff8868ab
Merge pull request #6527 from cli/pr-create-no-git
Enable `gh pr create` from outside of a local git repo
2022-11-01 19:39:15 +01:00
Mislav Marohnić
fe485c14cc
Merge pull request #6535 from jsoref/issue-6534
Replace secrets.GITHUB_TOKEN with github.token
2022-11-01 19:34:53 +01:00
Mislav Marohnić
0d77e9e945
Merge pull request #6537 from cli/hyperlink-helper-docs
Document the hyperlink helper
2022-11-01 19:34:03 +01:00
swfz
2b570d9e53
Upgrade actions/checkout to v3 in extension template (#6543) 2022-11-01 17:18:10 +00:00
Caleb Brose
3514de4b2d
Merge pull request #6544 from ctaylor4874/trunk 2022-11-01 11:44:54 -05:00
Cody Taylor
65ba9d4472 Ran go mod tidy 2022-11-01 11:28:34 -05:00
Josh Soref
6530c8fa1b Replace secrets.GITHUB_TOKEN with github.token 2022-11-01 10:59:17 -04:00
Cody Taylor
9a80d9c65c Adds max interval and conditional check on elapsed time 2022-10-31 15:23:54 -05:00
Cody Taylor
893bc25bcc Adds exponential backoff to ConnectToLiveshare; Fixes #5738 2022-10-31 13:55:33 -05:00
Mislav Marohnić
c63e3a094d
release create: support explicitly marking as "Latest" 2022-10-31 16:30:51 +01:00
Mislav Marohnić
38d465b1da
Merge remote-tracking branch 'origin' into go-gh-term 2022-10-31 15:33:24 +01:00
Mislav Marohnić
dbc244a993
Document the hyperlink helper 2022-10-31 15:04:53 +01:00
Mislav Marohnić
8c32ca925c
Enable gh pr create --repo <repo> from outside of a local git repository
When failing to read information from the local git repository, silence that failure if `--repo` was given.
2022-10-28 18:22:37 +02:00