stackage-curator 0.14.3 → 0.14.4
raw patch · 5 files changed
+11/−17 lines, 5 filesdep ~amazonkadep ~http-clientdep ~monad-unlift
Dependency ranges changed: amazonka, http-client, monad-unlift
Files
- ChangeLog.md +4/−0
- Stackage/Curator/UploadDocs.hs +1/−1
- Stackage/Curator/UploadIndex.hs +1/−1
- Stackage/Upload.hs +1/−2
- stackage-curator.cabal +4/−13
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.14.4++* Support latest Stackage Nightly [#27](https://github.com/fpco/stackage-curator/issues/27)+ ## 0.14.3 * Much improved logic for calculating if a package needs to be rebuilt
Stackage/Curator/UploadDocs.hs view
@@ -82,7 +82,7 @@ -> Text -- ^ bucket name -> IO () uploadDocs input' bundleFile name bucket = do- env <- newEnv NorthVirginia Discover+ env <- newEnv Discover unlessM (Dir.doesDirectoryExist input') $ error $ "Could not find directory: " ++ show input' input <- fmap (</> "") $ Dir.canonicalizePath input'
Stackage/Curator/UploadIndex.hs view
@@ -27,7 +27,7 @@ -> Text -- ^ key prefix -> IO () uploadIndex bpFile target bucket prefix = do- env <- newEnv NorthVirginia Discover+ env <- newEnv Discover bp <- decodeFileEither bpFile >>= either throwM return let toInclude = getToInclude bp runResourceT $ do
Stackage/Upload.hs view
@@ -35,7 +35,7 @@ -> Manager -> IO (Response LByteString) uploadHackageDistro name bp username password manager = do- req1 <- parseUrlThrow $ concat+ req1 <- parseRequest $ concat [ "https://hackage.haskell.org/distro/" , unpack name , "/packages.csv"@@ -43,7 +43,6 @@ let req2 = req1 { requestHeaders = [("Content-Type", "text/csv")] , requestBody = RequestBodyLBS csv- , checkStatus = \_ _ _ -> Nothing , method = "PUT" } httpLbs (applyBasicAuth username password req2) manager
stackage-curator.cabal view
@@ -1,5 +1,5 @@ name: stackage-curator-version: 0.14.3+version: 0.14.4 synopsis: Tools for curating Stackage bundles description: Please see <http://www.stackage.org/package/stackage-curator> for a description and documentation. homepage: https://github.com/fpco/stackage-curator@@ -14,11 +14,6 @@ ChangeLog.md test/test-build-constraints.yaml -flag monad_unlift_0_2- default: True- manual: False- description: Use monad-unlift 0.2 or newer- library default-language: Haskell2010 other-extensions: TemplateHaskell@@ -66,7 +61,7 @@ , aeson , yaml , unix-compat- , http-client >= 0.4.30+ , http-client >= 0.5 , http-conduit , http-client-tls , temporary@@ -82,7 +77,7 @@ , blaze-html , html-conduit , mime-types- , amazonka >= 1.1+ , amazonka >= 1.4.5 , amazonka-s3 , amazonka-core , xml-types@@ -99,12 +94,8 @@ , exceptions , unordered-containers , hashable-- if flag(monad_unlift_0_2)- build-depends: monad-unlift >= 0.2+ , monad-unlift >= 0.2 , monad-unlift-ref >= 0.2- else- build-depends: monad-unlift >= 0.1.1 && < 0.2 executable stackage-curator default-language: Haskell2010