This repo aims to track stats that affect how Chef Users ("the community") can interact with Progress' development teams and repositories.
It leverages oss-stats to track those stats. It assumes oss-stats and this repo are checked out next to each other on the filesystem.
- See Issue, PR, and CI stats in repo_reports
- See weekly meeting stats in Slack Status Tracking
- See pipeline visiblity stats in pipeline_visibility_reports
- See promise stats in promise_reports
For updated information on using these scripts see the oss-stats README.
- run_weekly_repo_reports.sh loops over all relevant repos and runs ci_stats.rb on them.
- run_all_weekly_reports.sh runs all
report generators including
run_weekly_ci_reports - assemble_slack_report.rb generates most of the slack report.
-
Clone this repo
-
[optional] If you want to use
sugarjar, I recommend keeping a checkout of oss-stats at the same level. The sugarjar config assumes this is the case for linting. -
Install the deps and create the relevant binstubs:
bundle install bundle binstubs oss-stats
For simplicity the docs for the weekly work are split into a version for those using sugarjar, and for those not using it.
Regardless of your tooling you will need your own fork of the repo to push branches so you can make pull requests.
-
Create a new branch
sj feature weekly
-
Update the information about last week's meeting. By default, assumes a date of the previous Thursday, so if you're running this Thursday morning for the previous week you'll need to pass in
--date YYYY-MM-DD./bin/meeting_stats
-
Generate all reports for the repo with:
./scripts/run_all_weekly_reports.sh
-
Add the new reports to git and make a PR:
git add *_reports/* git commit -as sj spush && sj spr
-
Generate the report for the slack team meeting
./scripts/assemble_slack_report.rb
What follows assumes your origin remote in git is your fork and upstream is
this repo.
-
Create a new branch
# or, alternatively, with git git checkout -b weekly origin/main -
Update the information about last week's meeting. By default, assumes a date of the previous Thursday, so if you're running this Thursday morning for the previous week you'll need to pass in
--date YYYY-MM-DD./bin/meeting_stats
-
Generate all reports for the repo with:
./scripts/run_all_weekly_reports.sh
-
Add the new reports to git and make a PR:
git add *_reports/* git commit -as git push origin weekly gh pr create -f # or, if you prefer, create the PR in the web UI
-
Generate slack team meet
./scripts/assemble_slack_report.rb