I have something like this in alire.toml
:
[[depends-on]]
click = "~0.1.0-dev"
...
[[pins]]
click = { url=http://something/correct/click' }
The project builds correctly (expected).
Then, I've changed the pin (should have used path
instead of url
here...):
[[depends-on]]
click = "~0.1.0-dev"
...
[[pins]]
click = { url='../git/some/path/click' }
and went on hacking in this other source repository that is incorrectly described... And only when I was really expecting some compilation error I realized alire was not using my new code, but instead picked the cached version from the last success:
~/p/p/f/ada β―β―β― alr build --release β 1
β Synchronizing workspace...
Dependencies automatically updated as follows:
New solution is complete.
β click 0.1.0-dev (path=alire/cache/pins/click,url=../git/some/path/click)
= gnat 11.2.2 (gnat_arm_elf)
I would have expected at least a message telling me my pins
setting for the crate can't be found (the url
didn't even point to a valid local path and is not a valid url...) and should be corrected.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too