packages feed

gitlib 3.1.0.1 → 3.1.0.2

raw patch · 3 files changed

+8/−12 lines, 3 filesdep −system-filepathdep ~conduit-combinatorsdep ~filepathdep ~monad-controlPVP ok

version bump matches the API change (PVP)

Dependencies removed: system-filepath

Dependency ranges changed: conduit-combinators, filepath, monad-control

API changes (from Hackage documentation)

Files

Git/Blob.hs view
@@ -10,7 +10,6 @@ import           Data.Tagged import           Data.Text as T import           Data.Text.Encoding as T-import           Filesystem.Path.CurrentOS import           Git.Types  createBlobUtf8 :: MonadGit r m => Text -> m (BlobOid r)@@ -48,11 +47,11 @@ blobToLazyByteString (Blob _ contents) = blobContentsToLazyByteString contents  writeBlob :: (MonadGit r m, MonadIO m, MonadResource m)-          => Prelude.FilePath -> BlobContents m -> m ()+          => FilePath -> BlobContents m -> m () writeBlob path (BlobString bs)         = liftIO $ B.writeFile path bs-writeBlob path (BlobStringLazy bs)     = sourceLazy bs $$ sinkFile (decodeString path)-writeBlob path (BlobStream str)        = str $$ sinkFile (decodeString path)-writeBlob path (BlobSizedStream str _) = str $$ sinkFile (decodeString path)+writeBlob path (BlobStringLazy bs)     = sourceLazy bs $$ sinkFile path+writeBlob path (BlobStream str)        = str $$ sinkFile path+writeBlob path (BlobSizedStream str _) = str $$ sinkFile path  treeBlobEntries :: MonadGit r m                 => Tree r -> m [(TreeFilePath, BlobOid r, BlobKind)]
Git/Tutorial.hs view
@@ -39,8 +39,6 @@ > repo <- openOrCreateRepository path False -- False here means "not bare" > ... make use of the repository ... -   Note that the 'path' variable here is of type 'Filesystem.Path.FilePath',-   since @gitlib@ almost never uses the 'String' type. -}  {- $references
gitlib.cabal view
@@ -1,5 +1,5 @@ Name:                gitlib-Version:             3.1.0.1+Version:             3.1.0.2 Synopsis:            API library for working with Git repositories License-file:        LICENSE License:             MIT@@ -43,20 +43,19 @@         , base16-bytestring    >= 0.1.1.5         , bytestring           >= 0.9.2.1         , conduit              >= 1.1.0-        , conduit-combinators  >= 0.2.4+        , conduit-combinators  >= 1         , containers           >= 0.4.2.1         , directory            >= 1.1.0.2         , exceptions           >= 0.5-        , filepath             >= 1.3.0.0+        , filepath             >= 1.4         , hashable             >= 1.1.2.5         , lifted-async         >= 0.1.1         , lifted-base          >= 0.2-        , monad-control        >= 0.3.2.1+        , monad-control        <  1.1         , monad-logger         >= 0.3.4.1         , mtl                  >= 2.1.2         , resourcet            >= 1.1.0         , semigroups           >= 0.11-        , system-filepath      >= 0.4.10         , tagged               >= 0.2.3.1         , text                 >= 0.11.2         , time                 >= 1.4