-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insights into the growth and maintenance of our Patterns collection #565
Comments
@zkoppert any recommendations about a useful test run that we could do to find out if the Issue Metrics GitHub Action would be helpful for the Patterns WG? As preparation for a test run, defining the goal seems like a good activity :) This could include:
Then we could try to generate some of these metrics, using the issue metrics GHA. Thoughts? |
I totally agree that first finding a goal is great! Listing those out as the top priorities and then finding tools to support that is best. For example, "Goals: Be responsive (respond to pr and issues in a few days or less), 3 pattern improvements every quarter, etc. Happy to help automate the metrics part once there are clear goals! |
@zkoppert I might work on this as part of |
Yeah! Definitely! |
Awesome @zkoppert. If you could help me do a first iteration of some metrics on this repo itself, then I am sure I can "learn by doing" and figure things out from there. Data to track
If any of these are complicated, let's skip them. Starting with the easy ones is fine. Reporting periodsOptimally we would track this data on a quarterly basis, as we report quarterly from the patterns WG to the board.
Again, if this makes it complicated, let's just track things on a monthly basis. How to get started?Would you have time to create a first version of this, that I can build upon? |
I can get started on this! I'll let you know which pieces ended up be hard or awkward and thus skipped. :) I should be able to get started on this next week. I've got it marked on my calendar to remind me. 😄 |
Opened a pull request to get started on automating the metrics listed above. #593 It is ready for review. I'll open a new PR later with more metrics as I get time. |
* Create pattern-metrics.yaml Getting started measuring pattern metrics. Related to #565. This pull request implements - Time to first response metrics for new issues (excluding codeowners created) recurring every month - Time to first response metrics for new pull requests (excluding codeowners created) recurring every month
@zkoppert I had to do minor fixes but now the GHA runs through: |
Looks like it is working! I can start working on the other metrics (number of new Structured patterns, number of new Initial patterns, number of new Known Instances for an existing pattern) later this week. 🚀 |
Awesome. I just realized that all metrics have to work of issues/PRs, right? We do have labels that we use for PRs that work on initial or structured patterns. Also one general question about the output of the GHA: |
I can write something that doesn't use issue-metrics GHA in order to get the number of patterns by looking at the files in the repo instead of having to rely on pull requests and labels. We could merge the outputs of the two GitHub Actions into a single report issue if that is preferred. Let me know! |
Let's go for the native issue-metrics behavior only. i.e. only search queries (using PRs/labels). Andy for merging: Yes, getting the report for everything in a single issue would be great. |
* Create pattern-metrics.yaml Getting started measuring pattern metrics. Related to InnerSourceCommons#565. This pull request implements - Time to first response metrics for new issues (excluding codeowners created) recurring every month - Time to first response metrics for new pull requests (excluding codeowners created) recurring every month
Our InnerSource Patterns are maintained by a working group within the InnerSource Commons, often called Patterns WG for short. That Patterns WG is creating a report about anything that has happened related to our patterns once a quarter, to give the Board of the InnerSource Commons visibility into what is going on. These reports have also prove valuable for the Patterns WG itself as it motivates us to pause and look back over the last couple of months every once in a while :)
As an example, see the 2023-05 report.
In these reports we also include some measurable things like
However as some of these measures were hard to collect, we did not do this consistently in our reports.
Now I read about the Issue Metrics GitHub Action, and was wondering if we could use that to generate some of the metrics from our reports automatically? See also this related blog post about data-driven insights by GitHub.
The text was updated successfully, but these errors were encountered: