Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Add basic implementation for advise and version managers #566

Conversation

xtuchyna
Copy link
Member

@xtuchyna xtuchyna commented May 19, 2022

Related Issues and Dependencies

Related to #560

This introduces a breaking change

  • No

This should yield a new module release

  • Yes

This Pull Request implements

Implement basic daily repostiory metrics for advise and version managers

Description

Data is saved on Ceph (according to the namespace and endpoint where mi runs) in two files, that are updated daily (by scheduled daily workflows):

  • kebechet_advise_manager.csv
$ cat kebechet_advise_manager.csv | head
,created_pull_requests,approved_pull_requests,merged_pull_requests,merged_by_bot,merged_by_other,rejected_pull_requests,rejected_by_bot,rejected_by_other,daily_mean_time_to_merge
2020-06-17,2,1,2,1,1,0,0,0,3509.0
2020-07-07,16,5,10,5,5,6,0,6,135.0
2020-07-08,2,1,2,1,1,0,0,0,3917.0
2020-07-14,4,2,4,2,2,0,0,0,84.0
2020-07-16,8,4,8,4,4,0,0,0,3390.0
2020-07-17,12,6,12,6,6,0,0,0,4137.0
2020-07-20,2,0,0,0,0,2,0,2,
2020-07-23,4,2,4,2,2,0,0,0,2912.0
2020-07-29,6,3,6,3,3,0,0,0,83.0
  • kebechet_version_manager.csv
$ cat kebechet_version_manager.csv | head
,issues_created,issues_completed,issues_rejected
2022-04-05,1,1,0
2022-03-16,1,1,0
2021-12-01,1,1,0
2021-11-30,1,1,0
2021-09-03,1,1,0
2021-07-14,1,1,0
2021-07-09,1,1,0
2021-07-08,1,1,0
2021-07-07,2,2,0

@sesheta sesheta requested review from fridex and KPostOffice May 19, 2022 09:06
@sesheta sesheta added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 19, 2022
@xtuchyna
Copy link
Member Author

/approve

@sesheta
Copy link
Member

sesheta commented May 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xtuchyna

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2022
@sesheta sesheta merged commit afb15bb into thoth-station:master May 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants