Skip to content

feat: add --debug & --verbose flags & http request/response debug log#457

Merged
shizhMSFT merged 17 commits intonotaryproject:mainfrom
JeyJeyGao:feat/add_debug
Dec 5, 2022
Merged

feat: add --debug & --verbose flags & http request/response debug log#457
shizhMSFT merged 17 commits intonotaryproject:mainfrom
JeyJeyGao:feat/add_debug

Conversation

@JeyJeyGao
Copy link
Copy Markdown
Contributor

@JeyJeyGao JeyJeyGao commented Nov 28, 2022

  • added debug flag for sign/verify commands
  • added verbose flag for sign/verify commands
  • added http request/response debug log

Signed-off-by: Junjie Gao junjiegao@microsoft.com

@JeyJeyGao JeyJeyGao force-pushed the feat/add_debug branch 2 times, most recently from 8988dec to acb73ce Compare November 30, 2022 04:32
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 30, 2022

Codecov Report

Merging #457 (145daab) into main (0af4a82) will decrease coverage by 0.29%.
The diff coverage is 6.81%.

@@            Coverage Diff             @@
##             main     #457      +/-   ##
==========================================
- Coverage   32.40%   32.10%   -0.30%     
==========================================
  Files          25       25              
  Lines        1290     1305      +15     
==========================================
+ Hits          418      419       +1     
- Misses        860      874      +14     
  Partials       12       12              
Impacted Files Coverage Δ
cmd/notation/list.go 23.28% <0.00%> (ø)
cmd/notation/login.go 42.68% <0.00%> (ø)
cmd/notation/manifest.go 0.00% <0.00%> (ø)
cmd/notation/registry.go 0.00% <0.00%> (ø)
cmd/notation/sign.go 43.18% <14.28%> (-1.53%) ⬇️
cmd/notation/verify.go 29.03% <18.18%> (+1.37%) ⬆️

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

@JeyJeyGao JeyJeyGao force-pushed the feat/add_debug branch 2 times, most recently from 30a9b05 to 92625e9 Compare December 1, 2022 08:16
@JeyJeyGao JeyJeyGao changed the title feat: add http request/response debug log feat: add --debug & --verbose flag & http request/response debug log Dec 2, 2022
@JeyJeyGao JeyJeyGao changed the title feat: add --debug & --verbose flag & http request/response debug log feat: add --debug & --verbose flags & http request/response debug log Dec 2, 2022
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
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

@JeyJeyGao JeyJeyGao force-pushed the feat/add_debug branch 2 times, most recently from f8c7583 to d696d55 Compare December 5, 2022 02:28
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
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

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
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: Junjie Gao <junjiegao@microsoft.com>
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
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 e6b2e8c into notaryproject:main Dec 5, 2022
7h3-3mp7y-m4n pushed a commit to 7h3-3mp7y-m4n/notation that referenced this pull request Mar 29, 2025
… log (notaryproject#457)

- added debug flag for sign/verify commands
- added verbose flag for sign/verify commands
- added http request/response debug log

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
FeynmanZhou pushed a commit to FeynmanZhou/notation that referenced this pull request May 15, 2025
… log (notaryproject#457)

- added debug flag for sign/verify commands
- added verbose flag for sign/verify commands
- added http request/response debug log

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
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.

9 participants