To be consistent with the name used in the DB and the dict
key returned by 'origin_visit_get'.
Note that this makes the client incompatible with older
versions of the server.
Differential D636
Rename the 'ts' argument of 'origin_visit_add' to 'date'. vlorentz on Nov 8 2018, 2:31 PM. Authored by
Details To be consistent with the name used in the DB and the dict Note that this makes the client incompatible with older
Diff Detail
Event TimelineComment Actions Build is green Comment Actions Build is green Comment Actions If the client is made incompatible with the old server, I'm not sure the DeprecationWarning dance is all that useful: all swh.storage consumers in production use the client/server API, and we'd have to deploy the change to every loader at the same time. There shouldn't be that many users of origin_visit_add to fix. Apart from that the change looks sensible. Comment Actions The change should be deployed to the server first, and then consumers can be updated later |