7901 Commits

Author SHA1 Message Date
Victor Zverovich
11ddbcb789 Build docs in the release workflow so the source zip includes doc-html
The source-zip build moved to CI, which configured out-of-source and never
ran the doc target, so the pre-rendered HTML docs (doc-html/) silently
dropped out of the package. Install the doc toolchain, build the docs, and
stage them into the source tree before package_source so CPack picks them up.
2026-06-12 17:01:05 +02:00
Victor Zverovich
e8deaf2ec3 Update changelog 2026-06-10 11:30:17 +02:00
aizu-m
128ba144ab
fix out-of-bounds read in basic_format_args::get (#4800) 2026-06-09 22:18:35 -07:00
Victor Zverovich
e60274b29c Run lint workflow on all PRs to fix stuck required checks
The lint workflow was path-filtered to source files, so PRs that didn't
touch them never ran clang-format/cmake-format. Since those checks are
required, such PRs were blocked forever waiting for a status that never
came. Drop the paths filter so the workflow always reports a status.
2026-06-09 15:56:50 +02:00
Victor Zverovich
87bb05d3b2 Fix release workflow startup failure from insufficient permissions
The provenance job called the SLSA generator with contents: read, but the
generator's upload-assets job declares contents: write. A reusable
workflow's job permissions may not exceed the caller's, so GitHub failed
the run at startup. Grant contents: write; the upload-assets job is still
skipped at runtime since upload-assets is false.
2026-06-09 15:48:28 +02:00
Pedro Montes Alcalde
2de684d52d
Add .gradle directory to .gitignore (#4799) 2026-06-09 06:03:37 -07:00
Victor Zverovich
1ccba0cf80 Attach SLSA provenance to the draft instead of a new release
With upload-assets the SLSA generator created and published its own
release (and tag) to host the attestation, duplicating the draft. Disable
upload-assets and add a job that downloads the provenance artifact and
attaches it to the draft alongside the source zip.
2026-06-09 06:23:34 +02:00
Victor Zverovich
c1c7296bfa Add a test for fmt_print 2026-06-08 08:18:43 +02:00
Victor Zverovich
841040e781 Attach release artifacts to draft via workflow_dispatch
Draft releases do not fire the `release: created` event, so the release
workflow never ran and the source zip and SLSA provenance were not
attached to the draft. Trigger the workflow explicitly from release.py
via workflow_dispatch, passing the tag to attach to and the ref to build
from, and resolve the tag/ref in the workflow for both event types.
2026-06-08 07:48:52 +02:00
Victor Zverovich
1819f7fa43 Update changelog 2026-06-08 07:35:25 +02:00
Victor Zverovich
e6a8751df7 Restore api.html redirect to fix broken deep links
Re-enable generation of the api.html redirect page during docs deploy so
legacy links such as api.html#udt forward to the new MkDocs api/ page with
their URL hash preserved.
2026-06-05 08:06:58 -07:00
Ferdinand Bachmann
ffd8397db1
Add fmt_print to C API (#4789)
* Add FMT_FORMAT_ARGS(fmt, ...) macro to C API to simplify user-defined format wrappers

* Add fmt_print to C API
2026-06-05 06:40:30 -07:00
Victor Zverovich
9afcd929ba Fix release script 2026-06-02 17:32:47 -07:00
Victor Zverovich
9764b90ddb Drop redundant section 2026-06-02 17:17:04 -07:00
Victor Zverovich
ae2121216c Update changelog 2026-06-02 17:07:17 -07:00
Victor Zverovich
f2995637c2 Fix release script 2026-06-02 16:21:20 -07:00
Victor Zverovich
9cd653cac1 Use venv in the release script 2026-06-02 15:32:58 -07:00
Victor Zverovich
a54dbce579 Update branch 2026-06-02 15:17:59 -07:00
Victor Zverovich
70f794e395 Bump version 2026-06-02 15:16:15 -07:00
dependabot[bot]
57563a7ebd
Bump github/codeql-action from 4.35.1 to 4.36.1 (#4793)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.1 to 4.36.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c10b8064de...87557b9c84)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 15:15:23 -07:00
dependabot[bot]
a597d06854
Bump slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml (#4792)
Bumps [slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml](https://github.com/slsa-framework/slsa-github-generator) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 15:14:38 -07:00
Victor Zverovich
11488989c6 Update changelog 2026-06-02 14:12:40 -07:00
Victor Zverovich
2bab3cc0cc Update changelog 2026-06-02 14:07:40 -07:00
Victor Zverovich
ebb9f0807a Consistent plurality 2026-06-02 11:02:57 -07:00
Victor Zverovich
f577c1f11d Improve docs 2026-06-02 10:30:08 -07:00
Victor Zverovich
889da4274e Improve docs 2026-06-02 10:05:34 -07:00
Victor Zverovich
dea98ad228 Improve docs 2026-06-02 09:27:47 -07:00
Victor Zverovich
d04adde254 Improve docs 2026-06-02 09:04:13 -07:00
Victor Zverovich
840a5b4190 Update changelog 2026-06-02 08:31:36 -07:00
Jiami Lin
a90ad5d6fd
Fix formatting std::tm with null tm_zone (#4790) 2026-06-01 18:16:49 -07:00
Victor Zverovich
f53c0408a3 Remove Python license attribution
The syntax documentation no longer derives from Python's string
module documentation, so the PSF license no longer applies.
2026-06-01 15:45:52 -07:00
Victor Zverovich
b6248c5bc0 Fix doc deploy condition for main branch 2026-06-01 15:22:36 -07:00
Victor Zverovich
ab92191553 Rewrite syntax.md from scratch
Only reuse the BNF syntax.
2026-06-01 14:51:45 -07:00
Victor Zverovich
6b2d7f9726 Rename CIFuzz workflow to fuzz
Match the naming convention used by the other workflows: lowercase,
single-word names that describe what the workflow does rather than the
tool it uses. Also rename the job from Fuzzing to fuzz for consistency.
2026-06-01 12:03:52 -07:00
Victor Zverovich
2538c89e71 Scope CodeQL write permissions to the analyze job 2026-06-01 10:53:29 -07:00
Victor Zverovich
b18919cb38 Clean up supply-chain workflow 2026-06-01 10:22:33 -07:00
Victor Zverovich
3046d2ca7e Add CodeQL workflow 2026-06-01 09:31:01 -07:00
Victor Zverovich
95390170a9 Rename scorecard workflow to supply-chain 2026-06-01 08:54:54 -07:00
Victor Zverovich
1c98a69c66 Move security policy from README to .github/SECURITY.md 2026-06-01 06:51:41 -07:00
Victor Zverovich
ed5d7ec5a3 Add CODEOWNERS 2026-05-31 21:45:33 -07:00
Victor Zverovich
1f0533a923 Pin clang-20 install
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-31 21:23:21 -07:00
Victor Zverovich
e48f8a9070 Pin clang-format install
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-31 20:56:33 -07:00
Victor Zverovich
6a1d56c425 Pin doc deps 2026-05-31 20:14:10 -07:00
Victor Zverovich
49780cabbe Pin deps 2026-05-31 19:10:01 -07:00
Victor Zverovich
a9e889e161 Build release artifacts and SLSA provenance in CI
Adds .github/workflows/release.yml, triggered on `release: created`, which:
  - checks out the release's target_commitish,
  - builds the source zip via CMake/CPack (`package_source`),
  - uploads the zip to the draft release,
  - calls slsa-framework/slsa-github-generator to produce a
    SLSA v1.0 *.intoto.jsonl provenance file and attach it to the
    same draft release.

After CI completes, the draft has both the zip and the provenance attached,
and the maintainer reviews and publishes as before.

Updates support/release.py to stop building and uploading the zip locally;
that work has moved to CI so the SLSA provenance attests to the actual
build environment that produced the artifact, not to a hash observed
after the fact. The script still builds docs locally because the
subsequent mkdocs deploy step depends on them.
2026-05-31 18:16:07 -07:00
Victor Zverovich
d079860923 Remove a temporary workflow 2026-05-31 18:15:24 -07:00
Victor Zverovich
da081318af
Add workflow_dispatch trigger to scorecard.yml 2026-05-31 15:01:24 -07:00
Victor Zverovich
e743e0f7ea
Merge Documentation License into License 2026-05-31 11:31:24 -07:00
Victor Zverovich
cc4cee596e
Update README.md 2026-05-31 10:38:48 -07:00
Victor Zverovich
60c3384234
Move support link to badge 2026-05-31 10:14:06 -07:00