|
| 1 | +.. |
| 2 | + # ******************************************************************************* |
| 3 | + # Copyright (c) 2024 Contributors to the Eclipse Foundation |
| 4 | + # |
| 5 | + # See the NOTICE file(s) distributed with this work for additional |
| 6 | + # information regarding copyright ownership. |
| 7 | + # |
| 8 | + # This program and the accompanying materials are made available under the |
| 9 | + # terms of the Apache License Version 2.0 which is available at |
| 10 | + # https://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + # |
| 12 | + # SPDX-License-Identifier: Apache-2.0 |
| 13 | + # ******************************************************************************* |
| 14 | +
|
| 15 | +General |
| 16 | +======= |
| 17 | + |
| 18 | +Naming Conventions of Files |
| 19 | +--------------------------- |
| 20 | + |
| 21 | +The overall naming convention is to use snake case for all files and folders (all files are named lowercase and spaces are replaced by underscores). |
| 22 | + |
| 23 | +.. _Platform_Folder_Structure: |
| 24 | + |
| 25 | +Folder Structure of Platform Repository |
| 26 | +--------------------------------------- |
| 27 | + |
| 28 | +The following shows the folder structure of the platform repository (ordered alphabetically). The ordering of the documentation in the rendered documentation |
| 29 | +can be in a different order. |
| 30 | + |
| 31 | +.. code-block:: text |
| 32 | +
|
| 33 | + docs/ -> Global documentation of the platform. |
| 34 | + concepts/ -> Description of overall concepts. |
| 35 | + glossary/ -> Glossary of abbreviations used in the platform context. |
| 36 | + guidelines/ -> Guidelines regarding ... |
| 37 | + architecture/ -> ... architecture, e.g., documentation and tracing. |
| 38 | + coding/ -> ... coding rules, style, formatting, best practices for the languages C++, Rust & Python. |
| 39 | + detailed_design/ -> ... detailed design of the software components. |
| 40 | + general/ -> ... general topics, e.g. naming conventions or the folder structure. |
| 41 | + integration/ -> ... platform integration manual |
| 42 | + tutorials/ -> ... general tutorials. |
| 43 | +
|
| 44 | + overview/ -> Introduction and high-level description of the platform features. |
| 45 | + platform_management_plan/ -> Overall Platform Management Plan [WP_PLATFORM_MGMT], consisting of ... |
| 46 | + project_management.rst -> ... Project Management. |
| 47 | + stakeholder_management.rst -> ... Stakeholder Management. |
| 48 | + safety_management.rst -> ... Safety Management incl. platform safety plan [WP_PLATFORM_SAFETY_PLAN] |
| 49 | + risk_management.rst -> ... Risk Management. |
| 50 | + quality_management.rst -> ... Quality Management [WP_QMS]. |
| 51 | + config_management.rst -> ... Configuration Management. |
| 52 | + tool_management.rst -> ... Tool Management. |
| 53 | + release_management.rst -> ... Release Management. |
| 54 | + problem_resolution.rst -> ... Problem Management. |
| 55 | + change_management.rst -> ... Change Management. |
| 56 | + requirements_management.rst -> ... Requirements Management. |
| 57 | + software_development.rst -> ... Development [WP_SW_DEV_PLAN]. |
| 58 | + software_verification.rst -> ... Verification [WP_VERIFICATION_PLAN]. |
| 59 | + documentation_management.rst -> ... Documentation Management. |
| 60 | + release/ -> [WP_PLATFORM SW_RELEASE_NOTE] |
| 61 | + safety/ -> safety documentation on platform level (SEooC): [WP_SW_FEATURE_DFA], [WP_PLATFORM_SW_SAFETY_MANUAL], [WP_PLATFORM_SAFETY_CASE], [WP_CMR_REPORTS], [WP_ASSESSMENT_REPORT] |
| 62 | + stakeholder_requirements/ -> Stakeholder requirements of the platform [WP_STAKEHOLDER_REQ]. |
| 63 | +
|
| 64 | + examples/ -> examples how a C++, Rust, Python module can be set up |
| 65 | +
|
| 66 | + features/ -> All features of the platform. |
| 67 | + <feature-name>/ -> Folder containing all sub-folders corresponding to one feature and the contribution request [WP_CONT_REQUEST] |
| 68 | + docs/ -> Documentation of the feature consisting of ... |
| 69 | + architecture/ -> ... Feature architecture [WP_FEATURE_ARCHITECTURE]. |
| 70 | + requirements/ -> ... Feature requirements [WP_FEATURE_REQ]. |
| 71 | + safety_analysis/ -> ... Safety analysis on feature level [WP_SW_FEAT_SAFETY_ANALYSES] |
| 72 | + safety_planning/ -> ... the feature specific safety workproducts planning |
| 73 | + verification/ -> ... Feature verification report (reporting all feature verifications) [WP_SW_VERIFICATION_REPORT] |
| 74 | + tests/ -> Feature tests, consisting of ... |
| 75 | + integration-tests/ -> ... integration tests [WP_SW_INTEGRATION_TEST]. |
| 76 | + toolchain/ -> Definition of toolchain incl. their requirements [WP_TOOL_REQ] |
| 77 | +
|
| 78 | + modules/ -> Modules of the SW platform. |
| 79 | + <module-name>/ -> Folder containing all artifacts corresponding to one module. |
| 80 | + docs/ -> Documentation of the module consisting of ... |
| 81 | + manual/ -> ... Module manual, e.g. integration manual, assumptions of use and safety manual [WP_SW_AOU], [WP_SW_SAFTEY_MANUAL]. |
| 82 | + release/ -> ... Module release note [WP_PLATFORM SW_RELEASE_NOTE] plus safety assessment [WP_ASSESSMENT_REPORT] |
| 83 | + safety_plan/ -> ... Module safety plan [WP_PLATFORM_SAFETY_PLAN], module safety case [WP_PLATFORM_SAFETY_CASE] and their conformance reviews [WP_CMR_REPORTS] |
| 84 | + safety_analysis/ -> ... Safety analysis on module level [WP_SW_COMP_DFA] |
| 85 | + verification/ -> ... Module verification report (reporting all module's components verifications) [WP_SW_VERIFICATION_REPORT] plus safety analysis conformance reviews [WP_CMR_REPORTS] |
| 86 | +
|
| 87 | + components/ -> Components of the module. |
| 88 | + <component-name>/ -> Folder containing all artifacts corresponding to one component. |
| 89 | + docs/ -> Documentation of the component consisting of ... |
| 90 | + architecture/ -> ... Component architecture (only if sub-components exist) [WP_SW_COMPONENTS_ARCHITECTURE]. |
| 91 | + requirements/ -> ... Component requirements [WP_SW_COMP_REQ] and HSI (if relevant) [WP_HSI]. |
| 92 | + safety_analysis/ -> ... Safety analysis on component level [WP_SW_COMP_SAFETY_ANALYSES] |
| 93 | + verification/ -> ... Architecture review [WP_SW_ARCH_VERIFICATION], code inspection [WP_SW_CODE_INSPECT] |
| 94 | + src/ -> Source files of the component (incl. detailed design) [WP_SW_IMPLEMENTATION]. |
| 95 | + include/ -> Include files of the component |
| 96 | + tests/ -> Component tests, consisting of ... |
| 97 | + unit_tests/ -> ... unit tests [WP_SW_UNIT_TEST] (for lowest level of components). |
| 98 | + integration_tests/ -> ... integration tests [WP_SW_INTEGRATION_TEST]. |
| 99 | + verification-tests/ -> ... verification tests [WP_SW_COMPONENT_TEST]. |
| 100 | + <sub-component-name>/ -> Sub-Component of the Component. |
| 101 | + copy the relevant folders below <component-name> if applicable (example: no code inspection needed for sub-components from the Open Source) |
| 102 | +
|
| 103 | + platform-integration-tests/ -> Integration tests on reference hardware. |
| 104 | +
|
| 105 | + process/ -> process definition including workflows, workproducts, roles, guidance [WP_PROCESS_DEFINITION] |
| 106 | +
|
| 107 | + registry/ -> infrastructure configuration |
| 108 | +
|
| 109 | + README.md -> Entrypoint of the repository. |
| 110 | +
|
| 111 | +.. toctree:: |
| 112 | + :maxdepth: 1 |
| 113 | + :glob: |
0 commit comments