← Back to issue list

Support local key assets for package-repositories

View original Github issue

Metadata

Project
craft-application
Number
#313
Type
issue
State
open
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Feature request to support local key assets for package-repositories (local dir was always /dev/null). Implemented by merged PR #317 adding an overridable _get_local_keys_path hook; issue is inactive and can be closed.

Suggested action: close stale

Reason: The requested capability is implemented: commit 071ad272 (PR #317, 'feat: support local keys in package-repositories') added install_package_repositories(local_keys_path=...) and the overridable LifecycleService._get_local_keys_path() hook, both present at current HEAD, so apps like Snapcraft can supply keys from snap/keys. The issue itself has no labels, no maintainer response beyond the Jira-sync bot comment (2024-04-18), and no activity for ~15 months, so it is inactive and no longer applicable.

Impact: 45 Quick Win: 31.5 Staleness: 70 Complexity: 30 Confidence: 85 Support Request: 0

Issue body

### What needs to get done The current implementation of package-repositories does not support local key assets (the local dir is always /dev/null). ### Why it needs to get done Snapcraft has support for keys in `snap/keys`

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 31.5
Staleness: 70
Complexity: 30
Confidence: 85
Support Request: 0
close stale Feature request to support local key assets for package-repositories (local dir was always /dev/null). Implemented by merged PR #317 adding an overridable _get_local_keys_path hook; issue is inactive and can be closed.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 40
Confidence: 75
Support Request: 10
needs triage Issue requesting support for local key assets in package-repositories, as current implementation ignores local keys. Created over 2 years ago, last activity 1 year ago, with an autogenerated Jira ticket link. Awaiting triage/development.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 40
Confidence: 70
Support Request: 10
needs triage Feature request to support local key assets for package-repositories. Unlabelled, unassigned, and inactive for over a year with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 45
Confidence: 80
Support Request: 10
needs triage Add local key asset support to package-repositories, replacing the /dev/null default. Aligns with snapcraft's snap/keys. Open and awaiting development since April 2024; internal Jira ticket CRAFT-2826 created.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: craft-application#317 (confidence 90%)

    Merged PR 'feat: support local keys in package-repositories' adds the local key asset support this issue requests; code (local_keys_path param, _get_local_keys_path hook) verified present at HEAD.

Related issues

Issue Project State Summary Similarity
#317 feat: support local keys in package-repositories craft-application merged Merged PR implementing local key support for package repositories. Introduces an overridable method for applications providing local assets, such as Snapcraft. Approved by two reviewers, passed CI, and applied across five files (+54/-12 lines).
78%
#4743 Local key assets are not used in package-repositories for core24 snapcraft closed Resolved the bug where local key assets were ignored for core24 package-repositories. Fixed via pull request #4758 and closed.
73%