You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you use clarinet new to create a project in the current folder, it will break devnet. The reason is that it names the project '.' which causes the Docker network names to look like this: stacks-node...devnet. The resulting tool looks like this:
[project]
name = '.'
To Reproduce
mkdir broken
cd broken
clarinet new .
clarinet devnet start
Expected behavior
Everything should still work properly.
Suggested fix
When using a path, Clarinet should use the folder name as the project name. In the example above, it should take the name broken. Then we can use clarinet new .. Additionally, it is probably good to filter out illegal characters in the name for the Docker network names. (If it is not done already.)
The text was updated successfully, but these errors were encountered:
Describe the bug
When you use
clarinet new
to create a project in the current folder, it will break devnet. The reason is that it names the project'.'
which causes the Docker network names to look like this:stacks-node...devnet
. The resulting tool looks like this:To Reproduce
Expected behavior
Everything should still work properly.
Suggested fix
When using a path, Clarinet should use the folder name as the project name. In the example above, it should take the name
broken
. Then we can useclarinet new .
. Additionally, it is probably good to filter out illegal characters in the name for the Docker network names. (If it is not done already.)The text was updated successfully, but these errors were encountered: