-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you rename sdl2.nimble
to sdl2_nim.nimble
?
#35
Comments
Wouldn't it require changing all projects containing |
Yeah. I know it's not ideal :/ We can keep it as-is for now but eventually we will be forced to enforce errors when this situation occurs. |
Any ideas how to make the transition stage then? I was thinking of adding a deprecation warning, but it would imply both old and new imports working simultaneously, so maybe something like this might work:
What do you think? |
I would suggest releasing a new major version of this library with the change made. For a transition period you can create a last release that's 0.x or 1.x (whichever you're using) which provides both naming schemes. |
@dom96
A new manjor version is out of the question. |
Then maybe we should do what Vladar suggests, but note that in Nimble's eyes |
Thanks for the info, missed this. What about putting these two directories in the current repo (old |
You can do this as a transition period I suppose |
@dom96
(nimble version 0.13.1) Moreover, if I try to change If I replace |
huh, that's odd. I would expect |
I'm not sure I completely understand the terminology, but are module names fall under "identifier" status though? https://nim-lang.org/docs/manual.html#lexical-analysis-identifier-equality |
I'd say so, yes. |
Hi, new user here. I just ran into this. Installing sld2_nim downright breaks the sdl2 package, it would be great if the names didn't clash (as a new user, it took me an embarrassing amount of time to figure out what was wrong...). Thanks! |
Should be fixed by v2.0.14.2 @dom96 @krux02 @DoctorWhoof please check if possible. |
This is causing clashes with the nim-lang/sdl2 wrapper and doesn't reflect the name that's in the packages.json file.
You will also need to rename the
sdl2
directory tosdl2_nim
.The text was updated successfully, but these errors were encountered: