h5md-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h5md-user] H5MD example files


From: Peter Colberg
Subject: Re: [h5md-user] H5MD example files
Date: Thu, 19 Sep 2013 13:40:37 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Sep 19, 2013 at 04:55:21PM +0200, Pierre de Buyl wrote:
> PS: We should wait for the final v1.0 to publish example files in the repo no?

Since git-annex only stores symbolic links in the git repository,
there is no cost in adding or modifying files. So files may also
be added right away, and updated when the specification is frozen.

But there is an issue with the git-annex web remote that is worrying.
If a file has been updated on the web server, and the git repository
contains a link pointing to the URL of that file but an older version
of the content, git-annex does not complain after downloading the
file.

  h5md_test/examples/pyh5md$ git annex get particles_3d.h5
  get particles_3d.h5 (from web...) 
  ...
  ok
  (Recording state in git...)

  h5md_test/examples/pyh5md$ git annex fsck
  fsck particles_3d.h5 
    Bad file size (513.94 kB larger); moved to 
/tmp/h5md_test/.git/annex/bad/SHA256-s189528--0e89a47c8a6f195d733e03651d80b00cd40a7d2875e01c9041c4ed641487cafe
  failed
  fsck walk_1d.h5 ok
  (Recording state in git...)
  git-annex: fsck: 1 failed

That looks like a bug; it should check and reject the file right after the
download, and not require a manual git annex fsck.

Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]