Bug 222629 - [NEW PORT] mail/py-afew: Initial tagging script for notmuch mail
Summary: [NEW PORT] mail/py-afew: Initial tagging script for notmuch mail
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: Danilo G. Baio
URL: https://reviews.freebsd.org/D12520
Keywords:
Depends on: 222628
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-26 20:05 UTC by Sebastian Schwarz
Modified: 2017-10-19 00:02 UTC (History)
1 user (show)

See Also:


Attachments
afew-1.2.0.diff (3.50 KB, patch)
2017-09-26 20:05 UTC, Sebastian Schwarz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Schwarz 2017-09-26 20:05:22 UTC
Created attachment 186747 [details]
afew-1.2.0.diff

The attached patch adds the port for https://github.com/afewmail/afew, a script for tagging new mail using mail/notmuch.

I've tested the port under FreeBSD 11.1-REALEASE on amd64 using the following utilities:

- portlint -AC
- make package
- poudriere testport

The output of each of them is clean.

This port depends on devel/py-subprocess32 (#222628).
Comment 1 Sebastian Schwarz 2017-09-26 20:13:19 UTC
The proper link to devel/py-subprocess32's PR: bug #222628
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2017-09-27 23:50:03 UTC
Nice work on both PR's.
I changed the name to mail/py-afew, following the Python Ports Policy.
https://wiki.freebsd.org/Python/PortsPolicy
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-10-18 22:49:29 UTC
A commit references this bug:

Author: dbaio
Date: Wed Oct 18 22:48:44 UTC 2017
New revision: 452388
URL: https://svnweb.freebsd.org/changeset/ports/452388

Log:
  New port mail/py-afew: Initial tagging script for notmuch mail

  Its basic task is to provide automatic tagging each time new
  mail is registered with notmuch.  In a classic setup, you might
  call it after 'notmuch new' in an offlineimap post sync hook.

  It can do basic thing such as adding tags based on email headers
  or maildir folders, handling killed threads and spam.

  In move mode, afew will move mails between maildir folders
  according to configurable rules that can contain arbitrary
  notmuch queries to match against any searchable attributes.

  WWW: https://github.com/afewmail/afew

  PR:		222629
  Submitted by:	Sebastian Schwarz <seschwar@gmail.com>
  Reviewed by:	mat, koobs
  Differential Revision:	D12520

Changes:
  head/mail/Makefile
  head/mail/py-afew/
  head/mail/py-afew/Makefile
  head/mail/py-afew/distinfo
  head/mail/py-afew/pkg-descr
Comment 4 Danilo G. Baio freebsd_committer freebsd_triage 2017-10-18 22:50:13 UTC
Committed, thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-10-19 00:02:34 UTC
A commit references this bug:

Author: dbaio
Date: Thu Oct 19 00:01:47 UTC 2017
New revision: 51130
URL: https://svnweb.freebsd.org/changeset/doc/51130

Log:
  Add new contributors

  Lacey Powers for databases/pg_partman and security/chkrootkit [1]
  Neal Nelson for devel/nimble and lang/nim [2]
  Sebastian Schwarz for of mail/py-afew [3]

  PR:		222926 [1]
  PR:		222427 [2]
  PR:		222629 [3]

Changes:
  head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml