-
Notifications
You must be signed in to change notification settings - Fork 95
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
ACR Integration: Add JSON metadata to package manifest in ACR registries #1522
Conversation
…PowerShellGet into publishMetadata
…into publishMetadata
src/code/ACRServerAPICalls.cs
Outdated
|
||
FileInfo nupkgFile = new FileInfo(fullNupkgFile); | ||
var fileSize = nupkgFile.Length; | ||
var fileName = System.IO.Path.GetFileName(fullNupkgFile); | ||
string fileContent = CreateJsonContent(digest, emptyDigest, fileSize, fileName); | ||
string fileContent = CreateJsonContent(nupkgDigest, configDigest, configDigest, fileSize, fileName, jsonString); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the value of configDigest and metadataDigest the same? Earlier there was emptydigest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metadataDigest is no longer used, nor is emptyDigest. I removed the metadataDigest parameter because that should no longer be there.
PR Summary
Add metadata JSON string to package manifest in ACR registries.
PR Context
Resolves #1515
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.