Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
6cc675f62e
5 changed files with 130 additions and 0 deletions
|
@ -0,0 +1,44 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA"
|
||||
nickname="Laszlo"
|
||||
subject="comment 3"
|
||||
date="2013-01-03T22:23:36Z"
|
||||
content="""
|
||||
>> I added a new directory (empty)
|
||||
|
||||
> Sounds like you set up the repository yourself, rather than letting the assistant do it.
|
||||
> If so, it won't be in direct mode. You can git annex assistant--stop,
|
||||
> and then git annex direct to enable direct mode.
|
||||
|
||||
I added like this:
|
||||
0. no git-annex or git-annex-assistant is running
|
||||
1. create directory (/mnt/dxd/annex)
|
||||
2. launch git-annex-assistant
|
||||
3. add repository via the webbrowser
|
||||
4. copy a file over this(/mnt/dxd/annex) directory (via command line or nautilus)
|
||||
|
||||
The file is replaced with symlink.
|
||||
|
||||
This fix the issue:
|
||||
0. stop git-annex-assistant
|
||||
1. Go in the shell to that directory (cd /mnt/dxd/annex)
|
||||
2. switch to direct mode (/home/looser/Desktop/download/git-annex.linux/git-annex direct)
|
||||
3. start git-annex-assistant
|
||||
4. create a new repository(/mnt/dxd/annex2) via the webbrowser (add repository in top right corner)
|
||||
5. Now:
|
||||
/mnt/dxd/annex - NOT in direct mode (symlinks created instantly)
|
||||
/mnt/dxd/annex2 - in direct mode
|
||||
|
||||
Im really happy I have finally direct mode running.
|
||||
I will surely stress-test git-annex in the coming weeks.
|
||||
|
||||
> Restart/shutdown in the UI coming soon, I think.
|
||||
|
||||
Awesome.
|
||||
|
||||
> The entire git-annex configuration, include that of the assistant,
|
||||
> is stored in the .git/config of your reposository, and on its git-annex branch.
|
||||
> Deleting the repository is thus all that's needed to start over.
|
||||
|
||||
Thank you for the answer.
|
||||
"""]]
|
|
@ -0,0 +1,30 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA"
|
||||
nickname="Laszlo"
|
||||
subject="comment 4"
|
||||
date="2013-01-03T22:33:54Z"
|
||||
content="""
|
||||
Usecase:
|
||||
Keep two directories in sync on the same computer.
|
||||
|
||||
\"Removable drive\" almost covers this, except you need an usb thumbdrive
|
||||
permanently plugged into the computer.
|
||||
|
||||
Would be nice, if I could select a \"sync to this local folder\" option
|
||||
alongside the \"Select drive:\" option.
|
||||
|
||||
So it is my choice if I want to sync to a partition or to a folder.
|
||||
|
||||
Bug(?):
|
||||
I created two repositories:
|
||||
/mnt/dxd/annex
|
||||
/mnt/dxd/annex2
|
||||
|
||||
And I added a \"Removable drive\" syncing option to /mnt/dxd/annex2, and I selected the \"/mnt/dxd\" drive as removable drive.
|
||||
The two repositories got mixed together
|
||||
(ie. broken symlinks pointing to nonexistent .git/annex/objects/.. file)
|
||||
|
||||
Best,
|
||||
Laszlo
|
||||
|
||||
"""]]
|
|
@ -0,0 +1,20 @@
|
|||
[[!comment format=c
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA"
|
||||
nickname="Laszlo"
|
||||
subject="comment 5"
|
||||
date="2013-01-03T22:49:41Z"
|
||||
content="""
|
||||
Ok, I think I figured it out. I have quit from git-annex-assistant (Ctrl-C in terminal window).
|
||||
|
||||
And launched this command:
|
||||
$ ps -e |grep git-ann
|
||||
1782 ? 00:01:00 git-annex
|
||||
20144 pts/0 00:00:00 git-annex-webap
|
||||
20148 pts/0 00:00:00 git-annex
|
||||
20178 pts/0 00:00:00 git-annex <defunct>
|
||||
20508 pts/0 00:00:00 git-annex <defunct>
|
||||
20528 ? 00:00:02 git-annex
|
||||
21132 ? 00:00:00 git-annex <defunct>
|
||||
|
||||
I will be more cautious in future.
|
||||
"""]]
|
|
@ -0,0 +1,23 @@
|
|||
[[!comment format=c
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA"
|
||||
nickname="Laszlo"
|
||||
subject="comment 6"
|
||||
date="2013-01-03T22:55:41Z"
|
||||
content="""
|
||||
another problem:
|
||||
1. If you add a removable drive via the gui, you can not remove it anymore (from the gui)
|
||||
2. If you delete the directory on the removable drive, git-annex assistant silently fails
|
||||
to recreate the directory and start fresh.
|
||||
2/a. on the gui, there is no indication something is wrong with the removable drive repository
|
||||
2/b on the terminal it shows only this:
|
||||
fatal: Not a git repository: '/mnt/dxd/annex/.git'
|
||||
|
||||
On the main page it shows the two repositories, but on the upper right corner, the dropdown menu
|
||||
contains only the original repository and not the removeable drive repository.
|
||||
|
||||
I stop spaming now...
|
||||
|
||||
Laszlo
|
||||
|
||||
|
||||
"""]]
|
|
@ -0,0 +1,13 @@
|
|||
[[!comment format=c
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawm5iosFbL2By7UFeViqkc6v-hoAtqILeDA"
|
||||
nickname="Laszlo"
|
||||
subject="comment 7"
|
||||
date="2013-01-03T23:07:27Z"
|
||||
content="""
|
||||
Can not withstand myself.
|
||||
|
||||
1. If you add a Removable drive repository, only the *new* files are copied over to the removable drive.
|
||||
2. Removable drive repository is not in direct mode.
|
||||
Would be nice if it could be kept the same mode as the original repository.
|
||||
It is some kind of special repsoitory, I do not see any seemlinks either.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue