Bug 262233 - [NEW PORT] mail/offlineimap3: Two-way synchronization of local Maildir and IMAP folders
Summary: [NEW PORT] mail/offlineimap3: Two-way synchronization of local Maildir and IM...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL: https://github.com/OfflineIMAP/offlin...
Keywords:
Depends on: 262231 262232
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-27 18:42 UTC by Derek Schrock
Modified: 2022-12-27 15:27 UTC (History)
3 users (show)

See Also:


Attachments
py-offlineimap3 with DOCS, EXAMPLES, MANPAGES options (4.43 KB, patch)
2022-02-28 03:25 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff
mail/py-offlineimap3 v2 including tests (9.49 KB, patch)
2022-03-18 23:44 UTC, Derek Schrock
no flags Details | Diff
Update port to use GH_TAGNAME instead of release 8.0.0 (7.84 KB, patch)
2022-08-06 23:33 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff
Revert versioning and udpate WWW (7.92 KB, patch)
2022-10-19 01:25 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff
Update to 8.0.0-18 (9.49 KB, patch)
2022-12-16 22:00 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Schrock 2022-02-27 18:42:53 UTC
New port mail/py-offlineimap3.

Two-way synchronization of local Maildir and IMAP folders, the python3
version of offlineimap.

Add patch [1] to fix spaces in idle folders.

[1] https://github.com/OfflineIMAP/offlineimap3/issues/109


portlint: ok. looks fine.
testport: ok. 13amd64.


Tested offlineimap3 via pypi for about a week and installed via a pkg for a couple days.
Comment 1 Derek Schrock 2022-02-28 03:25:18 UTC
Created attachment 232151 [details]
py-offlineimap3 with DOCS, EXAMPLES, MANPAGES options

Sorry forgot to add the patch.  This is the updated one with extra options pull from the 2020 python27 mail/py-offlineimap.
Comment 2 Derek Schrock 2022-02-28 03:32:18 UTC
Phab. review: https://reviews.freebsd.org/D34388
Comment 3 Derek Schrock 2022-03-18 23:44:32 UTC
Created attachment 232566 [details]
mail/py-offlineimap3 v2 including tests

Rebased and updated from on going phab. review.

Updates since init. bug:

- Add comments about incorrect BUILD_DEPENDS
- Add possible conflict just incase someone has previously removed mail/py-offlineimap
- Added tests
- Patch out tests that require remote auth.
- Pinned to 3.7-3.9 until mail/py-imaplib2 supports python 3.10

portlint: ok. looks fine.
testport: ok. 13amd64. default options.
unittest: ok. Tested with py37, py38, and py39

  13 passed, 6 skipped, 6 warnings in 0.14 seconds
  13 passed, 6 skipped, 6 warnings in 0.14 seconds
  13 passed, 6 skipped, 6 warnings in 0.15 seconds
Comment 4 Derek Schrock 2022-06-06 23:27:54 UTC
Comment on attachment 232566 [details]
mail/py-offlineimap3 v2 including tests

obsolete by review
Comment 5 Derek Schrock 2022-08-06 23:33:00 UTC
Created attachment 235734 [details]
Update port to use GH_TAGNAME instead of release 8.0.0

Move to a GH_TAGNAME for IMAP fixes.  Tests pass.
Comment 6 Derek Schrock 2022-10-19 01:25:41 UTC
Created attachment 237446 [details]
Revert versioning and udpate WWW

Update from review.

Revert versions to match handbook Example 19. Using USE_GITHUB to Access a Commit Between Two Versions

Update WWW to Makefile
Comment 7 Derek Schrock 2022-12-16 22:00:26 UTC
Created attachment 238848 [details]
Update to 8.0.0-18

Update to 8.0.0-18
Comment 8 commit-hook freebsd_committer freebsd_triage 2022-12-27 15:26:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9dc8d74ac07b580cb1e57194956f0f23a03d4555

commit 9dc8d74ac07b580cb1e57194956f0f23a03d4555
Author:     Derek Schrock <dereks@lifeofadishwasher.com>
AuthorDate: 2022-12-27 15:22:20 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2022-12-27 15:22:20 +0000

    mail/offlineimap3: Two-way synchronization of local Maildir and IMAP folders (new port)

    OfflineIMAP is software that downloads your email mailbox(es) as
    local Maildirs. OfflineIMAP will synchronize both sides via IMAP.

    PR:                     262233
    Author:                 Derek Schrock <dereks@lifeofadishwasher.com>
    Reviewed by:            koobs
    Differential Revision:  https://reviews.freebsd.org/D34388

 mail/Makefile                                      |  1 +
 mail/py-offlineimap3/Makefile (new)                | 90 ++++++++++++++++++++++
 mail/py-offlineimap3/distinfo (new)                |  3 +
 .../files/patch-offlineimap_imapserver.py (new)    | 11 +++
 .../patch-test_tests_test__01__basic.py (new)      | 59 ++++++++++++++
 mail/py-offlineimap3/pkg-descr (new)               |  2 +
 6 files changed, 166 insertions(+)
Comment 9 Kurt Jaeger freebsd_committer freebsd_triage 2022-12-27 15:27:40 UTC
Committed, thanks!