Skip to content

baseline, email_policy: support per-subsystem baseline rules - #922

Merged
rgushchin merged 2 commits into
mainfrom
feat/subsystem-baselines
Nov 20, 2026
Merged

rgushchin merged 2 commits into
mainfrom
feat/subsystem-baselines

Conversation

@rgushchin

@rgushchin rgushchin commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add per-subsystem baseline configuration ([[<list>.baselines]]) directly inside projects/<project>/mailing_lists.toml, supporting url, optional branches, subject_prefixes, and paths.
  • Resolve configured list baselines ahead of generic MAINTAINERS heuristics, custom remotes, linux-next, and mainline (after explicit base-commit and version/stable hints), ranked by specificity (prefix+path > prefix > path > unconditional > sibling fallback) while skipping rules whose paths filter does not match any touched file.
  • Deduplicate scheme-equivalent git remote URLs (https:// vs git://) so configured trees reuse existing local remotes.
  • Populate Linux baseline rules for bpf, damon, linux-ext4, netdev, mptcp, linux-nfs (NFSD paths), intel-wired-lan, and linux-mm, and document the schema in docs/configuration.md and docs/examples/mailing_lists.example.toml.
  • Design doc: designs/DESIGN_SUBSYSTEM_BASELINES.md.

Verification

  • make check-pr RANGE=origin/main..HEAD passed (S-O-B, fmt, clippy across all feature profiles, all unit & integration tests).
  • Local sashiko review --project sashiko --agent origin/main..HEAD self-review passed cleanly (findings: []).

@sashiko-bot

sashiko-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

Sashiko review

✓ No issues found across 2 commits.

Full review log on sashiko.sashiko.dev

@rgushchin
rgushchin force-pushed the feat/subsystem-baselines branch from 56064aa to cce0866 Compare November 20, 2026 03:04
@sashiko-bot

sashiko-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

Sashiko review — v2

✓ No issues found across 2 commits.

Full review log on sashiko.sashiko.dev

Add the design document for per-subsystem baseline rules in
projects/<project>/mailing_lists.toml, covering -next vs -fixes tree
selection, multi-branch fallbacks, path-scoped trees, and cross-posted
priority ordering.

Signed-off-by: Roman Gushchin <roman@kernel.org>
Allow each mailing list block in projects/<project>/mailing_lists.toml
to declare ordered baseline tree rules under baselines (url, optional
branches, subject_prefixes, and paths).

Resolve configured list baselines ahead of the generic MAINTAINERS
heuristic, custom remotes, linux-next, and mainline (after explicit
base-commit and version/stable hints), ranked by specificity
(prefix+path > prefix > path > unconditional > sibling fallback) while
skipping rules whose explicit paths filter does not match any touched
file. Deduplicate scheme-equivalent remote URLs (https:// vs git://) so
configured trees reuse existing local remotes.

Populate projects/linux/mailing_lists.toml with baseline rules for bpf,
damon, linux-ext4, netdev, mptcp, linux-nfs (NFSD paths),
intel-wired-lan, and linux-mm, and document the schema in
docs/configuration.md.

Signed-off-by: Roman Gushchin <roman@kernel.org>
@rgushchin
rgushchin force-pushed the feat/subsystem-baselines branch from cce0866 to 217674d Compare November 20, 2026 04:13
@sashiko-bot

sashiko-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

Sashiko review — v3

✓ No issues found across 2 commits.

Full review log on sashiko.sashiko.dev

@rgushchin
rgushchin merged commit 8445392 into main Nov 20, 2026
1 check passed
@rgushchin
rgushchin deleted the feat/subsystem-baselines branch November 20, 2026 04:24
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