[rtems-central commit] spec: Add usage constraints

Sebastian Huber sebh at rtems.org
Thu Nov 25 08:20:28 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    264722947aba6e167e4cdb3c31b38b865f5d2231
Changeset: http://git.rtems.org/rtems-central/commit/?id=264722947aba6e167e4cdb3c31b38b865f5d2231

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Nov 24 13:19:32 2021 +0100

spec: Add usage constraints

---

 spec/constraint/api-only.yml                 | 13 +++++++++++++
 spec/constraint/no-underscore-interfaces.yml | 12 ++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/spec/constraint/api-only.yml b/spec/constraint/api-only.yml
new file mode 100644
index 0000000..f62c591
--- /dev/null
+++ b/spec/constraint/api-only.yml
@@ -0,0 +1,13 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+  uid: /req/usage-constraints
+rationale: null
+text: |
+  The user of the software product shall only directly use interfaces of
+  exactly the ${/acfg/if/domain:/name}, ${/c/if/domain:/name}, and
+  ${/if/domain:/name} interface domains.
+type: constraint
diff --git a/spec/constraint/no-underscore-interfaces.yml b/spec/constraint/no-underscore-interfaces.yml
new file mode 100644
index 0000000..e1d3a1c
--- /dev/null
+++ b/spec/constraint/no-underscore-interfaces.yml
@@ -0,0 +1,12 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+  uid: /req/usage-constraints
+rationale: null
+text: |
+  The user of the software product shall not use interfaces provided by the
+  software product those name starts with an underscore (``_``).
+type: constraint



More information about the vc mailing list