Skip to content

Use JSON pointer as package component ID when standard ID component empty #192

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

Merged
merged 1 commit into from
Jun 14, 2021
Merged

Use JSON pointer as package component ID when standard ID component empty #192

merged 1 commit into from
Jun 14, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Jun 14, 2021

In cases where the data used to assemble the standard ID used to refer to a package component is undefined, the JSON
pointer is used.

Previously, when the data is defined, but empty, the standard ID format was used. But this will not be very meaningful.
In this case, the JSON pointer will serve as a more useful ID.

…mpty

In cases where the data used to assemble the standard ID used to refer to a package component is undefined, the JSON
pointer is used.

Previously, when the data is defined, but empty, the standard ID format was used. But this will not be very meaningful.
In this case, the JSON pointer will serve as a more useful ID.
@per1234 per1234 added type: bug topic: code Related to content of the project itself labels Jun 14, 2021
@per1234 per1234 requested review from silvanocerza and umbynos June 14, 2021 12:31
@codecov-commenter
Copy link

Codecov Report

Merging #192 (95584cc) into main (f3c4d55) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   84.22%   84.25%   +0.02%     
==========================================
  Files          43       43              
  Lines        3202     3207       +5     
==========================================
+ Hits         2697     2702       +5     
  Misses        393      393              
  Partials      112      112              
Flag Coverage Δ
unit 84.25% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
internal/project/projectdata/packageindex.go 96.07% <100.00%> (+0.42%) ⬆️

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 f3c4d55...95584cc. Read the comment docs.

@per1234 per1234 merged commit d7f669b into arduino:main Jun 14, 2021
@per1234 per1234 deleted the fallback-ids branch June 14, 2021 17:23
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants