publish and sync history for repositories