Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
1d2c82325a
7 changed files with 87 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
||||||
|
### Please describe the problem.
|
||||||
|
|
||||||
|
I am using a ssh-host configured in .ssh/config in a corporate-environment like this:
|
||||||
|
|
||||||
|
[[!format sh """
|
||||||
|
Host home
|
||||||
|
Hostname 1.2.3.4
|
||||||
|
Port 443
|
||||||
|
ProxyCommand corkscrew proxy.fqdn 8080 %h %p ~/.authfile
|
||||||
|
# http://www.agroman.net/corkscrew/
|
||||||
|
"""]]
|
||||||
|
|
||||||
|
I now want to be able to add this host as a remote repository, but don't have the ability to add it. A tunnel to localhost would be possible but then I would have to setup this portforwarding for git-annex separately every time it is started.
|
||||||
|
|
||||||
|
### What steps will reproduce the problem?
|
||||||
|
|
||||||
|
Add a remote host that is only reachable through a proxy.
|
||||||
|
|
||||||
|
### What version of git-annex are you using? On what operating system?
|
||||||
|
|
||||||
|
gentoo
|
||||||
|
git-annex-5.20141125 {+assistant +cryptohash +dbus +desktop-notify +dns +feed +inotify +pairing +production +quvi +s3 +tahoe +tdfa +testsuite +webapp +webapp-secure +webdav +xmpp}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Is it possible to use this predefined host, or add the possibility to configure git-annex like above?
|
|
@ -0,0 +1,12 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8"
|
||||||
|
nickname="Juan"
|
||||||
|
subject="I finally solved it"
|
||||||
|
date="2014-12-02T01:32:34Z"
|
||||||
|
content="""
|
||||||
|
I fnally made it work. I tried git-annex sync wihtout luck. What tricked me was the size of the bare repo, it made me thought that it had the files. However after I've made a git annex get on the bare repo it got all the files and after that everthing worked as expected.
|
||||||
|
So, if I don't get you wrong, it is safer to use a bare repo on the USB drive?
|
||||||
|
Thanks for the help.
|
||||||
|
Best regards,
|
||||||
|
Juan
|
||||||
|
"""]]
|
|
@ -0,0 +1,14 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="https://www.google.com/accounts/o8/id?id=AItOawmTNrhkVQ26GBLaLD5-zNuEiR8syTj4mI8"
|
||||||
|
nickname="Juan"
|
||||||
|
subject="I figured it out"
|
||||||
|
date="2014-12-02T01:48:38Z"
|
||||||
|
content="""
|
||||||
|
I'm not new to git, and I perfectly know how to revert commits, however, I was confused about how git annex and git play together. In particular I tried to use it as a black box with the assistant and that was a bad idea.
|
||||||
|
After adding the usb drive as remote with the assitant, all symlinks got deleted. However, doing a checkout to the commit that messed up everything I got thing back to normal.
|
||||||
|
Sadly, your message arrived a couple of hours late, I could have saved me a lot of time.
|
||||||
|
Thanks for taking the time to answer.
|
||||||
|
Sorry for the previous rant.
|
||||||
|
Best regards,
|
||||||
|
Juan
|
||||||
|
"""]]
|
10
doc/forum/metadata_limits.mdwn
Normal file
10
doc/forum/metadata_limits.mdwn
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Hello,
|
||||||
|
|
||||||
|
I was wondering what `The metadata values can contain absolutely anything you like -- but you're recommended to keep it simple and reasonably short.` listed on the [[metadata]] page really means?
|
||||||
|
|
||||||
|
|
||||||
|
Here is my use case (which is part of a larger solution)...
|
||||||
|
|
||||||
|
I've been storing my photos in git annex for a while (years perhaps), I (or actually the wife) tried to find one and couldn't, so I'm thinking I need to add metadata (Tags and captions, etc) to each picture. I was looking for ways to do so. I was actually considering using gthumb or shotwell or similar to create the tags and somehow pull that out and associate it with the file (either with a plugin or program) and then sort out how to distribute the metadata with the pics. The git annex metadata seems like a reasonable solution for keeping metadata with the pictures. The question is in this case, how long can the text in say a caption tag before git-annex has problems? I could probably do something like caption-<seq> to handle really long captions, but then captions are short by definition, so perhaps I should say description instead. And for this particular use case, I am aware this doesn't solve the problem of actually creating the data, just trying to sort out if get annex metadata to the right solution to tie the metadata to a pic, err file.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="vho"
|
||||||
|
subject="Still stuck"
|
||||||
|
date="2014-12-02T09:59:20Z"
|
||||||
|
content="""
|
||||||
|
vincent@berlioz:~/photos2$ git config --global pack.packSizeLimit 100m
|
||||||
|
vincent@berlioz:~/photos2$ git config --global pack.windowMemory 100m
|
||||||
|
vincent@berlioz:~/photos2$ git config --global pack.threads 1
|
||||||
|
vincent@berlioz:~/photos2$ time git gc
|
||||||
|
error: pack-objects died of signal 9
|
||||||
|
error: failed to run repack
|
||||||
|
|
||||||
|
real 21m29.451s
|
||||||
|
user 1m31.414s
|
||||||
|
sys 0m9.141s
|
||||||
|
|
||||||
|
:(
|
||||||
|
|
||||||
|
"""]]
|
5
doc/forum/some_symlinks_left_in_direct_mode.mdwn
Normal file
5
doc/forum/some_symlinks_left_in_direct_mode.mdwn
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Dear all,
|
||||||
|
I have a repository in direct mode which still has some symlinks pointing to .git/annex/objects. Is there a way to turn them back into regular files. I don't recall why this happen, I guess I started on indirect mode and after that I converted it to direct mode.
|
||||||
|
Thanks in advance.
|
||||||
|
Best regards,
|
||||||
|
Juan
|
1
doc/users/james.mdwn
Normal file
1
doc/users/james.mdwn
Normal file
|
@ -0,0 +1 @@
|
||||||
|
hello, I am [[James Richardson|http://jamestechnotes.com/]].
|
Loading…
Add table
Add a link
Reference in a new issue