packages feed

stackage-upload 0.1.0.0 → 0.1.0.1

raw patch · 3 files changed

+10/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.1.0.1++* Add handling of 503 error code+ ## 0.1.0.0  * Initial release
Stackage/Upload.hs view
@@ -212,6 +212,11 @@                         putStrLn "Usually means: you've already uploaded this package/version combination"                         putStrLn "Ignoring error and continuing, full message from Hackage below:\n"                         printBody res+                    503 -> do+                        putStrLn "service unavailable"+                        putStrLn "This error some times gets sent even though the upload succeeded"+                        putStrLn "Check on Hackage to see if your pacakge is present"+                        printBody res                     code -> do                         putStrLn $ "unhandled status code: " ++ show code                         printBody res
stackage-upload.cabal view
@@ -1,8 +1,5 @@--- Initial stackage-upload.cabal generated by cabal init.  For further --- documentation, see http://haskell.org/cabal/users-guide/- name:                stackage-upload-version:             0.1.0.0+version:             0.1.0.1 synopsis:            A more secure version of cabal upload which uses HTTPS description:         For more information, see <https://www.stackage.org/package/stackage-upload> homepage:            https://github.com/fpco/stackage-upload