Bug Description

Launchpad has a hard limit of 50000 characters for a bug description (there is a `sane_description` constraint on the bug table). This means that descriptions of more than 50000 characters will fail to import.

The first comment for each bug is used to set the initial bug description on the import, before being overwritten by the contents of the description tag, if present and populated. This mimics the ways Launchpad works, and a "Show original description" link appears in the web UI if they differ. This means that both the contents of <description> *and* the contents of the first <comment><text> for each bug need to be limited to 50000 characters.

The branch lp:~allenap/launchpad/bug-import-munging has a script that processes the generated XML to address this. It truncates the description and comment text to 30 lines, and adds the whole content as an attachment, but this behaviour really belongs in the migrator.