When two revisions/releases have authors with the same fullname
but different names (which should never happen in practice, but
since name/email parsing is on a best-effort basis, you never
know...).
Bug found by Hypothesis.
Differential D1378
Fix person name clashes in revision_add and release_add. vlorentz on Apr 9 2019, 4:24 PM. Authored by
Details When two revisions/releases have authors with the same fullname Bug found by Hypothesis.
Diff Detail
Event TimelineComment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/329/ Comment Actions Sometimes, I wonder if we wouldn't be better off dropping the name and email parsed fields and only keeping fullname in the database... In any case, the test would be less surprising if both authors were "sensible" parsings of the same fullname. For instance, fullname = 'John Doe <john.doe@example.com>' (two spaces) can sensibly parse to name = 'John Doe', email = 'john.doe@example.com', as well as name = 'John Doe ', email = 'john.doe@example.com' (with the trailing space). Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/338/ Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tox/350/ Comment Actions Build is green |