Merge remote-tracking branch 'branchable/master'

This commit is contained in:
Joey Hess 2011-03-22 17:54:09 -04:00
commit 3b312a0c2b
7 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Calibre
Calibre is a somewhat popular eBook management package that's also free software. <http://calibre-ebook.com/>
Install via
# apt-get install calibre
There is a somewhat unfortunate interaction between Calibre and git-annex...
* git-annex makes its files become read-only. By the way, that's not quite obvious from the documentation; I suggest making that more prominent.
* Calibre modifies files (not quite sure of semantics, how, or why) when doing various operations, notably such as when copying a book from one's library to one's portable reading device.
These don't play well together, sadly.
I'd expect most of the issue to sit on the Calibre side, and have reported it as a bug.
[Calibre bug #739045](https://bugs.launchpad.net/calibre/+bug/739045)
Preliminary indication is that they're treating it as a functionality change they'll decline to fix. Which isn't entirely unreasonable - I anticipated as much, and I don't want to treat that as a bad/wrong decision.
However, I think it's:
* Unfortunate, as fitting Calibre together with git-annex seems like a neat idea.
* Useful to make sure that this kind of "doesn't play well together" condition is documented, even if only as a bug report.

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="praet"
ip="81.242.56.203"
subject="comment 5"
date="2011-03-21T19:58:34Z"
content="""
In the meantime, would it be acceptable to split the pre-commit hook
into two discrete parts?
This would allow to (if preferred) defer \"git annex fix\" until
post-commit while still keeping the safety net for unlocked files.
"""]]

View file

@ -37,3 +37,13 @@ Optionally, editing the meta-data should change the times in all annexes.
git add .metadata
>>>>>> Thanks a lot. Doing this in a new git-annex repo from the start should at least ensure local consistency and I assume I can simply add a post-pull hook to restore the mtimes on all all other repositories? -- RichiH
>>>>>>> This is even better:
#!/bin/sh
git annex pre-commit .
which metastore || echo "$0: metastore is not installed; exiting"; exit 99
metastore --save
git add .metadata
>>>>>>> -- RichiH

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus"
nickname="Jimmy"
subject="comment 8"
date="2011-03-21T08:52:18Z"
content="""
Just tried building both of the code paths, and they seem to build and somewhat function on OSX. I have yet to confirm the functionality is working correctly, but so far it's looking good. (I somewhat care less about the utimes/mtimes of my files since I care more about the content :) )
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://peter-simons.myopenid.com/"
ip="84.189.2.244"
subject="Please provide stable tarballs or zipfiles"
date="2011-03-22T13:06:58Z"
content="""
I'm trying to package git annex for ArchLinux and NixOS. That task would be a *lot* easier, if there were proper release archives available for download. The Gitweb site offers to create snapshot tarballs on the fly, but those tarballs have a different SHA hash every time they're generated, so they cannot be used for the purposes of a distribution. A simple solution for this problem would be to enable snapshots in zip format (because zip files look the same every time they're generated).
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus"
nickname="Jimmy"
subject="comment 2"
date="2011-03-22T14:01:37Z"
content="""
maybe snag tarballs from <http://packages.debian.org/experimental/git-annex> ?
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joey.kitenet.net/"
nickname="joey"
subject="comment 3"
date="2011-03-22T18:09:21Z"
content="""
The tarballs produced by gitweb are actually stable. They are wrapped in a gz file with a varying timestamp however. It might be nice if gitweb passed --no-name to gzip to avoid that inconsistency.
git-annex also has a [pristine-tar](http://kitenet.net/~joey/code/pristine-tar/) branch in git that can be used to recreate the tarballs I upload to Debian.
"""]]