← Back to issue list

Hidden files are not staged after "dump"

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1669854
Type
issue
State
open
Author
~joeborg
Labels
isv sources
Created
Updated
Closed

Current evaluation

Reports that hidden files/dirs from a tar.gz unpacked via the dump plugin are dropped during part staging and again from stage to prime, though they appear in the install dir. 9.5 years old, zero comments, no maintainer interaction.

Suggested action: close stale

Reason: The issue is ~3468 days old with last activity 3247 days ago and zero comments or maintainer interaction, and it targets a long-superseded snapcraft version whose staging/priming internals have since been rewritten (now in craft-parts). No reproduction on a current version was ever provided, so the original report is no longer actionable against the supported codebase.

Impact: 45 Quick Win: 20.25 Staleness: 95 Complexity: 55 Confidence: 55 Support Request: 15

Issue body

In this case, I am downloading and unpacking a tar.gz with the "dump" plugin. If I check the result of this in the ./parts/mypart/install directory, I can see all the files from the tar; including hidden files and directories. However, once the part is staged, these hidden files and directories seem to be filtered out. I can hack them into the stage directory using "organize" to remove the prefixed "." but this can obviously cause issues with libraries looking for the original name. This is also lost from stage -> prime, if I manually copy the hidden files / directories into stage and then run `snapcraft prime`. However, it does work if I copy them into prime and run `snapcraft snap`. Not sure if this is intentional or if it's a bug? Thanks, Joe

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 20.25
Staleness: 95
Complexity: 55
Confidence: 55
Support Request: 15
close stale Reports that hidden files/dirs from a tar.gz unpacked via the dump plugin are dropped during part staging and again from stage to prime, though they appear in the install dir. 9.5 years old, zero comments, no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 10
close stale Hidden files are filtered out during staging when using the dump plugin. The report is nearly 9 years old with no maintainer engagement or updates.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 40
Confidence: 85
Support Request: 10
close stale Hidden files from a tar.gz unpacked via the dump plugin are filtered out during staging. The report has been inactive for over 9 years with no maintainer response or updates.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 35
Confidence: 80
Support Request: 10
needs triage Hidden files from dump plugin tar.gz are filtered out during staging. Unanswered for over 9 years with no maintainer interaction or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 35
Confidence: 92
Support Request: 10
close stale Hidden files and directories are filtered out during staging after unpacking a tarball with the dump plugin. Open, unassigned, and unaddressed. Requires triage to determine if this is intentional or a bug.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.