Story #2261

Updated by fao89 over 1 year ago


 **Ticket moved to GitHub**: "pulp/pulpcore/2079": 


 This should simply be the sum of the size of all files associated with units that are associated with the repository. 

 This does not include data stored in the database. 

 For on-demand content, files that are known in the database but have not yet been downloaded should not be counted in the total. 

 This does not account for the fact that the same unit can appear in multiple repos without incurring additional disk storage use. It will be up to the user to interpret these numbers for individual repos, and consider totals across multiple repos in the context that content may be shared. 

 A natural way to represent this would be as an attribute of a repository, but that doesn't have to be the implementation if a better option presents itself.