Skip to content

Add migration documentation - #37

Merged
nradakovic merged 1 commit into
mainfrom
nira_add_migration_docs
Aug 27, 2026
Merged

Add migration documentation#37
nradakovic merged 1 commit into
mainfrom
nira_add_migration_docs

Conversation

@nradakovic

Copy link
Copy Markdown
Member

Add migration documentation.

@nradakovic
nradakovic requested a lite review from Copilot August 27, 2026 09:51
@nradakovic nradakovic self-assigned this Aug 27, 2026
@nradakovic nradakovic added the documentation Improvements or additions to documentation label Aug 27, 2026
@nradakovic nradakovic moved this from Backlog to Ready in S-CORE Roadmap Aug 27, 2026
@nradakovic nradakovic moved this from Ready to In Progress in S-CORE Roadmap Aug 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated migration guide for consumers moving from toolchain-owned GCC warning flags to policy-owned, opt-in warning cc_features in this repository, and links to it from the existing warnings documentation.

Changes:

  • Adds a “Migrating from toolchain-owned warnings” section to docs/warnings.md linking to the migration guide.
  • Introduces docs/migration-warnings.md describing the old vs. new warnings model, prerequisites, and rollout examples.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/warnings.md Adds a migration section and link to the new migration guide.
docs/migration-warnings.md New end-to-end migration documentation for adopting policy-owned warning features.
Suppressed comments (2)

docs/migration-warnings.md:23

  • The link label suggests a directory (warnings/gcc/features) but the URL points to the BUILD file. Align the link text with the actual destination to avoid confusion.
[`warnings/gcc/features`](../warnings/gcc/features/BUILD):

docs/migration-warnings.md:43

  • "currently the latest release" will become stale over time. Prefer stating the minimum version requirement without asserting which release is latest.
- `score_cpp_policies` **0.1.0 or newer** — the warnings features were
  introduced in `0.1.0`, currently the latest release.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/warnings.md Outdated
Comment thread docs/migration-warnings.md Outdated
Comment on lines +8 to +11
Prior to this repo taking ownership, the `-W` flag sets consumers built
with were hardcoded directly inside `score_bazel_cpp_toolchains` itself
(baked into each registered `cc_toolchain`'s always-on argument list). This
meant:

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread docs/migration-warnings.md Outdated
Comment thread docs/migration-warnings.md Outdated
Add migration documentation.
@nradakovic
nradakovic force-pushed the nira_add_migration_docs branch from 22fe28a to edbe9f9 Compare August 27, 2026 10:34
@nradakovic
nradakovic marked this pull request as ready for review August 27, 2026 10:34
@nradakovic
nradakovic merged commit f54e2d7 into main Aug 27, 2026
23 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in S-CORE Roadmap Aug 27, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in INF - Infrastructure Community Aug 27, 2026
@nradakovic
nradakovic deleted the nira_add_migration_docs branch August 27, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Write and present migration documentation for compiler warning policy migration

3 participants