Commit graph

29 commits

Author SHA1 Message Date
wiz
7e0f6b0727 todoman: update to 4.0.0.
v4.0.0
------

Breaking changes in the configuration format
********************************************

The configuration format is changing with release 4.0.0. We currently depend on
an unmaintained library for configuration. It's not currently in a working
state, and while some distributions are patching it, setting up a clean
environment is a bit non-trivial, and the situation will only degrade in future.

The changes in format are be subtle, and also come with an intention to add
further extensibility in future. Configuration files will be plain python. If
you don't know Python don't worry, you don't _need_ to know Python.

I'll take my own config as a reference. The pre-4.0.0 format is:

```dosini
[main]
path = ~/.local/share/calendars/*
time_format = '%H:%M'
default_list = todo
humanize = true
startable = true
```

The 4.0.0 version would look like this:

```python
path = "~/.local/share/calendars/*"
time_format = "%H:%M"
default_list = "todo"
humanize = True
startable = True
```

Key differences:

- The `[main]` header is no longer needed.
- All strings must be quoted (this was previously optional).
- True and False start with uppercase.
- Using `yes` or `on` is no longer valid; only `True` and `False` are valid.

That's basically it. This lets up drop the problematic dependency, and we don't
actually need anything to read the config: it's just python code like the rest
of `todoman`!

For those users who _are_ python developers, you'll note this gives some
interesting flexibility: you CAN add any custom python code into the config
file. For example, you can defined the `path` programatically:

```python
def get_path() -> str:
    ...


path = get_path
```

Dropped support
***************

* Dropped support older Python versions. Only 3.8 and 3.9 are now supported.

Minor changes
*************

* Added support for python 3.9.
* The dependency `configobj` is no longer required.
* Click 8.0 is now supported.
* Fix crash when ``default_command`` has arguments.
2021-05-23 11:08:39 +00:00
wiz
2838518185 todoman: update to 3.9.0.
v3.9.0
------

* The man page has been improved. ``sphinx-click`` is now required to build the
  documentation.
2020-12-06 10:40:33 +00:00
nia
f6dd9d2f87 Revbump packages with a runtime Python dep but no version prefix.
For the Python 3.8 default switch.
2020-12-04 20:44:57 +00:00
wiz
3582bed9fe todoman: update to 3.8.0.
v3.8.0
----------
* Don't display list if there's only one list (of one list has been specified).
* Fixed several issues when using dates with no times.
* Dropped support for Python 3.4.
2020-07-17 23:20:19 +00:00
rillig
191ad3f718 misc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 17:04:19 +00:00
wiz
2b3b2e33fe todoman: update to 3.7.0.
Changes not found.
2019-10-10 13:23:14 +00:00
wiz
9622778c15 todoman: update to 3.6.0.
v3.6.0
------
* Allow passing a custom configuration file with the ``--config/-c`` option.
* Cached list metadata is now invalidated when it has changed on-disk.
* Support for click < 6.0 has been dropped (it wasn't actually working
  perfectly any more anyway). Click 7.x is the only currently supported
  version.
* ``click-repl`` is now listed as an optional dependency. It is required for
  the ``todo repl`` command.
* Add the ``default_priority`` config setting.
2019-10-10 12:24:28 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
wiz
978d853608 todoman: update to 3.5.0.
v3.5.0
------
* Fix crashes due to API changes in icalendar 4.0.3.
* Dropped compatibility for icalendar < 4.0.3.
2018-12-01 14:31:10 +00:00
wiz
64387dd195 todoman: update to 3.4.0.
v3.4.0
------

* Add ``-r`` option to ``new`` to read description from ``stdin``.
* Add a dedicated zsh completion function.
* Lists matching is now case insensitive, unless there are multiple lists with
  colliding names, in which case those will be treated case-sensitive.
* Fix some tests that failed due to test dependency changes.
2018-05-26 22:13:08 +00:00
wiz
e44e72cd40 todoman: update to 3.3.0.
v3.3.0
------

* New runtime dependency: ``click-log``.
* Drop support for Python 3.3, which has reached its end of life cycle.
* Add `--raw` flag to `edit`. This allows editing the raw icalendar file, but
  **only use this if you really know what you're doing**. There's a big risk of
  data loss, and this is considered a developer / expert feature!
2018-01-28 16:43:53 +00:00
wiz
447c117809 todoman: update to 3.2.4.
v3.2.4

    Deploy new versions to PyPI using twine. Travis doesn’t seem
    to be working.

v3.2.3

    Tests should no longer fail with pyicu installed.
    Improved documentation regarding how to test locally.

v3.2.2

    Initial support for (bash) autocompletion.
    The location field is not printed as part of --porcelain.
2017-09-13 08:40:02 +00:00
wiz
7b58333b15 Updated todoman to 3.2.1.
v3.2.1
------

* Fix start-up crash caused by click_log interface change.
* Dropped runtime dependency: ``click_log``.
2017-09-04 14:44:58 +00:00
wiz
e877c014aa Updated todoman to 3.2.0.
v3.2.0
------

* Completing recurring todos now works as expected and does not make if
  disappear forever.
2017-05-17 11:17:35 +00:00
wiz
1a25294e0f Add missing BUILD_DEPENDS. 2017-05-04 22:48:24 +00:00
wiz
c42f1fe30d Updated todoman to 3.1.0.
v3.1.0
------

* Last-modified fields of todos are now updated upon edition.
* Sequence numbers are now properly increased upon edition.
* Add new command ``todo cancel`` to cancel an existing todo without deleting
  it.
* Add a new setting ``default_command``.
* Replace ``--all`` and ``--done-only`` with  ``--status``, which allows
  fine-grained status filtering. Use ``--status ANY`` or ``--status COMPLETED``
  to obtain the same results as the previous flags.
* Rename ``--today`` flag to ``--startable``.
* Illegal start dates (eg: start dates that are not before the due date) are
  ignored and are removed when saving an edited todo.
2017-04-27 13:09:30 +00:00
wiz
2119c02ab5 Revert previous now that py-setuptools is fixed. 2017-04-23 06:58:47 +00:00
wiz
063286bce4 Fix PLIST after update. 2017-04-22 07:26:44 +00:00
wiz
5f73be23c6 Fix test dependencies and remove then unnecessary patch.
No change to binary package.
2017-04-04 14:44:14 +00:00
wiz
ffbe4428a6 Add upstream bug report URL. 2017-04-04 12:21:26 +00:00
wiz
83d8c65800 Updated todoman to 3.0.1.
v3.0.0
------

New features
~~~~~~~~~~~~

* Add a ``today`` setting and flag to exclude todos that start in the future.
* Add the ``--humanize`` to show friendlier date times (eg: ``in 3 hours``).
* Drop ``--urgent`` and introduced ``--priority``, which allows fine-filtering
  by priority.
* Add support for times in due dates, new ``time_format`` setting.
* Use the system's date format as a default.
* Add list selector to the interactive editor.
* Add ``--start=[before|after] [DATE]`` option for ``list`` to only show
  todos starting before/after given date.
* Add flag "--done-only" to todo list. Displays only completed tasks.
* Make the output of move, delete, copy and flush consistent.
* Porcelain now outputs proper JSON, rather than one-JSON-per-line.
* Increment sequence number upon edits.
* Print a descriptive message when no lists are found.
* Add full support for locations.

Packaging changes
~~~~~~~~~~~~~~~~~

* New runtime dependency: ``tabulate``.
* New supported python version: ``pypy3``.
* Include an alternative [much faster] entry point (aka "bin") which we
  recommend all downstream packagers use. Please see the :ref:`Notes for
  Packagers <notes-for-packagers>` documentation for further details.
2017-04-04 11:45:24 +00:00
wiz
26c6a7a0c1 does not support python-2.x, mark it as such. 2017-03-24 16:57:36 +00:00
wiz
14ea8c6e41 Updated todoman to 2.1.0.
v2.1.0
------

* The ``--no-human-time`` flag is gone. Integrations/scripts might want to look
  at ``--porcelain`` as an alternative.
* Fix crash when running ``todo new``.
* Fixes some issues when filtering todos from different timezones.
* Attempt to create the cache file's directory if it does not exist.
* Fix crash when running ``--porcelain show``.
* Show ``id`` for todos everywhere (eg: including new, etc).
* Add the ``ctrl-s`` shortcut for saving in the interactive editor.
2017-02-27 10:24:11 +00:00
wiz
22ab0872e2 PLIST update for todoman-2.0.2 2017-02-05 19:33:58 +00:00
wiz
52f19d12c9 Updated todoman to 2.0.2.
v2.0.2
------

* Fix a crash after editing or completing a todo.

v2.0.1
------

* Fix a packaging error.

v2.0.0
------

New features
~~~~~~~~~~~~
* New flag ``--porcelain`` for programmatic integrations to use. See the
  ``integrations`` section :doc:`here </usage>` for details.
* Implement a new :doc:`configuration option </configure>`: ``default_due``.
* The configuration file is now pre-emptively validated. Users will be warned
  of any inconsistencies.
* The ``list`` command has a new ``--due`` flag to filter tasks due soon.
* Todo ids are now persisted in a cache. They can be manually purged using
  ``flush``.

Packaging changes
~~~~~~~~~~~~~~~~~
* New runtime dependency: configobj
* New runtime dependency: python-dateutil
* New test dependency: flake8-import-order.
2017-02-05 19:30:42 +00:00
wiz
cb5cf3a01b Updated todoman to 1.8.0.
Changes not found. Git commit list at
https://github.com/pimutils/todoman/commits/master
2017-01-16 09:19:38 +00:00
wiz
2fb2f9df85 Updated todoman to 1.7.0.
No changelog found.

github changes:
Merge pull request #52 from untitaker/generic-todo-prop-params
Merge pull request #51 from nim65s/master
Remove ansi dependency (#53)
Share parameters between new and edit
Add a move command
Fix editor support (#47)
Add a copy command (#50)
Merge pull request #46 from untitaker/no-delete-button
Replace cancel button with hint to hit ctrl-c
Remove delete button from editor
Exclude buggy setuptools-scm version
Show error messages in UI (#43)
delete cmd: Show tasks that will be deleted (#44)
Fix tests
done cmd: Show done tasks (#45)
Don't strip time from datetime objects (#41)
Add `default_list` in config for new todos (#40)
Add shortcut to edit textfield in editor (#39)
Merge pull request #6 from pimutils/widget-improvements
Add basic editing shortcuts to text widgets
Merge pull request #38 from untitaker/coc
Add CoC
Merge pull request #37 from untitaker/glob-clarify
Clarify what path is supposed to match
Don't require setuptool_scm at runtime
Fix inconsistent minimum todo ID
Merge pull request #30 from untitaker/color-option
Implement color option
Fix typo
2016-11-07 11:45:47 +00:00
wiz
cd8b4aaa70 Update some comments. 2016-08-02 23:25:27 +00:00
wiz
fb41f2e5a5 Import todoman-1.6.3 as misc/todoman.
Todoman is a simple, standards-based, CLI todo (aka: task) manager.
Todos are stored into icalendar files, which means you can sync
them via CalDAV using, for example, vdirsyncer.
2016-08-02 20:07:20 +00:00