Skip to content

Hidden files not imported #585

Description

@nickpagz

Quick summary

In at least one scenario, hidden files are not imported when creating a new site while importing from another. I've not comprehensively tested, but noticed the issue when importing an export from a Local site. Upon completion of the import, none of the hidden .git, .github, etc, files were included in the import. I confirmed the files are included in the site export. For further clarity, the sites tested all track wp-content.

Steps to reproduce

  1. With a Local site started (the site must contain hidden files, such as with .git tracking), right-click on the site and choose "Export".
  2. "Add site" in Studio and use the "Import a backup" option, choosing the Local export.
  3. After the import, navigate to site folder where you expect the hidden files to be located. They will not be there.
  4. In my case, the wp-content folder is tracked, and all hidden files were missing on the import.

What you expected to happen

For the hidden files to be imported.

What actually happened

No hidden files were imported.

Impact

One

Available workarounds?

Yes, easy to implement

Platform

Mac Silicon

Logs or notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions