Released the first git-annex with direct mode today. Notably, the assistant enables direct mode in repositories it creates. All builds are updated to 3.20130102 now.
My plan for this month is to fix whatever things currently might be preventing you from using the git-annex assistant. So bugfixes and whatever other important gaps need to be filled, but no major new feature developments.
Im not able to set direct mode (linux build, Version: 3.20130102 in about page). Is there something specific needed? I started fresh. I added a new directory (empty), once git annex assistant started, I copied files to that directory, and the assistant replaced all files with symlinks, just as before. What am I missing here?
It is just minor usability remark: I would like to see in the gui somewhere shown where the actual config is stored (~/.config/git-annex), and an option to wipe it out and start fresh. Also a restart button.
Best, Laszlo
"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 thengit annex direct
to enable direct mode.Restart/shutdown in the UI coming soon, I think.
The entire git-annex configuration, include that of the assistant, is stored in the
.git/config
of your reposository, and on itsgit-annex
branch. Deleting the repository is thus all that's needed to start over.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.
Awesome.
Thank you for the answer.
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
Could you post some walk-throughs? Is it possible to set up a direct mode repository using git-annex webapp ?
Thanks for your work! Sad to hear you had to get a generator. C.