Closed ramiswailem closed 1 year ago
The Git info show "Commit [object Object]" instead of the git last commit id.
Commit fc2680156594387e0571db425ff7bc7304ed1f46
Commit [object Object]
run dev mode and goto http://localhost:8080/q/dev-ui/io.quarkus.quarkus-info/information
uname -a
ver
Darwin dev-mac 20.6.0 Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 x86_64
java -version
openjdk version "21" 2023-09-19
No response
3.4.0.CR1
mvnw --version
gradlew --version
Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
latestCommitId is a string:
commit.put("id", latestCommitId);
and when full info needed, id is a hash map:
https://github.com/quarkusio/quarkus/blob/e929e657765f557e1ac77ad881cabad454b54bd1/extensions/info/deployment/src/main/java/io/quarkus/info/deployment/InfoProcessor.java#L110
/cc @cescoffier (devui), @phillip-kruger (devui)
Thanks. I'll have a look
Thank you @phillip-kruger
I have this option in my 'application.properties'
quarkus.info.git.mode=full
Describe the bug
The Git info show "Commit [object Object]" instead of the git last commit id.
Expected behavior
Commit fc2680156594387e0571db425ff7bc7304ed1f46
Actual behavior
Commit [object Object]
How to Reproduce?
run dev mode and goto http://localhost:8080/q/dev-ui/io.quarkus.quarkus-info/information
Output of
uname -a
orver
Darwin dev-mac 20.6.0 Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "21" 2023-09-19
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.4.0.CR1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
Additional information
latestCommitId is a string:
commit.put("id", latestCommitId);
and when full info needed, id is a hash map:
https://github.com/quarkusio/quarkus/blob/e929e657765f557e1ac77ad881cabad454b54bd1/extensions/info/deployment/src/main/java/io/quarkus/info/deployment/InfoProcessor.java#L110