aboutsummaryrefslogtreecommitdiffstats
path: root/news2mail.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rearrange the project to the src/ layout.0.10.3Matěj Cepl2023-05-251-174/+0
| | | | | | | | | Fix also pyproject.toml to generate what seems right. Add the explicit dependency on nntplib for Python >= 3.12 (gh#python/cpython!104894). Fixes: https://todo.sr.ht/~mcepl/pygn/7
* Use email.policy.SMTP to be perfectly conforming with RFCs.Matěj Cepl2023-05-251-1/+1
| | | | Perhaps fixes: https://todo.sr.ht/~mcepl/pygn/6
* New generation of email.message_from* methods could use better policy.Matěj Cepl2023-05-251-1/+3
| | | | | | | | The email module changed a lot with more recent versions of Python (ehm, more recent, >= 3.3 ;)), and it uses per default old-compatible-with-Python 2 policy which is ASCII-based. The policy which is called default is not used per default [sic] and it is much better suited for UTF-8 world.
* Run 2to3Matěj Cepl2023-05-251-1/+1
|
* Parse email messages from binary files.Matěj Cepl2023-05-251-1/+1
| | | | | | Fixes #24 (see also gh#python/cpython#69731 and gh#python/cpython#85479)
* Tiny cleanupsMatěj Cepl2023-05-251-1/+1
|
* Sync with 0.10.1 release on PyPI0.10.1Matěj Cepl2020-07-011-125/+9
| | | | Port to Python 3.
* Network libraries accept bytes not strMatěj Cepl2019-10-021-1/+1
|
* A ways better.Matěj Cepl2019-10-011-14/+30
| | | | Tentatively fixes #7
* Basic restructuring of the code to use setuptools’ entry_points.Matěj Cepl2019-09-301-2/+105
|
* Add In-Reply-To header for news2mail.Matěj Cepl2015-01-031-0/+5
| | | | Fixes #17
* Remove the spaghetti code from the main scripts.Matěj Cepl2014-12-311-15/+19
|
* Make --verbose work.Matěj Cepl2014-12-311-4/+4
| | | | | | | | mail2news produce verbose chatter with -v Fixes #13 Also cleanup.
* Remove useless debug parameter (not used anywhere).Matěj Cepl2014-12-301-2/+0
| | | | | | | Also rename my email about problems with pygn to *.eml. Fix storing logfile in the current directory, instead of $HOME. Fixes #7
* Switch news2mail to pure email.Message based system.Matěj Cepl2014-12-281-119/+59
| | | | | Fixes #10 Fixes #3
* Mighty cleanupMatěj Cepl2014-12-241-45/+26
| | | | | | | * Use more of the standard methods for OrderedDicts * remove pyginfo module (with SSOT being mail2news module) * remove TODO, INSTALL, and changelog.Debian * all FIXMEs and TODOs are filed as bugs in the issue tracker
* pygm2n and mail2news also use email.Parser.Matěj Cepl2014-12-221-5/+9
|
* pygn2m and news2mail.py use stdlib email parser.Matěj Cepl2014-12-221-96/+43
| | | | Instead of doing it on their own (poorly).
* switch to argparse in pygn2mMatěj Cepl2014-12-211-264/+255
| | | | and cleanup in pygn2m, news2mail.py (and some leftovers in pygm2n)
* The original upstream from Debian orig.tar.gz tarball.0.9.7Matej Cepl2008-02-261-0/+299