← Back to issue list

Hidden files are not staged after "dump"

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1669854
Type
issue
State
open
Author
~joeborg
Labels
isv sources
Created
2017-03-03 17:22:13.186195+00:00
Updated
2017-10-10 17:08:27.427366+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

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

No evaluation history available.