Skip to content

Correct package index schema's regex for size property #197

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 23, 2021
Merged

Correct package index schema's regex for size property #197

merged 1 commit into from
Jun 23, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Jun 23, 2021

The packages[].platforms[].size and packages[].tools[].systems[].size properties are string representations of
integers, and thus must consist solely of the characters 0-9. The previous regular expression for a valid size value only
required that a number be found somewhere in the string.

The `packages[].platforms[].size` and `packages[].tools[].systems[].size` properties are string representations of
integers, and thus must consist solely of the characters 0-9. The previous regular expression for a valid size value only
required that a number be found somewhere in the string.
@per1234 per1234 added type: bug topic: code Related to content of the project itself labels Jun 23, 2021
@per1234 per1234 requested review from silvanocerza and umbynos June 23, 2021 04:56
@codecov-commenter
Copy link

Codecov Report

Merging #197 (331f04e) into main (288fe38) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #197   +/-   ##
=======================================
  Coverage   85.17%   85.17%           
=======================================
  Files          43       43           
  Lines        3392     3392           
=======================================
  Hits         2889     2889           
  Misses        392      392           
  Partials      111      111           
Flag Coverage Δ
unit 85.17% <ø> (ø)

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

Impacted Files Coverage Δ
internal/rule/schema/schemadata/bindata.go 51.65% <ø> (ø)

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 288fe38...331f04e. Read the comment docs.

@per1234 per1234 merged commit 323f7e1 into arduino:main Jun 23, 2021
@per1234 per1234 deleted the size-regex branch June 23, 2021 06:54
@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