0.4.0
Sorting Hat 0.4 - (2017-07-17)
New features and improvements:
-
Mailmap and StackAlytics support.
Mailmap and StackAlytics files can be converted to Sorting Hat JSON
format using the new scriptsmailmap2sh
andstackalytics2sh
. -
Unify by sources.
Giving a list of sources, this option allows to
unify
command to
merge only those unique identities which belong to any of the given
sources.
Bugs fixed:
-
Encoding error generating UUIDs in Python 3. Some special characters
cannot be encoded in Python3. This caused functionuuid()
to fail
when converting those characters. 'surrogateescape' handler was
added to fix that problem. -
Force
utf8_unicode_ci
collation on MySQL tables to fix integrity errors.
MySQL considers chars likeβ
andb
orı
andi
the same, when
some collation values are set (i.eutf8_general_ci
). This can raise
integrity errors when Sorting Hat tries to add similar identities with
these pairs of characters.For instance, if the identity:
('scm', 'βart', 'bart@example.com', 'bart)
is stored in the database, the insertion of:
('scm', 'bart', 'bart@example.com', 'bart)
will raise an error, even when these identities have different UUIDs.
Forcing MySQL to useutf8_unicode_ci
fixes this error, allowing
to insert both identities.