Skip to content

feat: add show and import for trust policy management#593

Merged
shizhMSFT merged 1 commit intonotaryproject:mainfrom
qweeah:policy
Mar 30, 2023
Merged

feat: add show and import for trust policy management#593
shizhMSFT merged 1 commit intonotaryproject:mainfrom
qweeah:policy

Conversation

@qweeah
Copy link
Copy Markdown
Contributor

@qweeah qweeah commented Mar 22, 2023

This PR implements what's described in policy.md.

Resolves #548

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 22, 2023

Codecov Report

Merging #593 (f84c685) into main (56945b3) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #593      +/-   ##
==========================================
- Coverage   34.45%   34.43%   -0.02%     
==========================================
  Files          32       32              
  Lines        1843     1844       +1     
==========================================
  Hits          635      635              
- Misses       1187     1188       +1     
  Partials       21       21              
Impacted Files Coverage Δ
cmd/notation/main.go 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@yizha1
Copy link
Copy Markdown
Contributor

yizha1 commented Mar 22, 2023

Suggest marking the new policy command as Preview in the output of help command.

@qweeah
Copy link
Copy Markdown
Contributor Author

qweeah commented Mar 23, 2023

Suggest marking the new policy command as Preview in the output of help command.

Added Preview feature label. @yizha1 Do notation have or need to have any doc on the classification of work-in-progress feature labels?

@yizha1
Copy link
Copy Markdown
Contributor

yizha1 commented Mar 23, 2023

Suggest marking the new policy command as Preview in the output of help command.

Added Preview feature label. @yizha1 Do notation have or need to have any doc on the classification of work-in-progress feature labels?

No. We need this kind of doc.

Copy link
Copy Markdown
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@patrickzheng200
Copy link
Copy Markdown
Contributor

patrickzheng200 commented Mar 27, 2023

Lookes like the e2e test has failed.

Copy link
Copy Markdown
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

byronchien
byronchien previously approved these changes Mar 27, 2023
shizhMSFT
shizhMSFT previously approved these changes Mar 28, 2023
Copy link
Copy Markdown
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

shizhMSFT
shizhMSFT previously approved these changes Mar 28, 2023
Copy link
Copy Markdown
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

byronchien
byronchien previously approved these changes Mar 28, 2023
priteshbandi
priteshbandi previously approved these changes Mar 28, 2023
Copy link
Copy Markdown
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@qweeah
Copy link
Copy Markdown
Contributor Author

qweeah commented Mar 29, 2023

Hi @priteshbandi @shizhMSFT @patrickzheng200 I forget to sign the commits.

I re-signed with my GPG key and rebased, can you help review again, thanks in advance.

Copy link
Copy Markdown
Contributor

@patrickzheng200 patrickzheng200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shizhMSFT shizhMSFT merged commit 0ec3b3d into notaryproject:main Mar 30, 2023
duffney pushed a commit to duffney/notation that referenced this pull request Mar 30, 2023
…ect#593)

This PR implements what's described in
[policy.md](https://github.com/notaryproject/notation/blob/18efc3de233ef5eb00e2f32009475a2b8a3eae47/specs/commandline/policy.md).

Resolves notaryproject#548

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Josh Duffney <jduffney@microsoft.com>
7h3-3mp7y-m4n pushed a commit to 7h3-3mp7y-m4n/notation that referenced this pull request Mar 29, 2025
FeynmanZhou pushed a commit to FeynmanZhou/notation that referenced this pull request May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI Cmds for trust policy management - phase 1

7 participants