* 📝 overwork project infrastructure Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 🐛 fix GCC16 issue Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 🐛 fix GCC16 issue Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 🐛 only build module for GCC Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 🐛 fix build Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 📝 fix documentation Closes #5012: fix the error_handler_t::ignore wording Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 📝 fix documentation Closes #4354: fix "Custom data source" example Signed-off-by: Niels Lohmann <mail@nlohmann.me> --------- Signed-off-by: Niels Lohmann <mail@nlohmann.me>
10 KiB
Supporting files
This file describes the source for supporting files; that is, files that are not part of the library, but define the infrastructure and other aspects of the project.
Continuous Integration
.github/workflows
The GitHub Actions workflows that build, test, and analyze the library. Each file in this folder defines one workflow:
ubuntu.yml,macos.yml,windows.yml— build and run the test suite on Linux, macOS, and Windows.check_amalgamation.yml— verify that the single-header amalgamation insingle_includeis up to date on pull requests.comment_check_amalgamation.yml— comment on a pull request when the amalgamation check failed.cifuzz.yml— run short fuzzing sessions via OSS-Fuzz CIFuzz on pull requests.codeql-analysis.yml— run CodeQL code scanning.flawfinder.yml— run the Flawfinder static analysis.semgrep.yml— run Semgrep static analysis.scorecards.yml— run the OpenSSF Scorecard supply-chain security checks.dependency-review.yml— scan dependency changes in pull requests for known vulnerabilities.labeler.yml— the "Pull Request Labeler" workflow (see.github/labeler.yml).stale.yml— comment on and close stale issues and pull requests.publish_documentation.yml— build and publish the documentation on every merge to thedevelopbranch.
Further documentation:
Important
The folder
.github/workflowsis predetermined by GitHub.
.cirrus.yml
Configuration file for the pipeline at Cirrus CI.
Further documentation:
Important
The filename
.cirrus.ymland position (root of the repository) are predetermined by Cirrus CI.
.github/external_ci/appveyor.yml
Configuration for the pipelines at AppVeyor.
Further documentation:
Note
The filename can be freely configured in the AppVeyor project.
GitHub
CITATION.cff
A file to configure the citation for the repository which is displayed in the sidebar of the project.
Further documentation:
Important
The filename
CITATION.cffand position (root of the repository) are predetermined by GitHub.
.github/CODE_OF_CONDUCT.md
The code of conduct for the project. This is the Markdown version of the Contributor Covenant Code of Conduct. The code of conduct is linked on the Community Standards page and is mentioned by the Sentiment Bot.
Further documentation:
Important
The filename
.github/CODE_OF_CONDUCT.mdis predetermined by GitHub.
Note
The file is part of the documentation and is included in
docs/mkdocs/docs/community/code_of_conduct.md.
.github/CODEOWNERS
The code owners file for the project which is used to select reviewers for new pull requests.
Further documentation:
Important
The filename
.github/CODEOWNERSis predetermined by GitHub.
.github/config.yml
Configuration file for probot, in particular the Sentiment Bot and the Request Info.
Important
The filename
.github/config.ymlis predetermined by probot.
.github/CONTRIBUTING.md
The contribution guidelines which are linked in the Community Standards and at https://github.com/nlohmann/json/contribute.
Further documentation:
Important
The filename
.github/CONTRIBUTING.mdis predetermined by GitHub.
Note
The file is part of the documentation and is included in
docs/mkdocs/docs/community/contribution_guidelines.md.
.github/dependabot.yml
The configuration of dependabot which ensures the dependencies (GitHub actions and Python packages used in the CI) remain up to date.
Further documentation:
Important
The filename
.github/dependabot.ymlis predetermined by GitHub.
.github/FUNDING.yml
A file to configure the sponsor button of the repository which is displayed in the sidebar of the project.
Further documentation:
Important
The filename
.github/FUNDING.ymlis predetermined by GitHub.
.github/ISSUE_TEMPLATE/bug.yaml
Issue form template for bugs.
Further documentation:
Important
The folder
.github/ISSUE_TEMPLATEis predetermined by GitHub.
.github/ISSUE_TEMPLATE/config.yml
Issue template chooser configuration. The file is used to configure the dialog when a new issue is created.
Further documentation:
Important
The filename
.github/ISSUE_TEMPLATE/config.ymlis predetermined by GitHub.
.github/labeler.yml
Configuration file for the "Pull Request Labeler" workflow defined in workflows/labeler.yml. This file defines rules how labels are assigned to pull requests based on which files are changed.
Further documentation:
Note
The filename defaults to
.github/labeler.ymland can be configured in the workflow.
.github/PULL_REQUEST_TEMPLATE.md
The pull request template which prefills new pull requests.
Further documentation:
Important
The filename
.github/PULL_REQUEST_TEMPLATE.mdis predetermined by GitHub.
.github/SECURITY.md
The goal is to describe how to securely report security vulnerabilities for this repository. The security policy is linked at https://github.com/nlohmann/json/security/policy.
Further documentation:
Important
The filename
.github/SECURITY.mdis predetermined by GitHub.
Note
The file is part of the documentation and is included in
docs/mkdocs/docs/community/security_policy.md.
LICENSE.MIT
The license of the project.
Further documentation:
Important
The filename
LICENSE.MITis partly predetermined by GitHub. The root filename must beLICENSE.
REUSE
.reuse/dep5
The file defines the licenses of certain third-party components in the repository. The root Makefile contains a target reuse that checks for compliance.
Further documentation:
Important
The filename
.reuse/dep5is predetermined by REUSE. Alternatively, aREUSE.tomlfile can be used.
.reuse/templates
Copyright header templates for source files. The root Makefile contains a target reuse that updates copyright headers with the templates.
Further information:
Important
The folder name
.reuse/templatesis predetermined by REUSE.
LICENSES
A folder that contains every license of all license files (library and third-party code).
Further documentation:
Important
The folder name
LICENSESis predetermined by REUSE.
Package Managers
BUILD.bazel
The file can be updated by calling
make BUILD.bazel
meson.build
The build definition for the Meson build system.
Package.swift
The package manifest for the Swift Package Manager.
MODULE.bazel
The module definition for Bazel's Bzlmod dependency system. It complements BUILD.bazel and replaces the previously used WORKSPACE.bazel.
Further documentation: