packages feed

taskwarrior 0.1.2.3 → 0.1.2.4

raw patch · 5 files changed

+14/−7 lines, 5 files

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for taskwarrior +## 0.1.2.4++* Fix a bug where recurring masks where parsed wrong+* Further (small) documentation improvementes+ ## 0.1.2.3  * Documentation improvements
src/Taskwarrior/IO.hs view
@@ -81,10 +81,12 @@         when (exitCode /= ExitSuccess) $ fail . show $ exitCode  -- | This will create a @'Task'@. I runs in @'IO'@ to create a @'UUID'@ and get the current time. This will not save the @'Task'@ to taskwarrior.--- If you want to create a task, with certain fields and save it, you could do that like this:+-- If you want to create a task with certain fields and save it you could do that like this: ----- > newTask <- 'createTask' "Buy Milk"--- > 'saveTasks' [newTask { 'tags' = ["groceries"] }]+-- @+-- newTask <- 'createTask' "Buy Milk"+-- 'saveTasks' [newTask { 'tags' = ["groceries"] }]+-- @ createTask :: Text -> IO Task createTask description = do   uuid  <- getStdRandom random
src/Taskwarrior/Mask.hs view
@@ -18,7 +18,7 @@  toChar :: MaskState -> Char toChar = \case-  Pending   -> '.'+  Pending   -> '-'   Completed -> '+'   Deleted   -> 'X'   Waiting   -> 'W'@@ -29,7 +29,7 @@  parseChar :: Char -> Aeson.Types.Parser MaskState parseChar = \case-  '.'  -> pure Pending+  '-'  -> pure Pending   '+'  -> pure Completed   'X'  -> pure Deleted   'W'  -> pure Waiting
src/Taskwarrior/Task.hs view
@@ -65,7 +65,7 @@         uda         :: UDA } deriving (Eq, Show, Read) --- | A Tag can be basically any string. But beware: Special symbols work but might clash with `task` cli syntax.+-- | A Tag can be basically any string. But beware: Special symbols work but might clash with `task` cli syntax. As an example you can use a space in a @'Tag'@. But then you cannot use @task +my tag@ on the command line. type Tag = Text  
taskwarrior.cabal view
@@ -4,7 +4,7 @@ -- PVP summary:     +-+------- breaking API changes --                  | | +----- non-breaking API additions --                  | | | +--- code changes with no API change-version: 0.1.2.3+version: 0.1.2.4 synopsis:           Types and aeson instances for taskwarrior tasks description:   Types and aeson instances for the https://taskwarrior.org task import/export feature