make the nitcatalog slightly more robust on person variations
authorJean Privat <jean@pryen.org>
Tue, 17 May 2016 20:16:23 +0000 (16:16 -0400)
committerJean Privat <jean@pryen.org>
Tue, 17 May 2016 20:16:23 +0000 (16:16 -0400)
commit507a72e3e176f6b682f0fbda6bd61c525bf9ba13
tree4a243b817121d438e41f6705ad05ef14136adcca
parent2b96b6edd6526a861bca7c0945a6c9348b53b010
make the nitcatalog slightly more robust on person variations

The various person-related fields were parsed verbatim.
So a slight change in spaces was enough to differentiate two persons.
Now the canonical person representation is used.

e.g. `Lucas Bajolet<r4pass@hotmail.com>` vs `Lucas Bajolet <r4pass@hotmail.com>
` is now the same person (hint: the change is the space between the `t` and the `<`).

Note that to present the original information,
 names/emails/url are still distinguished.

`Lucas Bajolet <r4pass@hotmail.com>`, `R4pass <r4pass@hotmail.com>
` and `Lucas Bajolet <lucas.bajolet@hotmail.com>
` are still 3 persons.

Signed-off-by: Jean Privat <jean@pryen.org>
src/catalog.nit