dotnet / dotnet/sourcelink

Consider capturing git the line break configuration in sourcelink json

Open
#613 5 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
1.4k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

This change in .NET SDK added assembly-level attribute with git repo clone URL: https://github.com/dotnet/sdk/pull/11559

This can be used to optimize download of all source file required to build the dll. If however, the git configuration (specifically `core.eol` and `core.autocrlf` settings) differ between the server that originally built the DLL and the local repo the re-build will produce different binaries.

It would thus be useful to record the git settings in Source Link record so that the clone can be configured the same as the build server that produced the binary.

Note: Check if git line conversion changes the BOM.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.