Skip to content

Unify Scorecard metric and provider IDs - Snake Case to Lower Camel Case #3532

Description

@dzemanov

Currently, the naming convention for Scorecard metric IDs and provider IDs utilizes snake_case (e.g. github.open_prs). This deviates from the established naming convention used in app-config.yaml and with the planned design of the Scorecard, which uses lowerCamelCase.

This is a breaking change for existing plugins but is best addressed now, during Developer Preview and before onboarding more metrics, to prevent future inconsistencies.

To fix this problem apply the following changes to standardize all metric and provider IDs to lowerCamelCase:

  • update all instances of metric IDs and provider IDs within the Scorecard codebase from snake_case to lowerCamelCase
  • don't forget to update the occurrences in any configuration files, tests, documentation, translation keys or any URLs using old IDs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions