exasol / python-toolbox

Infrastructure & Automation Tooling for Python Projects
https://exasol.github.io/python-toolbox/
MIT License
3 stars 0 forks source link

🔧 Change metrics format so the repo/project is part of the reported metric #120

Closed Nicoretti closed 1 month ago

Nicoretti commented 9 months ago

Summary

To enhance the identification and self-containment of the metrics, they should include information about their originating project.

Details

The current data format is:

{
  "commit": "38cef0d0b86fd9fcd042d874af5ebc6a17e937d1",
  "date": "2023-12-18 07:19:14.687615",
  "coverage": 26.629422718808193,
  "maintainability": "B",
  "reliability": "N/A",
  "security": "N/A",
  "technical_debt": "N/A"
}

The proposed enhancement involves adding a project field. After updating, remember to release a new schema version at https://github.com/exasol/schemas.

Background & Context

Schema Repository: https://github.com/exasol/schemas Relevant Discussion: https://github.com/exasol/github-issue-adapter/pull/223#discussion_r1456964783

{
  "project": "python-toolbox",
  "commit": "38cef0d0b86fd9fcd042d874af5ebc6a17e937d1",
  "date": "2023-12-18 07:19:14.687615",
  "coverage": 26.629422718808193,
  "maintainability": "B",
  "reliability": "N/A",
  "security": "N/A",
  "technical_debt": "N/A"
}

Tasks

Nicoretti commented 1 month ago

Has been already implemented see https://github.com/exasol/python-toolbox/pull/158