packages feed

Villefort 0.1.2.18 → 0.1.2.19

raw patch · 3 files changed

+10/−12 lines, 3 files

Files

README.md view
@@ -1,9 +1,10 @@ # Villefort
 Villefort is a time management system written in Haskell.
 
-## Version 1.2.18
-- New json endpoint for active tasks
-- Improved logging
+## Version 1.2.19
+- New json endpoints
+- More informative output
+- Fixed configuration path in documentation
 - [Emacs Ormode intergration](https://alicereuter.com/posts/Villefort%20Orgmode%20Integration.html)
 
 ## json api
@@ -27,7 +28,7 @@ ```
 usage: Villefort [options] 
   options:
-    -r, --recompile     recompiles Villefort using a custom config file found in ~/.Villefort/villefort.hs
+    -r, --recompile     recompiles Villefort using a custom config file found in ~/.villefort/villefort.hs
     -h,                 prints this help manual
 ```
 
@@ -85,6 +86,8 @@ The next time you run villefort it will run with your custom config. The default Config is found in Villefort.Config. 
 
 ## How to copy data between versions of Villefort.
+All of Villefort's state is stored in todo.db to upgrade just install the new version and copy over the database. Remember to rebuild Villefort so that your custom build uses the new version of Villefort.
+
 1. Install the new version through cabal.
 2. Navigate to ~/.cabal .
 3. Navigate to share/ .
@@ -109,8 +112,3 @@ 	|-- templates/
 	|-- js.js
 ```
-Just copy the data/todo.db from the old version into data/todo.db of the new version.
-Remember to rebuild Villefort so that your custom build uses the new version of Villefort.
-
-    Villefort --recompile
-
Villefort.cabal view
@@ -1,5 +1,5 @@ name:                Villefort-version:             0.1.2.18+version:             0.1.2.19 synopsis: Villefort is a task manager and time tracker description: Villefort is a web based time tracker built around a portable sqlite3 database. homepage:            https://github.com/alicereuter/Villefort#readme
src/Villefort/Server.hs view
@@ -54,10 +54,10 @@   let path = database conf   args <- getArgs   case args of-    ["--custom",_] -> putStrLn "launched custom" >> launch conf +    ["--custom",_] -> putStrLn "launched custom build" >> launch conf      ["--recompile"] -> re     ["-r"] -> re-    ["-h"] -> putStrLn "usage: Villefort [options] " >> putStrLn "  options:" >> putStrLn "    -r, --recompile     recompiles Villefort using a custom config file found in ~/.Villefort/villefort.hs" >> putStrLn "    -h,                 prints this help manual"+    ["-h"] -> putStrLn "usage: Villefort [options] " >> putStrLn "  options:" >> putStrLn "    -r, --recompile     recompiles Villefort using a custom config file found in ~/.villefort/villefort.hs" >> putStrLn "    -h,                 prints this help manual"     _ -> do       if noCustom conf         then launch conf