BuildSize icon indicating copy to clipboard operation
BuildSize copied to clipboard

Feature request: Set branch to compare against

Open jasonbarry opened this issue 6 years ago • 1 comments

Right now, it appears that the comparison is always with the master branch. It would be nice if you could compare with a given branch.

For example, in my repo I've changed my default/base branch to be dev. I would like the artifact measurement to compare against the dev branch instead of master.

Thanks for your awesome work!

jasonbarry avatar Oct 16 '17 22:10 jasonbarry

Yeah there's a todo for that in the code: https://github.com/Daniel15/BuildSize/blob/0e39cd8040350631b35a6e85129a2376a9ecdac2/app/Services/Build/AbstractBuildService.php#L73. I haven't seen many projects that change the default branch, but I agree that it would be good to have!

Daniel15 avatar Oct 16 '17 22:10 Daniel15