Playground/bitmanipulation seooc - #3228
Draft
antonkri wants to merge 4 commits into
Draft
Conversation
…targets - MODULE.bazel: local_path_override for score_tooling to ../tooling (poc/rst-package-param branch), needed for the package override param used below. - docs/features/baselibs/requirements/BUILD (new): feature_requirements() target feat_req_baselibs, converting index.rst to TRLC and exposing FeatureRequirementsInfo, consumed by baselibs' component_requirements() and dependable_element() targets. Re-exposed as a docs_bundle since the directory now needs its own BUILD file. - docs/requirements/stakeholder/BUILD (new): assumed_system_requirements() target asr_req_stakeholder, a TRLC stand-in for the stkh_req directives (no TRLC representation existed before), package "StakeholderRequirements" so feat_req_baselibs' derived_from references resolve. - BUILD/docs/conf.py: mount both new docs_bundle targets back into the root docs() tree so their toctrees keep resolving; suppress the resulting (harmless) duplicate-mount warning.
Extracts feat_req__baselibs__bitmanipulation out of docs/features/baselibs/requirements/index.rst into a new bitmanipulation.rst, re-included via .. include:: so rendered docs and the toctree are unaffected. Adds a new feat_req_bitmanipulation Bazel target (alongside the existing feat_req_baselibs, whose srcs now list both files) that converts only this one feature requirement, so downstream consumers (baselibs dependable_element_bitmanipulation) can depend on a narrow target instead of pulling in all 14 baselibs feature requirements. Also excludes bitmanipulation.rst from standalone Sphinx document discovery via exclude_patterns in conf.py, since otherwise Sphinx registers its feat_req need twice (once via include, once as its own document) and flags it as an orphan.
antonkri
requested review from
AlexanderLanin,
FScholPer,
MaximilianSoerenPollak,
a-zw,
anmittag,
dcalavrezo-qorix,
johannes-esr,
nradakovic and
qor-lb
as code owners
August 31, 2026 06:43
antonkri
marked this pull request as draft
August 31, 2026 06:43
…it_override The local_path_override pointed at ../tooling, which only works inside a checkout that happens to have the tooling repo as a sibling directory. Pin the poc/rst-package-param branch tip instead so the module resolves from anywhere (CI, fresh clones), matching what baselibs already does.
Merges feat_req__baselibs__bitmanipulation back into docs/features/baselibs/requirements/index.rst, removing the separate bitmanipulation.rst file and its .. include:: link, plus the now-obsolete exclude_patterns entry in docs/conf.py and the narrower feat_req_bitmanipulation Bazel target - only feat_req_baselibs (all 14 baselibs feature requirements) remains. Rationale: the split existed only to give downstream consumers (e.g. baselibs dependable_element_bitmanipulation) a narrow, single-feature lobster traceability source. Consumers now reference feat_req_baselibs directly and accept the resulting lower Feature Requirements coverage percentage in their own reports (only their own feature is ever traced from; the other 13 are unrelated) as a reporting-precision trade-off rather than a build/test failure under maturity=development. Verified: bazel run //:docs_check succeeds with 0 warnings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.