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

Consistently use projectType as the ID type for projects #9680

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

sschuberth
Copy link
Member

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

Copy link

codecov bot commented Jan 2, 2025

Codecov Report

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

Project coverage is 68.07%. Comparing base (7552dd4) to head (d7f223f).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
.../src/main/kotlin/utils/NuGetInspectorExtensions.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9680   +/-   ##
=========================================
  Coverage     68.07%   68.07%           
+ Complexity     1285     1284    -1     
=========================================
  Files           249      249           
  Lines          8827     8827           
  Branches        918      918           
=========================================
  Hits           6009     6009           
  Misses         2432     2432           
  Partials        386      386           
Flag Coverage Δ
funTest-docker 65.00% <80.00%> (ø)
funTest-non-docker 33.36% <ø> (ø)
test-ubuntu-24.04 35.89% <0.00%> (ø)
test-windows-2022 35.87% <0.00%> (ø)

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 use-project-type branch 7 times, most recently from 82cc92c to 6398547 Compare January 16, 2025 11:56
@sschuberth sschuberth marked this pull request as ready for review January 16, 2025 12:17
@sschuberth sschuberth requested a review from a team as a code owner January 16, 2025 12:17
"Go" (or "Golang") is the language, but "GoMod" is the project type (as
well as the manager name).

This is a fixup for 5d5ea5c.

Signed-off-by: Sebastian Schuberth <[email protected]>
Do not use the `managerName` to create IDs for projects, even if in most
cases the strings happen to match the respective `projectType`.

This change may be breaking existing package configurations that refer to
projects for which the type as part of the ID changed.

Signed-off-by: Sebastian Schuberth <[email protected]>
If a manager would get renamed, the package type should stay the same.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth enabled auto-merge (rebase) January 17, 2025 12:50
@sschuberth sschuberth merged commit 255d294 into main Jan 17, 2025
25 of 26 checks passed
@sschuberth sschuberth deleted the use-project-type branch January 17, 2025 13:09
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