You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New redis docs were "Adapted from Boost.Unordered".
How was Boost.Unordered able to build docs successfully with both Linux line-endings and Windows line-endings? That is a real question. Probably the answer is this file:
Sorry for the breakage. I will add the pipeline shortly. Please let me know whether dos2unix was enough or there is anything else to be fixed on our side.
@sdarwin I'm trying to understand why this was a problem. I'm not getting what release-tools is really doing here. From this line it seems to be invoking build_antora.sh by hand - why? The docs build in Boost.Redis, even if internally using Antora, should be invoked using ./b2 doc/libs/redis. And AFAIK this applies to Unordered, too.
The build_docs directory in release-tools contains convenience scripts to "build docs" locally for individual libraries. Such as redis . It's also used when generated "doc previews".
That's not the main superproject build script: ci_boost_release.py.
Activity
anarthal commentedon Jul 3, 2025
Sorry for the breakage. I will add the pipeline shortly. Please let me know whether
dos2unixwas enough or there is anything else to be fixed on our side.sdarwin commentedon Jul 3, 2025
It looks like
dos2unixworks. Builds succeeded. https://app.circleci.com/pipelines/github/boostorg/boostAs far as .gitattributes I wonder if just the lines that specify
.shwould be enough? A small file that only adjusts the shell scripts.anarthal commentedon Jul 3, 2025
Great. Should we still add the .gitattributes file on our side?
sdarwin commentedon Jul 3, 2025
Yes, since that would fix Windows builds using CRLF in all cases, even when dos2unix doesn't run, it's more robust.
anarthal commentedon Oct 22, 2025
@sdarwin I'm trying to understand why this was a problem. I'm not getting what
release-toolsis really doing here. From this line it seems to be invokingbuild_antora.shby hand - why? The docs build in Boost.Redis, even if internally using Antora, should be invoked using./b2 doc/libs/redis. And AFAIK this applies to Unordered, too..gitattributes for UNIX line endings in bash scripts
sdarwin commentedon Oct 22, 2025
That line is not invoking build_antora.sh. It's converting it to UNIX format.
dos2unix .\build_antora.sh"should be invoked using b2" : b2 calls doc/Jamfile, which in turn will run build_antora.sh.
anarthal commentedon Oct 22, 2025
I meant the line immediately below: https://github.com/boostorg/release-tools/blob/d27012edbe2516ce8c38798244a153a216ccba95/build_docs/windowsdocs.ps1#L796
It does, but this is not part of the contract and should not be relied upon.
sdarwin commentedon Oct 22, 2025
The build_docs directory in release-tools contains convenience scripts to "build docs" locally for individual libraries. Such as
redis. It's also used when generated "doc previews".That's not the main superproject build script: ci_boost_release.py.
ci_boost_release.pydoes not call build_docs.