This PR takes the metadata json string stored in annotations and populates it into PSResourceInfo object.
eg:
A small change was made to Publish-PSResource as well-- it now pushes org.opencontainers.image.title (the package name) and org.opencontainers.image.description (the full .nupkg name) to annotations. See documentation on naming conventions.
Note: the only way to retrieve annotations is to make a call to pull the manifest (ie GET request for a specific tag will not return layers, therefore will not return annotations). See: manifest response vs tag response
If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.
PR Summary
This PR takes the metadata json string stored in
annotations
and populates it into PSResourceInfo object. eg:A small change was made to
Publish-PSResource
as well-- it now pushesorg.opencontainers.image.title
(the package name) andorg.opencontainers.image.description
(the full .nupkg name) toannotations
. See documentation on naming conventions.Note: the only way to retrieve
annotations
is to make a call to pull the manifest (ie GET request for a specific tag will not return layers, therefore will not returnannotations
). See: manifest response vs tag responsePR Context
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.