feat: strict platform name validation
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
This implements strict platform name validation using the validator in craft-platforms (see: https://github.com/canonical/craft-platforms/pull/209)
By default, projects only get validated if their base doesn't match any of our "legacy" bases (ubuntu 20.04-24.04).
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Evaluation history
No evaluation history available.