canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
7 stars 11 forks source link

revert: abstract Project class and `_providers_base()` #322

Closed mr-cal closed 5 months ago

mr-cal commented 5 months ago

This is a partial revert of 'aeae554 feat!: validate devel bases (#302)'.

The base validation from #302 has not been reverted, but there is now a default implementation for Project._providers_base() such that applications do not need to subclass the Project model.

The default naming convention for bases is name@channel. Examples:

Charmcraft is the only public application that can use this default _providers_base().

A default BuildPlanner will come in a subsequent PR.

(CRAFT-2824)

mr-cal commented 5 months ago

I'll wait for #321 to land first