Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cbfs: add more to JSON marshalling #409

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

orangecms
Copy link
Collaborator

@orangecms orangecms commented Apr 14, 2023

This is a follow-up to #408, adding the compression for any file and segments to payloads.

This generic representation obsoletes the specific one for stage record.

Signed-off-by: Daniel Maslowski <info@orangecms.org>
This aligns more with the string representation (`cbfs foo.bin list`).

Signed-off-by: Daniel Maslowski <info@orangecms.org>
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.05% ⚠️

Comparison is base (0e0d7d3) 41.77% compared to head (ee39d5b) 41.73%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #409      +/-   ##
==========================================
- Coverage   41.77%   41.73%   -0.05%     
==========================================
  Files         141      141              
  Lines       10692    10703      +11     
==========================================
  Hits         4467     4467              
- Misses       5357     5368      +11     
  Partials      868      868              
Files Changed Coverage Δ
pkg/cbfs/file.go 57.26% <0.00%> (-0.50%) ⬇️
pkg/cbfs/payload.go 47.14% <0.00%> (-16.32%) ⬇️
pkg/cbfs/stage.go 31.37% <ø> (+4.25%) ⬆️
pkg/cbfs/types.go 30.76% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@orangecms orangecms merged commit 905be14 into linuxboot:main Sep 18, 2023
7 checks passed
@orangecms orangecms deleted the json-cbfs branch September 18, 2023 07:05
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.

3 participants