Checklist
alr version
.Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
ada_toml = "~0.3.0"
alr build
. ada_toml 0.3.0 is selected.alr build
⭧ ada_toml 0.4.0 (upgraded from 0.3.0)
warn: Possible tilde intended instead of caret for a 0.x version.
Alire does not change the meaning of caret and tilde for pre/post-1.0 versions.
The suspicious dependency is: ada_toml^0.3.0
You can disable this warning by setting the option warning.caret to false.
Expected Behavior
Why does it say that the meaning is not changed, when it is indeed changing the selected version, when only ~
is replaced by ^
.
Maybe there is a reason for this warning, but I cannot see it from this case. Besides, what "pre/post" means in pre/post-1.0 versions? Should it say pre-1.0 since it refers to a 0.x version?
alr
version
Paste here the output of alr version
.
APPLICATION
alr version: 2.0
libalire version: 2.0
compilation date: 2024-03-13 13:56:21
compiled with version: 10.5.0
CONFIGURATION
settings folder: /home/mgr/.config/alire
cache folder: /home/mgr/.local/share/alire
vault folder: /home/mgr/.local/share/alire/releases
build folder: /home/mgr/.local/share/alire/builds
temp folder: /run/user/1000
force flag: FALSE
non-interactive flag: FALSE
community index branch: stable-1.3.0
compatible index versions: ^1.1 & <=1.3.0
indexes folder: /home/mgr/.config/alire/indexes
indexes metadata: OK
index #1: (community) git+https://github.com/alire-project/alire-index#stable-1.2.1
toolchain folder: /home/mgr/.local/share/alire/toolchains
toolchain assistant: disabled
tool #1 gnat: gnat_external=12.3.0
tool #2 gprbuild: gprbuild=18.0.0
system package manager: /usr/bin/apt
distro detection disabled: FALSE
WORKSPACE
root status: VALID
root release: issue=0.1.0-dev
root load error: none
root folder: /home/mgr/src/alire/issue
current folder: /home/mgr/src/alire/issue
SYSTEM
distribution: UBUNTU
host-arch: X86_64
os: LINUX
target: NATIVE
toolchain: SYSTEM
word-size: BITS_64
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