From 5f3f9601c956ddf725d0927821ac60a388c29c34 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 17 Jun 2014 16:52:56 +0000 Subject: [PATCH 1/4] Added a comment --- ..._f1d254fe85b0e5cbc7edf9096af4f942._comment | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/todo/windows_git-annex_service/comment_13_f1d254fe85b0e5cbc7edf9096af4f942._comment diff --git a/doc/todo/windows_git-annex_service/comment_13_f1d254fe85b0e5cbc7edf9096af4f942._comment b/doc/todo/windows_git-annex_service/comment_13_f1d254fe85b0e5cbc7edf9096af4f942._comment new file mode 100644 index 0000000000..894eb4b6c4 --- /dev/null +++ b/doc/todo/windows_git-annex_service/comment_13_f1d254fe85b0e5cbc7edf9096af4f942._comment @@ -0,0 +1,27 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="108.236.230.124" + subject="comment 13" + date="2014-06-17T16:52:55Z" + content=""" +I have messed with the windows ACLs some yesterday, but I don't know how or if it's possible to set ACLs on a directory, such that everything created inside it will be writable by two different users. Certainly this is doable on POSIX; if it's doable on Windows, I'll revisit services. + +---- + + +For now, it seems that a better option may be to not run git-annex as a service, but use various dos-window hiding technologies. + + + +I have successfully gotten this to work using nircmd. make a git-annex-webapp.bat, containing: + +
+title GitAnnex
+nircmd.exe win hide ititle \"GitAnnex\"
+git annex webapp
+
+ +This works, although the DOS box flashes onscreen for maybe 1/10th of a second before nircmd hides it. A git-annex-assistant.bat could run git-annex assistant --autostart, and would be suitable to be setup to run on startup. + +(It seems that it's possible to write a VBScript or C# program that sets up a hidden WScript.Shell and runs a command in it. That might avoid the window flash. However, it seems hard to get VBScript to run, and I have not investigated C#.) +"""]] From 914ed75599377dfa8c57814411d7ce55fd5584f7 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 17 Jun 2014 16:56:32 +0000 Subject: [PATCH 2/4] Added a comment --- .../comment_14_7d5fdac0084c4742967879f5f0f9fccf._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/todo/windows_git-annex_service/comment_14_7d5fdac0084c4742967879f5f0f9fccf._comment diff --git a/doc/todo/windows_git-annex_service/comment_14_7d5fdac0084c4742967879f5f0f9fccf._comment b/doc/todo/windows_git-annex_service/comment_14_7d5fdac0084c4742967879f5f0f9fccf._comment new file mode 100644 index 0000000000..5aba4e8e48 --- /dev/null +++ b/doc/todo/windows_git-annex_service/comment_14_7d5fdac0084c4742967879f5f0f9fccf._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="108.236.230.124" + subject="comment 14" + date="2014-06-17T16:56:32Z" + content=""" +Note that nircmd is not free software; but can be distributed free of charge, provided all the files in the zip are included and unmodified. Sucks, but it's windows.. +"""]] From e027801e6e30110a05f95ff768eac719dcbd7806 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 17 Jun 2014 17:10:28 +0000 Subject: [PATCH 3/4] Added a comment --- ...ment_15_8f10491f8c0a151284e6d81a83eab212._comment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/todo/windows_git-annex_service/comment_15_8f10491f8c0a151284e6d81a83eab212._comment diff --git a/doc/todo/windows_git-annex_service/comment_15_8f10491f8c0a151284e6d81a83eab212._comment b/doc/todo/windows_git-annex_service/comment_15_8f10491f8c0a151284e6d81a83eab212._comment new file mode 100644 index 0000000000..c7247ce453 --- /dev/null +++ b/doc/todo/windows_git-annex_service/comment_15_8f10491f8c0a151284e6d81a83eab212._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="108.236.230.124" + subject="comment 15" + date="2014-06-17T17:10:28Z" + content=""" + is another option. + +How to run VB script: + + +"""]] From 32c7fdc0f215537c8105bb23a36b9b423c28f674 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Tue, 17 Jun 2014 17:18:34 +0000 Subject: [PATCH 4/4] Added a comment --- ...ent_16_51800fd83cd979b021eabdd4c44cfd61._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/todo/windows_git-annex_service/comment_16_51800fd83cd979b021eabdd4c44cfd61._comment diff --git a/doc/todo/windows_git-annex_service/comment_16_51800fd83cd979b021eabdd4c44cfd61._comment b/doc/todo/windows_git-annex_service/comment_16_51800fd83cd979b021eabdd4c44cfd61._comment new file mode 100644 index 0000000000..7efe7b3380 --- /dev/null +++ b/doc/todo/windows_git-annex_service/comment_16_51800fd83cd979b021eabdd4c44cfd61._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="108.236.230.124" + subject="comment 16" + date="2014-06-17T17:18:34Z" + content=""" +Using wscript to run a file containing this will start the webapp w/o any console flicker: + +
+Set objshell=CreateObject(\"Wscript.Shell\")
+objShell.Run(\"git-annex webapp\"), 0, False
+
+"""]]