Bug 1330302

Summary: [RFE] Provide way to determine repo size
Product: Red Hat Satellite Reporter: Stephen Wadeley <swadeley>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: UnspecifiedCC: bkearney, tstrachota
Target Milestone: UnspecifiedKeywords: FutureFeature, RFE, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-12 13:20:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Stephen Wadeley 2016-04-25 20:00:40 UTC
Description of problem:

The guides mention the need to allow space when making backups or exporting repos, but I have not found a way to easily determine the on-disk size of a repo.

Such a tool would be appreciated. 

Additional info:

One way to do this would be to add a no-op option to the `hammer repository export` command which tells you the space that would be required.

Another way would be if the `hammer repo list` could provide that info. Whether the info is calculated on the fly or read from a value updated at repo sync time should not matter to the user.

As hammer commands get info from the API I will file this bug against the API component.


Thank you

Comment 2 Bryan Kearney 2017-10-12 13:20:59 UTC

*** This bug has been marked as a duplicate of bug 1401663 ***