#130

bug: The version message for the components template is erroneous

OpenJayanAXHFopened 8mo ago

If you're using the version message from the components template, and you've installed the crate from crates.io, then instead of seeing a git description with VERGEN_GIT_DESCRIBE, you will be greeted with VERGEN_IDEMPOTENT_OUTPUT, since cargo uses tarballs instead of git repos while installing repos.

Activity

6
orhun8mo ago

Interested in sending a PR to fix this? I believe there was another variable we could use if there was not git source available.

orhun8mo ago

Interested in sending a PR to fix this? I believe there was another variable we could use if there was not git source available.

JayanAXHF8mo ago

Hey orhun, im trying to a find a fix for this myself haha. I’ll send a PR if i find one.

On Thu, 26 Feb 2026 at 10:13 PM, Orhun Parmaksız @.***> wrote:

orhun left a comment (ratatui/templates#130) https://github.com/ratatui/templates/issues/130#issuecomment-3967803844

Interested in sending a PR to fix this? I believe there was another variable we could use if there was not git source available.

— Reply to this email directly, view it on GitHub https://github.com/ratatui/templates/issues/130#issuecomment-3967803844, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARUQWK56PAA4AJMEW5STKHL4N4PB7AVCNFSM6AAAAACWAM5XTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNRXHAYDGOBUGQ . You are receiving this because you authored the thread.Message ID: @.***>

JayanAXHF8mo ago

Hey orhun, im trying to a find a fix for this myself haha. I’ll send a PR if i find one.

On Thu, 26 Feb 2026 at 10:13 PM, Orhun Parmaksız @.***> wrote:

orhun left a comment (ratatui/templates#130) https://github.com/ratatui/templates/issues/130#issuecomment-3967803844

Interested in sending a PR to fix this? I believe there was another variable we could use if there was not git source available.

— Reply to this email directly, view it on GitHub https://github.com/ratatui/templates/issues/130#issuecomment-3967803844, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARUQWK56PAA4AJMEW5STKHL4N4PB7AVCNFSM6AAAAACWAM5XTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSNRXHAYDGOBUGQ . You are receiving this because you authored the thread.Message ID: @.***>

JayanAXHF7mo ago

@orhun i've finally found the solution to this. We have to update the vergen-gix version to "10.0.0-beta.5", then enable the allow_remote feature, and then change the gix builder logic to the following:

    let gix = Gix::all()
        .remote_url("https://github/com/your/repo")
        .build();

And then it works normally!

JayanAXHF7mo ago

I'll send a PR today for this