Closed xTrayambak closed 1 month ago
I'm gonna try to fix the failing CI really quickly, sorry for that one.
@xTrayambak do you mind to attempt to pass the CI with sat on?
I'm not sure how the SAT solver works, sorry.
@xTrayambak np, to enable it is just useSatSolver*: bool = true
in options.nim
. I just did
We're not enabling it yet though, right?
Nope, we need to test it in the real world. But it's a good idea to make sure the CI keeps passing for it when meaningful changes are merged
SAT is still green :)
This PR adds "forge aliases" - they're an easy way to avoid writing out full URLs for packages that aren't on the Nimble index. \ They work similarly to how Nix's system works.
Here's a few examples:
It also handles special "quirks" in a forge (eg., SourceHut adds a tilde in front of the username, so this handles it if the user didn't add it themselves) \ I've written a few tests for the alias "parser" as well. It works with the
install
andadd
commands, and as a result also works fine if you add the alias inside your Nimble file like this:Please let me know if I missed something out or if I should add something else to this.