dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches
Dependencies

Compile-time

Documentation

  • Doxygen v1.18.0 (the release workflow downloads it and checks its SHA-256)
  • Doxygen Awesome v2.5.0, the theme of the documentation: a copy of its doxygen-awesome.css and LICENSE in docs/doxygen-awesome-css; to update it, replace both with those of the new tag

Updating a dependency

The archives that CMake downloads are verified with SHA-256 (URL_HASH); the hashes are next to the versions at the top of CMakeLists.txt. After changing a version, update its hash as well:

  • a GitHub release asset:

    gh api repos/<owner>/<repo>/releases/tags/<tag> --jq '.assets[] | "\‍(.name) \‍(.digest)"'
  • any other archive: sha256sum (or certutil -hashfile <file> SHA256 on Windows) of the downloaded file;
  • the Graal Native SDK: DXFEED_GRAAL_NATIVE_SDK_SHA256_VERSION and the hashes of all platforms; with another DXFEED_GRAAL_NATIVE_SDK_VERSION, the archive is downloaded without verification and a warning is printed.

Git dependencies are pinned by tag or commit. GitHub Actions in .github/workflows are pinned by commit SHA with the version in a comment; Dependabot (.github/dependabot.yml) proposes their updates weekly: the minor and patch updates in one pull request, every major update in a pull request of its own.

The SBOMs of the release archives (scripts/sbom.py) take the versions from CMakeLists.txt (utf8proc from the sources of Portals, Doxygen Awesome from this file), so a new version needs no change there. A new dependency that goes into an archive (linked into the library, the samples or the tools, or included in the source bundle) needs a row in DEPENDENCIES of scripts/sbom.py (its CMake variable, repository, license and the kinds of archives), besides deps.json, this file and THIRD_PARTY_LICENSES.md. The tests of the scripts (python3 -m unittest discover -s scripts/tests) check that the versions agree with deps.json and the licenses with THIRD_PARTY_LICENSES.md.

Run-time