Having to change project name to exclude underscore character undocumented?

Unsure if this is a bug or an artifact of IRI names. I’ve searched the support and example web pages for instructions to change the .project.json name to convert ‘_’ to ‘-’ characters prior to issuing a sysand index add command. If that change does not occur, then this error occurs:

The real issue is notification to the user that the ‘_’ character in the .project.json “name” parameter is not allowed. If I’ve somehow missed this, please indicate which webpage it is documented on.

Using sysand 0.2.0 under Windows 10, CMD shell.

In my testing directory \my_project

The .project.json created in that directory contains:

{
     "name": "my_project",
     "publisher": "MyTestOrg",
     "version": "0.0.1"
}

After changing the name to "my-project" deleting the index.json, output\*.kpar, and then issuing the commands.

sysand index init
sysand build
sysand index add --kpar-path outputmy_project-0.0.1.kpar

All works as intended.

V/r,

Richard

Thanks for reporting this!

The requirements for sysand index add command are indeed not documented. For publisher/name it has the same requirements as sysand.com, which are documented at Project identifiers - Sysand documentation.

I’ll update the command documentation and the error messages to make both requirements and fixes clear.

Best regards,
Andrius