Commit graph

7444 commits

Author SHA1 Message Date
Meredith Lancaster
de63deab20
Merge pull request #2 from phillmv/gh-attestation-cmd
Tweak gh attestation doc strings
2024-03-25 10:26:20 -06:00
Meredith Lancaster
6b4f3872a1
Merge branch 'trunk' into gh-attestation-cmd 2024-03-25 10:20:17 -06:00
Phill MV
0b14695ee1 Forgot verify's short str. 2024-03-25 11:53:16 -04:00
William Martin
1a102edb52
Merge pull request #8870 from ihommani/auth-switch-doc-typo
Fix typo in auth switch help example
2024-03-24 07:54:47 +01:00
ihommani
1cac2280aa Fix typo in auth switch help example 2024-03-23 20:56:09 +00:00
Phill MV
96da5f74ca lets hide tuf-root-verify eh? 2024-03-22 16:33:49 -04:00
Phill MV
416d981f70 Tweaked docstrings for gh attestation verify 2024-03-22 15:40:15 -04:00
Phill MV
2e1d27a8ce Tweaked docstrings for gh attestation download 2024-03-22 15:39:36 -04:00
Meredith Lancaster
c16406b6e6 Merge branch 'gh-attestation-cmd' of github.com:malancas/cli into gh-attestation-cmd 2024-03-20 15:18:32 -06:00
Meredith Lancaster
49dfa3f6d5 use CLI cache dir to store tuf metadata
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-20 15:18:19 -06:00
Meredith Lancaster
3391fb105b
Merge branch 'trunk' into gh-attestation-cmd 2024-03-20 07:45:19 -06:00
yasunori
b54f7a3bde
Include draft ID in project item list JSON (#8754) 2024-03-20 12:58:51 +01:00
Meredith Lancaster
98d7bef299 use strings.Replace for all command tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-19 16:51:26 -06:00
Meredith Lancaster
79d3c9594d use strings.Split func
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-19 16:41:13 -06:00
Meredith Lancaster
023b2af7d0 Merge branch 'trunk' into gh-attestation-cmd 2024-03-19 16:20:34 -06:00
Meredith Lancaster
5172edd2b2 escape backwards slash for windows files with replace
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-19 16:00:40 -06:00
William Martin
a14ecfda62
Merge pull request #8844 from cli/dependabot/go_modules/github.com/cpuguy83/go-md2man/v2-2.0.4
build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4
2024-03-19 21:12:18 +01:00
dependabot[bot]
911d966880
build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4
Bumps [github.com/cpuguy83/go-md2man/v2](https://github.com/cpuguy83/go-md2man) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/cpuguy83/go-md2man/releases)
- [Commits](https://github.com/cpuguy83/go-md2man/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: github.com/cpuguy83/go-md2man/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 14:13:27 +00:00
William Martin
83f0b5b810
Merge pull request #8843 from cli/wm/doc-run-view-and-watch
Document run watch and view not supporting fine grained PATs
2024-03-19 15:03:04 +01:00
William Martin
90fc403813 Document run watch and view not supporting fine grained PATs 2024-03-19 14:52:43 +01:00
Meredith Lancaster
2a00a02a2e dont clean
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 12:34:55 -06:00
Meredith Lancaster
1e51ec7f1a
Merge branch 'trunk' into gh-attestation-cmd 2024-03-18 12:09:31 -06:00
Meredith Lancaster
807eefd046 use test fixtures correctly by normalizing path
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 12:09:19 -06:00
Meredith Lancaster
02a1274eaa cleanup error wrapping
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 11:57:44 -06:00
Meredith Lancaster
12c7de2559 add tests for json output
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 11:37:29 -06:00
Meredith Lancaster
b5ffcf116d Merge branch 'gh-attestation-cmd' of github.com:malancas/cli into gh-attestation-cmd 2024-03-18 10:51:58 -06:00
Meredith Lancaster
4f2f71950e use normalized path for cli test arg
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 10:51:46 -06:00
William Martin
b85083c98a
Merge pull request #8839 from cli/wm/auth-switch-more-docs
Document auth switch behaviour for two or more accounts
2024-03-18 17:49:49 +01:00
Meredith Lancaster
6abd1fe7ae
Merge branch 'trunk' into gh-attestation-cmd 2024-03-18 10:36:17 -06:00
Meredith Lancaster
09b11dbb11 use format flag to handle json output
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 10:35:10 -06:00
Meredith Lancaster
172e4f6d6d use format flag to handle json output in verify cmd
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 10:27:32 -06:00
William Martin
0f5d2aed0a Document auth switch behaviour for two or more accounts 2024-03-18 17:24:38 +01:00
William Martin
96f1074c63
Merge pull request #8838 from jsoref/gh-docs-multiple-accounts
Gh docs multiple accounts
2024-03-18 17:22:07 +01:00
Josh Soref
6ff355049c
Improve discovery of gh auth status 2024-03-18 12:09:27 -04:00
Meredith Lancaster
53df7cd8f2 add comment about http client
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 09:34:48 -06:00
Meredith Lancaster
b37bf1fc75 Merge branch 'trunk' into gh-attestation-cmd 2024-03-18 09:27:03 -06:00
Meredith Lancaster
cbcd34e34e set api server based on host
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 09:23:01 -06:00
Josh Soref
304ce82fa7
grammar: avoid e.g.+etc. together
https://meryl.net/ie-etc-and-eg/
2024-03-18 11:21:25 -04:00
Meredith Lancaster
5cc2f6af1a clean up nil client checks
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-18 08:57:54 -06:00
William Martin
ab24653770
Merge pull request #8833 from cli/wm/bump-go-keyring
Bump go-keyring to fix race condition
2024-03-18 15:50:33 +01:00
William Martin
2eeac4175f
Merge pull request #8834 from malor/fix-doc
Fix the description of `gh release upload`
2024-03-18 12:41:39 +01:00
Roman Podoliaka
0d84970bbb
Fix the description of gh release upload
The formatting verb is used incorrectly and produces a misleading
help text for this command:

```
To define a display label for an asset, append text starting with %#% after the file name.
```

instead of the expected:

```
To define a display label for an asset, append text starting with `#` after the file name.
```
2024-03-18 11:19:20 +00:00
William Martin
5bd32fc066 Bump go-keyring to fix race condition 2024-03-18 12:17:12 +01:00
Meredith Lancaster
274af8b436 normalize all relative paths
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-15 13:34:11 -06:00
Meredith Lancaster
08f0a5688b remove unneeded slice
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-15 09:37:30 -06:00
Meredith Lancaster
b5f6bd5cfa GitHubTUFOptions no longer needs to return error
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-15 06:45:36 -06:00
Meredith Lancaster
2ef8eb6a1f add more tufrootveriify tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-15 06:43:12 -06:00
Meredith Lancaster
af75fe875c remove quiet and verbose flags
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 22:42:21 -06:00
Meredith Lancaster
007d368681 use GH_DEBUG value for io handling
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 22:38:33 -06:00
Meredith Lancaster
7067130603 include image name reference err
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-14 22:20:54 -06:00