LuaLS / LuaLS/lua-language-server-rust
Version number is not semver compliant and crate version string is outdated
Nessuno ha ancora preso questa issue.
- Lingua principale
- Lua
- Stelle
- 19
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Currently 3.13.2.2 is the most recent version tag of this git repository.
It would be ideal if version numbers were kept in compliance with semver and mirrored in Cargo.toml. Not only would that make it easier to find and figure out which version is in use, but it would also make the version number available at build-time in $CARGO_PKG_VERSION.
As the tags with an additional dot seems to only change files arguably not within the actual project sources, maybe they could be tagged as something similar to 3.13.2msgh2 in the future to indicate they only touch Microsoft GitHub Actions?
Had this been my project, I would likely have added a guard either at build-time or as a git-hook to ensure the different version strings were kept up to date with each-other.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia confrontando gli attuali git version tags con la versione in crates/luals/Cargo.toml e verifica come Cargo espone CARGO_PKG_VERSION. Determina la policy prevista per tag e crate-version compatibili con semver, quindi definisci come prevenire le discrepanze. Il lavoro è completato quando le fonti della versione sono coerenti e il guard o check scelto è documentato e verificabile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- build-system, release
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100