-
Notifications
You must be signed in to change notification settings - Fork 15
Pastey crate Traceability using LOBSTER #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
aschemmel-tech
merged 15 commits into
eclipse-score:main
from
bharatGoswami8:pastey_crate_traceability
Jun 16, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
bdecc84
Added the basel registry and bazel version
bharatGoswami8 8aab7ca
Added sphinx build setting and dependency
bharatGoswami8 2fce622
Pastey requirement build update
bharatGoswami8 83b9c95
Pastey design document for tracebility
bharatGoswami8 3978bb4
Added Failure modes and Control measures for pastey crate
bharatGoswami8 4d9bdac
Test cases for pastey crate
bharatGoswami8 8c7ef64
Add dependable_element target for pastey crate
bharatGoswami8 d52aae2
Traceability report for pastey create
bharatGoswami8 8559125
Addded ferrocene toolchain from score rust toolchain
bharatGoswami8 44d95e2
Updated component classification document
bharatGoswami8 bf625bb
Updated AoU requirement in safety document
bharatGoswami8 c39ab52
Updated Rootcause puml diagrams
bharatGoswami8 2e9d8a8
Updated test cases and license header
bharatGoswami8 925a82b
Pastey Traceability create and update
bharatGoswami8 eaba310
Updated Error requirement for pastey and test cases
bharatGoswami8 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Bzlmod | ||
| common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/refs/heads/main/ | ||
| common --registry=https://bcr.bazel.build | ||
| common --check_direct_dependencies=error | ||
|
|
||
| # Use native sphinx_build_binary instead of the wrapper | ||
| build --//third_party/sphinx:use_native_sphinx_build | ||
|
|
||
| # Java runtime for plantuml | ||
| build --java_runtime_version=remotejdk_21 | ||
|
|
||
| # Python version for score_tooling pip hub | ||
| build --@rules_python//python/config_settings:python_version=3.12 | ||
|
|
||
| # ferrocene | ||
| common --extra_toolchains=@score_gcc_x86_64_toolchain//:x86_64-linux-gcc_12.2.0 | ||
| common --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_unknown_linux_gnu |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 8.3.0 |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| load( | ||
| "@score_tooling//bazel/rules/rules_score:rules_score.bzl", | ||
| "architectural_design", | ||
| ) | ||
|
|
||
| architectural_design( | ||
| name = "pastey_design", | ||
| public_api = [ | ||
| "public_api.puml", | ||
| ], | ||
| static = [ | ||
| "static_design.puml", | ||
| "index.rst", | ||
| ], | ||
| visibility = ["//visibility:public"], | ||
| ) |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| .. | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| .. _pastey_architecture_design: | ||
|
|
||
| Component Architecture | ||
| ====================== | ||
|
|
||
| .. document:: Pastey Architecture | ||
| :id: doc__mod_pastey_architecture | ||
| :status: valid | ||
| :safety: ASIL_B | ||
| :security: NO | ||
| :realizes: wp__component_arch | ||
| :tags: architecture, component, rust, proc_macro | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
| ``pastey`` is a Rust procedural macro crate that provides compile-time token | ||
| manipulation and identifier synthesis. It operates entirely at compile time | ||
| within the Rust compiler's macro expansion phase. | ||
|
|
||
| Static Architecture | ||
| ------------------- | ||
| The pastey crate is single component architecture consisting of a single Rust crate that defines the | ||
| ``paste!`` macro. | ||
|
|
||
| .. uml:: static_design.puml | ||
|
|
||
| Interfaces | ||
| ---------- | ||
| The pastey crate consists of a single proc-macro entry point that processes | ||
| token streams passed to the ``paste!`` macro invocation. All processing occurs | ||
| at compile time with no runtime footprint. | ||
|
|
||
| .. uml:: public_api.puml |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| ' Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| ' | ||
| ' See the NOTICE file(s) distributed with this work for additional | ||
| ' information regarding copyright ownership. | ||
| ' | ||
| ' This program and the accompanying materials are made available under the | ||
| ' terms of the Apache License Version 2.0 which is available at | ||
| ' https://www.apache.org/licenses/LICENSE-2.0 | ||
| ' | ||
| ' SPDX-License-Identifier: Apache-2.0 | ||
| @startuml public_api | ||
|
|
||
| package "pastey public interface" as pastey_pub { | ||
| interface paste_macro as "paste!(tokens)" | ||
| } | ||
|
|
||
| @enduml |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| ' Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| ' | ||
| ' See the NOTICE file(s) distributed with this work for additional | ||
| ' information regarding copyright ownership. | ||
| ' | ||
| ' This program and the accompanying materials are made available under the | ||
| ' terms of the Apache License Version 2.0 which is available at | ||
| ' https://www.apache.org/licenses/LICENSE-2.0 | ||
| ' | ||
| ' SPDX-License-Identifier: Apache-2.0 | ||
| @startuml static_design | ||
|
|
||
| package "pastey" as pastey <<SEooC>> { | ||
| component "pastey_component" as pastey_component <<component>> | ||
| } | ||
|
|
||
| @enduml |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| load( | ||
| "@score_tooling//bazel/rules/rules_score:rules_score.bzl", | ||
| "component", | ||
| ) | ||
|
|
||
| component( | ||
| name = "pastey_component", | ||
| requirements = [ | ||
| "//docs/pastey/docs/requirement:component_requirements", | ||
| "//docs/pastey/docs/requirement:feature_requirements", | ||
| ], | ||
| tests = [ | ||
| "//docs/pastey/tests:pastey_test", | ||
| ], | ||
| visibility = ["//visibility:public"], | ||
| ) |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.