git-annex/doc/design
Joey Hess 079b35a1a8 views: add automatically constructed file location metadata
When constructing views, metadata is available about the location of the
file in the view's reference branch. Allows incorporating parts of the
directory hierarchy in a view.

For example `git annex view tag=* podcasts/=*` makes a view in the form
tag/showname.

Performance impact: I benchmarked git annex view tag=* in the conference
proceedings repo to take 6.459s before this change, and 6.544s after.

FWIW, I considered making the syntax for this be podcasts/*, which might
be easier for the user to learn. However, I think it's not as good:

* The user has to then juggle two different syntaxes, and podcasts/* will
  be expanded by the shell so they also need to quote it, while podcasts/=*
  is unlikely to be expanded by the shell.
* It would allow for things like podcasts/*/* and *.mp3 which do not
  map well into views.

This commit was sponsored by Aurélien Pinceaux.
2014-02-22 16:27:53 -04:00
..
assistant remove spam 2014-02-20 14:57:48 -04:00
encryption Added a comment 2012-08-15 19:16:10 +00:00
external_special_remote_protocol Added a comment 2014-02-11 13:44:10 +00:00
assistant.mdwn split out roadmap 2013-09-06 14:06:15 -04:00
encryption.mdwn clarify 2013-08-29 14:32:25 -04:00
external_special_remote_protocol.mdwn fix missing SETCONFIG Value 2014-02-10 21:11:48 -04:00
gcrypt.mdwn automatically derive an annex-uuid from a gcrypt-uuids 2013-09-05 16:02:39 -04:00
metadata.mdwn views: add automatically constructed file location metadata 2014-02-22 16:27:53 -04:00
preferred_content.mdwn preferred content stability analysis 2014-01-22 15:55:44 -04:00
roadmap.mdwn bold 2014-02-20 16:42:24 -04:00