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

Cocoapods: Separate lockfile deserialization and its model #8890

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

fviernau
Copy link
Member

@fviernau fviernau commented Jul 16, 2024

Improve the code to prepare for porting to KxS.

See individual commits.

Make the variable names more speaking and reduce the diff of an upcoming
change.

Signed-off-by: Frank Viernau <[email protected]>
@fviernau fviernau requested a review from a team as a code owner July 16, 2024 11:59
@fviernau fviernau enabled auto-merge (rebase) July 16, 2024 11:59
@fviernau fviernau force-pushed the cocoapods-separate-deserialization-and-model branch from 3455d3f to 2c1624e Compare July 16, 2024 12:07
fviernau added 4 commits July 16, 2024 14:09
Previously, parsing the lockfile and mapping it to ORT's model has all
been done in the single function `parseLockfile(File)`.

Define a model for the lockfile and a function for its parsing in a
separate dedicated file in order to separate concerns. This makes the
code easier to maintain and simplifies the upcoming porting to KxS.

Signed-off-by: Frank Viernau <[email protected]>
@fviernau fviernau force-pushed the cocoapods-separate-deserialization-and-model branch from 2c1624e to 733b356 Compare July 16, 2024 12:09
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.54%. Comparing base (d686957) to head (733b356).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8890   +/-   ##
=========================================
  Coverage     67.54%   67.54%           
  Complexity     1168     1168           
=========================================
  Files           244      244           
  Lines          7775     7775           
  Branches        865      865           
=========================================
  Hits           5252     5252           
  Misses         2167     2167           
  Partials        356      356           
Flag Coverage Δ
funTest-non-docker 34.06% <ø> (ø)
test 37.90% <ø> (ø)

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

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

@fviernau fviernau merged commit 8978ee4 into main Jul 16, 2024
22 checks passed
@fviernau fviernau deleted the cocoapods-separate-deserialization-and-model branch July 16, 2024 12:27
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.

2 participants