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

Conan improvements #8899

Merged
merged 4 commits into from
Jul 17, 2024
Merged

Conan improvements #8899

merged 4 commits into from
Jul 17, 2024

Conversation

fviernau
Copy link
Member

Some preparations for porting to KxS plus some code improvements.

fviernau added 4 commits July 17, 2024 16:11
In order to not loose information, merge relevant aspects of the
functions KDoc.

Signed-off-by: Frank Viernau <[email protected]>
@fviernau fviernau requested a review from a team as a code owner July 17, 2024 14:12
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.63%. Comparing base (67c4807) to head (509b1da).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8899   +/-   ##
=========================================
  Coverage     67.63%   67.63%           
  Complexity     1168     1168           
=========================================
  Files           244      244           
  Lines          7781     7781           
  Branches        867      867           
=========================================
  Hits           5263     5263           
  Misses         2161     2161           
  Partials        357      357           
Flag Coverage Δ
funTest-docker 67.39% <ø> (ø)
funTest-non-docker 33.90% <ø> (ø)
test 37.91% <ø> (ø)

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.

@@ -180,7 +180,7 @@ class Conan(
dependencies = parseDependencyTree(pkgInfos, projectInfo.buildRequires, workingDir)
)

val projectPackage = parseProjectPackage(pkgInfos, definitionFile, workingDir)
val projectPackage = generateProjectPackage(projectInfo, definitionFile, workingDir)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also worth noting in the commit message: The caller's projectInfo equals the original function's projectPackage, so the inlining also avoids calculating the value again.

@fviernau fviernau merged commit 3181191 into main Jul 17, 2024
22 checks passed
@fviernau fviernau deleted the conan-improvements branch July 17, 2024 15:04
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