Skip to content

ort-project-file: Fix the fallback for the project name#11591

Merged
fviernau merged 2 commits intomainfrom
ort-project-file-fallback-project-name
Mar 21, 2026
Merged

ort-project-file: Fix the fallback for the project name#11591
fviernau merged 2 commits intomainfrom
ort-project-file-fallback-project-name

Conversation

@fviernau
Copy link
Member

No description provided.

Use the same order as in the constructors signature.

Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
@fviernau fviernau requested a review from a team as a code owner March 20, 2026 15:03
If `projectName` is not specified a default project name is used. This
can easily lead to analyzer issues caused by duplicate identifiers, in
case multiple ORT project files are used.

Make use of `getFallbackProjectName()` to make the implementation
consistent with other package managers, and to ensure identifiers are
unique.

Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
@fviernau fviernau force-pushed the ort-project-file-fallback-project-name branch from a111a13 to e59f8d3 Compare March 20, 2026 19:18
@fviernau fviernau requested a review from mnonnenmacher March 20, 2026 19:18
@fviernau fviernau enabled auto-merge (rebase) March 20, 2026 19:19
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.40%. Comparing base (5e5e03b) to head (e59f8d3).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #11591   +/-   ##
=========================================
  Coverage     58.40%   58.40%           
  Complexity     1758     1758           
=========================================
  Files           355      355           
  Lines         13219    13219           
  Branches       1314     1314           
=========================================
  Hits           7721     7721           
  Misses         5008     5008           
  Partials        490      490           
Flag Coverage Δ
funTest-external-tools 14.56% <ø> (ø)
funTest-no-external-tools 30.54% <ø> (ø)
test-ubuntu-24.04 42.44% <ø> (ø)
test-windows-2025 42.42% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fviernau fviernau merged commit 18a001d into main Mar 21, 2026
31 of 32 checks passed
@fviernau fviernau deleted the ort-project-file-fallback-project-name branch March 21, 2026 11: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