git-annex/doc/tips
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
..
assume-unstaged
beware_of_SSD_wear_when_doing_fsck_on_large_special_remotes
Building_git-annex_on_Debian_OR___37____164____35____34____164____37____38____34____35___Haskell__33__
centralised_repository:_starting_from_nothing
centralized_git_repository_tutorial Added a comment: How can I resolve a non-fast-forware on the git-annex branch? 2013-10-07 17:08:34 +00:00
Decentralized_repository_behind_a_Firewall
Delay_Assistant_Startup_on_Login
downloading_podcasts Added a comment 2013-08-22 15:29:12 +00:00
finding_duplicate_files Added a comment: a shell script that handles spaces in file names 2013-12-31 10:24:17 +00:00
flickrannex Added a comment: Version 0.1.10 pushed 2013-09-11 20:31:40 +00:00
fully_encrypted_git_repositories_with_gcrypt Added a comment 2013-12-31 19:26:55 +00:00
How_to_retroactively_annex_a_file_already_in_a_git_repo
Internet_Archive_via_S3 Added a comment: still a bug, filed separately! 2013-10-11 18:49:06 +00:00
offline_archive_drives The "git annex content" command is renamed to "git annex wanted". 2013-10-28 14:08:38 -04:00
owncloudannex
recover_data_from_lost+found Added a comment 2014-01-03 21:19:39 +00:00
recovering_from_a_corrupt_git_repository Added a comment 2013-11-14 10:00:20 +00:00
replacing_Sparkleshare_or_dvcs-autosync_with_the_assistant Added a comment 2013-12-12 19:58:53 +00:00
setup_a_public_repository_on_a_web_site Added a comment: web storage 2014-01-17 22:59:28 +00:00
The_perfect_preferred_content_settings_for_my_android_phone Added a comment: Pulling *.flac files as well... too much data 2013-12-31 19:26:36 +00:00
using_Amazon_Glacier Added a comment: confirmed 2014-02-21 17:53:02 +00:00
using_Amazon_S3
using_box.com_as_a_special_remote Added a comment: updated url for drive mount 2013-12-18 20:20:22 +00:00
Using_Git-annex_as_a_web_browsing_assistant doc/: s/amoung/among/gi 2013-12-18 22:09:18 +01:00
using_git_annex_with_no_fixed_hostname_and_optimising_ssh
using_gitolite_with_git-annex Added a comment: Using Gitolite 3.2 2014-01-17 20:14:16 +00:00
using_Google_Cloud_Storage
using_the_web_as_a_special_remote
visualizing_repositories_with_gource Added a comment: You can also use it for LIVE display now 2013-12-19 14:29:19 +00:00
what_to_do_when_you_lose_a_repository Added a comment 2013-12-17 16:11:52 +00:00
yet_another_simple_disk_usage_like_utility rename status to info, and update docs 2013-11-07 12:45:59 -04:00
assume-unstaged.mdwn
automatically_getting_files_on_checkout.mdwn
beware_of_SSD_wear_when_doing_fsck_on_large_special_remotes.mdwn
Building_git-annex_on_Debian_OR___37____164____35____34____164____37____38____34____35___Haskell__33__.mdwn
centralised_repository:_starting_from_nothing.mdwn
centralized_git_repository_tutorial.mdwn revert spam 2013-11-20 00:47:03 -04:00
Crude_Windows_Sync.mdwn 2013-11-21 15:33:35 +00:00
Decentralized_repository_behind_a_Firewall.mdwn rename status to info, and update docs 2013-11-07 12:45:59 -04:00
Delay_Assistant_Startup_on_Login.mdwn
downloading_podcasts.mdwn importfeed: Support youtube playlists. 2013-12-29 15:52:20 -04:00
dropboxannex.mdwn 2014-01-10 14:35:18 +00:00
emacs_integration.mdwn Add magit-annex to emacs integration tips 2014-01-10 18:38:57 -05:00
finding_duplicate_files.mdwn
flickrannex.mdwn 2014-01-10 14:33:01 +00:00
fully_encrypted_git_repositories_with_gcrypt.mdwn Fix a git command 2013-12-23 03:11:52 +00:00
Git_annex_and_Calibre.mdwn really specify direct 2013-10-30 16:35:53 +00:00
googledriveannex.mdwn 2014-01-10 14:34:11 +00:00
How_to_retroactively_annex_a_file_already_in_a_git_repo.mdwn
imapannex.mdwn 2014-01-10 14:33:30 +00:00
Internet_Archive_via_S3.mdwn S3: Try to ensure bucket name is valid for archive.org. 2013-10-16 16:35:47 -04:00
megaannex.mdwn 2014-01-10 14:33:59 +00:00
metadata_driven_views.mdwn views: add automatically constructed file location metadata 2014-02-22 16:27:53 -04:00
migrating_data_to_a_new_backend.mdwn
migrating_two_seperate_disconnected_directories_to_git_annex.mdwn Possibly missing space 2014-01-31 13:37:37 +00:00
offline_archive_drives.mdwn 2013-12-16 06:06:46 +00:00
owncloudannex.mdwn 2014-01-10 14:34:55 +00:00
powerful_file_matching.mdwn
recover_data_from_lost+found.mdwn typo with tabs 2013-11-28 07:26:46 +00:00
recovering_from_a_corrupt_git_repository.mdwn 2013-11-11 05:35:43 +00:00
replacing_Sparkleshare_or_dvcs-autosync_with_the_assistant.mdwn update for direct mode guard 2013-12-12 14:08:37 -04:00
setup_a_public_repository_on_a_web_site.mdwn typo 2013-12-20 10:38:17 -04:00
Shamir_secret_sharing_and_git-annex.mdwn update 2014-01-24 01:05:01 -04:00
shared_git_annex_directory_between_multiple_users.mdwn warning to people who want to do this with encrypted remotes 2013-09-21 16:35:17 +00:00
skydriveannex.mdwn 2014-01-11 13:25:48 +00:00
Synology_NAS_and_git_annex.mdwn add newlines between dummy numbered items 2014-01-02 13:29:32 -04:00
The_perfect_preferred_content_settings_for_my_android_phone.mdwn Tech fix 2013-11-30 15:04:35 +00:00
untrusted_repositories.mdwn
using_Amazon_Glacier.mdwn initremote -> enableremote, pretty sure 2014-02-18 15:53:48 -08:00
using_Amazon_S3.mdwn
using_box.com_as_a_special_remote.mdwn update davfs2 method with new box.com dav url 2013-12-18 20:23:44 +00:00
Using_Git-annex_as_a_web_browsing_assistant.mdwn
using_git_annex_with_no_fixed_hostname_and_optimising_ssh.mdwn
using_gitolite_with_git-annex.mdwn
using_Google_Cloud_Storage.mdwn
using_the_SHA1_backend.mdwn
using_the_web_as_a_special_remote.mdwn global numcopies setting 2014-01-20 16:47:56 -04:00
visualizing_repositories_with_gource.mdwn
what_to_do_when_a_repository_is_corrupted.mdwn
what_to_do_when_you_lose_a_repository.mdwn
yet_another_simple_disk_usage_like_utility.mdwn