Fix cookiecutter url
COOKIECUTTER_URL
in commands/create.py
is missing the .git
suffix. Older versions of git (e.g. 1.8.3.1
) fail to clone the repo.
clickable create
output:
Traceback (most recent call last):
File "/home/h134607/.local/lib/python3.6/site-packages/clickable/__init__.py", line 253, in main
clickable.run(args.commands, args)
File "/home/h134607/.local/lib/python3.6/site-packages/clickable/__init__.py", line 237, in run
cmd.run(command_arg)
File "/home/h134607/.local/lib/python3.6/site-packages/clickable/commands/create.py", line 52, in run
config_file=config_file,
File "/home/h134607/.local/lib/python3.6/site-packages/cookiecutter/main.py", line 63, in cookiecutter
password=password
File "/home/h134607/.local/lib/python3.6/site-packages/cookiecutter/repository.py", line 103, in determine_repo_dir
no_input=no_input,
File "/home/h134607/.local/lib/python3.6/site-packages/cookiecutter/vcs.py", line 99, in clone
stderr=subprocess.STDOUT,
File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib64/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', 'https://gitlab.com/clickable/ut-app-meta-template']' returned non-zero exit status 128.