Commit graph

7328 commits

Author SHA1 Message Date
Meredith Lancaster
9b9ddcd1da fix command
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 13:35:55 -07:00
Meredith Lancaster
1a7fa8e37f Merge branch 'gh-attestation-cmd' of github.com:malancas/cli into gh-attestation-cmd 2024-03-06 13:26:04 -07:00
Meredith Lancaster
e756694eda fix file path
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 13:25:56 -07:00
Meredith Lancaster
3e341398f4
Merge branch 'trunk' into gh-attestation-cmd 2024-03-06 13:20:39 -07:00
Meredith Lancaster
956e10af0e add integration test
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 13:20:23 -07:00
Meredith Lancaster
5492f8974d add testing around OCI and API client
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 11:39:32 -07:00
Meredith Lancaster
277af34e89 add missing logger
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 10:53:09 -07:00
William Martin
f4dff56057
Merge pull request #8795 from cuinix/trunk
remove repetitive word
2024-03-06 16:57:09 +01:00
cuinix
6091e7ad5b remove repetitive word
Signed-off-by: cuinix <915115094@qq.com>
2024-03-06 23:30:00 +08:00
Meredith Lancaster
4273980a42 add more verbose options and logging
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-06 07:57:23 -07:00
Meredith Lancaster
155a7c9111 move client initialization back to subcommands
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 17:48:26 -07:00
Meredith Lancaster
2923d106ff mark tuf-root-verify cmd hidden
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 16:21:55 -07:00
Meredith Lancaster
56261d7bcb rename command
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 16:20:45 -07:00
Meredith Lancaster
65071223d8 pass oci client to commands directly
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 14:39:28 -07:00
Meredith Lancaster
af90403ecb check user's GH host for compatibility
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-05 09:53:36 -07:00
Meredith Lancaster
625c4412d4 fix printf linter issue
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 16:34:50 -07:00
Meredith Lancaster
fec5bfbbad fix printf linter issue
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 16:17:59 -07:00
Meredith Lancaster
9c3d1e5c50 Merge branch 'gh-attestation-cmd' of github.com:malancas/cli into gh-attestation-cmd 2024-03-04 15:45:49 -07:00
Meredith Lancaster
532fe9576c go mod tidy
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:45:33 -07:00
Meredith Lancaster
7fddc8fc82
Merge branch 'trunk' into gh-attestation-cmd 2024-03-04 15:42:57 -07:00
Meredith Lancaster
149a78a23c formatter
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:42:08 -07:00
Meredith Lancaster
31a00b4f70 fix path in codeowners
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:38:16 -07:00
Meredith Lancaster
4df1548c1e rename logger pkg to logger
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:36:48 -07:00
Meredith Lancaster
fa22214380 pass iostream struct from command
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 15:30:48 -07:00
Meredith Lancaster
e35bec9474 add verify-tuf-root cmd
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 14:22:24 -07:00
Meredith Lancaster
f832d57eb3 pass factory object to inspect cmd, add inspect sub cmd to attestation cmd
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 13:58:02 -07:00
Meredith Lancaster
884fe225d1 add inspect cmd
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 13:55:05 -07:00
Meredith Lancaster
cbd57deb11 add download cmd
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 11:05:06 -07:00
Meredith Lancaster
b1fbfdd228 add more mock api client options
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 10:45:44 -07:00
Meredith Lancaster
b8a570fcfa use correct owner
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 10:31:55 -07:00
Meredith Lancaster
a340e9b33c include missing fields
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 10:21:16 -07:00
Meredith Lancaster
fe5d85e169 clean up mock api client
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 10:20:59 -07:00
Andy Feller
3ca179bcde
Bump cli/go-gh v2.6.0 for tenant using GH_TOKEN (#8787) 2024-03-04 18:04:13 +01:00
Meredith Lancaster
ff1eb37f9e fix mock api client
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 09:57:09 -07:00
Meredith Lancaster
501add44c0 add additional packages to support verify command
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-04 08:25:17 -07:00
Meredith Lancaster
82bd13b127 add logger and test packages
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 17:52:20 -07:00
Meredith Lancaster
7f3e818d5f fix imports
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 17:52:06 -07:00
Meredith Lancaster
5462df5e7b start pulling in the github api client wrapper
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 16:31:23 -07:00
Meredith Lancaster
97c10f4c04 move artifact package over
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 16:16:20 -07:00
Meredith Lancaster
3a08c03cc7 clean up common and verify specific policy code
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 16:15:29 -07:00
Meredith Lancaster
a082815d81 start moving over verify cmd and general verification code
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 15:58:42 -07:00
Meredith Lancaster
2ccc34afdc Merge branch 'trunk' into gh-attestation-cmd 2024-03-01 13:47:06 -07:00
Meredith Lancaster
24865a6202 add package security team entry to codeowners
Signed-off-by: Meredith Lancaster <malancas@github.com>
2024-03-01 13:44:37 -07:00
Harvey Sanders
9dd102ffd0
Support project view --web with TTY (#8773) 2024-03-01 17:45:29 +01:00
William Martin
590208f5d6
Merge pull request #8693 from hongquan/feat/debian-install
Simplify install command for Debian & Ubuntu
2024-03-01 12:04:42 +01:00
William Martin
337ae29769
Merge pull request #8738 from stuart-leitch/docs/clarify-archived-repo-beahaviour-when-searching-prs
Clarify helptext for search prs regarding archived repos
2024-03-01 10:30:21 +01:00
Nguyễn Hồng Quân
09f09879ca Merge branch 'trunk' into feat/debian-install 2024-03-01 09:47:55 +07:00
Nguyễn Hồng Quân
e67467cea7 Handle case: some system set 600 mod for new file. 2024-03-01 09:43:35 +07:00
Stuart Leitch
cfd2d645b2 Clarify helptext for gh search issues and gh search repos regarding archived repos 2024-02-29 22:38:55 +00:00
William Martin
0d4bf83a41
Merge pull request #8595 from benebsiny/cli-7849
Link Project to Repository or Team Command
2024-02-29 17:02:39 +01:00