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

Add a "Project" suffix to project types #9780

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

sschuberth
Copy link
Member

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

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 68.10%. Comparing base (dbb65bf) to head (db76a6d).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...age-managers/pub/src/main/kotlin/model/Lockfile.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9780      +/-   ##
============================================
- Coverage     68.11%   68.10%   -0.01%     
+ Complexity     1289     1287       -2     
============================================
  Files           249      249              
  Lines          8837     8838       +1     
  Branches        918      919       +1     
============================================
  Hits           6019     6019              
- Misses         2432     2433       +1     
  Partials        386      386              
Flag Coverage Δ
funTest-non-docker 33.35% <ø> (-0.18%) ⬇️
test-ubuntu-24.04 35.78% <0.00%> (-0.01%) ⬇️
test-windows-2022 35.76% <0.00%> (-0.01%) ⬇️

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.

@sschuberth sschuberth force-pushed the project-type-suffix branch 12 times, most recently from be33216 to b4e5868 Compare January 21, 2025 11:26
This should not be an `IOException`. Also quote the package name for
readability.

Signed-off-by: Sebastian Schuberth <[email protected]>
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]>
In relation to #9417, this avoids duplicate project vs. package IDs by
adding a "Project" suffix to the `type` of project IDs.

This change breaks existing package configurations that refer to
project IDs. The fix it to simply add the "Project" suffix to the type
as part of the project ID in the package configurations as well.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth mentioned this pull request Jan 24, 2025
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.

1 participant