Title: Allow including source control metadata in Publish-Module · Issue #576 · PowerShell/PowerShellGetv2 · GitHub
Open Graph Title: Allow including source control metadata in Publish-Module · Issue #576 · PowerShell/PowerShellGetv2
X Title: Allow including source control metadata in Publish-Module · Issue #576 · PowerShell/PowerShellGetv2
Description: Is it reasonable to allow Publish-Module to include source control metadata? That is the following: type (git|tfs|svn|etc...) url branch commit The nuspec allows for including this metadata in the nuspec. If so, I've two overall ideas. P...
Open Graph Description: Is it reasonable to allow Publish-Module to include source control metadata? That is the following: type (git|tfs|svn|etc...) url branch commit The nuspec allows for including this metadata in the ...
X Description: Is it reasonable to allow Publish-Module to include source control metadata? That is the following: type (git|tfs|svn|etc...) url branch commit The nuspec allows for including this metadata in the ...
Opengraph URL: https://github.com/PowerShell/PowerShellGetv2/issues/576
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow including source control metadata in Publish-Module","articleBody":"Is it reasonable to allow Publish-Module to include source control metadata? That is the following:\r\n* type (git|tfs|svn|etc...)\r\n* url\r\n* branch\r\n* commit\r\n\r\nThe nuspec allows for including this [metadata](https://github.com/NuGet/NuGet.Client/blob/522acd2ad8120003abf5bf7c21fe468526c22ae7/src/NuGet.Core/NuGet.Packaging/compiler/resources/nuspec.xsd#L79) in the nuspec.\r\n\r\nIf so, I've two overall ideas.\r\n\r\n1. Pull this data from the PSData, in a similar manner as the LicenseUri.\r\n This would require changes to [New-NuSpecFile](https://github.com/PowerShell/PowerShellGet/blob/development/src/PowerShellGet/private/functions/New-NuspecFile.ps1) and [Publish-PSArtifactUtility](https://github.com/PowerShell/PowerShellGet/blob/development/src/PowerShellGet/private/functions/Publish-PSArtifactUtility.ps1). And I *think* that's all. Developers would have to find their own process for injecting that into their PSData, however if they are using CI/CD process then they may be able to do this within a reasonable amount of effort.\r\n1. Allow this to be specified as a parameter to Publish-Module.\r\n This would require changes to the same functions as above, along with [Publish-Module](https://github.com/PowerShell/PowerShellGet/blob/development/src/PowerShellGet/public/psgetfunctions/Publish-Module.ps1) itself. Though this option would be easier for a CI/CD process to integrate with.\r\n\r\nI also have a third idea, but that is allowing developers to specify their own nuspec and adjusting as needed during the Publish-Module process. However I think the changes that would require would be too large. But I wanted to mention it as an idea.","author":{"url":"https://github.com/davidroberts63","@type":"Person","name":"davidroberts63"},"datePublished":"2020-01-27T19:42:34Z","url":"https://github.com/PowerShell/PowerShellGetv2/issues/576"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d30dbf1f-84fe-c376-0f68-ee929acd5810 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D864:1ABC75:28E362F:391E89C:6AFD5887 |
| html-safe-nonce | 9865be2de99519663740ee65e7c9fe2dddeb5f6d958c3648a6113420cfa2293a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODY0OjFBQkM3NToyOEUzNjJGOjM5MUU4OUM6NkFGRDU4ODciLCJ2aXNpdG9yX2lkIjoiMjcxMTEwMDA3MDQ3MTQ4OTY3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 359147e345cbd6285907cc113a22721e2991ef9a2b4195fa7c2d9a0a828bf7f3 |
| hovercard-subject-tag | issue:555790742 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShellGetv2/576/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e43b1d84d65096c939ecd60991510c032795031667b060a09531d937b57ba0b/PowerShell/PowerShellGetv2/issues/576 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e43b1d84d65096c939ecd60991510c032795031667b060a09531d937b57ba0b/PowerShell/PowerShellGetv2/issues/576 |
| og:image:alt | Is it reasonable to allow Publish-Module to include source control metadata? That is the following: type (git|tfs|svn|etc...) url branch commit The nuspec allows for including this metadata in the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidroberts63 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShellGetv2 git https://github.com/PowerShell/PowerShellGetv2.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 57910460 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShellGetv2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 57910460 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShellGetv2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width