Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oxidize vergen #298

Open
9 of 13 tasks
Byron opened this issue Jan 20, 2022 · 0 comments
Open
9 of 13 tasks

oxidize vergen #298

Byron opened this issue Jan 20, 2022 · 0 comments
Labels
C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide

Comments

@Byron
Copy link
Member

Byron commented Jan 20, 2022

Needed from gitoxide

  • information about branch and commit
  • git describe - NOT git name-rev ;).
    • implementation
    • use it in vergen
    • dirty-working-tree tracking with suffix
  • unambiguous short-id

Integration progress

https://lib.rs/crates/vergen
https://github.com/byron/vergen

@Byron Byron changed the title **vergen** Gitoxide for vergen Jan 20, 2022
Byron added a commit that referenced this issue Jan 20, 2022
Byron added a commit that referenced this issue Jan 20, 2022
Byron added a commit that referenced this issue Jan 23, 2022
Byron added a commit that referenced this issue Jan 23, 2022
This helps 'clap' and allows for a little more type-safety during
declaration.
Byron added a commit that referenced this issue Jan 26, 2022
That way, the typical usage of `try_into_commit()?` will not result
in a strange error about `Object` not being convertible into some
error. We think having a real error there is the least surprising.
Byron added a commit that referenced this issue Jan 26, 2022
It allows to quickly get a commit from the head, something most people
want when getting started with any kind of tool.
Byron added a commit that referenced this issue Feb 7, 2022
A way to obtain a prefix of an object id, with all non-prefix
bytes set to zero.
Byron added a commit that referenced this issue Feb 8, 2022
Byron added a commit that referenced this issue Feb 8, 2022
That way, min and max lengths is assumed to be correct.
Byron added a commit that referenced this issue Feb 8, 2022
Byron added a commit that referenced this issue Feb 9, 2022
Byron added a commit that referenced this issue Feb 9, 2022
Byron added a commit that referenced this issue Feb 9, 2022
Byron added a commit that referenced this issue Feb 10, 2022
Probably something is missing, what could it be :)?
Byron added a commit that referenced this issue Feb 11, 2022
A way to obtain a prefix of an object id, with all non-prefix
bytes set to zero.
Byron added a commit that referenced this issue Apr 5, 2022
Byron added a commit that referenced this issue Apr 5, 2022
Some time the `Bytes` type should be removed.
Byron added a commit that referenced this issue Apr 5, 2022
Provide packed objects numbers and cache the value
for fast access later on.
Byron added a commit that referenced this issue Apr 5, 2022
If the `core.abbrev` value isn't set or is set to `auto`.
Byron added a commit that referenced this issue Apr 5, 2022
Byron added a commit that referenced this issue Apr 5, 2022
This is a bit more user friendly, most projects don't use annotated
tags.

This makes sense for linux though, where lighweight tags might just
be markers.
Byron added a commit that referenced this issue Apr 5, 2022
Byron added a commit that referenced this issue Apr 6, 2022
Maybe that way certain errors can be found related to windows error
codes.
Byron added a commit that referenced this issue Apr 6, 2022
Maybe that way certain errors can be found related to windows error
codes.
Byron added a commit that referenced this issue Apr 6, 2022
Byron added a commit that referenced this issue Apr 6, 2022
Byron added a commit that referenced this issue Apr 6, 2022
This should help debugging a GNU toolchain problem on windows.
Byron added a commit that referenced this issue Apr 6, 2022
Byron added a commit that referenced this issue Apr 6, 2022
This allows `describe()` to work on shallow clones.
Byron added a commit that referenced this issue Apr 18, 2022
Now that the `windows` crate is part of the dependency tree it must
be tested specifically for MSRV support.

Related to microsoft/windows-rs#1699, let's
hope that edition 2018 can be supported or we have to wait.
Byron added a commit that referenced this issue May 3, 2022
Byron added a commit that referenced this issue May 3, 2022
Seems like the automated version discovery isn't working anymore, so
let's hard-code the tag.
Byron added a commit that referenced this issue May 3, 2022
@Byron Byron changed the title Gitoxide for vergen oxidize vergen Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-integrate-gitoxide "Oxidize" crates even more by replacing git2 with gitoxide
Projects
None yet
Development

No branches or pull requests

1 participant