Update PublishRepositoryUrl in README by MattKotsenas · Pull Request #1270 · dotnet/sourcelink (original) (raw)

@tmat, I thought about this more and I think I came up with a better framing. I made a small addition to the opening section to capture that what we (I?) think of as "Source Link" is three components:

  1. Embedding source information into the PDB
  2. Adding source information into the .nuspec
  3. Distributing PDBs

1 and 2 coupled in the current version of the docs, which is what lead to confusion in the linked bug. Currently, the docs make it look to some readers that in .NET 8+, 1 and 2 happen automatically, but only 1 happens automatically. The previous version of this PR made it sound like 1 and 2 are both controlled by <PublishRepositoryUrl>, which isn't true either.

Now I think it's clearer that:

@tmat let me know what you think. Very happy to hear and include your feedback. Thanks!