shieldproject / shield

A standalone system that can perform backup and restore functions for a wide variety of pluggable data systems
MIT License
367 stars 69 forks source link

Storage footprint #667

Closed thomasmitchell closed 4 years ago

thomasmitchell commented 4 years ago

The storage footprint on each data system page in the web ui was counting purged archives. This PR adds the ability to filter archive retrieval from AEGIS by purged-ness or purged-less-ness. The storage footprint template then uses this to only count archives that SHIELD is aware are still impacting the storage footprint.

The archive retrieval code has gained a few more test specs related to filtering by purged-ness.

Fixes #658

thomasmitchell commented 4 years ago

This appears to have two other changes... which should be in place, but are irrelevant to this PR. This may have been rooted in having branched this from master, or from people having pushed directly to master.