Actions
Bug #31788
closedAdd a type column to export histories
Difficulty:
Triaged:
Yes
Description
As a user I need to know if my exports are incremental or not without checking the metadata.
Suggested workflow¶
API
- Update https://github.com/Katello/katello/blob/master/app/views/katello/api/v2/content_view_version_export_histories/show.json.rabl#L3 to include a 'type' attribute that says "Complete"/"Incremental" by looking to see if the metadata has a "from_content_view_version"
- Add a "type" column to the export histories database (will need a migration to port existing histories)
- And when the history record is created we save "Complete"/"Incremental"
Hammer
- Have `hammer content-export list` show the type column.
- add a `--export_type` parameter filter
Actions