Capsule Last Sync date and status should not be based on task data.
Description of problem:
Last sync status and date come from tasks, if we clear sync tasks from Satellite then that data is not available to show on the UI hence Satellite shows repo is never synced. And the same issue with the capsule sync as well.
We should add a new table(or a column in some existing table) in the database where we can keep the record of repo/capsule sync and fetch the date/status from there to show on UI.
Version-Release number of selected component (if applicable):