-
Notifications
You must be signed in to change notification settings - Fork 293
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
When parsing project.toml, don't warn about unexpected keys that are actually expected #2197
Conversation
…actually expected Fixes #2192 Signed-off-by: Natalie Arellano <narellano@vmware.com>
ID string `toml:"id"` | ||
Name string `toml:"name"` | ||
Version string `toml:"version"` | ||
Authors []string `toml:"authors"` | ||
DocumentationURL string `toml:"documentation-url"` | ||
SourceURL string `toml:"source-url"` | ||
Licenses []License `toml:"licenses"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SchemaVersion string `toml:"schema-version"` | ||
ID string `toml:"id"` | ||
Name string `toml:"name"` | ||
Version string `toml:"version"` | ||
Authors []string `toml:"authors"` | ||
Licenses []types.License `toml:"licenses"` | ||
DocumentationURL string `toml:"documentation-url"` | ||
SourceURL string `toml:"source-url"` | ||
Metadata map[string]interface{} `toml:"metadata"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jjbustamante would you mind taking a look at this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @natalieparellano!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2197 +/- ##
=======================================
Coverage 70.17% 70.17%
=======================================
Files 253 253
Lines 18452 18452
=======================================
Hits 12947 12947
Misses 4659 4659
Partials 846 846
Flags with carried forward coverage won't be shown. Click here to find out more. |
Fixes #2192
Summary
Output
Before
After
Documentation
Related
Resolves #___