gitoxide
gitoxide copied to clipboard
oxidize `vergen`
Needed from gitoxide
- [x] information about branch and commit
-
git describe- NOTgit name-rev;).- [x] implementation
- [x] use it in vergen
- [ ] dirty-working-tree tracking with suffix
- [x] unambiguous short-id
Integration progress
- [x] make CI pass
- [x] figure out which path has issues
- [x] implement features
- [x] cleanup history
- [x] https://github.com/rustyhorde/vergen/pull/112
- [ ] can the MSRV be stored? Note that
vergenoccasionally updates their MSRV so this problem goes away with time.- https://github.com/microsoft/windows-rs/issues/1699
- [ ] merge #394 , switch to
winapiif needed
- [ ] get PR merged or closed
https://lib.rs/crates/vergen https://github.com/byron/vergen
Just hit this. Is there a way to get a describe with match arguments like the git command line?
Currently it's not possible to do that. To enable this, one would either have to…
- …add a new variant to
SelectRefwhich is responsible for selecting the available name/commit-id mappings.- This could even be implemented with a filter function so that users can implement whatever filter logic they want, or alternatively, a way to pass the name mappings directly.
- …use the plumbing directly.
- This would allow the client side to implement this today, without having to wait for (or contribute to) upstream.
I hope that helps.