Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to notmuch2 module #320

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Nov 26, 2021

  1. Upgrade files to notmuch2 python module afewmail#278

    Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com>
    GuillaumeSeren authored and mjg committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    3296445 View commit details
    Browse the repository at this point in the history
  2. Upgrade Database to notmuch2 python module afewmail#278

    Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com>
    GuillaumeSeren authored and mjg committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    2df068d View commit details
    Browse the repository at this point in the history
  3. Upgrade MailMover to notmuch2 python module afewmail#278

    Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com>
    GuillaumeSeren authored and mjg committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    a1bec17 View commit details
    Browse the repository at this point in the history
  4. Adjust to open() in notmuch2

    283ee15 ("Upgrade Database to notmuch2 python module afewmail#278", 2020-11-11)
    adjusted Databse partially to notmuch2. There, open() does not have a
    create argument any more. So far, only afew's test suite needs to create
    a db. So, remove the argument from afew's Database class and use
    notmuch2's create() directly in the test suite.
    mjg committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    b1cb56b View commit details
    Browse the repository at this point in the history
  5. Adjust to notmuch2 call signatures

    Besides the obvious call signature changes, filenames are Posix.Path
    objects now, searches do not return an email.Message object, and
    non-existing headers throw a LookupError.
    mjg committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    bab9899 View commit details
    Browse the repository at this point in the history
  6. Remaining notmuch2 adjustments

    Not caught by the test suite.
    mjg committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    cb648c2 View commit details
    Browse the repository at this point in the history
  7. CI: build with notmuch2 and python up to 3.10

    python3-notmuch2 is part of ubuntu 21.04 and later, so we need to bump
    that, too.
    mjg committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    6e98c68 View commit details
    Browse the repository at this point in the history