William Martin
dc7c66c142
Add Writing Tests section to Acceptance README
2024-10-11 16:31:22 +02:00
William Martin
64f5b3c206
Add Debug and Authoring sections to Acceptance README
2024-10-11 16:31:22 +02:00
William Martin
ee5709a4b6
Acceptance test PR comment
2024-10-11 16:31:22 +02:00
William Martin
99a9b35410
Acceptance test PR merge and rebase
2024-10-11 16:31:22 +02:00
William Martin
320c5aba4a
Note syntax highlighting support for txtar files
2024-10-11 16:31:22 +02:00
William Martin
502daff2a1
Refactor acceptance test environment handling
2024-10-11 16:31:22 +02:00
William Martin
5745eb1c1c
Add initial acceptance test README
2024-10-11 16:31:22 +02:00
William Martin
eb9eeb10e1
Use txtar extension for testscripts
2024-10-11 16:31:22 +02:00
William Martin
99f7e048f9
Support targeting other hosts in acceptance tests
2024-10-11 16:31:22 +02:00
William Martin
464a69ae87
Use stdout2env in PR acceptance tests
2024-10-11 16:31:21 +02:00
William Martin
37171628c6
Acceptance test PR checkout
2024-10-11 16:31:21 +02:00
William Martin
5ed237c65a
Add pr view test script
2024-10-11 16:31:21 +02:00
William Martin
d7465bdf3c
Initial testscript introduction
2024-10-11 16:31:16 +02:00
Phill MV
28c2308458
While we're at it, let's ensure VerifyCertExtensions can't be tricked the same way.
2024-10-10 11:22:22 -04:00
bagtoad
9b0fc5d555
Merge branch 'bagtoad/cli-8946-list-licenses-and-gitignore-options' of https://github.com/cli/cli into bagtoad/cli-8946-list-licenses-and-gitignore-options
2024-10-09 22:51:38 -06:00
bagtoad
95ca152fea
Add examples for creating .gitignore files
2024-10-09 22:51:24 -06:00
Kynan Ware
d45777651d
Merge branch 'trunk' into bagtoad/cli-8946-list-licenses-and-gitignore-options
2024-10-09 22:42:29 -06:00
bagtoad
922a157206
Update help for license view
...
Updated `Use` to indicate that args can be an SPDX ID or license key.
Improved the examples docs to show the use of both.
2024-10-09 22:34:06 -06:00
bagtoad
9b94bee895
Refactor http error handling
2024-10-09 22:26:03 -06:00
bagtoad
8abed17a00
implement --web flag for license view
2024-10-09 22:21:26 -06:00
bagtoad
a42d3e2f79
Fix license view help doc, add LICENSE.md example
2024-10-09 21:46:41 -06:00
bagtoad
f07f49810a
Update help and fix heredoc indentation
2024-10-09 21:41:54 -06:00
bagtoad
282b3293c5
Add SPDX ID to license list output
2024-10-09 21:21:13 -06:00
bagtoad
d6c6c6b40c
Fix ExactArgs invocation
2024-10-09 21:15:16 -06:00
bagtoad
f064bda5ea
Add Long for license list indicating limitations
2024-10-09 21:10:35 -06:00
bagtoad
4ecb125c7c
Update function names
...
Licenses are no longer referred to as templates. Prefix the new license and gitignore functions with "Repo" as a more descriptive name.
2024-10-09 21:00:43 -06:00
bagtoad
c2a7756c01
Reverse repo/shared package name change
2024-10-09 20:49:29 -06:00
Phill MV
aaea0166e2
If provided with zero attestations to verify, the LiveSigstoreVerifier.Verify func should return an error.
2024-10-09 16:51:00 -04:00
William Martin
76ea939627
Merge pull request #9729 from cli/kw/cli-9248-handle-error-in-hostname-parsing
...
Handle errors when parsing hostname in auth flow
2024-10-09 13:43:46 +02:00
William Martin
f47af31c46
Bump cli/oauth to 1.1.1
2024-10-09 13:30:37 +02:00
Tyler McGoffin
dcbd1b728c
Add test coverage for TitleSurvey change
2024-10-08 16:32:50 -07:00
Tyler McGoffin
da945314fd
Fix failing test for pr and issue create
2024-10-08 16:11:05 -07:00
Tyler McGoffin
be3b6cbd8d
Make the X in the error message red and print with io writer
2024-10-08 16:03:14 -07:00
bagtoad
ca01bb8f9c
Handle errors from parsing hostname in auth flow
2024-10-08 16:12:40 -06:00
Kynan Ware
8a1e6ac9f0
Apply suggestions from code review
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-10-08 14:00:30 -06:00
Tyler McGoffin
dfddb16ba3
Merge pull request #9626 from smemsh/markdown-maxwidth-env
...
configurable maxwidth for markdown WithWrap()
2024-10-07 12:35:47 -07:00
Kynan Ware
04ed1ed1a0
Merge branch 'trunk' into bagtoad/cli-8946-list-licenses-and-gitignore-options
2024-10-06 14:01:58 -06:00
bagtoad
0f1320a0a0
Refactor tests and add new tests
2024-10-06 13:24:21 -06:00
bagtoad
3be44fb6e2
Move API calls to queries_repo.go
2024-10-06 11:51:16 -06:00
Scott Mcdermott
4aff4ebe12
Allow user to override markdown wrap width via $GH_MDWIDTH from environment
2024-10-04 17:43:06 -07:00
Tyler McGoffin
5fc311374a
Add handling of empty titles for Issues and PRs
...
Currently, the prompter doesn't enforce the requirement of a title for PR
and Issue creation. However, that creates the UX where a user can enter a
blank title, spend time filling out a detailed body, then fail to create
the issue or pr when the request is sent to the api because the title is
blank. This attempts to handle that before sending a request to the api,
enforcing that, when prompting, the title of an issue is not blank.
2024-10-04 10:08:48 -07:00
Kynan Ware
d645fd4f00
Merge pull request #7091 from ulfjack/patch-1
...
Print the login URL even when opening a browser
2024-10-03 12:37:08 -06:00
Tyler McGoffin
9bd75d23ee
Merge pull request #9650 from timrogers/timrogers/log-platform-fallback
...
Emit a log message when extension installation falls back to a `darwin-amd64` binary on an Apple Silicon macOS device
2024-10-03 10:19:14 -07:00
Ulf Adams
e6d39eb886
Print the login URL even when opening a browser
...
Fixes https://github.com/cli/cli/issues/5500 .
2024-10-03 17:18:52 +02:00
Kynan Ware
dae074049a
Merge pull request #9687 from cli/kw/improve-security.md-encourage-pocs-and-investigation
...
Improve `SECURITY.md` with expectations for privately reported vulnerabilities
2024-10-02 12:33:43 -06:00
Kynan Ware
8ba31ddb38
Merge pull request #9683 from cli/kw/github-cli-568-unblock-community-design-work
...
Allow community submitted design work
2024-10-01 17:41:31 -06:00
Kynan Ware
289b9bc712
Apply suggestions from code review
...
Co-authored-by: Tyler McGoffin <jtmcg@github.com>
2024-10-01 17:24:23 -06:00
Kynan Ware
3f3acde393
Merge pull request #9688 from cli/dependabot/go_modules/github.com/theupdateframework/go-tuf/v2-2.0.1
...
build(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.0.0 to 2.0.1
2024-10-01 14:18:20 -06:00
dependabot[bot]
29192daa23
build(deps): bump github.com/theupdateframework/go-tuf/v2
...
Bumps [github.com/theupdateframework/go-tuf/v2](https://github.com/theupdateframework/go-tuf ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/theupdateframework/go-tuf/releases )
- [Changelog](https://github.com/theupdateframework/go-tuf/blob/master/.goreleaser.yaml )
- [Commits](https://github.com/theupdateframework/go-tuf/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: github.com/theupdateframework/go-tuf/v2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 18:15:14 +00:00
Kynan Ware
023a44904a
Update SECURITY.md
2024-10-01 12:02:54 -06:00