Meredith Lancaster
|
3ee14bbcb8
|
use table driven tests
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 17:07:14 -06:00 |
|
Meredith Lancaster
|
63b5872f5f
|
cleanup unused tempdir handling
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 16:49:05 -06:00 |
|
Meredith Lancaster
|
f78e104054
|
use testing TempDir method
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 16:47:23 -06:00 |
|
Meredith Lancaster
|
4690166e2b
|
format file
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 16:34:04 -06:00 |
|
Meredith Lancaster
|
54db553124
|
rename files
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 16:29:02 -06:00 |
|
Meredith Lancaster
|
38adc439cc
|
add tests for oci client
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 16:27:51 -06:00 |
|
Meredith Lancaster
|
f055517baa
|
create interface for oci client
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 16:12:45 -06:00 |
|
Meredith Lancaster
|
be6b042039
|
use the iostreams.Test helper func
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 14:48:00 -06:00 |
|
Meredith Lancaster
|
b8c9f96da7
|
typo
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 12:55:42 -06:00 |
|
Meredith Lancaster
|
f1a2f8f0fc
|
use StringEnumFlag handling
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 12:46:19 -06:00 |
|
Meredith Lancaster
|
71480af106
|
rename file
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 12:09:40 -06:00 |
|
Meredith Lancaster
|
e0fc8c7032
|
switch assert to require
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-12 11:58:08 -06:00 |
|
Meredith Lancaster
|
b42fc7302c
|
Merge branch 'trunk' into gh-attestation-cmd
|
2024-03-12 11:18:41 -06:00 |
|
Andy Feller
|
dc804d9287
|
Merge pull request #8778 from cli/repo_in_merge_prompt
feat: consistent issue and PR owner/repo#number in various prompt
|
2024-03-12 12:16:26 -04:00 |
|
Meredith Lancaster
|
5dbdb3e59f
|
Merge branch 'trunk' into gh-attestation-cmd
|
2024-03-07 11:17:18 -07:00 |
|
Greg Smith
|
df446b47fc
|
fixed doc string
|
2024-03-06 14:08:59 -08:00 |
|
Meredith Lancaster
|
5ad63c0712
|
delete unused test data
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-06 14:43:54 -07:00 |
|
Meredith Lancaster
|
fbba7b5e40
|
pull over doc updates
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-06 14:41:30 -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 |
|
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
|
149a78a23c
|
formatter
Signed-off-by: Meredith Lancaster <malancas@github.com>
|
2024-03-04 15:42:08 -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 |
|
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 |
|
Andy Feller
|
2b2571eb23
|
Fix breaking test for PR/issue # change
|
2024-03-01 16:04:24 -05:00 |
|
Meredith Lancaster
|
2ccc34afdc
|
Merge branch 'trunk' into gh-attestation-cmd
|
2024-03-01 13:47:06 -07:00 |
|
Andy Feller
|
bcdc917f08
|
Enhance 2nd round of issue and PR number output
|
2024-03-01 15:42:43 -05:00 |
|