-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add repository/commit attribute to nuspec format #6547
Comments
Related: NuGet/NuGetGallery#4941. If this starts showing up in .nuspec, we could also show this on the gallery. |
Would branch be useful information also? A user could find the branch from the commit hash, but for the gallery's purposes it might be easier to just have this info in the nuspec instead of having to track it down in git. |
Branch can change over time so capturing at pack time would be great, in my opinion. |
I've tinkered with using projecturl to point to the TFS build that originated the package. Perhaps a set of origination uri's for changeset/commit, branch ident, etc. Please no git or nuget.org specific implementations. |
These strings are free form, type currently allows any source control system name, so TFS should work fine. |
Nuspecs currently include repository type and url, this should be extended to include the commit hash.
Example:
Pack should be updated to allow passing this in from a property in the same way the repo url is set.
The text was updated successfully, but these errors were encountered: