-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add new Metrics about branch lifecycle #368
Comments
|
Are we wanting to keep a list of branches at a point in time, and show delta's related to:
|
|
Hi Sean, I agree with you 👍 .
|
|
@king-gao : When you ask this question: "How many branches have been open more than XXX days?" I think you are asking about "branch on an open pull request?" |
|
@sgoggins yes , If the PRs were been merged , shall we need to delete them in the public repo? like the picture below , there are many branchs. why we are not delete them? |
|
We discussed this during the call for Evolution WG on 10/21 -- (Also notes from the Asia Pacific Call to be coming.) Examining the lifecycle of a branch
What is the indicator of branch “death”. For example, if a branch has the word “patch” in a name, then it is likely a dormant branch. Especially if it had never been involved since the changes in the branch were merged. It seems we need to include both branch dormancy and branch deletion as indicators of a branch lifecycle. What are the differences between how branches are managed in GitLab, BitBucket and GitHub? This is something to consider during the building of this metric. To understand the local lifecycle, we would technically (literally, technically) have to cull that information from the git log. Platforms don’t keep track of local branch changes, but the git log does. |
|
Notes from the Asia Pacific Call: What do we do with branches that are not needed anymore? Question: How do we know if a branch is not needed anymore? Can we have a metrics focused on telling us how many branches have not been active in the last X months? List of those branches How many branches have been opened for more than X days How many branches have been merged and are still open upstream This would be useful to know in order to clean the house, delete branches, etc. |
|
This metric is now released: https://chaoss.community/metric-branch-lifecycle/ |

In my opinion, there are some branch indicators are metrics for community healthy.
The branch lifecycle managment reflect the community is active,the maintainer is concern the develop branch is merge into master branch,and after merge the develop branch should be deleted , the branch list is clear for anyone to understand the status of branch.
we can metrics how many branchs are still on the branch list have already been merged and not deleted.
The text was updated successfully, but these errors were encountered: