← Back to issue list

Improve API naming and scoping

View original Github issue

Metadata

Project
craft-application
Number
#573
Type
issue
State
open
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Refactor proposal to rename service classes (e.g. PackageService to Package) to reduce name repetition and improve API scoping. Unlabeled, no comments, no activity for ~15 months; the naming is still unchanged in the current codebase.

Suggested action: needs triage

Reason: The issue has no labels, no comments, and no maintainer acknowledgement (0 comments, last activity 465 days ago), so it has never been triaged. It is not a candidate for close_stale because the proposed change is still applicable: PackageService remains the public name in craft_application/services/__init__.py and is subclassed by partitioncraft, testcraft, and witchcraft, and no rename commit exists. As a breaking public-API rename it would need a deprecation cycle and coordination with downstream craft apps, which a maintainer should assess before scoping.

Impact: 35 Quick Win: 15.75 Staleness: 70 Complexity: 55 Confidence: 75 Support Request: 0

Issue body

### What needs to get done Do not be repetitive on names ``` craft_application.services.package.PackageService ``` Can be refactored to ``` craft_application.services.package.Package ``` or ``` craft_application.services._package.Package ``` and accessed as ``` craft_application.services.Package ``` or ``` from craft_application import services services.Package ``` ### Why it needs to get done - Easier use of the API - Less repetition - Better Scoping

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 15.75
Staleness: 70
Complexity: 55
Confidence: 75
Support Request: 0
needs triage Refactor proposal to rename service classes (e.g. PackageService to Package) to reduce name repetition and improve API scoping. Unlabeled, no comments, no activity for ~15 months; the naming is still unchanged in the current codebase.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 40
Confidence: 75
Support Request: 10
needs triage Issue proposes refactoring API naming to reduce repetition (e.g., PackageService to Package). No maintainer response, no labels, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 70
Confidence: 80
Support Request: 10
needs triage Suggests refactoring API class naming to remove redundant Service suffixes and improve module scoping. Unlabeled, authored by a maintainer, but has seen no discussion or engagement in over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 75
Support Request: 5
needs triage Proposes refactoring API naming to remove redundant suffixes and improve module scoping for a cleaner interface. Open with zero comments, needs triage and discussion.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.