Skip to content

Make it possible to include repository url and type in generated nuspec file #1624

@partlythomas

Description

@partlythomas

Summary of the new feature / enhancement

It should be possible somehow in the Publish-PSResource cmdlet to have the repository element with attributes type and url defined in the generated Nuspec file in order to link a package to a repository in GitHub during publishing of a package. Similar to how RepositoryUrl is used when pushing a package with the dotnet cli and a csproj file.

As far as I can tell, this linking of a package to a repository must be done manually after publishing a package today.

References:
https://docs.github.com/en/[email protected]/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry

https://devblogs.microsoft.com/nuget/introducing-source-code-link-for-nuget-packages/

Proposed technical implementation details (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions