Closed heysokam closed 10 months ago
How far away is this future that the this will be an error in the future message is pointing at?
This future will never arrive. You can use skipDirs
and similar to avoid the warnings. The WIP Atlas package manager has no such restrictions on your directory layouts.
I see, gotcha.
I tried using the instructions of the message, but the problem is that its asking me to skipDirs( "src" )
:see_no_evil:
Which means I would skipdir the entire project's code!!! :D
I will try Atlas, and keep ignoring the warnings in the meantime. tyty :metal:
I want to raise a concern about these warnings. They have been plaguing all my projects since the last update on stable:
My project's structure (all of them are built the same):
This allows for:
What the warning of a future error is enforcing:
Have a few questions:
src/pkg/* + src/pkg.nim
structure that has always worked?import mylibpkg/sub
or evenimport pkg/mylibpkg/sub
if my project requires the explicitness, instead of justimport pkg/mylib/sub
like it makes sense to do?future
that thethis will be an error in the future
message is pointing at?I have asked on discord before, and I've been told to ignore them. But I don't want to ignore a warning that is warning me about itself becoming an error in the future. Sounds like a warning I should not ignore, if it's warning me of all my packages breaking completely in the future if I don't want to fit in the narrow box that this enforces.
Is there any chance of a reconsideration on the future error enforcement? Is there a dialogue on this, or is it just gonna be enforced and required without making it optional in any way?
Hope I don't sound angry, I'm not. I'm just surprised that this warning even exists, so figured I should write an issue about it. Thanks for such an awesome tool, I really believe in this manager. Let me know what you think :writing_hand: