Commit graph

17745 commits

Author SHA1 Message Date
Joey Hess
7498c5dd96 annex.genmetadata can be set to make git-annex automatically set metadata (year and month) when adding files 2014-02-23 00:08:29 -04:00
Joey Hess
fa6f553083 exclude derived metadata when extracting metadata from a viewed file 2014-02-22 18:16:28 -04:00
Joey Hess
c6fae24f7c etoolong 2014-02-22 16:37:13 -04:00
Joey Hess
2d2a480325 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-22 16:35:48 -04:00
Joey Hess
b4a3ee7f59 rather ugly workaround for directories with spaces as MetaFields 2014-02-22 16:32:39 -04:00
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
Joey Hess
73a5245502 prune imports 2014-02-22 14:58:05 -04:00
Joey Hess
cc0a576ab0 change directory encoding in ViewedFile such that the original directory can be extracted from it 2014-02-22 14:54:53 -04:00
Joey Hess
1435c4f149 factor out new module 2014-02-22 13:35:50 -04:00
https://id.koumbit.net/anarcat
505db554f6 add missing traillink, so that we don't jump from disaster recovery to telehash.. 2014-02-22 05:19:52 +00:00
http://joeyh.name/
1a86fa08bc Added a comment 2014-02-21 22:36:51 +00:00
Joey Hess
2a65f07621 note case insensative matching 2014-02-21 18:36:36 -04:00
Joey Hess
39d7579f04 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-21 18:34:58 -04:00
Joey Hess
24f8136504 --metadata field=value can now use globs to match, and matches case insensatively, the same as git annex view field=value does.
Also refactored glob code into its own module.
2014-02-21 18:34:34 -04:00
http://joeyh.name/
4047c52ee1 Added a comment 2014-02-21 22:34:14 +00:00
http://grossmeier.net/
3e680aea9a Added a comment: very remote specific 2014-02-21 22:11:16 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmZgZuUhZlHpd_AbbcixY0QQiutb2I7GWY
9babfe70b7 Added a comment 2014-02-21 22:05:06 +00:00
Dennis
8cce997e1f 2014-02-21 21:51:55 +00:00
http://joeyh.name/
3585596b6f Added a comment 2014-02-21 21:36:14 +00:00
Greg Grossmeier
2d17759be6 clarification 2014-02-21 13:30:11 -08:00
Greg Grossmeier
d124228f1d Added todo for handling ctrl c in transfers 2014-02-21 13:28:17 -08:00
https://www.google.com/accounts/o8/id?id=AItOawnBJ6Dv1glxzzi4qIzGFNa6F-mfHIvv9Ck
f0fb81445f Added a comment: Metadata? 2014-02-21 18:44:10 +00:00
http://grossmeier.net/
57e3b037ed Added a comment: confirmed 2014-02-21 17:53:02 +00:00
Joey Hess
e834227202
move bug from forum and close 2014-02-21 13:43:20 -04:00
http://joeyh.name/
6aa9f1f788 Added a comment 2014-02-21 17:36:03 +00:00
Joey Hess
df87e94b5b Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-21 13:21:44 -04:00
Joey Hess
ded4ab5704 Fix handling of rsync remote urls containing a username, including rsync.net.
This breakage seems to have been caused way back in a1eded86,
but I am pretty sure rsync.net support has not been entirely
broken since last April. AFAICS, the generated .ssh/config
has not changed since then -- it has never included a Username setting
line. So, I am puzzled at when this reversion was introduced.

Note that the breakage only affected checkpresent and remove. Upload and
download use the ssh connection caching, which includes a -l username.
2014-02-21 13:20:57 -04:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
1c48f30427 2014-02-21 16:58:44 +00:00
Joey Hess
764090d58f commit before info file build, so that any modified annexed files get updated 2014-02-21 12:13:12 -04:00
Joey Hess
a2886f2dd3
fix build of DistributionUpdate 2014-02-21 12:08:25 -04:00
Joey Hess
1ee8d76f54 add news item for git-annex 5.20140221 2014-02-21 12:06:31 -04:00
Joey Hess
bdfc8e1f44 fix build with old version of Data.Set that lacks toDescList 2014-02-21 11:30:31 -04:00
Joey Hess
1f6f034e90 prep release 2014-02-21 11:24:18 -04:00
http://joeyh.name/
3bb5f9a344 Added a comment: good 2014-02-21 15:20:40 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmZgZuUhZlHpd_AbbcixY0QQiutb2I7GWY
52585d744f Added a comment 2014-02-21 07:05:35 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmZgZuUhZlHpd_AbbcixY0QQiutb2I7GWY
e23ab69e72 Added a comment 2014-02-21 07:03:23 +00:00
https://www.google.com/accounts/o8/id?id=AItOawneiQ3iR9VXOPEP34u7m_L3Qr28H1nEfE0
1a47f5f1e2 Added a comment: LFS 2014-02-21 00:04:00 +00:00
Joey Hess
d51d0a344f Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-20 18:48:10 -04:00
Joey Hess
b5b8425f40
fixed 2014-02-20 18:39:46 -04:00
stp
6c5f639b44 Added a comment 2014-02-20 22:19:12 +00:00
http://grossmeier.net/
3f5569b515 Added a comment 2014-02-20 22:04:58 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlJEI45rGczFAnuM7gRSj4C6s9AS9yPZDc
c28ad28477 Added a comment: Neat! 2014-02-20 21:59:05 +00:00
stp
1f37922545 Added a comment: Some suggestions 2014-02-20 21:22:21 +00:00
stp
31b6cc569d Added a comment: Great improvements 2014-02-20 21:20:15 +00:00
stp
e8f6bf8820 Added a comment: Some ideas for content sync 2014-02-20 21:18:30 +00:00
http://joeyh.name/
b295a926bf Added a comment 2014-02-20 21:14:21 +00:00
stp
7d802471bb Added a comment 2014-02-20 21:07:41 +00:00
Joey Hess
ddba85bf72
bold 2014-02-20 16:42:24 -04:00
Joey Hess
a416672f02
devblog 2014-02-20 16:39:57 -04:00
Joey Hess
991f0ad5c2 update roadmap 2014-02-20 16:38:49 -04:00