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

Pub project type fixes #9831

Merged
merged 3 commits into from
Jan 24, 2025
Merged

Pub project type fixes #9831

merged 3 commits into from
Jan 24, 2025

Conversation

sschuberth
Copy link
Member

Please have a look at the individual commit messages for the details.

This should not be an `IOException`. Also quote the package name for
readability.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth requested a review from a team as a code owner January 24, 2025 15:08
@sschuberth sschuberth enabled auto-merge (rebase) January 24, 2025 15:08
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.11%. Comparing base (dbb65bf) to head (fdf9a5c).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9831   +/-   ##
=========================================
  Coverage     68.11%   68.11%           
+ Complexity     1289     1287    -2     
=========================================
  Files           249      249           
  Lines          8837     8837           
  Branches        918      918           
=========================================
  Hits           6019     6019           
  Misses         2432     2432           
  Partials        386      386           
Flag Coverage Δ
funTest-docker 65.15% <ø> (ø)
funTest-non-docker 33.35% <ø> (-0.18%) ⬇️
test-ubuntu-24.04 35.78% <ø> (ø)
test-windows-2022 35.76% <ø> (ø)

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.

@@ -72,6 +72,9 @@ internal data class PackageInfo(
)
}

internal val PackageInfo.isProject: Boolean
Copy link
Member

Choose a reason for hiding this comment

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

I believe this should be placed into pub.kt so that the Lockfile.kt reflects solely the 3rd party stuff.

Do not hard-code "Pub" as the identifier type, as it might be a
(reference to a) project instead if a package.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth force-pushed the pub-project-type-fixes branch from 99cafba to fdf9a5c Compare January 24, 2025 15:43
@sschuberth sschuberth requested review from fviernau and a team January 24, 2025 15:44
@sschuberth sschuberth merged commit 59562ef into main Jan 24, 2025
26 checks passed
@sschuberth sschuberth deleted the pub-project-type-fixes branch January 24, 2025 16:20
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