Skip to content

jaymzh/chef-oss-stats

Repository files navigation

Chef's OSS Stats

Lint DCO Check

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.

tl;dr

Usage

For updated information on using these scripts see the oss-stats README.

Extra scripts in this repo

Setting up this repo

  1. Clone this repo

  2. [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.

  3. Install the deps and create the relevant binstubs:

    bundle install
    bundle binstubs oss-stats

Weekly work

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.

Sugarjar version

  1. Create a new branch

    sj feature weekly
  2. 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
  3. Generate all reports for the repo with:

    ./scripts/run_all_weekly_reports.sh
  4. Add the new reports to git and make a PR:

    git add *_reports/*
    git commit -as
    sj spush && sj spr
  5. Generate the report for the slack team meeting

    ./scripts/assemble_slack_report.rb

non-Sugarjar version

What follows assumes your origin remote in git is your fork and upstream is this repo.

  1. Create a new branch

    # or, alternatively, with git
    git checkout -b weekly origin/main
  2. 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
  3. Generate all reports for the repo with:

    ./scripts/run_all_weekly_reports.sh
  4. 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
  5. Generate slack team meet

    ./scripts/assemble_slack_report.rb

About

A place for gathering OSS stats for Chef repos based on oss-stats

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •