PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
479 stars 90 forks source link

Add support for dependencies when publishing to ACR server #1577

Closed alerickson closed 4 months ago

alerickson commented 4 months ago

PR Summary

This PR implements dependency support for publishing modules to ACR/container repositories.

This implementation attaches an artifact ("dependency") to the module being published that contains a file called dependency.json which lists all the first level dependencies for the parent package (retrieved from the module manifest of the module being published). The "dependency" artifact also has its own manifest (pictured below).

image

image

PR Context

Partially resolves #1516

PR Checklist

adityapatwardhan commented 4 months ago

@alerickson - also need to add tests for this