Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-05-09 17:28:06 -03:00
commit d4ea4324ce
9 changed files with 173 additions and 0 deletions

View file

@ -0,0 +1,22 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4"
nickname="Ovidiu"
subject="Still having this problem"
date="2014-05-09T12:53:02Z"
content="""
[2014-05-09 07:37:42 SAST] Transferrer: Uploaded 1-564 Erk..08_04.pdf
ok
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
git-annex: /etc/resolv.conf: openFile: does not exist (No such file or directory)
[2014-05-09 08:39:53 SAST] NetWatcherFallback: Syncing with box.com, gitannexbackup
I saw it in the log file but I have no idea what triggered it.
Using the .dmg install for Mac OsX
Version: 5.20140420-ga25b8bb
Build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA CryptoHash
on Mac OSX 10.9.2
"""]]

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4"
nickname="Ovidiu"
subject="fixed"
date="2014-05-09T13:12:59Z"
content="""
re-downloaded the old version, re-isntalled and now it actually starts downlaoding the new version => http://screencast.com/t/id2Ng57Z9
NOT sure though, why it now uploads the new version to all repositories? i.e. box.com? IS there a reason for this?
Transfers
git-annex.dmg (for upgrade)→box.com 42% of 22.52 MiB
"""]]

View file

@ -0,0 +1,24 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4"
nickname="Ovidiu"
subject="spoke too soon"
date="2014-05-09T13:23:52Z"
content="""
Stuck in a loop, now with every restart of git-annex it downloads the update and then uploads it to all my repositories again:
http://screencast.com/t/Ow7SlPVaS68
And then it says:
Finished upgrading git-annex to version 5.20140420-ga25b8bb
BUT that is the OLD version not the new one :-/
NEXT TRY:
killed all processes of git and git-annex, restart.
Was greeted by:
An upgrade of git-annex is available.
(version 5.20140421)
Klicked the Upgrade button.
Nothing happens, except that the upgrade notice disappeared :-/
"""]]

View file

@ -0,0 +1,24 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkAUMhKOSkh9JaBA6xst3XxQIIsDEq5Zd4"
nickname="Ovidiu"
subject="comment 3"
date="2014-05-09T13:28:38Z"
content="""
here is what the log looks like:
[2014-05-09 15:23:22 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:23:23 SAST] Watcher: Performing startup scan
[2014-05-09 15:23:24 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
(started...) [2014-05-09 15:25:10 SAST] main: warning git-annex has been shut down
[2014-05-09 15:25:31 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:25:31 SAST] Watcher: Performing startup scan
[2014-05-09 15:25:32 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
(started...) [2014-05-09 15:25:59 SAST] main: warning git-annex has been shut down
[2014-05-09 15:27:14 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:27:14 SAST] Watcher: Performing startup scan
[2014-05-09 15:27:15 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
(started...) [2014-05-09 15:27:46 SAST] main: starting assistant version 5.20140420-ga25b8bb
(scanning...) [2014-05-09 15:27:46 SAST] Watcher: Performing startup scan
(started...) [2014-05-09 15:27:48 SAST] Upgrader: An upgrade of git-annex is available. (version 5.20140421)
"""]]

View file

@ -0,0 +1,23 @@
### Please describe the problem.
shiny-2:MacOS ovi$ git annex sync
git: 'annex' is not a git command. See 'git --help'.
shiny-2:MacOS ovi$
### What steps will reproduce the problem?
INstall git-annex for MAC like this: http://git-annex.branchable.com/install/OSX/ via .dmg file then try above commands from your terminal
### What version of git-annex are you using? On what operating system?
Version: 5.20140420-ga25b8bb Build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV FsEvents XMPP DNS Feeds Quvi TDFA CryptoHash
Mac OSX 10.9.2
### Please provide any additional information below.
I tried adding the path to my .bash_profile manually like this but it didn't help (actually, this was already in there, I just added the path to git-annex to the string):
export PATH=/opt/local/bin:/opt/local/sbin/Applications/git-annex.app/Contents/MacOS:$PATH
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="divB"
ip="171.67.174.99"
subject="comment 2"
date="2014-05-09T01:02:22Z"
content="""
Thanks.
As you can see everything except attic and games is missing.
As far as I understand, yes, they are committed. How can I check?
On the server I issued
git annex add .
\"git annex status\" does not output anything. Remember: I use direct mode.
"""]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="divB"
ip="171.67.174.99"
subject="comment 3"
date="2014-05-09T06:06:54Z"
content="""
Finally I found it: https://git-annex.branchable.com/bugs/assistant_doesn__39__t_sync_empty_directories/
Empty directories.
Wow! I was not aware that git is actually a step BACKWARDS in this regard :-(
That was already a big problem half a century ago in CVS, finally fixed in SVN and git re-introduces the issue? Sad :-(
"""]]

View file

@ -0,0 +1,16 @@
After spending the whole last night playing with it, I think I have it figured out:
it runs on my Macbook and I have added a free 50GB box.com account as archive and an S3 bucket as full-backup and set the min. number of file occurrences to keep to 2 so IF I delete anything on my Macbook, this should make sure I definitely have 2 more occurrences of each file on two separate storages.
BUT here come the problems/questions
- say I add a folder called: Documents, it has now apparently successfully synced to box.com and S3. I say apparently because there is no tool in the assistant to check
- I can't seem to figure out how to delete the log of the assistant, its getting quite longish
- I can't seem to figure out how to upgrade from 5.20140420 to 5.20140421
- I move a file from a local repo to the archive folder but nothing happens except git-annex recording the move: (Recording state in git...) /Users/ovi/Sharing/git-annex/Finance/1-564 Erkl. z. Gebiets- u. Steuereigenschaft 08_04.pdf still has writers, not adding [2014-05-09 17:22:43 SAST] Committer: Committing changes to git
- the assistant doesn'T have any kind of gui for retrieving/deleting/finding stuff - I'm no stranger to the command line but I can't figure out how to add the /Applications/gitannex.app.5.20140421/Contents/MacOS to my path and if I go there and run runshell, most git-annex commands tell me: not in a git repository so all I can do right now, is look at things :-/
- reading the description on the kickstarter page I must say I expected more. This is in no way comparable to Dropbox.
Don't get me wrong, this is the most promising project of its kind I came across if I can be pointed in the right direction :-)
P.S. How does it work on the "inside"? i.e. I edit a file and git-annex picks it up and "syncs" - what is synced? The whole file? A diff? How can one restore older versions or even look to see what versions are available?

View file

@ -0,0 +1,19 @@
I am struggling for so long time, everytime getting different errors :( :(
I digged up my backup and started from scratch. Still not working.
On the (linux) server (directory contains already files):
cd bin
git init
git annex init server
git annex direct
git annex add .
Then, on the Windows client:
$ git clone ssh://me@server/srv/data/bin bin
Cloning into 'bin'...
warning: remote HEAD refers to nonexistent ref, unable to checkout.
What's going on here?