bdukes / PowerShellModules

A collection of PowerShell modules
Apache License 2.0
44 stars 9 forks source link

Support zips that include development files in Restore-DNNSite #12

Closed bdukes closed 2 years ago

bdukes commented 2 years ago

When restoring the site zip, if it contains a single directory, we assume that directory includes the DNN site. Otherwise, we assume that the contents of the zip are the site contents. In cases where there are development files (e.g. .git, .gitignore, package.json, etc.), it would be great if we can handle this scenario, and fail fast if we can't handle it.