Skip to content

Use of placeholders in CAMARA artefacts #18

@Kevsy

Description

@Kevsy

Problem description

Release number and version are manually added to CAMARA artefacts (.yaml, .md) by the authors. This adds time and risks values being incorrect, inconsistent, or updates missed.

There are also examples where these values are in documentation (e.g. camaraproject/Commonalities#457 ) , again requiring manual update.

Possible evolution

Investigate the use of placeholders for release number and version within artefact files, and a GitHub Action that:

  • replaces the placeholders with the correct values on commit
  • automatically generates a PR with the placeholder values updated

Note: the means to determine 'correct values' is to be investigated. This could be automated or may need to be a parameter manually injected at the point of the Action workflow being run.

Alternative solution

  • Recommend placeholder update in VS Code (the most popular IDE in our poll) prior to commit

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions