Fix build with aws 0.16. Thanks, aristidb.
authorJoey Hess <joeyh@joeyh.name>
Tue, 7 Feb 2017 17:01:57 +0000 (13:01 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 7 Feb 2017 17:01:57 +0000 (13:01 -0400)
CHANGELOG
Remote/S3.hs
doc/bugs/aws_0.16_breaking_changes.mdwn
doc/bugs/git-annex_does_not_build_with_aws_0.16.mdwn

index 1237a2d616b60e0f8d707988dd3df5159fbd4ea0..4343b83eb187e504b8800345b69c3149cf1972d7 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -27,6 +27,7 @@ git-annex (6.20170102) UNRELEASED; urgency=medium
     shipped in a Debian stable release. If that turns out to not be the
     case, this change will need to be cherry-picked into the git-annex in
     Debian stable, or its wormhole pairing will break.
+  * Fix build with aws 0.16. Thanks, aristidb.
 
  -- Joey Hess <id@joeyh.name>  Fri, 06 Jan 2017 15:22:06 -0400
 
index 2b7c58e6fcbf16650232d9d5e6304093d39fd1a5..43d07230e7dfea3b4592c30661d83afa112b317c 100644 (file)
@@ -221,7 +221,7 @@ store _r info h = fileStorer $ \k f p -> do
                                                let popper = handlePopper numchunks defaultChunkSize p' fh
                                                let req = S3.uploadPart (bucket info) object partnum uploadid $
                                                         RequestBodyStream (fromIntegral sz) popper
-                                               S3.UploadPartResponse _ etag <- sendS3Handle h req
+                                               S3.UploadPartResponse { S3.uprETag = etag } <- sendS3Handle h req
                                                sendparts (offsetMeterUpdate meter (toBytesProcessed sz)) (etag:etags) (partnum + 1)
                        sendparts p [] 1
 
index 2560d4fca20668bf7526629e7b71e22291fb511a..e03180c347339e7ff4b4c14d3b38ed1eaff45e51 100644 (file)
@@ -40,3 +40,5 @@ BuildError: Failed executing: cabal install --jobs=8 --max-backjumps=100000 --pr
 ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
 
 Yes!
+
+> [[fixed|done]] thanks --[[Joey]]
index 28ad4a88fbd74895f708af2fde4158596709adef..9af37260096030acd0fb2623778a5b5c0bf3bff9 100644 (file)
@@ -48,4 +48,4 @@ Not sure, I got this build failure report from ilovezfs who I think uses Max OS
 
 ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
 
-
+> [[fixed|done]], thanks --[[Joey]]