UAlbanyArchives / mailbagit

A tool for creating and managing Mailbags, a package for preserving email using multiple preservation formats
https://archives.albany.edu/mailbag/
MIT License
46 stars 2 forks source link

now detects mbox files without extentions from Mac Mail #233

Closed gwiedeman closed 1 year ago

gwiedeman commented 1 year ago

Type of Contribution

What does this implement/fix? Explain your changes.

Mailbagit MBOX input now correctly detects mbox files without extensions from Mac Mail, addressing #232. It does this by assuming a file literally named mbox without a file extension is an mbox file. If it cannot parse mbox as an MBOX file, it will raise an error.

Also contains a better development setup for docker.

Link to issue?

232

Pull Request Checklist

Please check if your PR fulfills the following requirements:

How has this been tested?

Operating System: python:3.11.2-slim-buster, Win10 Python Version: 3.9.16 and 3.11.2

Licensing