canonical / snapcraft

Package, distribute, and update any app for Linux and IoT.
https://snapcraft.io
GNU General Public License v3.0
1.18k stars 443 forks source link

fix: re-register dotnet for core22 #4841

Closed mr-cal closed 3 months ago

mr-cal commented 3 months ago

Fixes #4825 (CRAFT-2979)

mr-cal commented 3 months ago

Force-pushed because I dropped all changes related to running the ClassicFallback or craft-application based codepath.

It's too disruptive of a change for a hotfix.

mr-cal commented 3 months ago

We can generalize the calls a bit more instead of being core24-specific in a future refactoring, but this solves the reported issue.

Agreed. In a point release, we should flip the paradigm such that the craft-application codepath is used by default and Snapcraft only raises ClassicFallback if we know we should use the core20 or core22 feature set.