Due to conflicts with the Jinja2 sintax used in some of the files. Cloning and rendering fails with errors on Windows, including using GitBash. Windows doesn't allow ", {, }, and certain other characters in file paths, and this repository uses Jinja-style template filenames like {{ "Apache Software License.jinja" }} which are perfectly valid on Linux/macOS but illegal on Windows.
Cloning
$ git clone git@github.com:SS-NES/meta-template.git
Cloning into 'meta-template'...
remote: Enumerating objects: 987, done.
remote: Counting objects: 100% (333/333), done.
remote: Compressing objects: 100% (153/153), done.
Rremote: Total 987 (delta 233), reused 252 (delta 171), pack-reused 654 (from 1)
Receiving objects: 100% (987/987), 1.17 MiB | 2.68 MiB/s, done.
Resolving deltas: 100% (504/504), done.
error: invalid path 'meta/template/includes/licenses/{{ "Apache Software License.jinja" }}'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
deleted: .github/workflows/publish.yml
deleted: .gitignore
deleted: CITATION.cff
deleted: LICENSE
deleted: README.md
....
deleted: "meta/template/includes/licenses/{{ \"The Unlicense (Unlicense).jinja\" }}"
deleted: meta/template/tests/.placeholder
deleted: "meta/template/{{ \".gitignore.jinja\" }}"
deleted: "meta/template/{{ \"{% if citation %}CITATION.cff{% endif %}.jinja\"}}"
deleted: "meta/template/{{ \"{% if community %}CONTRIBUTING.md{% endif %}.jinja\"}}"
deleted: "meta/template/{{ \"{{_copier_conf.answers_file}}.jinja\"}}"
deleted: "meta/template/{{\"CHANGELOG.md.jinja\"}}"
deleted: "meta/template/{{\"{% if code_of_conduct %}CODE_OF_CONDUCT.md{% endif %}.jinja\"}}"
deleted: "meta/template/{{\"{% if software_license != 'No License' %}LICENSE{% endif %}.jinja\"}}"
deleted: meta/{{_copier_conf.answers_file}}.jinja
Rendering
plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 128
Command line: | 'C:\Program Files\Git\mingw64\bin\git.exe' -c core.fsmonitor=false checkout -f HEAD
Stderr: | error: invalid path 'meta/template/includes/licenses/{{ "Apache Software License.jinja" }}'
Due to conflicts with the Jinja2 sintax used in some of the files. Cloning and rendering fails with errors on Windows, including using GitBash. Windows doesn't allow
", {, }, and certain other characters in file paths, and this repository uses Jinja-style template filenames like{{ "Apache Software License.jinja" }}which are perfectly valid on Linux/macOS but illegal on Windows.Cloning
Rendering