Skip to content

soralog: add version 0.3.2 - #866

Merged
NeroBurner merged 1 commit into
cpp-pm:masterfrom
xDimon:pr.soralog
Nov 21, 2026
Merged

NeroBurner merged 1 commit into
cpp-pm:masterfrom
xDimon:pr.soralog

Conversation

@xDimon

@xDimon xDimon commented Nov 19, 2026 •

Copy link
Copy Markdown
  • I've followed this guide
    step by step carefully. Yes

New package: soralog, a C++20 logging library (https://github.com/xDimon/soralog), version 0.3.1.

  • Tests, benchmarks and examples are switched off in hunter_cmake_args.
  • Works with the default yaml-cpp; the installed config finds fmt and yaml-cpp itself.
  • CI matrix is limited to Linux and macOS with C++20 toolchains: the library uses pthread and syslog.

Tested locally on macOS with GCC 16 and the default fmt and yaml-cpp. With AppleClang 21 the default fmt 10.1.1 itself does not compile; a newer fmt set through hunter_config works.

@xDimon xDimon changed the title soralog: add version 0.3.0 soralog: add version 0.3.1 Nov 19, 2026
@NeroBurner NeroBurner self-assigned this Nov 20, 2026
@NeroBurner NeroBurner added the package:new New package label Nov 20, 2026

@NeroBurner NeroBurner left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NeroBurner

Copy link
Copy Markdown

huh, the toolchains aren't starting. Probably because this is a new package, thus not a changed but new file 🤔

@NeroBurner

Copy link
Copy Markdown

It was GitHub

"Workflows are not currently being run on this fork due to the scale of GitHub Actions usage. A repository maintainer can choose to re-enable these."

Please rebase on current master and maybe even squash the two commits into one. Then the CI jobs should run

@xDimon

xDimon commented Nov 20, 2026

Copy link
Copy Markdown
Author

It was GitHub

"Workflows are not currently being run on this fork due to the scale of GitHub Actions usage. A repository maintainer can choose to re-enable these."

Please rebase on current master and maybe even squash the two commits into one. Then the CI jobs should run

done

@xDimon

xDimon commented Nov 20, 2026

Copy link
Copy Markdown
Author

Rebased on current master and squashed. The Linux jobs now fail in build.py before building:

RuntimeError: Environment variable TOOLCHAIN specified but specified TOOLCHAIN file not found: gcc-13-cxx20

Same for gcc-14-cxx20 and clang-cxx20. set_matrix and the artifact download step both succeed, so the toolchain files are not in .github/toolchains/ or toolchains/ after the download. This is the first run after #868 (actions/download-artifact v4 → v8).

@xDimon

xDimon commented Nov 20, 2026

Copy link
Copy Markdown
Author

Cause: since actions/download-artifact v5, downloading all artifacts without name extracts directly into path when the run has exactly one artifact (artifacts.length === 1, actions/download-artifact@fff8c148). Log: Found 1 artifact(s) … Starting download of artifact to: /home/runner/work/hunter/hunter. The toolchain files end up in the workspace root, not in toolchains/.

Fix in .github/workflows/ci.yml:

    - name: Download all workflow run artifacts
      uses: actions/download-artifact@v8
      with:
        name: toolchains
        path: toolchains

I can open a separate PR with this.

@NeroBurner

Copy link
Copy Markdown

yes please do. but just for ease of checking first in this PR. and if that works please one PR with the fix

@xDimon

xDimon commented Nov 20, 2026

Copy link
Copy Markdown
Author

@NeroBurner The CI fix works here: all jobs pass (https://github.com/cpp-pm/hunter/actions/runs/44834783857). Standalone PR with the fix: #869. Its commit will be dropped from this PR once #869 is merged.

The remaining failure was in soralog itself: its bundled HunterGate was outdated. Fixed upstream, the v0.3.1 archive and SHA1 are updated.

@xDimon xDimon changed the title soralog: add version 0.3.1 soralog: add version 0.3.2 Nov 21, 2026
@xDimon

xDimon commented Nov 21, 2026

Copy link
Copy Markdown
Author

@NeroBurner Updated to soralog 0.3.2 after your approval: upstream now installs its libraries into the standard lib directory and links threads through Threads::Threads (raised in the vcpkg review). The recipe points to the v0.3.2 tag with its SHA1; all jobs pass (https://github.com/cpp-pm/hunter/actions/runs/44841622889). The CI fix commit stays until #869 is merged.

NeroBurner pushed a commit that referenced this pull request Nov 21, 2026
Since actions/download-artifact v5, downloading all artifacts without name extracts directly into path when the run has exactly one artifact (actions/download-artifact@fff8c148). The toolchains artifact is the only one, so after #868 its files land in the workspace root and build.py fails with TOOLCHAIN file not found (see #866).

Download it by name into toolchains/, where build.py looks.

Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
@xDimon

xDimon commented Nov 21, 2026

Copy link
Copy Markdown
Author

Hmm... What do I need to do to merge?

Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
@NeroBurner
NeroBurner merged commit 5aaf2ed into cpp-pm:master Nov 21, 2026
8 checks passed
@NeroBurner

Copy link
Copy Markdown

all perfect now. thank you

@xDimon
xDimon deleted the pr.soralog branch November 21, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package:new New package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants