Skip to content

0.4.0

Compare
Choose a tag to compare
@sduenas sduenas released this 17 Jul 17:09
· 1679 commits to main since this release

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 scripts mailmap2sh and stackalytics2sh.

  • 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 function uuid() 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 β and b or ı and i the same, when
    some collation values are set (i.e utf8_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 use utf8_unicode_ci fixes this error, allowing
    to insert both identities.