Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2013-12-07 10:56:07 -04:00
commit 1cb9b3b6c7
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Hello,
I'm still looking for a way to version control the metadata (title, artist, album name, ...) of my MP3s, I wonder if git annex could help for this problem ?
The method I use now (without git annex) is to export the MP3 metadata to an textual format with one line per tag.
It's this textual file I handles with git.
The problem is to handle the mapping between the orignal file and the export file with file renaming or moving.
I consider to use the checksum of the audio content (without metadata, this checksum never changes) to handle this problem.
Maybe git annex has a different approach (better) to solve this problem ?
How git annex would be use to solve the orignal problem ?
Regards,
Emmanuel Berry

View file

@ -0,0 +1,11 @@
[[!comment format=mdwn
username="gan"
ip="85.224.8.104"
subject="Hook implementation?"
date="2013-12-07T01:15:46Z"
content="""
1. I would propose the name \"plain directory\" for this special remote. Clean is not a good description, IMHO.
2. When I read this a week ago I took the opportunity to play with the special remote hook, because as far as I can understand this could be a relatively trivial implementation that need not necessarily be in git-annex \"core\". And I'd like to contribute back to the git-annex community and help a brother out... I used the method of calling a single script from all hook points, and inside it look at what operation was requested.
I didn't get that far before giving up however. I got the feeling that hook would benefit from some extension and a bit more complete API to really create the opportunity for third-party extensions to git-annex this way. I would prefer that the hook script can handle several instances of remotes without creating custom hook scripts for each instance. Specifically I think a hook is needed also for \"init\" of a new remote (to get a unique identifier, and other parameters given by the user such as in this particular case, the path to the \"clean directory\") What do you think?
"""]]