← Back to issue list

Snapcraft.yml in 'snap' directory. prime/parts/stage in '.'

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1747778
Type
issue
State
open
Author
~8-launchpad-michaelcole-com
Labels
Created
Updated
Closed

Current evaluation

2017 request to place snapcraft build dirs (parts, prime, stage) next to snapcraft.yml in ./snap/ instead of the project root. No response for 8.5 years; dirs remain in project root by design, CRAFT_PARTS_DIR partially addresses configurability.

Suggested action: close stale

Reason: Filed 3128 days ago against the snapcraft 2.x codebase with zero comments, labels, or maintainer interaction, and the project has since been fully rewritten on the craft-parts architecture, which standardizes parts/stage/prime in the project root across all craft tools. The configurability concern is partially addressed by the CRAFT_PARTS_DIR env var (per related request #1594374), and the specific ask to relocate dirs next to snapcraft.yml contradicts the current architecture, so the issue is no longer actionable in its original form.

Impact: 15 Quick Win: 6.0 Staleness: 95 Complexity: 60 Confidence: 70 Support Request: 40

Issue body

Is there a reason to put these working/build directories in . ? They clutter up the directory list in my code editor. My snapcraft.yml is in ./snap/snapcraft.yml, why not these directories as well? ./snap/snapcraft.yml ./snap/parts ./snap/prime ./snap/stage

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 6.0
Staleness: 95
Complexity: 60
Confidence: 70
Support Request: 40
close stale 2017 request to place snapcraft build dirs (parts, prime, stage) next to snapcraft.yml in ./snap/ instead of the project root. No response for 8.5 years; dirs remain in project root by design, CRAFT_PARTS_DIR partially addresses configurability.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 85
close stale User asks why snapcraft build directories (parts, stage, prime) are created in the project root instead of alongside snapcraft.yml in the ./snap/ directory. Issue is completely inactive with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 10
Confidence: 90
Support Request: 85
close stale User asks why snapcraft build directories (parts, prime, stage) are created in the project root instead of alongside snapcraft.yml. Unanswered for over 8 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 80
Support Request: 85
needs triage Unassessed support question asking why snapcraft generates build directories in the project root instead of alongside snapcraft.yml. No maintainer response, labels, or assignee.
qwen3.6-35b-moe-q4
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 60
close stale Request to relocate snapcraft build directories (parts, prime, stage) from the project root to the snap/ folder. No maintainer response in over 8 years.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1594374 (confidence 75%)

    2016 request to make build directories configurable (default ~/.snapcraft/); partially addressed via CRAFT_PARTS_DIR env var, same underlying concern about build dir location.

Related issues

Issue Project State Summary Similarity
#1594374 Use a user directory for temporary files snapcraft (launchpad) open Feature request from 2016 to make snapcraft build directories (parts, stage, prime) configurable with a default of ~/.snapcraft/. Zero comments, no labels, 10+ years inactive. Configurability has since been partially addressed via CRAFT_PARTS_DIR env var, but default location remains project directory.
79%