Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions build/regressions.blazor.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,17 @@ templates:
{%- if diff.RepositoryUrl == empty -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
{%- else -%}
{{ diff.RepositoryUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- assign repoUrl = diff.RepositoryUrl -%}
{%- comment -%}
Post-VMR (https://github.com/dotnet/dotnet), framework-level commits live in
dotnet/dotnet rather than the component repos. Rewrite the diff URL when the
dependency is one of the synthetic framework deps that Crank still records
with the legacy component-repo URL.
{%- endcomment -%}
{%- if diff.Names contains 'Microsoft.AspNetCore.App' or diff.Names contains 'Microsoft.NETCore.App' or repoUrl == 'https://github.com/dotnet/aspnetcore' or repoUrl == 'https://github.com/dotnet/runtime' -%}
{%- assign repoUrl = 'https://github.com/dotnet/dotnet' -%}
{%- endif -%}
{{ repoUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- endif -%}
{%- else -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
Expand Down Expand Up @@ -115,7 +125,17 @@ templates:
{%- if diff.RepositoryUrl == empty -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
{%- else -%}
{{ diff.RepositoryUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- assign repoUrl = diff.RepositoryUrl -%}
{%- comment -%}
Post-VMR (https://github.com/dotnet/dotnet), framework-level commits live in
dotnet/dotnet rather than the component repos. Rewrite the diff URL when the
dependency is one of the synthetic framework deps that Crank still records
with the legacy component-repo URL.
{%- endcomment -%}
{%- if diff.Names contains 'Microsoft.AspNetCore.App' or diff.Names contains 'Microsoft.NETCore.App' or repoUrl == 'https://github.com/dotnet/aspnetcore' or repoUrl == 'https://github.com/dotnet/runtime' -%}
{%- assign repoUrl = 'https://github.com/dotnet/dotnet' -%}
{%- endif -%}
{{ repoUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- endif -%}
{%- else -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
Expand Down
36 changes: 33 additions & 3 deletions build/regressions.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,17 @@ templates:
{%- if diff.RepositoryUrl == empty -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
{%- else -%}
{{ diff.RepositoryUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- assign repoUrl = diff.RepositoryUrl -%}
{%- comment -%}
Post-VMR (https://github.com/dotnet/dotnet), framework-level commits live in
dotnet/dotnet rather than the component repos. Rewrite the diff URL when the
dependency is one of the synthetic framework deps that Crank still records
with the legacy component-repo URL.
{%- endcomment -%}
{%- if diff.Names contains 'Microsoft.AspNetCore.App' or diff.Names contains 'Microsoft.NETCore.App' or repoUrl == 'https://github.com/dotnet/aspnetcore' or repoUrl == 'https://github.com/dotnet/runtime' -%}
{%- assign repoUrl = 'https://github.com/dotnet/dotnet' -%}
{%- endif -%}
{{ repoUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- endif -%}
{%- else -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
Expand Down Expand Up @@ -253,7 +263,17 @@ templates:
{%- if diff.RepositoryUrl == empty -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
{%- else -%}
{{ diff.RepositoryUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- assign repoUrl = diff.RepositoryUrl -%}
{%- comment -%}
Post-VMR (https://github.com/dotnet/dotnet), framework-level commits live in
dotnet/dotnet rather than the component repos. Rewrite the diff URL when the
dependency is one of the synthetic framework deps that Crank still records
with the legacy component-repo URL.
{%- endcomment -%}
{%- if diff.Names contains 'Microsoft.AspNetCore.App' or diff.Names contains 'Microsoft.NETCore.App' or repoUrl == 'https://github.com/dotnet/aspnetcore' or repoUrl == 'https://github.com/dotnet/runtime' -%}
{%- assign repoUrl = 'https://github.com/dotnet/dotnet' -%}
{%- endif -%}
{{ repoUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- endif -%}
{%- else -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
Expand Down Expand Up @@ -300,7 +320,17 @@ templates:
{%- if diff.RepositoryUrl == empty -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
{%- else -%}
{{ diff.RepositoryUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- assign repoUrl = diff.RepositoryUrl -%}
{%- comment -%}
Post-VMR (https://github.com/dotnet/dotnet), framework-level commits live in
dotnet/dotnet rather than the component repos. Rewrite the diff URL when the
dependency is one of the synthetic framework deps that Crank still records
with the legacy component-repo URL.
{%- endcomment -%}
{%- if diff.Names contains 'Microsoft.AspNetCore.App' or diff.Names contains 'Microsoft.NETCore.App' or repoUrl == 'https://github.com/dotnet/aspnetcore' or repoUrl == 'https://github.com/dotnet/runtime' -%}
{%- assign repoUrl = 'https://github.com/dotnet/dotnet' -%}
{%- endif -%}
{{ repoUrl }}/compare/{{ diff.PreviousCommitHash }}...{{ diff.CurrentCommitHash }}
{%- endif -%}
{%- else -%}
`{{ diff.PreviousCommitHash | slice: 0, 7 }}...{{ diff.CurrentCommitHash | slice: 0, 7 }}`
Expand Down
Loading