eclipse-volttron / copier-poetry-volttron-agent

Other
0 stars 4 forks source link

when using `copier <url> <path-to-local>` syntax to create copier template, it only behaves as expected when specifying the `--vcs-ref` tag #68

Open kefeimo opened 1 year ago

kefeimo commented 1 year ago

As seen in the following screenshot, when using copier <url> <path-to-local> syntax to create copier template, it only behaves as expected when specifying the --vcs-ref tag image

Note that commit tag 5f629a5 is the most recent commit at the default branch "main".

image

kefei@ubuntu-20-ws /tmp $ git clone https://github.com/VOLTTRON/copier-poetry-volttron-agent.git
Cloning into 'copier-poetry-volttron-agent'...
remote: Enumerating objects: 507, done.
remote: Counting objects: 100% (277/277), done.
remote: Compressing objects: 100% (154/154), done.
remote: Total 507 (delta 157), reused 211 (delta 123), pack-reused 230
Receiving objects: 100% (507/507), 331.70 KiB | 686.00 KiB/s, done.
Resolving deltas: 100% (234/234), done.
kefei@ubuntu-20-ws /tmp $ cd copier-poetry-volttron-agent/
kefei@ubuntu-20-ws /tmp/copier-poetry-volttron-agent (main) $ git log --oneline 
5f629a5 (HEAD -> main, origin/main, origin/HEAD) Merge pull request #67 from kefeimo/65-update-to-use-copier-v7
2b55871 updated readme for migrating copier==7.0.1
fb4c7e2 use handler {% %} in copier v7
5fad2e3 use new handle {{ }}
dab7c6a using copier==7.0.1 syntax {{ }}

image

kefeimo commented 1 year ago

Can use --vcs-ref==HEAD as an acceptable walkaround image

kefeimo commented 1 year ago

Can be resolved by https://github.com/VOLTTRON/copier-poetry-volttron-agent/pull/69