Skip to content
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

Doc: Implementation Process Description #526

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PandaeDo
Copy link
Contributor

Initial Version of the process description for implementation.

Fixes #309

Copy link

The created documentation from the pull request is available at: docu-html

@PandaeDo PandaeDo requested a review from hoe-jo February 27, 2025 07:47
Detailed Design Template
########################

.. gd_temp:: Stakeholder Requirements Templates

Choose a reason for hiding this comment

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

Suggested change
.. gd_temp:: Stakeholder Requirements Templates
.. gd_temp:: Detailed Design Templates

@PandaeDo PandaeDo marked this pull request as draft February 28, 2025 12:56
@PandaeDo PandaeDo force-pushed the vohae_detailed_design branch from 82e2575 to 92d3a21 Compare February 28, 2025 14:15
Copy link
Contributor

@aschemmel-tech aschemmel-tech left a comment

Choose a reason for hiding this comment

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

As this is "Draft" I only leave comments:

  • see inline plus some general ones:
  • SW development plan document should be mentioned in process and created in this PR
  • Metamodel change for DD artefacts is missing
  • Detailed_design_checklist is missing (may be reused from incubator)

| :id: UNIT_DD_STA__<Component>__<Title>
| :security: <YES|NO>
| :safety: <QM|ASIL_B|ASIL_D>
| :satisfies: <link to component requirement id>
Copy link
Contributor

Choose a reason for hiding this comment

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

according to docs/process/general_concepts/_assets/score_building_blocks_meta_model.svg (in #343) we expect "implements" link from DD to Component req and "satisfies" link from DD to Component Architecture.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would call this file detailed_design_template

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed it to detailed_design_template

========================

.. gd_chklst:: Implementation
:id: gd_chklst__implementation
Copy link
Contributor

Choose a reason for hiding this comment

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

according naming convention should be: gd_chklst__impl__inspection

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed it.

- Issue link
* - REQ_01_01
- Is the code developed as per implementation guideline?
- see :need:`gd_guidl__implementation`, this includes the use of "shall".
Copy link
Contributor

Choose a reason for hiding this comment

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

" this includes the use of "shall"." makes no sense here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed it. It was a copy+paste failure.

- Passed
- Remarks
- Issue link
* - REQ_01_01
Copy link
Contributor

Choose a reason for hiding this comment

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

should be IMPL_01_01

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed IDs it to IMPL__

Static Code Analyis
===================

<TDB> tool to enforce coding rules e.g. axivion, parasoft c++, helix qac
Copy link
Contributor

Choose a reason for hiding this comment

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

also here: no discussion

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deleted enumeration.


.. .. code-block:: shell

.. bazel test //:format.check
Copy link
Contributor

Choose a reason for hiding this comment

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

that is a good point, maybe also add the local "bazel build //docs"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added bazel build//docs

:status: valid
:complies: std_wp__iso26262__software_10, std_req__iso26262__software_29

Implementation of a Unit
Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/eclipse-score/score/blob/main/docs/process/workproducts/index.rst already defines relevant work products: wp__sw_implementation, wp__sw_unit_test, wp__sw_code_inspect -> expectation is to reuse these and remove from the "general" workproducts/index

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reuse of wp__sw_implementation, wp__sw_unit_test. Unclear how to proceed with wp__sw_code_inspect

Workflow Implementation
#######################

.. ? Haben wir einen Workflow für Implementation
Copy link
Contributor

Choose a reason for hiding this comment

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

no, we had not, but we need, please create those workflows for all the work procucts of impl. process

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Workflows for Detailed Design an Unit Test created.

Copy link
Contributor

Choose a reason for hiding this comment

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

That is not sufficient as a guideline. I expect even three guidelines: Detailed Design, Guideline C++, Guideline Rust
And it should define for example for DD: how to fill the template, e.g. which UML diagrams types to use, do we have also Doxygen Style comments for the DD in code (I thought so) ...
And for the C++ guideline: how do we configure the SW, how do we expect comments, how do we do the MISRA checker annotations ...

@masc2023 masc2023 added this to the SCORE Process Audit 3 milestone Mar 5, 2025
Copy link

github-actions bot commented Mar 5, 2025

License Check Results

🚀 The license check preparation job ran successfully.

Status: ⚠️ Needs Review

Click to expand output
2025/03/05 15:01:35 Downloading https://releases.bazel.build/7.4.0/release/bazel-7.4.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: docs
Loading: 0 packages loaded
    currently loading: docs
Loading: 0 packages loaded
    currently loading: docs
Analyzing: target //docs:license.check.python (1 packages loaded, 0 targets configured)
Analyzing: target //docs:license.check.python (1 packages loaded, 0 targets configured)

Analyzing: target //docs:license.check.python (91 packages loaded, 10 targets configured)

Analyzing: target //docs:license.check.python (96 packages loaded, 10 targets configured)

Analyzing: target //docs:license.check.python (130 packages loaded, 822 targets configured)

Analyzing: target //docs:license.check.python (139 packages loaded, 1715 targets configured)

Analyzing: target //docs:license.check.python (144 packages loaded, 2461 targets configured)

Analyzing: target //docs:license.check.python (144 packages loaded, 2465 targets configured)

Analyzing: target //docs:license.check.python (147 packages loaded, 4487 targets configured)

Analyzing: target //docs:license.check.python (148 packages loaded, 4611 targets configured)

INFO: Analyzed target //docs:license.check.python (149 packages loaded, 4736 targets configured).
[9 / 13] JavaToolchainCompileClasses external/rules_java~/toolchains/platformclasspath_classes; 0s processwrapper-sandbox ... (2 actions running)
[11 / 13] JavaToolchainCompileBootClasspath external/rules_java~/toolchains/platformclasspath.jar; 0s processwrapper-sandbox
[12 / 13] Building docs/license.check.python.jar (); 0s multiplex-worker
INFO: Found 1 target...
Target //docs:license.check.python up-to-date:
  bazel-bin/docs/license.check.python
  bazel-bin/docs/license.check.python.jar
INFO: Elapsed time: 21.101s, Critical Path: 2.49s
INFO: 13 processes: 9 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 13 total actions
INFO: Running command line: bazel-bin/docs/license.check.python docs/formatted.txt -review -project automotive.score -repo https://github.com/eclipse-score/score -token otyhZ4eaRYK1tKLNNF-Y
[main] INFO Querying Eclipse Foundation for license data for 69 items.
[main] INFO Found 45 items.
[main] INFO Querying ClearlyDefined for license data for 43 items.
[main] INFO Found 43 items.
[main] INFO License information could not be automatically verified for the following content:
[main] INFO 
[main] INFO pypi/pypi/-/babel/2.16.0
[main] INFO pypi/pypi/-/debugpy/1.8.12
[main] INFO pypi/pypi/-/docutils/0.21.2
[main] INFO pypi/pypi/-/esbonio/0.16.5
[main] INFO pypi/pypi/-/fonttools/4.56.0
[main] INFO pypi/pypi/-/idna/3.10
[main] INFO pypi/pypi/-/jsonschema/4.23.0
[main] INFO pypi/pypi/-/matplotlib/3.10.0
[main] INFO pypi/pypi/-/numpy/2.2.3
[main] INFO pypi/pypi/-/packaging/24.2
[main] INFO pypi/pypi/-/pillow/11.1.0
[main] INFO pypi/pypi/-/pyparsing/3.2.1
[main] INFO pypi/pypi/-/pyspellchecker/0.8.2
[main] INFO pypi/pypi/-/pytest/8.3.4
[main] INFO pypi/pypi/-/ruamel-yaml-clib/0.2.12
[main] INFO pypi/pypi/-/ruamel-yaml/0.18.10
[main] INFO pypi/pypi/-/sphinx/8.1.3
[main] INFO pypi/pypi/-/typing-extensions/4.12.2
[main] INFO pypi/pypi/-/urllib3/2.3.0
[main] INFO 
[main] INFO This content is either not correctly mapped by the system, or requires review.
[main] INFO A review is required for pypi/pypi/-/sphinx/8.1.3.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19860 .
[main] INFO A review is required for pypi/pypi/-/urllib3/2.3.0.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19863 .
[main] INFO A review is required for pypi/pypi/-/idna/3.10.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19865 .
[main] INFO A review is required for pypi/pypi/-/packaging/24.2.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19866 .
[main] INFO A review is required for pypi/pypi/-/numpy/2.2.3.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19888 .
[main] INFO A review is required for pypi/pypi/-/ruamel-yaml/0.18.10.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19869 .
[main] INFO A review is required for pypi/pypi/-/pytest/8.3.4.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19870 .
[main] INFO A review is required for pypi/pypi/-/fonttools/4.56.0.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19889 .
[main] INFO A review is required for pypi/pypi/-/typing-extensions/4.12.2.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19873 .
[main] INFO A review is required for pypi/pypi/-/ruamel-yaml-clib/0.2.12.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19878 .
[main] INFO A review is required for pypi/pypi/-/docutils/0.21.2.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19880 .
[main] INFO A review is required for pypi/pypi/-/jsonschema/4.23.0.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19881 .
[main] INFO A review is required for pypi/pypi/-/pillow/11.1.0.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19890 .
[main] INFO A review is required for pypi/pypi/-/pyparsing/3.2.1.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19891 .
[main] INFO A review is required for pypi/pypi/-/debugpy/1.8.12.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19903 .
[main] INFO A review is required for pypi/pypi/-/babel/2.16.0.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19885 .
[main] INFO A review is required for pypi/pypi/-/pyspellchecker/0.8.2.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19886 .
[main] INFO A review is required for pypi/pypi/-/matplotlib/3.10.0.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19892 .
[main] INFO A review is required for pypi/pypi/-/esbonio/0.16.5.
[main] INFO A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/19887 .

PandaeDo and others added 2 commits March 5, 2025 15:56
Initial Version of the process description for implementation.

Fixes eclipse-score#309

Signed-off-by: Volker <volker.haeussler@qorix.ai>
@vinodreddy-g vinodreddy-g force-pushed the vohae_detailed_design branch from 3777475 to 6486e0c Compare March 5, 2025 15:01
@PandaeDo PandaeDo self-assigned this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Improvement: Document Implementation process
5 participants