-
Notifications
You must be signed in to change notification settings - Fork 38.6k
build: Decouple clientversion.cpp from the git repo #18980
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
Conversation
|
Concept ACK. I like how this simplifies things. As I noted on IRC, all the version information for releases including the RC level is self-contained in There is one time it's useful to look at git during the build process: if someone builds from git source, to be able to see the commit they built from in the program. This is somewhat useful for developers but if it causes too much difficulty and complexity (how many times has then been 'fixed' throughout Bitcoin Core's history?) I'm okay with foregoing it. |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Concept ACK. Since we're already using ac defines, one less script and one less header looks delicious! |
|
Rebased f04a6b4 -> 9e8a1d0 (pr18980.01 -> pr18980.02) due to the conflict with #18677. |
|
Doesn't this break including the current commit hash when doing actual git builds? |
|
🐙 This pull request conflicts with the target branch and needs rebase. Want to unsubscribe from rebase notifications on this pull request? Just convert this pull request to a "draft". |
|
Concept ACK |
There hasn't been much activity lately and the patch still needs rebase. What is the status here?
|
|
Changing my concept ACK to ~0. It's not clear the tradeoff of losing git info from source builds is worth this change, and for some reason that tradeoff isn't mentioned in the PR description. Otherwise, what is the status of this? |
This PR makes build process not using
gitto get the client version from the repository.clientversion.cppuses the client version data that are explicitly provided inconfigure.ac.gitian/guix builds are not touched yet.
Alternative to #18902.
Seeking for concept acks.