You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudberry.apache.org by "tuhaihe (via GitHub)" <gi...@apache.org> on 2025/05/08 08:25:59 UTC
Re: [D] [Ideas] Improve Version Information for Source Builds [cloudberry]
GitHub user tuhaihe closed a discussion: [Ideas] Improve Version Information for Source Builds
### Description
Currently, when Cloudberry is built from a source zip file (not cloned via git), the version information displayed is not matched the right info, always like this:
```
PostgreSQL 14.4 (Cloudberry Database 1.0.0 build dev) on x86_64-pc-linux-gnu...
```
This is not user-friendly for those compiling and installing Cloudberry from a downloaded source zip files. It makes it difficult for users to report issues, perform version upgrades, or confirm the exact build version, a concern raised multiple times across community channels in the past months.
I noticed that PostgreSQL addresses this by defining the version information explicitly in cases where git metadata is unavailable, as seen in this [commit](https://github.com/postgres/postgres/commit/6304632eaa2107bb1763d29e213ff166ff6104c0).
Would it be possible to adopt a similar approach in Cloudberry for non-git builds? I believe this could greatly improve version traceability. Would like to have your ideas.
### Use case/motivation
_No response_
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
GitHub link: https://github.com/apache/cloudberry/discussions/909
----
This is an automatically sent email for dev@cloudberry.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@cloudberry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: dev-help@cloudberry.apache.org