Commit graph

17780 commits

Author SHA1 Message Date
Joey Hess
1f5aac6ad0
devblog 2014-02-24 18:48:27 -04:00
Joey Hess
50ded61c26 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-24 18:22:22 -04:00
Joey Hess
d5a2b498f6 webdav: When built with DAV 0.6.0, use the new DAV monad to avoid locking files, which is not needed by git-annex's use of webdav, and does not work on Box.com. 2014-02-24 18:21:51 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkQafKy7hNSEolLs6TvbgUnkklTctUY9LI
2d9787a991 Added a comment: sounds good 2014-02-24 19:39:12 +00:00
Joey Hess
08e7581e34 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-24 15:29:42 -04:00
Joey Hess
45e7040142 webapp: Fix creation of box.com, S3, and Glacier repositories, broken in 5.20140221. 2014-02-24 15:29:17 -04:00
http://joeyh.name/
9e85ad4545 Added a comment 2014-02-24 19:07:33 +00:00
Joey Hess
d70220e0f4 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-24 14:45:25 -04:00
Joey Hess
0506764fc3 update 2014-02-24 14:45:19 -04:00
Joey Hess
8d5158fa31 Preserve metadata when staging a new version of an annexed file.
Performance impact: When adding a large tree of new files, this needs
to do some git cat-file queries to check if any of the files already
existed and might need a metadata copy. I tried a benchmark in a copy
of my sound repository (so there was already a significant git tree
to check against.

Adding 10000 small files, with a cold cache:
  before: 1m48.539s
  after:  1m52.791s

So, impact is 0.0004 seconds per file added. Which seems acceptable, so did
not add some kind of configuration to enable/disable this.

This commit was sponsored by Lisa Feilen.
2014-02-24 14:41:33 -04:00
http://joeyh.name/
df43ce926b Added a comment 2014-02-24 18:32:31 +00:00
http://joeyh.name/
e7252cf192 Added a comment 2014-02-24 18:17:04 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkQafKy7hNSEolLs6TvbgUnkklTctUY9LI
d9b079ff4b 2014-02-24 17:54:45 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR8
5ad9a7c902 Added a comment 2014-02-24 13:20:28 +00:00
stp
abda0ba6a8 Added a comment: New findings 2014-02-24 12:28:08 +00:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
b893cd241c Added a comment 2014-02-23 19:45:09 +00:00
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
fec95d3b96 Added a comment 2014-02-23 19:39:28 +00:00
http://joeyh.name/
09819dc1db Added a comment 2014-02-23 19:12:10 +00:00
http://joeyh.name/
f423c1067e Added a comment 2014-02-23 19:09:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawk6I980MaZ8Xm0giW9VYpms1_vG13xurdw
ef7f485ecd 2014-02-23 19:08:39 +00:00
http://joeyh.name/
3d340ab05f Added a comment 2014-02-23 19:07:59 +00:00
http://joeyh.name/
37a12d1762 Added a comment 2014-02-23 18:57:43 +00:00
http://joeyh.name/
1cab30f3df Added a comment 2014-02-23 18:51:45 +00:00
Joey Hess
d2f592429d Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-23 13:59:22 -04:00
Joey Hess
fb4e1ebfbe metadata: Support --json 2014-02-23 13:58:16 -04:00
Joey Hess
b437787eee metadata: Field names limited to alphanumerics and a few whitelisted punctuation characters to avoid issues with views, etc. 2014-02-23 13:34:59 -04:00
stp
e0c1cbdab7 Added a comment: Ídea 2014-02-23 14:25:23 +00:00
Joey Hess
ee8a443d49
layout 2014-02-23 00:27:18 -04:00
Joey Hess
1ccfcee117
devblog 2014-02-23 00:25:46 -04:00
Joey Hess
a26ae550a5 more todos 2014-02-23 00:25:35 -04:00
Joey Hess
5758f34e72 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-23 00:13:55 -04:00
Joey Hess
f1fd42a7b5
add note 2014-02-23 00:13:19 -04:00
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
https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8
52e6390c68 2014-02-23 03:17:39 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnFjuvfPpi1kf6l54bxfFUm0Aw_Gf_IO0o
9738d67913 2014-02-22 23:39:43 +00:00
Joey Hess
fa6f553083 exclude derived metadata when extracting metadata from a viewed file 2014-02-22 18:16:28 -04:00
https://www.google.com/accounts/o8/id?id=AItOawm3vKzS4eOWYpKMoYXqMIjNsIg_nYF-loU
bf0d1d6017 Added a comment: Already existing metadata implementation 2014-02-22 21:45:26 +00: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