The result in "diff_5_7.txt" shows that all the generated files by the two versions are the same, except ".copier-answers.yml" file, which is due to using different commit
(env-copier) kefei@ubuntu-20-ws ~/project-local/volttron-copier $ copier copier-poetry-volttron-agent/ Example-copier7/ --vcs-ref 5fad2e3
🎤 Your project name
volttron-copier
🎤 Your project description
volttron copier testing
🎤 Your full name
kefei mo
🎤 Your email
kefei.mo@pnnl.gov
🎤 Your username (e.g. on GitHub)
kefeimo
🎤 Your repository provider
github.com
🎤 Your repository namespace
kefeimo
🎤 Your repository name
volttron-copier
🎤 The name of the person/entity holding the copyright
kefei mo
🎤 The email of the person/entity holding the copyright
kefei.mo@pnnl.gov
🎤 The copyright date
2022
🎤 Your project's license
Apache License 2.0
🎤 Your Python package distribution name (for `pip install NAME`)
volttron-copier
🎤 Your Python package import name (for `import NAME` in Python code)
volttron_copier
🎤 Main class name for your agent
Volttron_copier
🎤 Your CLI name if any (for use in the shell)
volttron-copier
🎤 Do you want to use pre-commit?
YesN)
Copying from template version 0.3.0b0.post20.dev0+5fad2e3
create .
create config
create scripts
create scripts/post_generation.py
create .gitlab-ci.yml
create .github
create .github/workflows
create .github/workflows/code_analysis.yml
create .github/workflows/publish_to_pypi.yml
create .github/workflows/create_release.yml
create .github/workflows/ci.yml
create .github/ISSUE_TEMPLATE
create .github/ISSUE_TEMPLATE/feature_request.md
create .github/ISSUE_TEMPLATE/bug_report.md
create CHANGELOG.md
create src
create src/volttron_copier
create src/volttron_copier/__init__.py
create src/volttron_copier/agent.py
create mypy.ini
create CONTRIBUTING.md
create tests
create tests/test_cli.py
create tests/conftest.py
create docs
create docs/source
create docs/source/conf.py
create docs/source/index.rst
create docs/Makefile
create LICENSE
create .gitignore
create README.md
create pyproject.toml
create .pre-commit-config.yaml
create .copier-answers.yml
> Running task 1 of 1: python scripts/post_generation.py
Project successfully generated!
make sure using commit fb4c7e2. (otherwise it will use main branch by default) e.g., copier "https://github.com/kefeimo/copier-poetry-volttron-agent/" Example-copier7/ --vcs-ref fb4c7e2. (the --vcs-ref specify the commit to use)
Fixed Update to use copier v7 #65 : and Doesn't seem to be interpolating values from prompts #63
Verification
Use the same answers to copier prompts and compared to the last workable release version (copier==5.1.0, commit: 3b3315f)
copier copier-poetry-volttron-agent/ Example-copier7/ --vcs-ref fb4c7e2
copier copier-poetry-volttron-agent/ Example-copier5/ --vcs-ref 3b3315f
diff -r Example-copier5 Example-copier7 > diff_5_7.txt
Result
The result in "diff_5_7.txt" shows that all the generated files by the two versions are the same, except ".copier-answers.yml" file, which is due to using different commit