2019-12-24 21:00:33 +01:00
|
|
|
Add a task to [taskwarrior](http://taskwarrior.org) via email. Makes use of the
|
|
|
|
[taskw](https://github.com/ralphbean/taskw) Python bindings.
|
|
|
|
|
|
|
|
|
|
|
|
For use with procmail or maildrop. Example using maildrop's `.mailfilter`:
|
|
|
|
|
|
|
|
~~~
|
|
|
|
if ($SIZE < 8192 && /^From:.*myaddress@example.com/ && /^To:.*taskwarrior@/)
|
|
|
|
{
|
|
|
|
log "add task via mail2taskwarrior"
|
|
|
|
xfilter "devel/mail2taskwarrior/mail2taskwarrior"
|
|
|
|
exit
|
|
|
|
}
|
|
|
|
~~~
|
2020-09-13 17:45:05 +02:00
|
|
|
|
|
|
|
Make a RPM
|
|
|
|
----------
|
|
|
|
If needed:
|
|
|
|
* Update version in `setup.py`
|
|
|
|
* Commit
|
2020-09-13 17:50:35 +02:00
|
|
|
* Tag using `git tag -a -m 'vx.y.z' 'vx.y.z'`
|
2020-09-13 17:45:05 +02:00
|
|
|
* Push tags
|
2020-09-13 17:50:35 +02:00
|
|
|
* Also to GitHub!
|
2020-09-13 17:45:05 +02:00
|
|
|
|
|
|
|
Make the RPM:
|
|
|
|
* `python setup.py bdist_rpm`
|