sagemath / trac-to-github

Script to migrate Trac tickets to GitHub issues and the Trac wiki to markdown. Input: https://trac.sagemath.org/ ➠ Intermediate: https://github.com/sagemath/trac_to_gh ➠ Output: https://github.com/sagemath/sage/issues
https://trac.sagemath.org/ticket/30363
7 stars 5 forks source link

Some wrong attachment mime types cause warnings when importing #142

Closed mkoeppe closed 1 year ago

mkoeppe commented 1 year ago
           INFO     Attachment filename='gen_quadrangles_with_spread.pyx-py3.8_test.log.bz2' mimetype='text/plain'                                      migrate.py:1674
           INFO     Attachment link https://github.com/sagemath/sage/files/ticket30517/gen_quadrangles_with_spread.pyx-py3.8_test.log.bz2               migrate.py:1713

these are likely the cause for the importer's InvalidRecord warnings

mkoeppe commented 1 year ago

.bz2 files are handled in 45341a6.

The importer also complains about .png files for an unknown reason; but the InvalidRecord messages are apparently only warnings; the files are available after import.