Package: git-annex
Version: 0.12
Severity: normal

Heya, in a very simple setup, I'm unable to get files from the remote
repository, apparently because git-annex omits an "object/" path
component.

Here is a log (where I've replaced "MYMACHINE" for the actual host name):

  ------------------------------------------------------------------------
  z...@usha:/home/store$ git clone ssh://MYMACHINE/home/users/zack/store/ annex
  Cloning into annex...
  remote: Counting objects: 19, done.
  remote: Compressing objects: 100% (16/16), done.
  remote: Total 19 (delta 3), reused 0 (delta 0)
  Receiving objects: 100% (19/19), done.
  Resolving deltas: 100% (3/3), done.

  z...@usha:/home/store$ cd annex/
  z...@usha:/home/store/annex$ git annex init laptop
  init laptop [master 1838a10] git annex init
   1 files changed, 1 insertions(+), 0 deletions(-)
  ok
  z...@usha:/home/store/annex$ ls -F
  usha_full.1.dar.20100203@  usha_full.1.dar.20100929@ usha_full.1.dar.20101214@

  z...@usha:/home/store/annex$ git annex get usha_full.1.dar.20101214
  get usha_full.1.dar.20101214 (getting UUID for origin...) (copying from 
origin...) 
  scp: 
/home/users/zack/store//.git/annex/WORM:1292340016:2983823753:usha_full.1.dar.20101214:
  No such file or directory
  (not available) 
    I was unable to access these remotes: origin
    Try making some of these repositories available:
        c9745266-076b-11e0-b1df-d3e7790e889d  -- MYMACHINE
  failed
  git-annex: 1 failed

  z...@usha:/home/store/annex$ ssh MYMACHINE ls 
/home/users/zack/store//.git/annex/
  objects
  tmp
  z...@usha:/home/store/annex$ ssh MYMACHINE ls 
/home/users/zack/store//.git/annex/objects/
  WORM:1265199796:2345302057:usha_full.1.dar.20100203
  WORM:1285754156:2695034457:usha_full.1.dar.20100929
  WORM:1292340016:2983823753:usha_full.1.dar.20101214
  ------------------------------------------------------------------------

It looks like that, had git-annex looked into ...//.git/annex/objects/, it
would have found what it is looking for.

I confess I've a main difference with the recommended setup: the git repo I'm
cloning doesn't have a converse remote pointing at my laptop, essentially
because my laptop is not (always) reachable via an inbound SSH connection.

Git version is the same on both machines.

Am I missing something very trivial here?


Thanks a lot for git-annex! It looks like it will suite my needs perfectly,
... as soon as I'll manage to retrieve files :-)

Cheers.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-annex depends on:
ii  git [git-core]            1:1.7.2.3-2.1  fast, scalable, distributed revisi
ii  git-core                  1:1.7.2.3-2.1  fast, scalable, distributed revisi
ii  libc6                     2.11.2-7       Embedded GNU C Library: Shared lib
ii  libffi5                   3.0.9-3        Foreign Function Interface library
ii  libgmp3c2                 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii  libpcre3                  8.02-1.1       Perl 5 Compatible Regular Expressi
ii  openssh-client            1:5.5p1-5+b1   secure shell (SSH) client, for sec
ii  rsync                     3.0.7-2        fast remote file copy program (lik
ii  uuid                      1.6.2-1        the Universally Unique Identifier 

git-annex recommends no packages.

git-annex suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to