[csw-maintainers] Buildfarm setup - documentation

Maciej (Matchek) Bliziński maciej at opencsw.org
Mon Oct 7 12:11:09 CEST 2013


2013/10/7 Peter FELECAN <pfelecan at opencsw.org>:
> We have now:
>
> $ bin/pkgdb initdb
> /opt/csw/lib/python2.6/site-packages/sqlobject/mysql/mysqlconnection.py:113: Warning: Specified key was too long; max key length is 767 bytes
>   return cursor.execute(query)
>
> Which I presume is innocuous. However, it's better to remove warnings if
> possible at all.

It's MySQL specific, and has to do with the 767 bytes restriction on
an index key. It's probably about this line and the line below, and
the fact that there are indexes on these two fields:
https://github.com/opencsw/gar/blob/blob-split/lib/python/models.py#L140

I've checked that the longest filename that we currently have has 180
characters, so we might reduce the length of the field in the database
to 255 characters.

Maciej


More information about the maintainers mailing list