Skip to content
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

Feature Request: Add support for analysing all non-main branches #128

Open
Ezard opened this issue Dec 19, 2023 · 2 comments
Open

Feature Request: Add support for analysing all non-main branches #128

Ezard opened this issue Dec 19, 2023 · 2 comments
Assignees

Comments

@Ezard
Copy link

Ezard commented Dec 19, 2023

It would be awesome if we could analyse tasks that are run in pull request pipelines, i.e. any task that is run in CI but isn't run on the main branch

This would allow us to track performance that relates to the speed at which PRs can be merged

Perhaps this could be supported by adding a negation modifier to the --branch flag when generating a report, e.g. !main

./gradlew reportAnalytics --branch="!main" --task="test" --period="1y"

This would match every branch that is not named main

@janbarari
Copy link
Owner

It would be awesome if we could analyse tasks that are run in pull request pipelines, i.e. any task that is run in CI but isn't run on the main branch

This would allow us to track performance that relates to the speed at which PRs can be merged

Perhaps this could be supported by adding a negation modifier to the --branch flag when generating a report, e.g. !main

./gradlew reportAnalytics --branch="!main" --task="test" --period="1y"

This would match every branch that is not named main

Hi @Ezard
Thank you for sending your feedback
I put this ticket to investigation process

Best
Mehdi

@janbarari janbarari changed the title Add support for analysing all non-main branches RF: Add support for analysing all non-main branches Dec 22, 2023
@janbarari janbarari self-assigned this Dec 22, 2023
@Ezard Ezard changed the title RF: Add support for analysing all non-main branches Feature Request: Add support for analysing all non-main branches Jan 15, 2024
@Ezard
Copy link
Author

Ezard commented Feb 5, 2024

@janbarari I've had a look into how the plugin works, and I believe that I could add this functionality myself if you're open to me submitting a PR 🙂

If you are, then do you agree with my above suggestion for how it could be implemented, or would you rather that a different route was taken?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants