Skip to content

Conversation

KevinRansom
Copy link
Contributor

@KevinRansom KevinRansom commented Apr 5, 2024

Fixes: #16071

One of the mechanisms for providing sources to a project file for nuget package resolution is to add a Nuget.config file with add source elements.

In the package manager we use dotnet nuget list sources -format detailed to retrieve these sources. The regex for retrieving the uri from the output did not allow for paths containing spaces. This PR fixes the regex to allow for spaces.

Todo:

  • Add readme
  • Add tests

@KevinRansom KevinRansom requested a review from a team as a code owner April 5, 2024 09:35
Copy link
Contributor

github-actions bot commented Apr 5, 2024

✅ No release notes required

Copy link
Member

@vzarytovskii vzarytovskii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regexes are easy, amirite?

@KevinRansom
Copy link
Contributor Author

/run fantomas

Copy link
Contributor

github-actions bot commented Apr 7, 2024

@psfinaki
Copy link
Member

psfinaki commented Apr 8, 2024

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Member

@T-Gro T-Gro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally a good use case for using copilot within a PR :)

@psfinaki psfinaki merged commit 7bcdfba into dotnet:main Apr 8, 2024
psfinaki added a commit that referenced this pull request Apr 8, 2024
#17003)

* Fix 16071

* tweaks

* Automated command ran: fantomas

  Co-authored-by: KevinRansom <[email protected]>

---------

Co-authored-by: Kevin Ransom (msft) <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petr <[email protected]>
Co-authored-by: Vlad Zarytovskii <[email protected]>
@KevinRansom KevinRansom deleted the fix16071 branch June 25, 2024 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

FSharp.DependencyManager.Nuget ignoring sources
4 participants