Skip to content

release: v0.7.0 — GitLab CI integration + adoption polish#18

Merged
Metbcy merged 4 commits into
mainfrom
release/v0.7.0
Apr 29, 2026
Merged

release: v0.7.0 — GitLab CI integration + adoption polish#18
Metbcy merged 4 commits into
mainfrom
release/v0.7.0

Conversation

@Metbcy
Copy link
Copy Markdown
Owner

@Metbcy Metbcy commented Apr 29, 2026

v0.7.0 — broaden the platform, polish the edges

This is the GitLab milestone. v0.7 takes the v0.6 policy-config foundation
and ships GitLab CI as a first-class target, alongside a coordinated
sweep of the open issue backlog and a calibration-data instrument.

Highlights

Scope notes

GitLab in-comment suppression (/bomdrift suppress <ID> posted as an
MR note) is deferred to v0.8. Webhook semantics differ enough from
GitHub PR comments that the safe wiring deserves its own pass. v0.7
ships the manual-job path in examples/gitlab-ci/suppress.gitlab-ci.yml,
which covers the same user need without the webhook handler.

Test status

  • 294 tests pass (252 unit + 26 cli + 9 integration + 7 real-world).
  • cargo clippy --all-targets --all-features --release -- -D warnings
    clean.
  • No new dependencies.

Commits

  • feat(render): platform-aware footer (GitHub + GitLab) — Wave 1+2:
    Platform enum + footer renderer + --platform flag + CI detection.
  • feat(v0.7): GitLab CI template, --debug-calibration, polish docs + data
    — Wave 3+4: examples folder, calibration instrument, all docs work,
    data top-ups.
  • chore(release): prepare v0.7.0 — version bump, CHANGELOG, STATUS,
    roadmap.

Post-merge checklist (maintainer)

  1. Tag v0.7.0 on the merge commit.
  2. Re-point the floating v1 tag to v0.7.0.
  3. Cut the GitHub Release with the cosign-signed archives.
  4. Delete release/v0.7.0 branch (per project pruning policy).

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Metbcy and others added 3 commits April 29, 2026 11:54
Adds a Platform enum (GitHub default, GitLab) and a --platform flag,
`.bomdrift.toml` [diff] platform key, and CI auto-detection from
GITLAB_CI=true (with CI_PROJECT_URL falling through to repo_url).

GitHub footer is unchanged. GitLab footer uses the project's
/-/issues/new?issuable_template=false-positive URL and points
reviewers at `bomdrift baseline add <ID>` rather than the v0.5
`/bomdrift suppress` comment-driven flow (deferred to v0.8).

Coverage:
- 2 new unit tests (GitLab footer shape + GitHub default preservation)
- 3 new tests/cli.rs e2e tests (BOMDRIFT_REPO_URL plumbing,
  GITLAB_CI auto-detection, --platform overriding env)

Closes part of #10. Lays groundwork for v0.7 GitLab CI integration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Theme A (GitLab CI integration):
- examples/gitlab-ci/.gitlab-ci.yml — MR-note diff job (curl + jq upsert)
- examples/gitlab-ci/suppress.gitlab-ci.yml — manual suppression job
- examples/gitlab-ci/README.md — setup, two-token model, troubleshooting
- docs/src/gitlab-ci.md — new chapter mirroring github-action.md
- docs/src/SUMMARY.md — link the new chapter
- docs/src/cli-reference.md — document --platform, --debug-calibration,
  BOMDRIFT_REPO_URL / GITLAB_CI / CI_PROJECT_URL env vars

Theme B (adoption polish + light calibration):
- docs/src/baseline.md — worked false-positive triage example (#12)
- docs/src/github-action.md — monorepo setup section (#9), action-broke
  troubleshooting checklist (#13)
- entrypoint.sh — better "scan path not found" error with directory
  listing + monorepo doc link (#11)
- tests/cli.rs — BOMDRIFT_REPO_URL footer regression test (#10),
  GITLAB_CI auto-detection, --platform override, --debug-calibration
  smoke test
- src/cli.rs / src/lib.rs — --debug-calibration flag, write_calibration
  _lines() emits kind|key|score|threshold to stderr
- data/{go,composer,gem}-top200.txt — +35 / +43 / +44 entries from
  CNCF / HashiCorp / Symfony / Laravel / Doctrine / Rails / dry-rb /
  testing communities (#6, #7, #8)
- docs/src/enrichers/typosquat.md — refreshed list-size table

All 294 tests pass; clippy --all-targets --all-features -D warnings clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Bump Cargo.toml + Cargo.lock from 0.6.1 → 0.7.0.
- CHANGELOG.md: detailed v0.7.0 entry covering Theme A (GitLab CI
  integration) and Theme B (adoption polish + calibration
  instrumentation).
- STATUS.md: GitLab CI moved from "Not supported" to supported via
  the v0.7 examples template.
- docs/src/roadmap.md: GitLab CI integration removed from "future
  candidates" (now shipped); v0.8 candidates added (GitLab
  in-comment suppression, calibration tuning from --debug-calibration
  data).
- README.md, docs/src/quickstart.md, .github/ISSUE_TEMPLATE/action
  -broke.md: bump example version pins from v0.6.1 → v0.7.0.

Tests still 294 passing; clippy strict still clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 29, 2026

SBOM diff

Change Count
Added 0
Removed 0
Version changed 1
License changed 0

Version changed (1)

Show details
Ecosystem Name Before After
cargo bomdrift 0.6.1 0.7.0

False positive? Report it · Suppress a finding? Comment /bomdrift suppress <ID> (requires the comment-suppress sub-action) · Docs

Single-expression chain fits on one line — rustfmt prefers compact
form. Caught by `cargo fmt --check` in CI on PR #18.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Metbcy Metbcy merged commit 81e97fa into main Apr 29, 2026
8 checks passed
@Metbcy Metbcy deleted the release/v0.7.0 branch April 29, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant