← Back to issue list

Verify present addresses when adding a remote

View original Github issue

Metadata

Project
craft-providers
Number
#795
Type
issue
State
open
Author
bepri
Labels
Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Enhancement remains open: RemoteImage.add_remote checks only remote_name, so an existing address under another LXC remote name is not detected; address-level handling and tests are missing.

Suggested action: keep open

Reason: The maintainer-authored issue has a Type: Enhancement label, and current code confirms the gap: add_remote() gates only on remote_name in remote_list(), although remote_list() already exposes each remote's addr. It should remain open, though the desired behavior for a matching address—skip adding, reuse the existing name, or raise an error—needs a small design decision.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 16 Complexity: 40 Confidence: 92 Actionability: 68

Issue body

### What needs to get done When adding a new remote to LXC, a check should be done be sure that remote address isn't already present under a different name. ### Why it needs to get done The current behavior only guarantees that the remote name is not duplicated, which does not cover all cases.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 16
Complexity: 40
Confidence: 92
Actionability: 68
keep open Enhancement remains open: RemoteImage.add_remote checks only remote_name, so an existing address under another LXC remote name is not detected; address-level handling and tests are missing.
stealth/space-bunny-alpha
Impact: 32
Quick Win: 16
Complexity: 30
Confidence: 83
Actionability: 70
keep open Enhancement requests address-level duplicate detection when adding an LXC remote, preventing the same address from being registered under a different remote name.
qwen3.6-35b-a3b-mtp-q6
Impact: 35
Quick Win: 26
Staleness: 85
Complexity: 25
Confidence: 65
Support Request: 40
needs triage Enhancement request to verify remote addresses aren't duplicated when adding LXD remotes. No maintainer engagement in 378 days.
qwen/qwen3.6-35b-a3b
Staleness: 35
Complexity: 40
Confidence: 85
Support Request: 0
needs triage Feature request to verify remote addresses for uniqueness when adding a remote in LXC, preventing duplicate addresses under different names.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 75
Support Request: 10
needs triage Enhancement to validate remote addresses for duplicates when adding a new remote in LXC. Currently only remote names are checked. Untriaged, zero comments, inactive for over a year.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.