HomeSoftware Heritage

Make the prepare_event helper function pre-aggregate the events with same url

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Make the prepare_event helper function pre-aggregate the events with same url

and strip these urls as well.

It makes no sense to register 2 different URLs when they are equal to a
trailing ws detail.
As a result, we must preaggregate them because the swh_cache_put() sql
function won't allow several 'on conflict' for the same id.

Details

Provenance
douarddaAuthored on Jan 30 2019, 10:19 AM
douarddaPushed on Jan 30 2019, 11:54 AM
Differential Revision
D1035: Make the prepare_event helper function pre-aggregate the events with same url
Build Status
Buildable 3857
Build 5049: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.