Skip to content

Normalize Uris when writing manifests#7521

Merged
michellemcdaniel merged 5 commits intodotnet:mainfrom
michellemcdaniel:normalizeUris
Jun 15, 2021
Merged

Normalize Uris when writing manifests#7521
michellemcdaniel merged 5 commits intodotnet:mainfrom
michellemcdaniel:normalizeUris

Conversation

@michellemcdaniel
Copy link
Copy Markdown
Contributor

@michellemcdaniel michellemcdaniel commented Jun 14, 2021

For each manifest, we should normalize the Azure DevOps uris, so that differences between machine state do not affect merging the manifests down the line. We will normalize the AzureDevOpsRepository and the InitialAssetsLocations, if found in the attributes.

Fixes #7493.

To double check:

For each manifest, we should normalize the Azure DevOps uris, so that differences between machine state do not affect merging the manifests down the line. We will normalize the AzureDevOpsRepository and the InitialAssetsLocations, if found in the attributes.
@michellemcdaniel michellemcdaniel requested a review from a user June 14, 2021 20:44
@ghost ghost requested review from epananth and mmitche June 14, 2021 20:46
@ghost
Copy link
Copy Markdown

ghost commented Jun 14, 2021

Can we add tests for this to https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Build.Tasks.Feed.Tests/BuildModelFactoryTests.cs?

@michellemcdaniel
Copy link
Copy Markdown
Contributor Author

I wasn't sure exactly how to fit it in, but I will try.

@michellemcdaniel
Copy link
Copy Markdown
Contributor Author

Updated the tests with the new normalization info.

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.

Normalize Azure devops URIs during asset manifest creation

2 participants