← Back to issue list

Refactor how managed mode and provider are determined

View original Github issue

Metadata

Project
craft-application
Number
#262
Type
issue
State
open
Author
mr-cal
Labels
Created
2024-03-11 15:51:36+00:00
Updated
2025-05-23 17:27:00+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Snapcraft determines if it should run in managed mode or not and which provider to use. This is done in 2 discrete places in the codebase. This was upstreamed in https://github.com/canonical/craft-application/pull/242. To make the code more readable and maintainable in craft-application, this code could be combined and done earlier in craft-application's execution. Source: https://github.com/canonical/craft-application/pull/242#discussion_r1507992182 ### Why it needs to get done To reduce code debt

Evaluation history

No evaluation history available.