Added a comment

This commit is contained in:
jpds 2023-02-09 09:51:21 +00:00 committed by admin
parent 11b250352c
commit 95c1e0e805

View file

@ -0,0 +1,42 @@
[[!comment format=mdwn
username="jpds"
avatar="http://cdn.libravatar.org/avatar/24d746ec6a7726b162c12ecceb3ee267"
subject="comment 10"
date="2023-02-09T09:51:21Z"
content="""
Thank you for the changes Joey, I can confirm that it's working and I've added this to the garage docs: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/502
I did however have to change git-annex's stack.yaml as follows to make this compile:
```
diff --git a/stack.yaml b/stack.yaml
index 7dbfb657a..cf2db080b 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -11,10 +11,10 @@ flags:
gitlfs: true
packages:
- '.'
-resolver: lts-18.13
+resolver: lts-19.16
extra-deps:
- IfElse-0.85
-- aws-0.22
+- aws-0.24
- bloomfilter-2.0.1.0
- git-lfs-1.2.0
- http-client-restricted-0.0.4
@@ -24,4 +24,4 @@ extra-deps:
- base16-bytestring-0.1.1.7
- base64-bytestring-1.0.0.3
- bencode-0.6.1.1
-- http-client-0.7.9
+- http-client-0.7.11
```
On my machine, it wasn't happy about the aeson version without the lts bump and I also hit the bug at https://github.com/snoyberg/http-client/issues/482 hence the http-client change.
> Thanks for clarifying that \"scope\" is internal jargon of garage though.
I believe that this is actually an AWS thing, as it's extensively used in their Python and Rust SDKs: https://github.com/awslabs/aws-sdk-rust/blob/66423e05991ee831696bc32fe3e452694cf0d231/sdk/s3/src/config.rs#L98
"""]]