grimoirelab icon indicating copy to clipboard operation
grimoirelab copied to clipboard

Support for release based reporting

Open zxiiro opened this issue 7 years ago • 4 comments

A feature to allow a user to specify 2 refspecs, either branches or tags. The statistics should walk through git to the locate the common parent of the 2 branches or tags, and then use that as the initial commit to count for contributions reporting in the reporting branch.

For example if if a project has a 1.0 release and a 2.0 release, we would be interested in identifying and getting statistics on all of the contributions to the 2.0 release.

zxiiro avatar Mar 14 '18 16:03 zxiiro

This would refer only to git?

jgbarah avatar Mar 14 '18 17:03 jgbarah

Yes this specific feature Git related.

While having the same support for other data types would be interesting I'm not sure how to implement from a technical perspective.

zxiiro avatar Mar 14 '18 20:03 zxiiro

I think in Gerrit very likely you are labeling reviews with release cycles. But in any case, yes, that's another story. Let's consider this for git only now. In that case, for having this feature we should label, in the enriched index, all commits with all the branches they are in. That is not simple: we should start with the list of refs, and get ancestors back to the first commit, labeling each commit we find with the corresponding branches/tags. In particular, this may be difficult to do when retrieving incrementally from a repo.

Anyone can do a more detailed analysis, or have better ideas?

  • While enriching

jgbarah avatar Mar 14 '18 22:03 jgbarah

Was there any progress on this? We would like to use release-based reporting in Mautic :)

RCheesley avatar Jan 12 '21 15:01 RCheesley