I’ve tried using cookiecutter against /tryton/tryton and /tryton/tryton/-/tree/branch/default/cookiecutter-module, but it gets stuck right after hitting enter on the CLI command.
I don’t know if I’m missing something. I’ve recently also experienced some degraded performance on Tryton repository due to the size of the monorepo itself… Maybe the cookiecutter is having the same issue?
❯ cookiecutter --version
Cookiecutter 2.1.1 from /opt/homebrew/lib/python3.11/site-packages (Python 3.11.1 (main, Dec 23 2022, 09:28:24) [Clang 14.0.0 (clang-1400.0.29.202)])
❯ hg --version
Mercurial Distributed SCM (version 6.3.2)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2023 Olivia Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
❯ python --version
Python 3.11.1
cookiecutter hg+https://code.tryton.org/tryton --directory cookiecutter-module
The repository https://code.tryton.org/tryton could not be found, have you made a typo?
I do not think it is needed to redownload the repository each time. I guess the cache is just updated.
Also if you have already the tryton repository cloned somewhere, you can run cookiecutter <path>tryton//cookiecutter-module.
╰─ cookiecutter --version
Cookiecutter 2.1.1 from /home/mrichez/.local/lib/python3.10/site-packages (Python 3.10.9 (main, Dec 19 2022, 17:35:49) [GCC 12.2.0])
╭─ mrichez@richez/tmp
╰─ cookiecutter hg+https://code.tryton.org/tryton --directory cookiecutter-module
You've downloaded /home/mrichez/.cookiecutters/tryton before. Is it okay to delete and re-download it? [yes]: yes
The repository https://code.tryton.org/tryton could not be found, have you made a typo?