Skip to content

000000 commit identifiers in nuspec files #5444

@omajid

Description

@omajid

After building the VMR with --source-only, I see a whole bunch of nuspec files that contain a commit sha of 00000:

$ grep -rE  '[^0-9]0000000000000000000000000000000000000000[^0-9]'                                                                               
artifacts/obj/Microsoft.Extensions.DependencyInjection/Release/Microsoft.Extensions.DependencyInjection.11.0.0-dev.nuspec:    <repository type="git" url="https://github.com/dotnet/d
otnet" commit="0000000000000000000000000000000000000000" />                                                                                                                          
artifacts/obj/Microsoft.Extensions.DependencyInjection/Release/Microsoft.Extensions.DependencyInjection.11.0.0-dev.symbols.nuspec:    <repository type="git" url="https://github.com/
dotnet/dotnet" commit="0000000000000000000000000000000000000000" />                                                                                                                  
artifacts/obj/Microsoft.Extensions.Diagnostics.Abstractions/Release/Microsoft.Extensions.Diagnostics.Abstractions.11.0.0-dev.nuspec:    <repository type="git" url="https://github.co
m/dotnet/dotnet" commit="0000000000000000000000000000000000000000" />                                                                                                                
artifacts/obj/Microsoft.Extensions.Diagnostics.Abstractions/Release/Microsoft.Extensions.Diagnostics.Abstractions.11.0.0-dev.symbols.nuspec:    <repository type="git" url="https://g
ithub.com/dotnet/dotnet" commit="0000000000000000000000000000000000000000" />                                                                                                        
artifacts/obj/Microsoft.Extensions.DependencyModel/Release/Microsoft.Extensions.DependencyModel.11.0.0-dev.nuspec:    <repository type="git" url="https://github.com/dotnet/dotnet" c
ommit="0000000000000000000000000000000000000000" />                                                                                                                                  
artifacts/obj/Microsoft.Extensions.DependencyModel/Release/Microsoft.Extensions.DependencyModel.11.0.0-dev.symbols.nuspec:    <repository type="git" url="https://github.com/dotnet/d
otnet" commit="0000000000000000000000000000000000000000" />                 
....
...
                     
$ grep -rF 'commit="000' . | wc -l                                                                              
498                                                                                

This commit sha doesn't seem to end up in the built SDK, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infraSource-build infrastructure and reporting

    Type

    No type

    Projects

    Status

    11.0

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions