← Back to issue list

Rewrite default `_providers_base()` command.

View original Github issue

Metadata

Project
craft-application
Number
#348
Type
issue
State
open
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Maintainer task to make Project._providers_base() translate the 'devel' base name to BuilddBaseAlias.DEVEL (and update effective_base). Open since May 2024, last activity May 2024; current code still relies on craft-providers' get_base_alias rather than an explicit devel translation.

Suggested action: needs triage

Reason: The issue is a maintainer-authored internal task (CRAFT-2920) with no labels, no assignee, and no maintainer response beyond the author's own follow-up comment ('Project.effective_base also needs to be updated'). It has been inactive for ~15 months. The current _providers_base() still just splits on '@' and calls get_base_alias() with no explicit devel handling, so it is not clearly resolved, but I could not confirm whether craft-providers' get_base_alias already resolves ubuntu@devel to BuilddBaseAlias.DEVEL, which would make the explicit translation redundant.

Impact: 45 Quick Win: 27.0 Staleness: 70 Complexity: 40 Confidence: 55 Support Request: 5

Issue body

### 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.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 27.0
Staleness: 70
Complexity: 40
Confidence: 55
Support Request: 5
needs triage Maintainer task to make Project._providers_base() translate the 'devel' base name to BuilddBaseAlias.DEVEL (and update effective_base). Open since May 2024, last activity May 2024; current code still relies on craft-providers' get_base_alias rather than an explicit devel translation.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 15
Confidence: 80
Support Request: 5
close stale Task to update Project._providers_base() and effective_base to map the devel base alias per team conventions. Open since 2023, last updated over a year ago, awaiting implementation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 80
Support Request: 5
close stale Task to update Project._providers_base() and effective_base to use DEVEL naming convention. Open since 2023, last activity over a year ago, awaiting implementation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 75
Support Request: 0
keep open Update Project._providers_base() and Project.effective_base() to map devel to BuilddBaseAlias.DEVEL per naming standards. Currently stalled, awaiting implementation after 389 days of inactivity.

Update history

No update history recorded yet.

Related work

  • Related To: craft-application#302 (confidence 70%)

    feat!: validate devel bases (#302) introduced the devel-base validation that _providers_base() feeds into; directly related to the devel naming work this issue targets.

  • Related To: craft-application#322 (confidence 60%)

    revert: abstract Project class and _providers_base() (#322) touched the same _providers_base() method this issue asks to rewrite.

Related issues

No related issues found above the similarity threshold.