This commit is contained in:
basile.pinsard@f1a7fae9f3bd9d5282fca11f62ad53b45a8eb317 2020-02-28 20:32:26 +00:00 committed by admin
parent e40f7f3020
commit dba1a09e97

View file

@ -0,0 +1,51 @@
### Please describe the problem.
I am trying to create a new remote on a S3 server, the exporttree option seems not to work anymore.
```
$ git annex initremote -d s3.bucket type=S3 encryption=none exporttree=no autoenable=true host=hostname.com port=443 protocol=https chunk=1GiB bucket=bucket_xxx requeststyle=path
[2020-02-28 15:22:26.093] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","show-ref","git-annex"]
[2020-02-28 15:22:26.186713] process done ExitSuccess
[2020-02-28 15:22:26.187001] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","show-ref","--hash","refs/heads/git-annex"]
[2020-02-28 15:22:26.210825] process done ExitSuccess
[2020-02-28 15:22:26.22362] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","log","refs/heads/git-annex..f67678abc873eca16b44dc7f882d3c14fb64fa42","--pretty=%H","-n1"]
[2020-02-28 15:22:26.240175] process done ExitSuccess
[2020-02-28 15:22:26.240441] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","log","refs/heads/git-annex..771bb68d6cb2e0a554e2e141979b33684e288a38","--pretty=%H","-n1"]
[2020-02-28 15:22:26.251669] process done ExitSuccess
[2020-02-28 15:22:26.254536] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","cat-file","--batch"]
[2020-02-28 15:22:26.256351] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","cat-file","--batch-check=%(objectname) %(objecttype) %(objectsize)"]
initremote bucket_xxx
git-annex: Unexpected parameters: exporttree
failed
[2020-02-28 15:22:26.307771] process done ExitSuccess
[2020-02-28 15:22:26.308812] process done ExitSuccess
git-annex: initremote: 1 failed
```
### What steps will reproduce the problem?
see above.
### What version of git-annex are you using? On what operating system?
Ubuntu18.04LTS
```
git-annex version: 7.20200219-g5094a3f
build flags: Assistant Webapp Pairing S3 WebDAV Inotify DBus DesktopNotify TorrentParser MagicMime Feeds Testsuite
dependency versions: aws-0.21.1 bloomfilter-2.0.1.0 cryptonite-0.25 DAV-1.3.3 feed-1.0.1.0 ghc-8.6.5 http-client-0.5.14 persistent-sqlite-2.9.3 torrent-10000.1.1 uuid-1.3.13 yesod-1.6.0
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs hook external
operating system: linux x86_64
supported repository versions: 7
upgrade supported from repository versions: 0 1 2 3 4 5 6
local repository version: 7
```
### 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!