LuaLS / LuaLS/lua-language-server-rust
Version number is not semver compliant and crate version string is outdated
還沒有人認領這個 Issue。
- 主要語言
- Lua
- 星號
- 19
- 分支
- 6
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先將目前的 git version tags 與 crates/luals/Cargo.toml 中的版本進行比較,並檢查 Cargo 如何公開 CARGO_PKG_VERSION。確定預期的 semver 相容 tag 與 crate-version policy,然後定義應如何防止不一致。版本來源一致,且選定的 guard 或 check 已記錄並可驗證,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust
- 領域
- build-system, release
- Issue 類型
- 重構
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100