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

This commit is contained in:
Joey Hess 2016-02-03 16:59:04 -04:00
commit 09b369ba7e
Failed to extract signature
5 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,40 @@
### Please describe the problem.
Cannot add gitlab repository on Android.
### What steps will reproduce the problem?
After attempting to add a gitlab repository on git-annex assistant, I am presented with a ssh key and prompted to add it to my gitlab account. After doing so and continuing, git-annex assistant returns to the same page and presents the ssh key again. Attempting to continue repeats the cycle as the ssh key is presented over and over.
### What version of git-annex are you using? On what operating system?
Stable version for Lollipop (I experienced this same error on Kit Kat ~6 months ago but could not resolve it at that point)
Android 5.0 git-annex.apk
### Please provide any additional information below.
In the git-annex assistant log I see:
No ECDSA host key is known for gitlab.com and you have requested strict checking.
Host key verification failed.
No ECDSA host key is known for gitlab.com and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository
Please make sure you have the correct access rights and the repository exists.
Host key verification failed.
Host key verification failed.
fatal: Could not read from remote repository.
I resolved the issue by opening a new terminal window, attempting to connect to gitlab (ssh git@gitlab.com), verifying the ECDSA key against the gitlab website (https://about.gitlab.com/gitlab-com/) and accepting the key. The file .ssh/known_hosts was created. The gitlab repository could then be added in git annex assistant.
The lack of information about the error presented to the user in git annex assistant was part of the problem.
[[!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)

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="anarcat"
subject="all those parenthesis..."
date="2016-02-02T22:56:51Z"
content="""
... is that lisp showing through your haskell sir? :)
jokes aside, it's cool that you can actually do that, i didn't know! is the \"non-space expression\" new too?
"""]]

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="Jan"
subject="comment 7"
date="2016-02-03T02:49:01Z"
content="""
I can confirm that Remi's suggestion does work as expected, thanks!
$ git annex sync --content
get 2014/2014-06-14/IMG_1448.JPG (from origin...) (checksum...) ok
copy 2014/2014-06-14/IMG_1448.JPG copy 2014/2014-06-14/IMG_1448.JPG (to usb...) ok
drop 2014/2014-06-14/IMG_1448.JPG ok
"""]]

View file

@ -0,0 +1,11 @@
[[!comment format=mdwn
username="konubinix"
subject="git-annex-getcopy.sh"
date="2016-02-03T12:32:55Z"
content="""
To do that, I created a simple bash script that get locally the files and then copies them to the remote
https://github.com/Konubinix/Devel/blob/master/bin/git-annex-getcopy.sh
I hope that helps.
"""]]

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="atrent"
subject="adding a simple counter?"
date="2016-02-03T07:48:10Z"
content="""
could you add a simple file counter?
i.e. for a single \"git annex copy/get/etc.\" operation initiating a file counter and incrementing it on every examined file (transferred or not), thus giving a very rough idea of the progress on the whole set (the user should know the amount of files in the annex)
"""]]