Rajhans Jadhao
211aaefc39
Merge branch 'trunk' into rerun-err-msg
2025-01-21 10:38:23 +05:30
Kynan Ware
722fc67342
Merge pull request #10048 from mateusmarquezini/fix/issue_10042
...
Fix: `gh gist view` and `gh gist edit` prompts with no TTY
2025-01-20 12:12:53 -07:00
Andy Feller
fe74349fe4
Merge pull request #10269 from cli/BagToad-add-affected-version-to-bug-report-form
2025-01-17 22:55:03 -05:00
Caleb Brose
0c8591064d
Change back to exponential backoff
2025-01-17 14:09:33 -06:00
Caleb Brose
9b8cd7babd
Linter
2025-01-17 14:09:33 -06:00
Caleb Brose
31bff5b5a8
Better handling for codespace state polling
2025-01-17 14:09:33 -06:00
Kynan Ware
7942be56aa
Add affected version to bug report form
2025-01-17 12:07:32 -07:00
Kynan Ware
60f8417d4b
Merge pull request #10250 from cli/dependabot/go_modules/google.golang.org/protobuf-1.36.3
...
Bump google.golang.org/protobuf from 1.36.2 to 1.36.3
2025-01-16 14:21:33 -07:00
Andy Feller
07c63558b8
Merge pull request #10184 from cli/dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.8
...
Bump github.com/gabriel-vasile/mimetype from 1.4.7 to 1.4.8
2025-01-16 15:56:25 -05:00
Kynan Ware
facd0caa29
Fix: accidental whitespace in gist edit
2025-01-16 11:44:46 -07:00
Kynan Ware
5b6fd53a88
Fix: gist edit test name
2025-01-16 11:36:48 -07:00
Kynan Ware
dec46670bb
Fix: gist edit/view tests var name consistency
2025-01-16 11:14:33 -07:00
Kynan Ware
a2dce589d6
Merge 'trunk' into fix/issue_10042
2025-01-16 11:06:36 -07:00
Kynan Ware
35d81e3ff5
Fix: Gist edit tests for interactivity
...
This changes the gist edit tests to use the positive `istty` instead of the previous inverse `nontty`, which is consistent with the way other commands are written.
2025-01-16 10:46:07 -07:00
Andy Feller
8288011149
Merge pull request #10239 from cli/andyfeller/10235-non-blocking-ext-update
...
Make extension update check non-blocking
2025-01-16 08:40:39 -05:00
William Martin
cc4bf0fc9f
Add small wait to extension update tests
2025-01-16 14:10:42 +01:00
Andy Feller
243acaf579
Refactor test based on PR feedback
2025-01-16 00:08:45 -05:00
Rajhans Jadhao
143d628f1b
Merge branch 'trunk' into rerun-err-msg
2025-01-16 09:02:31 +05:30
dependabot[bot]
2757d22b4b
Bump google.golang.org/protobuf from 1.36.2 to 1.36.3
...
Bumps google.golang.org/protobuf from 1.36.2 to 1.36.3.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-15 14:49:31 +00:00
Tyler McGoffin
adc5f01d23
Merge pull request #10214 from cli/dependabot/go_modules/github.com/sigstore/protobuf-specs-0.3.3
...
Bump github.com/sigstore/protobuf-specs from 0.3.2 to 0.3.3
2025-01-14 16:08:39 -08:00
Tyler McGoffin
12ee8b7a86
Merge pull request #10154 from danochoa/gh-gist-delete-prompt
...
gh gist delete: prompt for gist id
2025-01-14 14:42:13 -08:00
Tyler McGoffin
3feeb9a826
Add tests for deleteGist
2025-01-14 14:21:49 -08:00
Rajhans Jadhao
10d4d27d8c
Merge branch 'trunk' into rerun-err-msg
2025-01-14 15:04:15 +05:30
Daniel A. Ochoa
3370bc8a04
Merge branch 'trunk' into gh-gist-delete-prompt
2025-01-13 21:17:23 -06:00
Andy Feller
bc8c46b0b1
Make extension update check non-blocking
...
Fixes #10235
This commit updates the Cobra command logic around extension upgrade checks to be non-blocking.
Previously, we were waiting for 1 second after the extension completed to allow the update checking logic complete, however users want the GitHub CLI to run as far as possible.
2025-01-13 20:38:03 -05:00
Tyler McGoffin
6fe21d8f52
Merge pull request #10197 from cli/jtmcg/remove-named-returns
...
Remove naked return values from `ReadBranchConfig` and `prSelectorForCurrentBranch`
2025-01-13 09:55:17 -08:00
dependabot[bot]
7300f0d568
Bump github.com/gabriel-vasile/mimetype from 1.4.7 to 1.4.8
...
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype ) from 1.4.7 to 1.4.8.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases )
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.7...v1.4.8 )
---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 15:23:32 +00:00
Meredith Lancaster
112552fec1
Merge pull request #10185 from malancas/fetch-artifact-attestation-bundles-with-sas-url
2025-01-13 08:20:33 -07:00
Mateus Marquezini
4eb0e8138f
Merge branch 'trunk' into fix/issue_10042
2025-01-13 11:47:52 -03:00
Mateus Marquezini
c0f6eb0598
#10042 : Attempt to add a new test scenario for handling error messages when TTY is unavailable
2025-01-13 11:39:48 -03:00
Andy Feller
41e99b9eab
Merge pull request #9934 from cli/andyfeller/cli-cli-8183-timeout-pt2
...
Ensure extension update notices only notify once within 24 hours, provide ability to disable all extension update notices
2025-01-13 09:12:32 -05:00
Mateus Marquezini
977e2326a2
#10042 : Applied code review suggestions to view_test.go
2025-01-13 11:06:13 -03:00
Rajhans Jadhao
9035f651c7
Merge branch 'trunk' into rerun-err-msg
2025-01-13 19:24:09 +05:30
Rajhans Jadhao
b41b77165b
show error message for rerun workflow older than a month ago
2025-01-13 19:21:58 +05:30
Andy Feller
3ada5af872
Enhance help docs on ext upgrade notices
...
- update `gh help environment` to include that upgrade notices only happen when gh or extensions are executed
- update `gh ext --help` to include reference to upgrade notices and points to `gh help environment` for info on disabling
2025-01-13 08:41:10 -05:00
Andy Feller
8a2be52be0
Merge pull request #10225 from zhuhaicity/fix_func_name
...
chore: fix some function names in comment
2025-01-13 08:08:18 -05:00
danochoa
1d9b4e4464
fix tests
2025-01-12 19:36:44 -06:00
danochoa
08f7706c42
fix tests
2025-01-12 19:18:24 -06:00
danochoa
7885167c70
gist delete - check no gists
2025-01-12 17:01:45 -06:00
Mateus Marquezini
24e9fed7e0
removed unnecessary space
2025-01-12 14:57:24 -03:00
Mateus Marquezini
c5d6ae6cf6
Update pkg/cmd/gist/edit/edit.go
...
Update pkg/cmd/gist/edit/edit.go after code review
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2025-01-12 14:53:20 -03:00
Mateus Marquezini
f65ac161ee
Merge branch 'trunk' into fix/issue_10042
2025-01-12 14:50:41 -03:00
zhuhaicity
13211af256
chore: fix some function names in comment
...
Signed-off-by: zhuhaicity <zhuhai@52it.net>
2025-01-12 15:07:04 +08:00
danochoa
5de282c970
drop description from prompts, fix tests
2025-01-11 01:35:12 -06:00
Andy Feller
0a1c9be656
Expand docs on cleaning extension update dir
...
This summarizes a conversation within cli/cli#9934 PR regarding how the new extension update directory metadata would affect gh if not cleaned up.
2025-01-10 14:57:10 -05:00
Andy Feller
97eb8a194e
Simplifying cleanExtensionUpdateDir logic
...
This function was doing some unnecessary heavy lifting detecting if the directory being deleted actually existed when `os.RemoveAll()` would handle directories that exist or not.
2025-01-10 14:29:55 -05:00
Andy Feller
20062233c8
Separate logic for checking updates
...
During discussion in cli/cli#9934 , we can to the conclusion that the logic around checking for core GitHub CLI updates would diverge from GitHub CLI
extension updates over time. To that end, this commit splits that logic into a separate function with a new environment variable.
2025-01-10 14:16:46 -05:00
Andy Feller
1c32c986ec
Capture greater detail on updaterEnabled
...
This commit expands the in-line docs around updaterEnabled package variable used to affect release checking.
Along with clarifying specific details discovered when talking with @williammartin, I'm also removing a useless local variable.
2025-01-10 13:55:16 -05:00
Tyler McGoffin
74cbd50d3f
Restore old error functionality of prSelectorForCurrentBranch
...
Before this refactor, the errors emitted by ghrepo.FromURL and
rem.FindName() were suppressed. It isn't clear whether this was
intentional or not, but we've made the decision here to maintain the
original error behavior while still refactoring the return values for more
clarity. I've left a comment at each error handling block to explain this
decision.
Additionally, I've added the necessary git command stubs to the other
tests in status_test.go so that the tests are now passing.
2025-01-10 10:52:01 -08:00
Andy Feller
a6ea8fe4ed
Merge pull request #10216 from nobe4/improve-padded-display
...
fix: padded display
2025-01-10 13:45:51 -05:00