Skip to content
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

Package metadata missing for ACR packages #1608

Open
3 tasks done
sdwheeler opened this issue Mar 27, 2024 · 0 comments
Open
3 tasks done

Package metadata missing for ACR packages #1608

sdwheeler opened this issue Mar 27, 2024 · 0 comments
Labels
Container-Galleries Issue-Bug Something isn't working

Comments

@sdwheeler
Copy link
Contributor

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

I published modules to my ACR repository. When I search for the package, the returned object does not contain any of the metadata from the PrivateData property of the module manifest.

Expected behavior

Show me the data.

Actual behavior

PS> (gmo Documentarian).PrivateData.PSData

Name                           Value
----                           -----
ReleaseNotes                   https://microsoft.github.io/Documentarian/modules/documentarian/changelog
Tags                           {Markdown, Documentation}
ProjectUri                     https://microsoft.github.io/Documentarian/modules/documentarian
LicenseUri                     https://github.com/microsoft/Documentarian/blob/main/LICENSE-CODE

PS> Find-PSResource -Repository ACRDemoRepo -Name Documentarian | select *

AdditionalMetadata       : {[NormalizedVersion, 0.0.1]}
Author                   :
CompanyName              :
Copyright                : (c) Microsoft. All rights reserved.
Dependencies             : {YaYaml}
Description              : Collection of general purpose functions for working with Markdown documents.
IconUri                  :
Includes                 : Microsoft.PowerShell.PSResourceGet.UtilClasses.ResourceIncludes
InstalledDate            :
InstalledLocation        :
IsPrerelease             : False
LicenseUri               :
Name                     : Documentarian
Prerelease               :
ProjectUri               :
PublishedDate            :
ReleaseNotes             :
Repository               : ACRDemoRepo
RepositorySourceLocation : https://psresourcedemo.azurecr.io/
Tags                     : {}
Type                     : Module
UpdatedDate              :
Version                  : 0.0.1

Error details

No response

Environment data

I see the data in the Portal.


{
  "schemaVersion": 2,
  "mediaType": "application/vnd.oci.image.manifest.v1+json",
  "config": {
    "mediaType": "application/vnd.oci.image.config.v1+json",
    "digest": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "size": 0
  },
  "layers": [
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
      "digest": "sha256:9d22491de7620b36c614b8f40491a6818ae2913ddcad434615ab4769d00f4700",
      "size": 25125,
      "annotations": {
        "org.opencontainers.image.title": "Documentarian",
        "org.opencontainers.image.description": "Documentarian.0.0.1.nupkg",
        "metadata": "{\"PowerShellVersion\":\"7.2\",\"CmdletsToExport\":\"*\",\"CompatiblePSEditions\":\"Core\",\"CompanyName\":\"Microsoft\",\"PrivateData\":{\"PSData\":{\"LicenseUri\":\"https://github.com/microsoft/Documentarian/blob/main/LICENSE-CODE\",\"ProjectUri\":\"https://microsoft.github.io/Documentarian/modules/documentarian\",\"ReleaseNotes\":\"https://microsoft.github.io/Documentarian/modules/documentarian/changelog\",\"Tags\":[\"Markdown\",\"Documentation\"]}},\"VariablesToExport\":\"*\",\"Author\":\"PowerShell Docs Team\",\"RootModule\":\"Documentarian.psm1\",\"Description\":\"Collection of general purpose functions for working with Markdown documents.\",\"RequiredModules\":[\"YaYaml\"],\"tags\":\"Markdown Documentation\",\"GUID\":\"2422ec90-815c-4c1d-8ec1-4c9b082f2909\",\"Copyright\":\"(c) Microsoft. All rights reserved.\",\"FunctionsToExport\":[\"Convert-MDLinks\",\"ConvertTo-Contraction\",\"Get-ContentWithoutHeader\",\"Get-Document\",\"Get-DocumentLink\",\"Get-Metadata\",\"Remove-Metadata\",\"Set-Metadata\",\"Update-Metadata\"],\"ModuleVersion\":\"0.0.1\",\"AliasesToExport\":\"*\"}",
        "resourceType": "Module"
      }
    }
  ]
}

Visuals

No response

@SydneyhSmith SydneyhSmith added Issue-Bug Something isn't working Container-Galleries and removed Needs-Triage labels Apr 3, 2024
@SydneyhSmith SydneyhSmith added this to To Do in 1.1.0-preview2 via automation Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container-Galleries Issue-Bug Something isn't working
Projects
Development

No branches or pull requests

2 participants