Recent comments posted to this site:

Joey, thanks for you quick help! I'll try the manual haskell-platform install once I have quicker internet again, i.e. tomorrow.

And sorry for the mess-up; I splitted the post into two. Hope it's clearer now.

This is now about different build failure than the bug you reported, which was already fixed. Conflating the two is just confusing.

The error message about syb is because by using cabal-install on an Ubuntu system from 2010, you're mixing the very old versions of some haskell libraries in Ubuntu with the new versions cabal wants to install. The solution is to stop mixing two package management systems --

  • Either install git-annex without using cabal, and use apt-get to install all its dependencies from Ubuntu, assuming your distribution has all the necessary haskell libraries packaged.
  • Or apt-get remove ghc, and manually install a current version of The Haskell Platform and use cabal.
Comment by http://joey.kitenet.net/ Sun Jan 15 19:53:35 2012

Well, lock could check for modifications and require --force to lose them. But the check could be expensive for large files.

But git annex lock is just a convenient way to run git checkout. And running git checkout or git reset --hard will lose your uncommitted file the same way obviously.

Perhaps the best fix would be to get rid of lock entirely, and let the user use the underlying git commands same as they would to drop modifications to other files. It would then also make sense to remove unlock, leaving only edit.

Comment by http://joey.kitenet.net/ Sat Jan 7 17:15:31 2012
make clean and rebuild worked... Thank you
BTW, you'll want to "make clean", since the S3stub hack symlinks a file into place and it will continue building with S3stub even if you fix the problem until you clean.
Comment by http://joey.kitenet.net/ Fri Jan 6 03:08:28 2012

Despite status listing S3 support, your git-annex is actually built with S3stub, probably because it failed to find the necessary S3 module at build time. Rebuild git-annex and watch closely, you'll see "** building without S3 support". Look above that for the error and fix it.

It was certianly a bug that it showed S3 as supported when built without it. I've fixed that.

Comment by http://joey.kitenet.net/ Fri Jan 6 03:04:35 2012
Very cool! Thank you for the explanation.
Comment by http://peter-simons.myopenid.com/ Tue Jan 3 19:47:11 2012
Yes; git-annex uses the git-annex branch independently of the branch you have checked out. You may find internals interesting reading, but the short answer is it will work.
Comment by http://joey.kitenet.net/ Tue Jan 3 19:31:45 2012
Okay, I see, but is git annex get --auto . going to import all those files from the work remote into my home if the master branch of that remote isn't merged?
Comment by http://peter-simons.myopenid.com/ Tue Jan 3 19:17:36 2012
You can make it a remote without merging its contents. Git will not merge its contents by default unless it's named "origin". git-annex will be prefectly happy with that.
Comment by http://joey.kitenet.net/ Tue Jan 3 18:42:08 2012
Comments on this page are closed.