build: scripted-diff: drop config/ subdir for bitcoin-config.h #30937
pull theStack wants to merge 1 commits into bitcoin:master from theStack:202409-build-drop_config_subdir changing 80 files +88 −88-
theStack commented at 11:13 am on September 20, 2024: contributorThis PR is a follow-up to #30856, as suggested in comment #30856 (comment). With the scripted diff, review should be fairly trivial, but it could still be seen as controversial due to the large number of files (78 in total) being touched.
-
DrahtBot commented at 11:13 am on September 20, 2024: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage
For detailed information about the code coverage, see the test coverage report.
Reviews
See the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #30860 (test: autogenerate bash completion by BrandonOdiwuor)
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.
-
DrahtBot added the label Refactoring on Sep 20, 2024
-
theStack renamed this:
scripted-diff: drop config/ subdir for bitcoin-config.h
build: scripted-diff: drop config/ subdir for bitcoin-config.h
on Sep 20, 2024 -
fanquake removed the label Refactoring on Sep 20, 2024
-
DrahtBot added the label Build system on Sep 20, 2024
-
hebasto commented at 9:16 am on September 23, 2024: memberConcept ACK, given the early stage of the current release cycle and the presence of only a single conflicting PR.
-
fanquake requested review from theuni on Sep 23, 2024
-
fanquake added the label DrahtBot Guix build requested on Sep 23, 2024
-
DrahtBot commented at 5:37 pm on September 23, 2024: contributor
Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]
-
DrahtBot removed the label DrahtBot Guix build requested on Sep 23, 2024
-
theuni commented at 8:27 pm on September 23, 2024: member
Concept ACK, and scripted-diff lgtm ACK.
Bikeshed: How about
bitcoin-build-config.h
for symmetry withbitcoin-build-info.h
? -
scripted-diff: drop config/ subdir for bitcoin-config.h, rename to bitcoin-build-config.h
Follow-up for PR #30856, commit 0dd66251. -BEGIN VERIFY SCRIPT- sed -i "s|config/bitcoin-config\.h|bitcoin-build-config.h|g" $(git grep -l config/bitcoin-config\.h) sed -i "s|bitcoin-config\.h|bitcoin-build-config.h|g" $(git grep -l "bitcoin-config\.h" ./src ./test ./cmake) git mv ./cmake/bitcoin-config.h.in ./cmake/bitcoin-build-config.h.in -END VERIFY SCRIPT-
-
theStack force-pushed on Sep 23, 2024
-
theStack commented at 10:52 pm on September 23, 2024: contributor
Bikeshed: How about
bitcoin-build-config.h
for symmetry withbitcoin-build-info.h
?Sounds good to me, done. Both the scripted diff and the patch are now a bit larger, as also some comments/strings have to be adapted, and the .h.in file needs to be renamed as well, but review should still be simple.
-
in test/lint/test_runner/src/main.rs:432 in 09b0161c4a
428@@ -429,7 +429,7 @@ fn lint_includes_build_config() -> LintResult { 429 ]) 430 .args(get_pathspecs_exclude_subtrees()) 431 .args([ 432- // These are exceptions which don't use bitcoin-config.h, rather the Makefile.am adds 433+ // These are exceptions which don't use bitcoin-build-config.h, rather the Makefile.am adds
hebasto commented at 10:26 am on September 24, 2024:Not directly related to this PR change, but mentioning “Makefile.am” is outdated.hebasto approvedhebasto commented at 10:27 am on September 24, 2024: memberACK 09b0161c4a2502564f50fa2b3ce9b19d8fc40d8b.DrahtBot requested review from theuni on Sep 24, 2024
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-08 16:12 UTC
More mirrored repositories can be found on mirror.b10c.me