[TESTBED][NO-MERGE][POC] Use std::filesystem. Remove Boost Filesystem & System #22336

pull kiminuo wants to merge 6 commits into bitcoin:master from kiminuo:feature/use_std_filesystem_testbed changing 34 files +92 −494
  1. kiminuo commented at 1:56 PM on June 24, 2021: contributor

    This PR is meant only to test some small modifications of #20744 to fix tests.

    Android test failure:

  2. build: set OSX_MIN_VERSION to 10.15
    This is required to use std::filesystem on macOS.
    97e537766f
  3. refactor: replace boost::filesystem with std::filesystem
    Warning: Replacing fs::system_complete calls with fs::absolute calls
    in this commit may cuase minor changes in behaviour because fs::absolute
    no longer strips trailing slashes; however these changes are believed to
    be safe.
    1e12e98446
  4. build: remove boost::filesystem usage d2aff72922
  5. build: remove Boost::system usage 9d296065b4
  6. [NO MERGE] ci: use Debian Bullseye in ARM CI bc035d626d
  7. Use `fs::canonical(p)` and remove `StripRedundantLastElementsOfPath` helper function. 17eff90922
  8. DrahtBot added the label Build system on Jun 24, 2021
  9. DrahtBot added the label Scripts and tools on Jun 24, 2021
  10. DrahtBot added the label Utils/log/libs on Jun 24, 2021
  11. DrahtBot added the label Wallet on Jun 24, 2021
  12. kiminuo cross-referenced this on Jun 24, 2021 from issue Use std::filesystem. Remove Boost Filesystem & System by fanquake
  13. DrahtBot commented at 11:03 PM on June 24, 2021: contributor

    <!--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:

    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.

  14. DrahtBot cross-referenced this on Jun 25, 2021 from issue release: support cross-compiling for arm64-apple-darwin by fanquake
  15. DrahtBot cross-referenced this on Jun 25, 2021 from issue ci: Switch more tasks to self-hosted by MarcoFalke
  16. DrahtBot cross-referenced this on Jun 25, 2021 from issue Fix Windows build with --enable-werror by hebasto
  17. DrahtBot cross-referenced this on Jun 25, 2021 from issue Add syscall sandboxing using seccomp-bpf (Linux secure computing mode) by practicalswift
  18. DrahtBot cross-referenced this on Jun 25, 2021 from issue util: Set safe permissions for data directory and `wallets/` subdir by hebasto
  19. DrahtBot cross-referenced this on Jun 25, 2021 from issue Multiprocess bitcoin by ryanofsky
  20. DrahtBot cross-referenced this on Jun 25, 2021 from issue doc: Document minimum required libc++ version by hebasto
  21. fanquake commented at 12:42 AM on July 16, 2021: member

    As far as I'm aware, the relevant changes here have been integrated back into #22336. So I'm going to close this for now.

  22. fanquake closed this on Jul 16, 2021

  23. kiminuo commented at 6:34 AM on July 21, 2021: contributor

    @fanquake The difference between this PR and your PR is in commit https://github.com/bitcoin/bitcoin/commit/17eff90922f005e88cba33fba1d14225e0474f93 and consequently in checks:

    I'm not sure whether your response means that you don't like the https://github.com/bitcoin/bitcoin/commit/17eff90922f005e88cba33fba1d14225e0474f93 commit. Anyway, you did not explicitly reject it in this PR or in #20744 (comment). It would be helpful for me to know whether you like it or not.

  24. fanquake commented at 6:41 AM on July 21, 2021: member

    The difference between this PR and your PR is in commit 17eff90

    Apologies, I have the changes from https://github.com/bitcoin/bitcoin/commit/17eff90922f005e88cba33fba1d14225e0474f93 integrated locally, but forgot to push the branch up. In future, if you want to suggest changes, just commenting is fine, there's not really a need to open these kinds of PRs. I'll rebase #20744 on top of the Android fixes for std::filesystem and push the changes up shortly.

  25. bitcoin locked this on Aug 16, 2022

github-metadata-mirror

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: 2026-05-20 06:53 UTC