Package: git-annex
Version: 0.20110328
Severity: normal

uff... tried to follow
http://git-annex.branchable.com/walkthrough/
to finally start using git-annex

tried initally with 0.25 and then witgh 0.20110328 but can't make piece with it
-- even 'annex get' doesn't work for ssh:// remotes, options which are
described in --help are reported to be invalid etc:

Lets first clone locally:

% git clone /tmp/tarballs.annex tarballs.local
Cloning into tarballs.local...
done.
%                                                                               
                                                                                
                                                                                
          % cd tarballs.local                           
%                                                                               
                                                                                
                                                                                
          % git annex init "local"
description set
%                                                                               
                                                                                
                                                                                
          % git annex get qwo_0.5.orig.tar.gz  
get qwo_0.5.orig.tar.gz (copying from origin...) ok


so locally it worked


%                                                                               
                                                                                
                                                                                
          % cd ..
%                                                                               
                                                                                
                                                                                
          % git clone ssh://localhost/tmp/tarballs.annex tarballs.ssh
Cloning into tarballs.ssh...
remote: Counting objects: 215, done.
remote: Compressing objects: 100% (212/212), done.
remote: Total 215 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (215/215), 21.74 KiB, done.
%                                                                               
                                                                                
                                                                                
          % cd tarballs.ssh
%                                                                               
                                                                                
                                                                                
          % git annex init "ssh"
description set
%                                                                               
                                                                                
                                                                                
          % git annex get qwo_0.5.orig.tar.gz
get qwo_0.5.orig.tar.gz (not available)
  Try making some of these repositories available:
    91fb6816-65fc-11e0-8c30-b75bb793c609  -- local tmp
failed
'

so -- even get doesnt work and  if we compare .git/configs:

%                                                                               
                                                                                
                                                                                
          % cat .git/config 
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = ssh://localhost/tmp/tarballs.annex
[branch "master"]
    remote = origin
    merge = refs/heads/master
[annex]
    uuid = 79a5b990-65fe-11e0-b530-2f4f1cdee544
%                                                                               
                                                                                
                                                                                
          % cat ../tarballs.local/.git/config 
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = /tmp/tarballs.annex
    annex-uuid = 91fb6816-65fc-11e0-8c30-b75bb793c609
[branch "master"]
    remote = origin
    merge = refs/heads/master
[annex]
    uuid = 5e30a58a-65fe-11e0-a649-2b7689a5cf3c


ok lets add annex-uuid up

%                                                                               
                                                                                
                                                                                
          % vim .git/config 
%                                                                               
                                                                                
                                                                                
          % diff ../tarballs.local/.git/config .git/config
8,9c8,9
<   url = /tmp/tarballs.annex
<   annex-uuid = 91fb6816-65fc-11e0-8c30-b75bb793c609
---
>   url = ssh://localhost/tmp/tarballs.annex
>     annex-uuid = 91fb6816-65fc-11e0-8c30-b75bb793c609
14c14
<   uuid = 5e30a58a-65fe-11e0-a649-2b7689a5cf3c
---
>   uuid = 79a5b990-65fe-11e0-b530-2f4f1cdee544

so no difference but in url and local uuid

%                                                                               
                                                                                
                                                                                
          % git annex get qwo_0.5.orig.tar.gz
get qwo_0.5.orig.tar.gz (not available)
  I was unable to access these remotes: origin
  Try making some of these repositories available:
    91fb6816-65fc-11e0-8c30-b75bb793c609  -- local tmp
failed
%                                                                               
                                                                                
                                                                                
          % echo so may be we could be verbose?
zsh: no matches found: verbose?
%                                                                               
                                                                                
                                                                                
          % git annex --help | grep verbose
              Avoid the default verbose logging of what is done; only show 
errors and progress displays.
       --verbose
              Enable verbose logging.
%                                                                               
                                                                                
                                                                                
          % git annex get qwo_0.5.orig.tar.gz --verbose
git-annex: user error (unrecognized option `--verbose'
Usage: git-annex add|get|drop|unannex|init|fix [path ...]
  -f  --force  allow actions that may lose annexed data

Subcommands:
  add       add files to annex
  get       make content of annexed files available
  drop      indicate content of files not currently wanted
  unannex   undo accidential add command
  init      initialize git-annex with repository description
  fix       fix up files' symlinks to point to annexed content
)
%                                                                               
                                                                                
                                                                                
          % git annex --verbose  get qwo_0.5.orig.tar.gz
git-annex: user error (unrecognized option `--verbose'
Usage: git-annex add|get|drop|unannex|init|fix [path ...]
  -f  --force  allow actions that may lose annexed data

Subcommands:
  add       add files to annex
  get       make content of annexed files available
  drop      indicate content of files not currently wanted
  unannex   undo accidential add command
  init      initialize git-annex with repository description
  fix       fix up files' symlinks to point to annexed content
)
%                                                                               
                                                                                
                                                                                
          % echo just in case -- rsync has no problems:
just in case -- rsync has no problems:
%                                                                               
                                                                                
                                                                                
          % rsync localhost:/tmp/tarballs.annex
drwxr-sr-x        2180 2011/04/13 14:33:54 tarballs.annex



What could be the problem?

where options should be specified to be recognized?

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-annex depends on:
ii  git [git-core]            1:1.7.4.1-5    fast, scalable, distributed revisi
ii  git-core                  1:1.7.2.3-2.2  fast, scalable, distributed revisi
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib
ii  libffi5                   3.0.9-3        Foreign Function Interface library
ii  libgmp10                  2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii  libpcre3                  8.12-3         Perl 5 Compatible Regular Expressi
ii  openssh-client            1:5.8p1-2      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.

Versions of packages git-annex suggests:
ii  graphviz                      2.26.3-5   rich set of graph drawing tools

-- no debconf information



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

Reply via email to