Goal along with namespacing PR #23497 is to make code organization more obvious and have src/node/ code in node:: namespace in libbitcoin_node.a library
scripted-diff: Rename libbitcoin_server.a to libbitcoin_node.a #23828
pull ryanofsky wants to merge 1 commits into bitcoin:master from ryanofsky:pr/libnode changing 16 files +25 −25-
ryanofsky commented at 4:00 PM on December 20, 2021: member
-
172096e9dd
scripted-diff: Rename libbitcoin_server.a to libbitcoin_node.a
Goal along with namespacing PR #23497 is to have src/node/ code in node:: namespace in libbitcoin_node.a library -BEGIN VERIFY SCRIPT- bash -c ' # Bash shell needed for brace expansion {a,b} git mv build_msvc/libbitcoin_{server,node} git mv build_msvc/libbitcoin_node/libbitcoin_{server,node}.vcxproj.in ren() { git grep -l "$1" src build_msvc | xargs sed -i "s/$1/$2/g"; } ren LIBBITCOIN_{SERVER,NODE} ren libbitcoin_{server,node} ' -END VERIFY SCRIPT- -
hebasto commented at 4:12 PM on December 20, 2021: member
Concept ACK.
- DrahtBot added the label Build system on Dec 20, 2021
- DrahtBot added the label Refactoring on Dec 20, 2021
-
DrahtBot commented at 3:08 AM on December 21, 2021: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #10102 (Multiprocess bitcoin by ryanofsky)
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.
-
MarcoFalke commented at 7:52 AM on December 21, 2021: member
I cancelled this because the script failed. Maybe the bash doesn't resolve the
{}in sed? - ryanofsky force-pushed on Dec 21, 2021
- ryanofsky added the label DrahtBot Guix build requested on Dec 21, 2021
-
ryanofsky commented at 1:28 PM on December 21, 2021: member
I cancelled this because the script failed. Maybe the bash doesn't resolve the
{}in sed?Yes it looks like there is a problem with
{server,node}expansion throughout the script. I think problem might be that/bin/shdoesn't support brace expansion so I pushed a version that calls bash. Lint looks like it's passing now. Will see if the actual build change is good and all the builds are working. I requested a GUIX build for this too, but feel free to cancel if this is overkill.Updated 8ef044b7373d3c57841a0bc6427236d6f9b4192c -> 172096e9dd5b0e04b88ffd6dc1f6d43190070e14 (
pr/libnode.1->pr/libnode.2, compare) -
DrahtBot commented at 7:45 AM on December 23, 2021: member
<!--9cd9c72976c961c55c7acef8f6ba82cd-->
Guix builds
- DrahtBot removed the label DrahtBot Guix build requested on Dec 23, 2021
-
MarcoFalke commented at 1:58 PM on January 6, 2022: member
cr ACK 172096e9dd5b0e04b88ffd6dc1f6d43190070e14
- MarcoFalke merged this on Jan 6, 2022
- MarcoFalke closed this on Jan 6, 2022
- sidhujag referenced this in commit a08520c034 on Jan 6, 2022
- sidhujag referenced this in commit 08652c8c87 on Jan 6, 2022
- DrahtBot locked this on Jan 6, 2023