aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-17 10:01:23 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-17 10:15:27 +0200
commitda12170e694872fd91f81a27748eed07dc3f75cc (patch)
treedb17e301360b83327ac47881cb81d409bcfef46b /app/Main.hs
parentbb88dbe078a0f16c0626a2825fd9f4d6bc775875 (diff)
add filter operators
The following filter expressions are now additionally valid: ``` --filter @tag <=VALUE --filter @tag <VALUE --filter @tag >=VALUE --filter @tag >VALUE ``` Note that negation needs some re-work. Currently, only `--filter !@tag <VALUE` is valid, and `--filter @tag !<VALUE` is not. The first version may not behave as you would expect it. A tracking issue has been created. Note that without typing tag values, all comparisons perform lexicographically on `String`s.
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 59afb73..78b95f2 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -34,15 +34,6 @@
-- Issues having a `@priority` tag whose value is not an integer should be regarded not matching the filter.
-- @topic tags
--- TODO Tag improvements (dates)
---
--- I would like anissue to support due dates when filtering. Let's for a first implementation add the following filter syntax:
---
--- `--filter '@due 2023-10-04'` for all issues that are marked `@due 2023-10-04` or with an earlier `@due` date.
---
--- Issues having a `@due` tag whose value does not follow that date format precisely should be regarded not matching the filter.
--- @topic tags
-
-- TODO Add support for ammendments
--
-- The user can ammend more information to an issue which is located at