paularmstrong / build-tracker

A set of tools to track the size of your build artifacts over time.
https://buildtracker.dev
MIT License
439 stars 27 forks source link

Suggestion: expose group details e.g. so we can calculate total size of group artifacts #229

Open OliverJAsh opened 3 years ago

OliverJAsh commented 3 years ago

Problem

After uploading a build, I am trying to calculate the total size of all the artifacts that belong to a specific group so that I can report the total size in the status we post to the commit on GitHub. E.g. here there is a group called "core":

image

Currently we display the total size of all artifacts in the build but we want to change this to display the total size of all artifacts in the "core" group.

I tried to do this using the public properties in types like Build however it seems the group details are not exposed.

Proposed solution

Could we add a groups property to Build?