Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use glob strategy for file copy #92

Closed
wants to merge 3 commits into from
Closed

Conversation

chrisroberts
Copy link
Member

Fixes: #88

@webframp
Copy link
Contributor

This looks promising, if you need Windows platform testing from me I won't be able to do it until late Sunday at the earliest.

@webframp
Copy link
Contributor

Tested this, but it still seems to have the issue from #88 so I'm stumped. Here's the directory results:

C:\src\chef\infra-repo [batali/debug +2 ~1 -0 !]> be batali install
[Batali]: Readying installation destination... complete!
[Batali]: Installing cookbooks... error!
[ERROR]: Reason - No such file or directory - Failed to locate asset within `C:\Users\sescriva\AppData\Local/.batali/cache/site/remote_site/aHR0cHM6Ly9zdXBlcm1hcmtldC5jaGVmLmlvOjQ0My9hcGkvdjEvY29va2Jvb2tzL3dpbmRvd3MvdmVyc2lvbnMvMi4xLjEvZG93bmxvYWQ=`
ERROR: Errno::ENOENT: No such file or directory - Failed to locate asset within `C:\Users\sescriva\AppData\Local/.batali/cache/site/remote_site/aHR0cHM6Ly9zdXBlcm1hcmtldC5jaGVmLmlvOjQ0My9hcGkvdjEvY29va2Jvb2tzL3dpbmRvd3MvdmVyc2lvbnMvMi4xLjEvZG93bmxvYWQ=`

C:\src\chef\infra-repo [batali/debug +2 ~1 -0 !]> cd C:\Users\sescriva\AppData\Local/.batali/cache/site/remote_site/aHR0cHM6Ly9zdXBlcm1hcmtldC5jaGVmLmlvOjQ0My9hcGkvdjEvY29va2Jvb2tzL3dpbmRvd3MvdmVyc2lvbnMvMi4xLjEvZG93bmxvYWQ=

C:\Users\sescriva\AppData\Local\.batali\cache\site\remote_site\aHR0cHM6Ly9zdXBlcm1hcmtldC5jaGVmLmlvOjQ0My9hcGkvdjEvY29va2Jvb2tzL3dpbmRvd3MvdmVyc2lvbnMvMi4xLjEvZG93bmxvYWQ=> ls

    Directory:  C:\Users\sescriva\AppData\Local\.batali\cache\site\remote_site\aHR0cHM6Ly9zdXBlcm1hcmtldC5jaGVmLmlvOjQ0My9hcGkvdjEvY29va2Jvb2tzL3dpbmRvd3MvdmVyc2lvbnMvMi4xLjEvZG93bmxvYWQ=

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d-----        2/14/2017   4:47 PM        1   windows
-a----        2/14/2017   4:47 PM    52.45KB .batali-asset-file

C:\Users\sescriva\AppData\Local\.batali\cache\site\remote_site\aHR0cHM6Ly9zdXBlcm1hcmtldC5jaGVmLmlvOjQ0My9hcGkvdjEvY29va2Jvb2tzL3dpbmRvd3MvdmVyc2lvbnMvMi4xLjEvZG93bmxvYWQ=> tree /a /f
Folder PATH listing for volume Windows
Volume serial number is 00000025 9A3F:0516
C:.
|   .batali-asset-file
|   
\---windows
    |   .foodcritic
    |   CHANGELOG.md
    |   CONTRIBUTING.md
    |   MAINTAINERS.md
    |   metadata.json
    |   README.md
    |   
    +---attributes
    |       default.rb
    |       
    +---files
    |   \---default
    |           dism_features.rb
    |           
    +---libraries
    |       feature_base.rb
    |       matchers.rb
    |       powershell_helper.rb
    |       powershell_out.rb
    |       registry_helper.rb
    |       version.rb
    |       version_helper.rb
    |       windows_helper.rb
    |       windows_package.rb
    |       windows_privileged.rb
    |       wmi_helper.rb
    |       
    +---providers
    |       auto_run.rb
    |       certificate.rb
    |       certificate_binding.rb
    |       feature_dism.rb
    |       feature_powershell.rb
    |       feature_servermanagercmd.rb
    |       font.rb
    |       http_acl.rb
    |       pagefile.rb
    |       path.rb
    |       printer.rb
    |       printer_port.rb
    |       shortcut.rb
    |       task.rb
    |       zipfile.rb
    |       
    +---recipes
    |       default.rb
    |       
    \---resources
            auto_run.rb
            certificate.rb
            certificate_binding.rb
            feature.rb
            font.rb
            http_acl.rb
            pagefile.rb
            path.rb
            printer.rb
            printer_port.rb
            shortcut.rb
            task.rb
            zipfile.rb

Just let me know what else I can provide or run to help debug

@chrisroberts chrisroberts deleted the fix/file-copy branch June 17, 2018 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants