IBM / operator-collection-sdk-vscode-extension

IBM Operator Collection SDK extension for VS Code
https://ibm.github.io/operator-collection-sdk/
Apache License 2.0
2 stars 1 forks source link

Can't create a collection with namespace if folder with namespace already exists #131

Open yemi-kelani opened 1 year ago

yemi-kelani commented 1 year ago

Bug Report

What did you do?

I created a collection callednamewith a namespace callednamespace. Then I tried to create a second collection with the same namespace (namespace`).

What did you expect to see?

It should create the second collection in the same folder.

What did you see instead? Under which circumstances?

The attempt to create the second collection failed. The core command `ansible-galaxy collection init COLLECTION_NAME.COLLECTION_NAMESPACE' seems to be the blame...

[!NOTE]
See Additional comments on issue.

Possible Solutions

Additional context

The namespace is tied to multiple values in the collection like the domain and namsespace fields in the galaxy and operator-config files.

yemi-kelani commented 10 months ago

[!NOTE]
This was my user error. The command takes COLLECTION_NAMESPACE.COLLECTION_NAME as input and I had it reversed. My mistake.