Skip to content

Add a stub packageSourceMapping#7171

Merged
michaelgsharp merged 1 commit intomainfrom
directhex-patch-3
Jul 26, 2024
Merged

Add a stub packageSourceMapping#7171
michaelgsharp merged 1 commit intomainfrom
directhex-patch-3

Conversation

@directhex
Copy link
Copy Markdown
Contributor

Without packageSourceMapping, you may receive NuGet warning NU1507. Building with WarnAsError will elevate this to a fatal error.

C:\d\source-indexer\bin\repo\machinelearning\test\Microsoft.ML.CpuMath.UnitTests\Microsoft.ML.CpuMath.UnitTests.csproj : error NU1507: Warning As Error: There are 9 package sources defined in your configuration. When using central package management, please map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: dotnet-public, dotnet-tools, dotnet-libraries, dotnet-eng, vs-buildservices, dotnet5-roslyn, mlnet-daily, mlnet-assets, dotnet8 [C:\d\source-indexer\bin\repo\machinelearning\Microsoft.ML.sln]

Using * as a pattern means any repo can supply any package, the pattern can be further refined later.

Without packageSourceMapping, you may receive NuGet warning NU1507. Building with WarnAsError will elevate this to a fatal error.

```
C:\d\source-indexer\bin\repo\machinelearning\test\Microsoft.ML.CpuMath.UnitTests\Microsoft.ML.CpuMath.UnitTests.csproj : error NU1507: Warning As Error: There are 9 package sources defined in your configuration. When using central package management, please map your package sources with package source mapping (https://aka.ms/nuget-package-source-mapping) or specify a single package source. The following sources are defined: dotnet-public, dotnet-tools, dotnet-libraries, dotnet-eng, vs-buildservices, dotnet5-roslyn, mlnet-daily, mlnet-assets, dotnet8 [C:\d\source-indexer\bin\repo\machinelearning\Microsoft.ML.sln]
```

Using * as a pattern means any repo can supply any package, the pattern can be further refined later.
@michaelgsharp
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.80%. Comparing base (4bc753a) to head (4b97085).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7171      +/-   ##
==========================================
+ Coverage   68.66%   68.80%   +0.14%     
==========================================
  Files        1262     1267       +5     
  Lines      257774   259501    +1727     
  Branches    26660    26910     +250     
==========================================
+ Hits       176991   178547    +1556     
- Misses      73971    74080     +109     
- Partials     6812     6874      +62     
Flag Coverage Δ
Debug 68.80% <ø> (+0.14%) ⬆️
production 63.07% <ø> (+0.13%) ⬆️
test 88.96% <ø> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 52 files with indirect coverage changes

@michaelgsharp michaelgsharp merged commit a38b8cc into main Jul 26, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants