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

This commit is contained in:
Joey Hess 2014-03-18 16:15:46 -04:00
commit fa641dad2d
20 changed files with 201 additions and 45 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 1"
date="2014-03-18T19:36:08Z"
content="""
Is this still relevant?
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 1"
date="2014-03-18T20:00:16Z"
content="""
`git diff` is quite flexible; it can use external diff drivers to perform the diff. Someone could write a diff driver that knows about git-annex symlinks, and shows some kind of diff of the file contents (since the files are probably binary, this gets into how to display a diff of different file types..)
"""]]

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 2"
date="2014-03-18T20:08:13Z"
content="""
There's now an easy way to do this:
git annex find --include=* --format='.git/annex/tmp/${hashdirmixed}${key}/${key}\n'
Pass it the file or files you're interested in to get their partially transferred contents.
"""]]

View file

@ -0,0 +1,20 @@
Currently looking at the metadata and views.
One of the things I would like to do is have a view that shows files by metadata metadata.. for example, "when the file last had tags changed".
Something along the lines of
$ git annex view metadata-tag-mtime=YYYYMMDD
view (searching...)
Switched to branch 'views/metadata/tag/mtime/YYYYMMDD'
ok
$ ls
20130816
20130921
20131015
This would allow me to review files that haven't had any tag changes applied for a while and thus, may need the tags updating.
I've done this in every tagging system I've used by (ab)using mtime, but that requires an additional step (of touching the file).

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 1"
date="2014-03-18T17:09:55Z"
content="""
I think this would be pretty easy to do actually. No need to trawl through git history to find when a field changed; the metadata log file format includes the timestamp when a line was changed, so it would only need to find the newest timestamp for the field in the current version of the file.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 3"
date="2014-03-18T19:49:09Z"
content="""
The new [[special_remotes/external]] special remote's protocol has GETSTATE and SETSTATE commands that can be used to store per-remote values in the git-annex branch.
So, please go make these special remotes using it!
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 1"
date="2014-03-18T20:02:14Z"
content="""
I suggest that if someone wants to build this, they use the new external special remote protocol to do it.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.154"
subject="comment 1"
date="2014-03-18T19:38:19Z"
content="""
Why not just use git's alias system? It can't make `git annex $foo` aliases, but `git $foo` is shorter anyway..
"""]]