Added init_date and last_date for repositorires.
Sync ts and agg data in SCR.
[ds] Shared code for generating metrics between all data sources.