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

Add Project descriptor 0.2 support #810

Merged
merged 2 commits into from
Aug 25, 2021
Merged

Conversation

tylerphelan
Copy link
Contributor

This is built on top of the original PR: #805

This includes a rebase and some refactoring

@samj1912 I refactored the descriptor parsing logic a little to remove the concern of the extra fields.

The field and type naming is still up for discussion in my mind if we don't like them.

Signed-off-by: Sambhav Kothari <skothari44@bloomberg.net>
@tylerphelan tylerphelan requested review from sambhav and dumez-k August 24, 2021 21:08
- convert v1 descriptor to v2
- removes extraneous nil fields
@tylerphelan tylerphelan force-pushed the project-descriptor-02-refactor branch from b0ef987 to f9a2571 Compare August 24, 2021 21:09
@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2021

Codecov Report

Merging #810 (f9a2571) into main (0c846f7) will increase coverage by 0.03%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #810      +/-   ##
==========================================
+ Coverage   71.24%   71.27%   +0.03%     
==========================================
  Files         117      117              
  Lines        5421     5441      +20     
==========================================
+ Hits         3862     3878      +16     
- Misses       1191     1193       +2     
- Partials      368      370       +2     
Impacted Files Coverage Δ
pkg/cnb/project_descriptor.go 81.42% <88.88%> (-0.58%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c846f7...f9a2571. Read the comment docs.

@tylerphelan tylerphelan merged commit 9210b1e into main Aug 25, 2021
@tylerphelan tylerphelan deleted the project-descriptor-02-refactor branch August 25, 2021 19:43
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.

5 participants