canonical / canonical/craft-application

Rewrite default `_providers_base()` command.

Open
#348 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
29
Avg merge
2d 3h
Merged PRs (30d)
12

Description

### What needs to get done

Update [`Project._providers_base()`](https://github.com/canonical/craft-application/blob/13230edae580d62699b76e092076530681e5a40b/craft_application/models/project.py#L149) to translate `devel` to `craft_providers.bases.BuilddBaseAlias.DEVEL`.

### Why it needs to get done

Per an offline team conversation, `devel` is the correct naming convention.

Contributor guide

Open the contributing guide

Research direction

Open craft_application/models/project.py and read Project._providers_base() at the linked location. Update the default mapping so devel translates to craft_providers.bases.BuilddBaseAlias.DEVEL; done means the method uses that naming convention.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.