canonical / craft-platforms

Manage platforms and architectures for charm applications.
GNU Lesser General Public License v3.0
0 stars 2 forks source link

Implement a basic API that makes a build plan for charms #3

Closed lengau closed 5 months ago

lengau commented 5 months ago

Something like:

def gen_charm_build_plan(platforms: dict[str, None | dict[str, list[str]]]) -> Iterable[CharmBuildInfo]:
    ...

This should provide a full build plan usable by both charmcraft and Launchpad.

For right now, don't depend on pydantic