Skip to content

provide trustable framework template #27

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
merged 6 commits into from
Jun 26, 2025
Merged

provide trustable framework template #27

merged 6 commits into from
Jun 26, 2025

Conversation

masc2023
Copy link
Contributor

@masc2023 masc2023 commented Jun 4, 2025

Template is based now on sphinx-needs, in contrast to origin used doorstop

Resolves: eclipse-score/score#1009

masc2023 added a commit to eclipse-score/docs-as-code that referenced this pull request Jun 4, 2025
trustable framework needs,
eclipse-score/process_description#27

add security tag to the document need

Resolves: eclipse-score/score#947
masc2023 added a commit to eclipse-score/docs-as-code that referenced this pull request Jun 4, 2025
trustable framework needs,
eclipse-score/process_description#27

add security tag to the document need

Resolves: eclipse-score/score#947
masc2023 added a commit to eclipse-score/docs-as-code that referenced this pull request Jun 4, 2025
trustable framework needs,
eclipse-score/process_description#27

add security tag to the document need

Resolves: eclipse-score/score#947
@masc2023 masc2023 self-assigned this Jun 4, 2025
@masc2023 masc2023 added the documentation Improvements or additions to documentation label Jun 4, 2025
@masc2023 masc2023 force-pushed the masc2023_trustable branch from e15e0c7 to eb28c3b Compare June 4, 2025 09:48
@masc2023 masc2023 marked this pull request as ready for review June 4, 2025 09:49
@masc2023 masc2023 requested a review from aschemmel-tech June 4, 2025 09:49
Copy link

github-actions bot commented Jun 4, 2025

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

@masc2023 masc2023 force-pushed the masc2023_trustable branch 3 times, most recently from ec9e511 to da19f14 Compare June 5, 2025 09:10
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.

I only comment not to block during my absence

XYZ trustable overview
----------------------

.. needtable::
Copy link
Contributor

Choose a reason for hiding this comment

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

recommend to have a headline for all of these tables

Tenets and Assertions according your project and evidences.

Especially replace "XYZ" software or SW with the name of your project, e.g.
"This release of S-CORE is trustable".
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not think we should write this. Rather: This realease of XYZ was analyzed for trustability and reaches a score of ...

tenets/tenets
assertions/assertions

.. tsf:: TRUSTABLE SOFTWARE
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not understand: shouldn't this type and its uses be defined in our metamodel?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are defined, otherwise it would not build. But it is used only for the definition here, the projects should use our needs, e.g. component requirements, document to define the evidences and link it to the definitions here

:status: draft
:links: tenet__trust__tt-provenance, tenet__trust__tt-construction, tenet__trust__tt-changes, tenet__trust__tt-expectations, tenet__trust__tt-results, tenet__trust__tt-confidence

This release of XYZ is Trustable.
Copy link
Contributor

Choose a reason for hiding this comment

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

see above comment

The algorithm for aggregation may involve weighting of specific Tenets or
Assertions based on project priorities or experience.

The graphs below presents statistics:
Copy link
Contributor

Choose a reason for hiding this comment

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

I do not see what these statistics should show.


.. tenet:: TT-PROVENANCE
:id: tenet__trust__tt-provenance
:status: draft
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 not see the need of a status here, because my understanding is that tenets and assertions are static like standards requirements. And to replace "XYZ" with the project name is would not be something I would expect to set these to "valid"
I would rather add a "satisfied" value in percent which would need to be later calculated somehow. Based on the linked workproducts/evidences.

consideration of trust must be based on evidence.*

You can copy the folder and use this as a template to measure your OSS project trust.
Link your evidences to the Trustable Assertions (TA) and update the content of the
Copy link
Contributor

Choose a reason for hiding this comment

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

as I understand TSF methodology the "Evidences" would be something like written statements("premises") of the project and the "workproducts" would be linked to those. And the tenets and assertions are not modified. See also https://codethinklabs.gitlab.io/trustable/trustable/methodology.html#applying-tsf - second picture

Copy link
Contributor Author

Choose a reason for hiding this comment

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

as I understand TSF methodology the "Evidences" would be something like written statements("premises") of the project and the "workproducts" would be linked to those. And the tenets and assertions are not modified. See also https://codethinklabs.gitlab.io/trustable/trustable/methodology.html#applying-tsf - second picture

I used this as input: https://gitlab.com/richardmaw-codethink/safety-monitor/-/tree/main/trustable?ref_type=heads

Template is based now on sphinx-needs, in contrast to origin used doorstop
@masc2023 masc2023 force-pushed the masc2023_trustable branch from da19f14 to 41ad626 Compare June 12, 2025 07:10
@pahmann pahmann self-requested a review June 13, 2025 07:38
Resolves: eclipse-score/score#1009
Signed-off-by: Philipp Ahmann <[email protected]>
Comment on lines 25 to 26
You can use these tenets and assertion defined here to measure your OSS project trust score.
Link your evidences to the Trustable Assertions (TA).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
You can use these tenets and assertion defined here to measure your OSS project trust score.
Link your evidences to the Trustable Assertions (TA).
The tenets and assertions defined in the Trustable Software Framework can be used to measure an (OSS) project trust score.
To calculate the score link evidences to the Trustable Assertions (TA).

Copy link
Contributor

Choose a reason for hiding this comment

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

Assertions and tenets are using some "level: x.y.z" identifier in the original sources of Trustable. I guess they may be optional, but at least want to mention this in the review.

Comment on lines 1 to 14
..
# *******************************************************************************
# Copyright (c) 2025 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
# *******************************************************************************

Copy link
Contributor

Choose a reason for hiding this comment

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

You need to be careful here. You are re-using the text and content from Trustable here, but you are changing the original license.

Trustable Software Framework © 2016-25 by Codethink is licensed under Creative
Commons Attribution-ShareAlike 4.0 International. To view a copy of this
license, visit https://creativecommons.org/licenses/by-sa/4.0/ or see the
license text here
The accompanying tools are licensed under Eclipse Public License 2.0,
with support for GPLv2 as a Secondary Clause. See the Eclipse Foundation site
here for more information, or see the
license text here.

See also following links:
https://gitlab.com/CodethinkLabs/trustable/trustable/-/blob/main/LICENCE.md
https://gitlab.com/CodethinkLabs/trustable/trustable/-/blob/main/LICENSE
https://creativecommons.org/licenses/by-sa/4.0/deed.en

The respective SPDX identifier is: CC-BY-SA-4.0

Comment on lines 1 to 13
..
# *******************************************************************************
# Copyright (c) 2025 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
# *******************************************************************************
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
..
# *******************************************************************************
# Copyright (c) 2025 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
# *******************************************************************************
.. SPDX-License-Identifier: CC-BY-SA-4.0
..
note::
This document is based on work by Codethink available at
https://gitlab.com/CodethinkLabs/trustable/trustable.
This modified version is licensed under CC-BY-SA-4.0
in compliance with the original license.
Changes from original:
- levels have been removed
- separated files are aggregated into a single file
- transferred from markdown to rst
- sphinx-needs meta data is added

Comment on lines 1 to 13
..
# *******************************************************************************
# Copyright (c) 2025 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
# *******************************************************************************
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
..
# *******************************************************************************
# Copyright (c) 2025 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
# *******************************************************************************
.. SPDX-License-Identifier: CC-BY-SA-4.0
..
note::
This document is based on work by Codethink available at
https://gitlab.com/CodethinkLabs/trustable/trustable.
This modified version is licensed under CC-BY-SA-4.0
in compliance with the original license.
Changes from original:
- levels have been removed
- separated files are aggregated into a single file
- transferred from markdown to rst
- sphinx-needs meta data is added

Comment on lines 1 to 13
..
# *******************************************************************************
# Copyright (c) 2025 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
# *******************************************************************************
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
..
# *******************************************************************************
# Copyright (c) 2025 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
# *******************************************************************************
.. SPDX-License-Identifier: CC-BY-SA-4.0
..
note::
This document is based on work by Codethink available at
https://gitlab.com/CodethinkLabs/trustable/trustable.
This modified version is licensed under CC-BY-SA-4.0
in compliance with the original license.
Changes from original:
- two paragraphs were combined to single paragraph
- neutral wording instead of "we"

@pahmann
Copy link
Contributor

pahmann commented Jun 13, 2025

Currently the copyright check fails as CC-BY-SA-4.0 is not in the list of https://github.com/eclipse-score/tooling/blob/main/cr_checker/resources/templates.ini

@pahmann pahmann self-assigned this Jun 13, 2025
@masc2023 masc2023 merged commit f064b49 into main Jun 26, 2025
8 checks passed
@masc2023 masc2023 deleted the masc2023_trustable branch June 26, 2025 04:50
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
None yet
Development

Successfully merging this pull request may close these issues.

Improvement: Add TSF to Process
4 participants