Skip to content

Make check_names.py repo-specific #186

@davidhorstmann-arm

Description

@davidhorstmann-arm

At present check_names.py uses a single set of regex for allowed names in all repositories. As the repositories diverge, check_names.py should distinguish between the repos and perform different name checks for each.

Currently we would like the prefix TF_PSA_CRYPTO_ and tf_psa_crypto_ to be allowed only in the TF-PSA-Crypto repository (not in Mbed TLS). In future we may want to do other things (e.g. disallowing definitions that start with psa_ in Mbed TLS.

Definition of Done:

  • check_names.py only allows TF-PSA-Crypto prefixes in the TF-PSA-Crypto repo.
  • The script is refactored so as to allow other repo-specific rules to be easily added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    size-sEstimated task size: small (~2d)

    Type

    No type

    Projects

    Status

    Framework 2/3 (for the CI)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions