packages feed

filestore 0.6.3.3 → 0.6.3.4

raw patch · 4 files changed

+15/−3 lines, 4 filesdep ~basedep ~containersPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, containers

API changes (from Hackage documentation)

- Data.FileStore.Types: instance GHC.Exception.Exception Data.FileStore.Types.FileStoreError
+ Data.FileStore.Types: instance GHC.Exception.Type.Exception Data.FileStore.Types.FileStoreError
- Data.FileStore.Generic: data Diff a :: * -> *
+ Data.FileStore.Generic: data Diff a
- Data.FileStore.Types: data UTCTime :: *
+ Data.FileStore.Types: data UTCTime
- Data.FileStore.Utils: hashsMatch :: (Eq a) => [a] -> [a] -> Bool
+ Data.FileStore.Utils: hashsMatch :: Eq a => [a] -> [a] -> Bool

Files

CHANGES view
@@ -1,3 +1,9 @@+Version 0.6.3.4 released 21 Dec 2018++* Document git version requirement (#4).+* Fix test suite failure when git not configured (#16).+* Relax containers version bounds to support 0.6.* (Phil Ruffwind).+ Version 0.6.3.3 released 14 May 2018  * Use build-type Simple (hvr).
Data/FileStore/Git.hs view
@@ -13,6 +13,9 @@    A versioned filestore implemented using git.    Normally this module should not be imported: import    "Data.FileStore" instead.++   It is assumed that git >= 1.7.2 is available on+   the system path. -}  module Data.FileStore.Git
filestore.cabal view
@@ -1,5 +1,5 @@ Name:                filestore-Version:             0.6.3.3+Version:             0.6.3.4 Cabal-Version:       >= 1.10 Build-type:          Simple Synopsis:            Interface for versioning file stores.@@ -30,7 +30,7 @@ Library     Build-depends:       base >= 4 && < 5,                          bytestring >= 0.9 && < 1.0,-                         containers >= 0.3 && < 0.6,+                         containers >= 0.3 && < 0.7,                          utf8-string >= 0.3 && < 1.1,                          filepath >= 1.1 && < 1.5,                          directory >= 1.0 && < 1.4,@@ -64,7 +64,7 @@     Hs-source-dirs: tests     Main-is:        Tests.hs     Default-Language:  Haskell98-    Build-depends:  base >= 4 && < 5,+    Build-depends:  base >= 4.7 && < 5,                     HUnit >= 1.2 && < 1.7,                     mtl,                     time,
tests/Tests.hs view
@@ -10,10 +10,13 @@ import System.FilePath import Data.Algorithm.Diff (Diff(..)) import System.Exit+import System.Environment (setEnv)  data FileStoreType = Darcs | Git | Mercurial deriving (Show, Eq)  main = do+  setEnv "GIT_AUTHOR_NAME" "Fake Name"+  setEnv "GIT_AUTHOR_EMAIL" "fake.email@example.com"   gc <- testFileStore (gitFileStore "tmp/gitfs") Git   -- dc <- testFileStore (darcsFileStore "tmp/darcsfs") Darcs   mc <- testFileStore (mercurialFileStore "tmp/mercurialfs") Mercurial