Closed marcnorthover closed 1 year ago
Tried using "gitbash" on windows (https://git-scm.com/download/win). It simulates a linux bash env.
Steps that I took
git clone https://github.com/tliron/puccini.git cd puccini/ # latest version git checkout v0.21.0 cd scripts/ ./build # All of these worked puccini-tosca compile examples/tosca/descriptions.yaml puccini-tosca compile examples/openstack/hello-world.yaml puccini-tosca compile https://raw.githubusercontent.com/tliron/puccini/main/examples/openstack/hello-world.yaml puccini-tosca compile 'git:https://github.com/tliron/puccini.git!examples/openstack/hello-world.yaml' # 2nd command fails puccini-csar create openstack.tar.gz examples/openstack puccini-tosca compile openstack.tar.gz 2023/03/16 14:17:59.060 NOTE [puccini-csar] created CSAR: openstack.tar.gz PROBLEMS (1) tar:file:C:\Users\marcn\eclipse-workspace\external\puccini\openstack.tar.gz!/hello-world.yaml @13,3 imports[0]: URL not found: profile/profile.yaml
The contents of the tar.gz is a mix of forward slash and double backslash
$ tar tvf openstack.tar.gz -rw------- 0/0 3382 1969-12-31 16:00 README.md -rw------- 0/0 1235 1969-12-31 16:00 hello-world.yaml -rw------- 0/0 89 1969-12-31 16:00 profile\\capabilities.yaml -rw------- 0/0 8069 1969-12-31 16:00 profile\\data.yaml -rw------- 0/0 4047 1969-12-31 16:00 profile\\js\\generate.js -rw------- 0/0 9379 1969-12-31 16:00 profile\\nodes.yaml -rw------- 0/0 180 1969-12-31 16:00 profile\\profile.yaml -rw------- 0/0 90 1969-12-31 16:00 profile\\relationships.yaml -rw------- 0/0 228 1969-12-31 16:00 scripts\\build-playbook -rw------- 0/0 524 1969-12-31 16:00 scripts\\install-ansible -rw------- 0/0 108 1969-12-31 16:00 TOSCA-Metadata/TOSCA.meta
Thank for this! I wasn't aware of the git-bash approach on Windows, I will add it as an option to the dev guide.
Tried using "gitbash" on windows (https://git-scm.com/download/win). It simulates a linux bash env.
Steps that I took
The contents of the tar.gz is a mix of forward slash and double backslash