design/assistant/polls/what is preventing me from using git-annex assistantgit-annexhttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/git-annexikiwiki2014-01-02T23:41:44ZTwo reasonshttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_1_00a0de8190d946caaeeca3b44646146f/Richard2013-11-27T22:47:37Z2013-01-10T18:00:05Z
<p>As of right now, the assistant has only secondary benefit over plain git-annex inasmuch there's a lot more code activity.</p>
<p>As soon as the assistant supports Android, I will use for syncing photos off of my phone and may start to use the assistant on my usual repos as a natural consequence.</p>
<p>Additionally, there's a subjective feeling of more bugs being reported. That may or may not be true, but as long as there's no Android port, I don't have an actual reason to "risk" it.</p>
<p>-- Richard</p>
<p>PS: This seems to be the first poll where you can place only one vote while it's the first where I really wanted to vote on two separate items.</p>
Two assistants with shared transfer repositoryhttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_2_35f6f121e54260cb960211a6e2e51e8e/Alexandre2013-11-27T22:47:37Z2013-01-11T07:17:12Z
<p>I voted for the Windows port, which unfortunately I must use at work.</p>
<p>But another thing that Dropbox gets right is that you can <a href="http://git-annex.branchable.com/forum/How_to_set_up_two_assistants_with_one_shared_transfer_repository__63__">sync two clients with one shared repository</a> that works without any configuration whether you are home or somewhere else. This use case is covered by sync over XMPP, but there are two small issues with this :
- if I use Google XMPP servers to sync two assistants in the same network, everything goes through the slower Internet link
- if I setup my own XMPP server, well, this is more setup, more open ports, etc.</p>
<p>It would be nice to have repository pushs on a shared repository notified to the connected clients in the SSH connection.</p>
comment 3http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_3_acbe4f63b5d552ac5ae5a12c6f42dc18/a-or-b [myopenid.com]2013-11-27T22:47:37Z2013-01-11T09:32:33Z
<p>I've got a few wishes for git-annex… Referring to the poll options:</p>
<ul>
<li>I need an Android port</li>
</ul>
<p>I think this is the biggest issue for getting a high WAF. (I want to put our photos in an annex, and getting them auto-magically off her phone would get me massive brownie points.)</p>
<ul>
<li>Initially the lack of direct-mode. Now concerns about the safety of direct mode. Perhaps after the next release.</li>
</ul>
<p>The "potentially unsafe" sort of comments in the blog make me worry about trusting my data to the direct mode. Saying that I <em>really</em> appreciate the honesty of the comments. That is why I want to keep using, and recommend to others, git-annex.</p>
<ul>
<li>I haven't always well understood the differences between commandline operation & the assistant, so the differences would confuse me, and I found the command line more understandable & less scary. Now trying to learn to like & trust the assistant.</li>
</ul>
<p>I also have worried about the automatic adding by the assistant - prior to direct mode.</p>
<ul>
<li>throttling transfers, it upsets people when I saturate the connection</li>
</ul>
<p>I think a bittorrent option would be ideal. Not public torrents, but torrents between my annexes.</p>
Two local repositorieshttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_4_0d988280865caae498a3b693b6342e37/Laszlo2013-11-27T22:47:37Z2013-01-11T10:31:54Z
<p>Here is my usecase:
I want two local (direct mode) repositories. So basically a working directory and a backup directory to the working one.</p>
<p>The removable media repository <em>almost</em> fulfill this usecase, except you can only select drive and not a directory.
I think it would be relatively simple to implement. (A drive is a directory under linux after all).</p>
<p>Best,
Laszlo</p>
SSH keyshttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_5_ac8fe3768c30dd7999c183500f8567bb/marvin2013-11-27T22:47:37Z2013-01-11T12:02:50Z
<p>Really looking forward to seeing this project go forward and impressed by what you have accomplished.</p>
<p>I have my own server which I want to use as a repository, so I'll choose "Remote server". I want to use direct mode.
Now I can only create an encrypted remote which is fine for me, but I don't know how to sync that with another client using this remote.</p>
<p>Also with the generated ssh keys I no longer can log into my server normally as it tries to use the generated keys.
The generated keys should also be restricted to only be able to change the repository and nothing else.</p>
<p>Maybe webdav could be used to create something with better access control and repositories for groups etc.
Also with a simple web upload/download page, similar to dropbox.</p>
<p>Sorry if my post is long and idiotic, just simple (hopefully constructive) feedback from a simple user <img src="http://git-annex.branchable.com/smileys/smile.png" alt=":)" /></p>
comment 6http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_6_36832de705a2bebf8dc6e65dcd661731/edheil [wordpress.com]2013-11-27T22:47:37Z2013-01-11T15:06:47Z
<p>Laszlo's concern about "you can only select a drive and not a directory" relates to a problem I had.</p>
<p>I have two local directories, ~/annex indirect my main annex, and ~/directannex for playing with direct mode.</p>
<p>I had hoped to back each up to the same shared drive, but didn't realize there was no option to select a directory within a shared drive, so when I tried to do that through the assistant I inadvertently connected the two by backing them up to the same directory on the shared drive!</p>
<p>This is probably a "power user problem" which has a "power user solution" of setting up the separate repository manually. But it did take me by surprise.</p>
Recording file creation dates?http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_7_3618067e473577a112e36970ca71e0ab/dzsino2013-11-27T22:47:37Z2013-01-11T16:35:27Z
<p>I've just started using git annex, command line feels safer for the time being. One issue I've got with assistant that I had to kill it couple of times when it got confused over something (could be that I used command line git annex at the same time?), shutdown from the UI is welcome.</p>
<p>More of a git annex issue for me that I lost file creation dates for annexed files, which i don't really mind for most of my content, except really old photos without proper EXIF tags.
I think of git annex as more of a DVR for my digital life, rather than a mere sync tool, so I would welcome some basic metadata facility. Would you consider adding this?
(Really getting carried away, I would want to full text search on file names, ID3 tags, document metadata and text etc. and requesting files based on search hits, spotlight style..)</p>
comment 8http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_8_07a13b6f000ddc0ac4472b863d8b50bd/joeyh.name2013-11-27T22:47:37Z2013-01-11T20:02:39Z
<p>@Alexandre, what you want can be achieved by setting up XMPP pairing, and also <a href="http://git-annex.branchable.com/assistant/local_pairing_walkthrough/">local pairing</a>. Then when computers are on the same network, transfers are done via the LAN.</p>
<p>@Laszlo, this can be set up without using the webapp. Just make the two repositories, using the webapp. Then go into each and run "git remote add myotherrepo $path_to_other_repo". Then assistant will automatically sync them. I <em>have</em> thought about adding a configurator for this to the webapp. It would help to know what use cases you're getting at with this.</p>
<p>@marvin The generated ssh keys are configured to only allow running <code>git-annex-shell</code>, which limits it to only acting on the repository. The keys are also configured, in <code>.ssh/config</code> to only be used when a particular host alias is used. They should not be used when you just ssh normally to the host. If this is happening to you, please file a bug report with details.</p>
<p>@dzsino you can get file creation dates out of git using git log <img src="http://git-annex.branchable.com/smileys/smile.png" alt=":)" /></p>
Question about git-annexhttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_9_e15eb407d988fda363296c8b566cc8fb/Zellyn2013-11-27T22:47:37Z2013-01-11T21:05:55Z
<p>Not sure where the correct place to ask this is...</p>
<p>My use case for git-annex is to back up important files (pictures, videos, etc.) on a hard disk at work and one at home. Is there an easy way to do that? I'd like to be able to get git-annex to fill up my phone/laptop with files that it thinks are backed up in <2 of the locations, and ferry them back and forth. They can be deleted to free up space after that, if necessary.</p>
<p>Thanks for all your work, by the way. I missed the kickstarter, but if there's a simple and direct way to donate (dwolla?, gittip?), I'd love to chip in.</p>
comment 10http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_10_10a4839a05be39ced54ffbe880a588bb/Laszlo2013-11-27T22:47:37Z2013-01-11T21:57:29Z
<p>@joey: My usecase is fairly simple.
I have a working directory where I do work
(not programing, but text editing with homecooked spreadsheet/texteditor).</p>
<p>I work/type on spot/on site. So I'm walking while typing.</p>
<p>Its easy to do stupid things while you work,
so would be really handy to have a backup automagically on the same computer to prevent mistakes, user errors.
(The last mistake, I did is I copied all my daily files into a "tmp" directory,
then I launched my homebrew program which also created a tmp dir then deleted the whole content of it.
I fixed it, but my datas was lost. It is a simple user mistake which could be prevented if I would have a
live backup all the time. Creating a git repo for daily typing is just too much overhead.
It is like you create a git repo for your text messages...)</p>
<p>So my usecase is a live backup. Or the broken file deleting thing on unix/linux since forever.</p>
<p>Laszlo</p>
comment 11http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_11_ac91d866f11c66dd8c86e2cd1a368c85/Richard2013-11-27T22:47:37Z2013-01-11T22:17:07Z
<p>@dzsino: You may want to have a look at <a href="https://github.com/RichiH/metamonger">metamonger</a> which tries to solve exactly this problem. It's not finished yet, though.</p>
<p>-- Richard</p>
It fails silently and leaves symlinks behindhttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_12_e244c1bf334b1cc9ad0cc760bf8fe5de/Pedro2013-11-27T22:47:37Z2013-01-11T23:49:51Z
<p>I dedicated a day to looking into using the assistant and although it's clearly an exciting piece of software it's still pretty hard to get working. To get two machines to sync with one another the options seem to be:</p>
<ol>
<li>Connect both of them to a XMPP server: That makes metadata sync flawlessly and yet leaves a symlink mess behind. As it turns out that's because XMPP syncs only metadata but nowhere was that stated on the webapp (that I could find) and no error message given</li>
<li>So then I tried the sync method with SSH.</li>
</ol>
<p>For that you'll need to:</p>
<ul>
<li>Have SSH servers installed on both endpoints (for me that was easy to do but I'm sure most users will have a harder time)</li>
<li>Make sure both computers are actually on the same broadcast network otherwise they won't see each other (I was testing with a VM behind virtualbox's NAT so initially it didn't work)</li>
<li>Install the assistant on both sides and make sure both the base program and the shell wrapper are in the PATH. (this was harder to do than needed as in the standalone bundle they're not on the same folder and the shell wrapper needs to be run by the runshell script, so even if you get it in the path it will still fail with missing libraries. An Ubuntu PPA would have solved this I'm sure.</li>
</ul>
<p>For some reason I couldn't figure out they still couldn't sync and symlink mess ensued.</p>
<p>I think there are a few usability issues here:</p>
<ol>
<li>Direct mode should never overwrite files in a way you can no longer use them just because metadata updates came before content updates. I'd rather have an older version of the file than lose access to it.</li>
<li>Error reporting needs to be a lot more explicit to be able to debug these issues</li>
<li>At the best of times SSH sync is going to be a problem. In my opinion to be really dropbox-like the sync method for normal users should be to connect all devices to the same XMPP account (this works great now) and then have those assistants automatically reach each other by a direct connection when possible and by something like STUN if NAT punching is needed. The SSH/bup/etc remotes all have their place for advanced setups but being able to tell the user to just connect to XMPP and be done would turn this from "something I'll spend an afternoon writing puppet manifests to deploy in my personal servers/computers" to "something I can explain to a non-technical friend how to use over a phone call and then share files with him".</li>
</ol>
<p>On the XMPP side though, it would work best if you could authenticate a Google XMPP acount through an OAuth workflow instead of asking for the password. I wouldn't give any program my gmail password but I'd easily give it permission to use gtalk on my behalf.</p>
<p>As I started by saying the assistant (and git-annex in general) is an extremely impressive piece of software that I'm very excited about. I hope it keeps improving at the current pace as there are still a few features I'd love to have (partial content particularly) but by far the thing that's keeping me most from using it is the ability to easily get a reliable sync going that won't leave me with a folder full of symlinks that I don't know what to do about. One of the great things about dropbox is that whenever it isn't running or can't sync for any reason your folder degenerates into a folder like any other on your disk. The right way of thinking about direct mode should be that one, "a folder like any other that we stream changes from and to on multiple machines". Right now, with the symlink replacement when sync isn't possible and to a lesser extent the adding of .git folders it doesn't live up to that guarantee.</p>
comment 13http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_13_1a0faf4bdc78741937e8a2f5cb5bbec6/Laszlo2013-11-27T22:47:37Z2013-01-12T08:16:48Z
<p>@Pedro: That is an excellent test, and usecase!</p>
<p>Indeed, the gui needs a lot more info on it.
Also file integratity is a real fear with this kind of application.</p>
git-annex PPAhttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_14_8d8a11dbfae7a7bc574bdf37f87e0684/rubiojr2013-11-27T22:47:37Z2013-01-15T14:16:35Z
<p>Hey Joey,</p>
<p>I do maintain a PPA with a more up2date version in fact:</p>
<p>https://launchpad.net/~rubiojr/+archive/git-annex</p>
<p>Now that the direct mode is in place, I guess it's probably a good time to backport again.</p>
<p>Thanks for such a great piece of software.</p>
direct mode still 'untrusted'?http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_15_c437adeaccf0b3d134e0f81c64e25b9f/rubiojr2013-11-27T22:47:37Z2013-01-15T14:23:22Z
<p>BTW,</p>
<p>Does this still apply?</p>
<p>"I'd like git annex direct to set the repository to untrusted, but I didn't do it. Partly because having git annex indirect set it back to semitrusted seems possibly wrong -- the user might not trust a repo even in indirect mode. Or might fully trust it. The docs will encourage users to set direct mode repos to untrusted -- in direct mode you're operating without large swathes of git-annex's carefully constructed safety net. (When the assistant later uses direct mode, it'll untrust the repository automatically.)"</p>
<p>http://git-annex.branchable.com/design/assistant/blog/day_151__direct_mode_toggle/</p>
just one thinghttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_16_6e3fce3a32ab346dc3d0fd4b69967536/Adam2013-11-27T22:47:37Z2013-01-16T01:45:54Z
http://git-annex.branchable.com/todo/wishlist:_disable_automatic_commits/ is the only thing I'm waiting for. Will become a very keen beta-tester (maybe even coder) when that happens.
comment 17http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_17_1b7233d88593d0d99b26ea3e7af20d9c/joeyh.name2013-11-27T22:47:37Z2013-01-16T19:38:36Z
@rubiojr I recommend configuring direct mode repos as untrusted if you care about accessing old versions of your files as stored in git. If that is not a concern, direct mode is safe, it's just that it allows editing/deleting any file at any time, even if that's the only copy of the file.
comment 18http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_18_a23d5a0e2718b8e486f036fe8a413b36/chrysn2013-11-27T22:47:37Z2013-01-17T12:04:34Z
<p>the "I haven't always well understood the differences between commandline operation & the assistant, so the differences would confuse me, and I found the command line more understandable & less scary. Now trying to learn to like & trust the assistant." fits pretty well for me -- i'd like to use the webapp at least for viewing, but i'm worried that some auto-magic would kick in, and i regularly have uncommitted stuff in at least one git-annex repo.</p>
<p>a --dry-run flag or similar on the <code>git annex webapp</code> would be nice, or a description of what would happen or how to turn that off / make it create other branches / even commit or push something.</p>
Windows + git ignore like syntax for files to synchttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_19_f4c84a9d701d52cf2f2e45f3d764a90c/Daniele2013-11-27T22:47:37Z2013-04-19T10:47:36Z
<p>Hi,</p>
<p>my company would need this for some project.</p>
<p>But to adopt it I would need:
* windows support (I don't care if now symlink support for now)
* being able to define which files are automatically synced using a syntax similar to the gitignore one
* being able to disable auto-commit (just synching, user should be able to commit on their own)</p>
<p>thanks</p>
comment 20http://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_20_199c9807499470771af6cbca6d034cfa/joey2013-11-27T22:47:37Z2013-04-19T18:01:44Z
You can turn off automatic commits in the webapp by pausing syncing for the local repository.
Can't seem to get the configuration I am looking for from the webapphttp://git-annex.branchable.com/design/assistant/polls/what_is_preventing_me_from_using_git-annex_assistant/comment_21_9185b0e05b1b1997533694da1de83073/Martyn2014-01-02T23:41:44Z2014-01-02T23:41:44Z
<p>Currently, I have a local server, desktop and laptop (all on the same network). My laptop leaves the house occasionally where I work on it...
Quite simply, I want make the local server the centralised repository and have the desktop + laptop sync up and down to and from the server. The server would act as a backup and file change history between all local repositories on desktop and laptop. So I would sync between trips away.</p>
<p>Sadly every combination with git-annex webapp fails for a number of reasons, it could be just me but here is what I've experienced:</p>
<p>a) I want to use direct mode ALL the time or at least be able to configure it without the command line. Currently server side set ups are indirect depending on the repository group. So no symlinks basically. I think "full backup" and "client" are the only two that do what I was hoping for here.
b) The list of repository group types miss something I'm looking for, I want the "full backup" with "transfer" for the remote server - I guess?
c) For remote cloud solutions, I would like the files to exist, not just the raw .git/ directory to exist on the server. When I tested it, I couldn't see a way to test on the server itself the integrity of the files (could be my lack of git-annex knowledge <img src="http://git-annex.branchable.com/smileys/smile.png" alt=":)" />
d) I would like it if the assistant made it simpler to configure remotes, i.e. right now if I have 2 directories I believe I would need 4 configurations to push/pull locally and remotely to the 1 server with each machine. I've had this working and it's the closest I've got so far, but tedious if I want to do it for 5 directories on 2 machines (that's 20 configurations to add in all unless there is an easier way?)
e) The "share with other devices" option seems one of the best right now, but it suffers with the issues of c) AFAICT. Why not have the server just be a remote when unencrypted?</p>
<p>From some reading up on the command line tools, it seems like it would be easier to set up using those for what I want than using the webapp.
I currently love the webapp, it's just missing some polish and options to do what I need.</p>
<p>Thanks for the great work so far! <img src="http://git-annex.branchable.com/smileys/smile.png" alt=":)" /></p>