Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2016-09-03 10:52:55 -04:00
commit cc21979e66
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
11 changed files with 108 additions and 3 deletions

View file

@ -0,0 +1,24 @@
### Please describe the problem. / What steps will reproduce the problem?
1. Download http://downloads.kitenet.net/git-annex/android/current/5.0/git-annex.apk
2. Start the App
3. Error Message
* CANNOT LINK EXECUTABLE "git-annex": /data/app/ga.androidterm-1/lib/arm/lib.git-annex.so has text relocations
* error: git-annex died of signal 6
### What version of git-annex are you using? On what operating system?
* Android 7.0
* Nexus 5X
* no root
* git-annex 5.0
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]
### 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)

5
doc/forum/.mdwn Normal file
View file

@ -0,0 +1,5 @@
Hi,
How git-annex-get chooses remote when it's called without the '--from' option? Is it anyhow controllable to prefer specific remotes/set priorities?
What about downloading multiple files? Does it download from multiple remotes at the same time to optimize for bandwidth?

View file

@ -0,0 +1 @@
I've initialized an external special remote (specifically, an rclone remote). It is working great. However, I would like to edit my rclone config and change the name of the rclone remote. This is the value I passed as `target=` when running `git annex initremote`. Can I change the target of the special remote in git annex? I grepped through `~/.git`, but didn't see it anywhere.

View file

@ -0,0 +1,12 @@
I set up a new git annex repo with an S3 remote. Uploading small files works file, but the process fails on larger files (>1 GB) with the following error.
copy prosper/loaninfo.p (checking s3...) (to s3...)
99% 10.7MB/s 0s
S3Error {s3StatusCode = Status {statusCode = 400, statusMessage = "Bad Request"}, s3ErrorCode = "RequestTimeout", s3ErrorMessage = "Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.", s3ErrorResource = Nothing, s3ErrorHostId = Just "< a base64 encoded string>", s3ErrorAccessKeyId = Nothing, s3ErrorStringToSign = Nothing, s3ErrorBucket = Nothing, s3ErrorEndpointRaw = Nothing, s3ErrorEndpoint = Nothing}
I tried these different options while setting up remote, but nothing worked.
partsize=1GiB
partsize=400MiB
chunk=100MiB
What am I doing wrong? Should I try an even smaller chunk sie

View file

@ -0,0 +1,11 @@
Hi,
Our need is to create a JAVA application under Windows that manages programmatically the synchronisation of a local directory structure from a remote directory on a Linux machine:
- locally the user may choose the content of the remote directory to synchronise
- then the application is able to synchronize ths content on demand or on a regular basis
Can git-annex + git a soluton that answer those requirements ?
Does git-annex expose an API callable from JAVA ?
Thank you in advance,
Regards

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="rsdwatches87@9f71875ba253cd964a0afe4d2c72bbca4c42634e"
nickname="rsdwatches87"
subject="To control file name."
date="2016-09-03T06:55:57Z"
content="""
You can use Long Path Tool to solve the issue of getting filename or extension too long while downloading. It is very useful to solve such type of problem.
"""]]

View file

@ -15,9 +15,9 @@ Emacs, which aims to integrate with the standard facilities
<https://github.com/jwiegley/git-annex-el>
He has also added support to org-attach; if
`org-attach-git-annex-cutoff' is non-nil and smaller than the size
of the file you're attaching then org-attach will `git annex add the
file`; otherwise it will "git add" it.
`org-attach-git-annex-cutoff` is non-nil and smaller than the size
of the file you're attaching then org-attach will `git annex add` the
file; otherwise it will `git add` it.
----

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="Dosenpfand"
subject="comment 6"
date="2016-09-01T18:40:31Z"
content="""
When trying to use google cloud storage i get the following error:
$ git annex initremote cloud type=S3 encryption=none host=storage.googleapis.com port=80 storageclass=NEARLINE
initremote cloud (checking bucket...) (creating bucket in US...) git-annex: S3Error {s3StatusCode = Status {statusCode = 400, statusMessage = \"Bad Request\"}, s3ErrorCode = \"MalformedHeaderValue\", s3ErrorMessage = \"An HTTP header value was malformed.\", s3ErrorResource = Nothing, s3ErrorHostId = Nothing, s3ErrorAccessKeyId = Nothing, s3ErrorStringToSign = Nothing, s3ErrorBucket = Nothing, s3ErrorEndpointRaw = Nothing, s3ErrorEndpoint = Nothing}
Does anybody know what is causing this? I am pretty sure that the credentials are correctly set and ommiting storageclass=NEARLINE does not help.
"""]]

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="interfect@b151490178830f44348aa57b77ad58c7d18e8fe7"
nickname="interfect"
subject="Windows support?"
date="2016-09-01T03:31:30Z"
content="""
The git-annex-remote-rclone solution doesn't seem to work in Windows.
I have the script on my PATH, and I'm doing everything in Git Bash. I can run the script from the shell just fine, but Git Annex itself says it can't execute it.
git-annex: Cannot run git-annex-remote-rclone -- Make sure it's in your PATH and is executable.
Presumably it doesn't know how to talk to bash.exe to get it to run the script.
"""]]

View file

@ -0,0 +1,9 @@
I would like to be able to limit the amount of space git-annex will use on a remote.
Obviously this would not limit the total amount of space used on whatever filesystem the remote is on, but would only apply to space used within the remote for the particular annex in question.
Many of the cloud storage providers that git-annex supports through special remotes have free tiers. For instance, Google offers 15GB of free storage. If I have an annex with > 15 GB of storage I don't just want to add a Google Drive special remote and start attempting to copy everything over. But it would be great to be able to take advantage of that storage by adding a special remote to the annex and telling git-annex to only use a maximum of 13 GB (to leave myself a 2 GB buffer, in case things get added to the Google Drive through some mechanism outside of the annex). I could then add the remote to a preferred content group like `backup` and do a `git-annex copy --auto gdrive`, which would copy everything to Google Drive, unless transferring the next file would cause the remote to use over 13 GB.
Currently I can see the size of a remote using `git annex info gdrive`, so git-annex appears to have the needed information.
This is sort of like `annex.diskreserve`, but more useful for special remotes where setting an amount of space to keep free is not relevant.

View file

@ -0,0 +1,7 @@
Per: https://github.com/DanielDent/git-annex-remote-rclone/pull/10
When launching an external special remote, use the shebang handling code which currently exists elsewhere in git-annex
[joeyh] """Oh, git-annex already deals with this particular windows nonsense elsewhere. When it needs to run a git hook, it parses it for a shebang. Git for windows does the same.
So, if you can please open a todo item in git-annex, I can refactor that existing code to be used in more places."""