Bug on version number? #328
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#328
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello I use Garage with docker dxflrs/arm64_garage:v0.7.2 but when I check my Garage version I see 0.7.0 :
Maybe a bug! Thanks for this awesome project ;)
Ping @Lx for confirmation.
I think the problem comes from the facts that:
garage
rust crate to thegarage_rpc
one. So now, the code is here: https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/main/src/rpc/system.rs#L315-L3231. Through a special
GIT_VERSION
environment variable2. If it fails, by looking at the current tag of the git repo
3. If it fails, by looking at the current Rust crate version
4. And finally, if everything fails, we set it to
unknown
GIT_VERSION
environment variable to a specific Rust crate, the linked commit shows that we some days ago LX fixed our script to inject the env variable togarage_rp
instead ofgarage
.b54a938724
Given all these facts, I think that the problem is that we were not injecting anymore the
GIT_VERSION
environment variable to the right package (crate) and thus our logic was falling back to the Rust crate that is indeed behind the current release of Garage. It should be already fixed if the last commit works as expected.This is fixed already in main (
b54a938724
)