canonical / craft-parts

https://canonical-craft-parts.readthedocs-hosted.com
GNU Lesser General Public License v3.0
11 stars 37 forks source link

Allow plugins to add stage-packages. #833

Open lengau opened 2 months ago

lengau commented 2 months ago

What needs to get done

Provide a mechanism for plugins to add a set of staged packages or slices, which get merged with the user-provided staged packages

Why it needs to get done

This would be especially useful for Rockcraft. Example: https://github.com/canonical/rockcraft/pull/688/files

vpa1977 commented 2 months ago

We also need a way to specify custom source of slices and packages - e.g. github repository with chisel-releases or a PPA.

This probably should be handled as a separate enhancement.