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
{{ message }}
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.
Package names with underscores are displayed without the underscore in the nimble directory.
Original text:
I tried installing this package: https://nimble.directory/pkg/simpleparseopt
According to the linked page, I should install it using nimble install simpleparseopt. So far so good.
Now I tried using the package by importing it using import simpleparseopt. However, that failed.
The readme does not mention how I should import it. But I noticed that the title in the readme was different from the package name.
The readme says simple_parseopt. Once I tried import simple_parseopt, everything worked fine.
I thought there might be some configuration error on their side.
So I also tried creating my own package and published it to the nimble directory: https://nimble.directory/pkg/conventionalsemver
Same deal. My package name is conventional_semver. The PR submitted to publish the package also has an underscore.
But when looking at the nimble directory, the underscore is gone. I couldn't really find any mention of this behavior in the nimble readme. Is there a bug, or is it generally recommended to avoid snake_case for package names?
The text was updated successfully, but these errors were encountered:
Hello!
I've copied this issue from nim-lang/nimble#978.
Package names with underscores are displayed without the underscore in the nimble directory.
Original text:
The text was updated successfully, but these errors were encountered: