Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix installing on a clean Haskell Platform - fixed a dependency with http-conduit as well #3

Merged
merged 9 commits into from

2 participants

@AaronFriel

As per the single commit included:

auth.hs uses set-uri only in http-conduit >= 1.8.5
auth.hs uses Crypto.Classes exported by crpyto-api
request.hs uses Network.HTTP.Base exported by HTTP
{#-LANGUAGE OverloadedStrings #-} needed in api.hs to use overloaded
strings for Header, Method types

These issues were hidden by some combination of cabal-dev and/or testing
in GHCi.

and others added some commits
@paf31 Update readme 3c52a8b
@paf31 Updated copyright 21514f7
@paf31 Update cabal file d8d5314
@paf31 Version 5a4cf43
@paf31 version history 2c6a4d9
@paf31 markdown bd6bae6
@AaronFriel AaronFriel tablestorage.cabal fixes for clean install
auth.hs uses set-uri only in http-conduit >= 1.8.5
auth.hs uses Crypto.Classes exported by crpyto-api
request.hs uses Network.HTTP.Base exported by HTTP
{#-LANGUAGE OverloadedStrings #-} needed in api.hs to use overloaded
strings for Header, Method types

These issues were hidden by some combination of cabal-dev and/or testing
in GHCi.
a8a2791
@AaronFriel

According to stackoverflow the inclusion of existing commits is normal when merging back into an upstream repository. Sorry for the extra notifications.

@paf31 paf31 merged commit 3775b77 into paf31:master
@paf31
Owner

I've merged this, but I'm unable to build due to out-of-date packages. Looks like Hackage is down, but I'll take a look when I can update my dev environment.

@AaronFriel

Confirmed Hackage appears to be down. The past day or so I've been trying to get profiling going to ensure the PureMD5 package is the best choice - it looks like there are a few other MD5 implementations but I'm stuck not being able to browse their APIs right now.

I'm also going to add an issue shortly that I will be taking care of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 14, 2012
  1. @AaronFriel

    Update readme

    authored AaronFriel committed
  2. @AaronFriel

    Updated copyright

    authored AaronFriel committed
  3. @AaronFriel

    Update cabal file

    authored AaronFriel committed
  4. @AaronFriel

    Version

    authored AaronFriel committed
  5. @AaronFriel

    version history

    authored AaronFriel committed
  6. @AaronFriel

    markdown

    authored AaronFriel committed
  7. @AaronFriel

    tablestorage.cabal fixes for clean install

    AaronFriel authored
    auth.hs uses set-uri only in http-conduit >= 1.8.5
    auth.hs uses Crypto.Classes exported by crpyto-api
    request.hs uses Network.HTTP.Base exported by HTTP
    {#-LANGUAGE OverloadedStrings #-} needed in api.hs to use overloaded
    strings for Header, Method types
    
    These issues were hidden by some combination of cabal-dev and/or testing
    in GHCi.
  8. @AaronFriel
  9. @AaronFriel

    Fix dev account scheme to include colon

    AaronFriel authored
    This is just a quirk of switching to http-conduit
This page is out of date. Refresh to see the latest.
View
4 LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2012, Phil Freeman
+Copyright (c) Phil Freeman, Aaron Friel 2012
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -21,4 +21,4 @@ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
13 README.md
@@ -1,6 +1,13 @@
-tablestorage-0.1
-================
+tablestorage-0.1.2
+==================
A Haskell wrapper for the Azure Table Storage REST API.
-Currently supports table and entity operations, but not pagination and projections.
+Currently supports table and entity operations, but not pagination and projections.
+
+Version History
+===============
+
+- 0.1.2 - Aaron Friel: HTTPS support, request format now consistent with the .NET implementation
+- 0.1.1 - Updated error handling mechanism, tidied exports
+- 0.1.0 - Initial version
View
1  src/Network/TableStorage/API.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE OverloadedStrings #-}
-- |
-- This module provides functions wrapping the Azure REST API web methods.
View
2  src/Network/TableStorage/Development.hs
@@ -13,7 +13,7 @@ import Network.TableStorage.Types
-- An account for the storage emulator
--
developmentAccount :: Account
-developmentAccount = Account { accountScheme = "http",
+developmentAccount = Account { accountScheme = "http:",
accountHost = "127.0.0.1" ,
accountName = "devstoreaccount1",
accountPort = 10002,
View
12 tablestorage.cabal
@@ -1,14 +1,14 @@
name: tablestorage
-version: 0.1.1.0
+version: 0.1.2.0
cabal-version: >= 1.2
build-type: Simple
-author: Phil Freeman <paf31-at-cantab.net>
+author: Phil Freeman, Aaron Friel
stability: experimental
maintainer: Phil Freeman <paf31@cantab.net>
homepage: http://github.com/paf31/tablestorage
category: Web, Database, API
license: BSD3
-copyright: (c) Phil Freeman 2012
+copyright: (c) Phil Freeman, Aaron Friel 2012
data-files:
LICENSE,
tablestorage.cabal
@@ -28,7 +28,7 @@ library
bytestring,
utf8-string,
base64-bytestring,
- http-conduit,
+ http-conduit >= 1.8.5,
conduit,
http-types,
pureMD5,
@@ -36,7 +36,9 @@ library
time,
xml,
old-locale,
- mtl
+ mtl,
+ crypto-api,
+ HTTP
ghc-options: -Wall
exposed-modules:
Network.TableStorage,
Something went wrong with that request. Please try again.