HomeSoftware Heritage

Make snapshot_add take an iterable of snapshot.

Description

Make snapshot_add take an iterable of snapshot.

For uniformity with other _add() endpoints (except origin_visit_add).

Noone uses the new signature of snapshot_add except the tests yet,
so it's the perfect time to make this breaking change.

Details

Provenance
vlorentzAuthored on Apr 1 2019, 4:11 PM
vlorentzPushed on Apr 3 2019, 2:47 PM
Differential Revision
D1329: Make snapshot_add take an iterable of snapshot.
Parents
rDSTO1ddb1453605e: Use sha1 instead of bigint as FK from origin_visit to snapshot (part 3: cleanup)
Branches
Unknown
Tags
Unknown
Build Status
Buildable 5041
Build 6773: test-and-build