Title: PSEdition module field should not say "Desk" when no CompatiblePSEditions field is given in the manifest · Issue #7856 · PowerShell/PowerShell · GitHub
Open Graph Title: PSEdition module field should not say "Desk" when no CompatiblePSEditions field is given in the manifest · Issue #7856 · PowerShell/PowerShell
X Title: PSEdition module field should not say "Desk" when no CompatiblePSEditions field is given in the manifest · Issue #7856 · PowerShell/PowerShell
Description: Currently if a module is written and has no manifest or its manifest has no CompatiblePSEditions field, Get-Module -ListAvailable will describe it as having the PSEdition value as Desk: > gmo -list Directory: C:\Program Files\PowerShell\...
Open Graph Description: Currently if a module is written and has no manifest or its manifest has no CompatiblePSEditions field, Get-Module -ListAvailable will describe it as having the PSEdition value as Desk: > gmo -list...
X Description: Currently if a module is written and has no manifest or its manifest has no CompatiblePSEditions field, Get-Module -ListAvailable will describe it as having the PSEdition value as Desk: > gmo -l...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7856
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PSEdition module field should not say \"Desk\" when no CompatiblePSEditions field is given in the manifest","articleBody":"Currently if a module is written and has no manifest or its manifest has no `CompatiblePSEditions` field, `Get-Module -ListAvailable` will describe it as having the `PSEdition` value as `Desk`:\r\n\r\n```\r\n> gmo -list\r\nDirectory: C:\\Program Files\\PowerShell\\Modules\r\n\r\n\r\nModuleType Version Name PSEdition ExportedCommands\r\n---------- ------- ---- --------- ----------------\r\nScript 0.9.0 platyPS Desk {New-MarkdownHelp, Get-MarkdownMetadata, New-External...\r\nScript 0.7.3 posh-git Desk {Invoke-NullCoalescing, Add-PoshGitToProfile, Get-Pro...\r\n```\r\n\r\nIf our goal is to accurately reflect the manifest (or lack thereof), we should have a separate case for it, like `-`:\r\n```\r\n Directory: C:\\Program Files\\PowerShell\\Modules\r\n\r\n\r\nModuleType Version Name PSEdition ExportedCommands\r\n---------- ------- ---- --------- ----------------\r\nScript 0.9.0 platyPS - {New-MarkdownHelp, Get-MarkdownMetadata, New-External...\r\nScript 0.7.3 posh-git - {Invoke-NullCoalescing, Add-PoshGitToProfile, Get-Pro...\r\n```\r\n\r\nThe change would be easily made here:\r\nhttps://github.com/PowerShell/PowerShell/blob/8a0abf459c31ce99d6ecc81ebb165179fe192d28/src/System.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs#L1217-L1228\r\n\r\nWe can just insert a\r\n```powershell\r\nif (-not $editions)\r\n{\r\n return '-'\r\n}\r\n```\r\ninstead of the current `$editions = @('Desktop')`.","author":{"url":"https://github.com/rjmholt","@type":"Person","name":"rjmholt"},"datePublished":"2018-09-24T18:49:23Z","url":"https://github.com/PowerShell/PowerShell/issues/7856"}
| 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:9feb1aa0-6aae-9fe7-4721-195dd3638c46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAC0:1A7B13:5E980:8465C:6AFD48ED |
| html-safe-nonce | d156df0a7a0e4d26e9a72177a78c78deb2376ed5f8910f47e8318f8b8d877f78 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUMwOjFBN0IxMzo1RTk4MDo4NDY1Qzo2QUZENDhFRCIsInZpc2l0b3JfaWQiOiI3OTA3NzEzNTQ4ODg3NjA3NTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 24ad54b2d5a69e78a897145eede255a5af2a13fe1b3252e044bc77cedf8d3408 |
| hovercard-subject-tag | issue:363274622 |
| 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/PowerShell/7856/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4879583aee44d9346f3acec66bb20829fb4f2d7aaff8b3624d20f9798c392bb2/PowerShell/PowerShell/issues/7856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4879583aee44d9346f3acec66bb20829fb4f2d7aaff8b3624d20f9798c392bb2/PowerShell/PowerShell/issues/7856 |
| og:image:alt | Currently if a module is written and has no manifest or its manifest has no CompatiblePSEditions field, Get-Module -ListAvailable will describe it as having the PSEdition value as Desk: > gmo -list... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rjmholt |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width