Commit graph

13029 commits

Author SHA1 Message Date
Joey Hess
5e2f391bca
fix link 2014-02-20 13:24:34 -04:00
Joey Hess
767dec171b
views demo screencast 2014-02-20 13:23:07 -04:00
Joey Hess
bbb7440162
better proposed syntax for filename derived metadata 2014-02-20 13:04:57 -04:00
Joey Hess
a1c28de86d Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-20 13:02:11 -04:00
Joey Hess
c7489ad4e2
todo: metadata derived from master branch filename 2014-02-20 13:00:05 -04:00
Joey Hess
2f52fa60d1 todo: git annex add while on view, what to do? 2014-02-20 12:37:28 -04:00
Joey Hess
19bec37590 todo: assistant support 2014-02-20 12:34:11 -04:00
Helmut Grohne
8fdade6819 there is nothing for git-annex to do to support ASIC hashing 2014-02-20 13:39:49 +01:00
https://www.google.com/accounts/o8/id?id=AItOawmPTL3pk1gDt1-zQJY2Qv0K8VzPbTYUmPQ
680bd465a7 2014-02-20 11:32:49 +00:00
http://grossmeier.net/
eddf388162 Added a comment: indirect vs direct 2014-02-20 06:25:32 +00:00
http://grossmeier.net/
cdb4a1e0a7 no sense in showing all those unused files 2014-02-20 06:22:35 +00:00
http://grossmeier.net/
70eb132846 rename forum/copy_unused_and_unused_not_agreeing.mdwn to bugs/copy_unused_and_unused_not_agreeing.mdwn 2014-02-20 06:13:21 +00:00
http://grossmeier.net/
07a5982716 2014-02-20 06:06:30 +00:00
Joey Hess
b4cd752696
devblog 2014-02-19 21:56:42 -04:00
Joey Hess
0dba83aa87
update 2014-02-19 17:50:30 -04:00
Joey Hess
33f2ea61ff Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-19 17:39:58 -04:00
Joey Hess
dd7b99c860 add tip about metadata driven views (and more flexible view filtering)
While writing this documentation, I realized that there needed to be a way
to stay in a view like tag=* while adding a filter like tag=work that
applies to the same field.

So, there are really two ways a view can be refined. It can have a new
"field=explicitvalue" filter added to it, which does not change the
"shape" of the view, but narrows the files it shows.
Or, it can have a new view added, which adds another level of
subdirectories.

So, added a vfilter command, which takes explicit values to add to the
filter, and rejects changes that would change the shape of the view.

And, made vadd only accept changes that change the shape of the view.

And, changed the View data type slightly; now components that can match
multiple metadata values can be visible, or not visible.

This commit was sponsored by Stelian Iancu.
2014-02-19 16:29:56 -04:00
Joey Hess
d8ce6cac36 metadata: add --tag and --untag shorthand options 2014-02-19 15:04:12 -04:00
Joey Hess
e7672f197e new section for metadata 2014-02-19 14:55:34 -04:00
Joey Hess
39ebfa1a2e pre-commit: Update metadata when committing changes to annexed files within a view.
So the user can now switch to a view and then move files around within it
to manage metadata. For example, moving a file into a new directory
when in the tags=* view adds a tag to it.

Implementation is fairly efficient. One diff-index, which is no more
expensive than the first stage of a git commit, followed by possibly
some cat-file --batch traffic to find the key (when deleting a file).
Very similar to what's done in direct mode when committing. And like
direct mode when updating the WC after a merge, it has to buffer the
diff-tree values in order to make 2 passes over them.

When not in a view, pre-commit now does one extra git symbolic-ref,
which is tiny overhead.

This commit was sponsored by Andrew Eskridge.
2014-02-19 14:17:58 -04:00
http://grossmeier.net/
5194b162fa 2014-02-19 18:16:21 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm3ayIrWKe5SqLYomXiCL-l2CDpREvA-IE
3a94295ed1 Added a comment: Seconding this Bug. 2014-02-19 02:04:34 +00:00
Joey Hess
57d7491d1f
devblog 2014-02-18 21:58:19 -04:00
Joey Hess
1a53c87057 vpop N 2014-02-18 21:57:21 -04:00
Joey Hess
8ff05cf55b Merge branch 'view' 2014-02-18 21:50:24 -04:00
Joey Hess
67a5f02a0b add vcycle command 2014-02-18 20:16:28 -04:00
Joey Hess
f603692a72 add vadd command 2014-02-18 20:02:09 -04:00
http://23.gs/
0e6173ab57 2014-02-18 23:59:16 +00:00
Greg Grossmeier
4650a1f749 initremote -> enableremote, pretty sure 2014-02-18 15:53:48 -08:00
http://grossmeier.net/
be67112e43 Added a comment: missing steps? 2014-02-18 23:51:01 +00:00
Joey Hess
67fd06af76 add git annex view command
(And a vpop command, which is still a bit buggy.)

Still need to do vadd and vrm, though this also adds their documentation.

Currently not very happy with the view log data serialization. I had to
lose the TDFA regexps temporarily, so I can have Read/Show instances of
View. I expect the view log format will change in some incompatable way
later, probably adding last known refs for the parent branch to View
or something like that.

Anyway, it basically works, although it's a bit slow looking up the
metadata. The actual git branch construction is about as fast as it can be
using the current git plumbing.

This commit was sponsored by Peter Hogg.
2014-02-18 18:22:20 -04:00
https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR8
32ecaad586 2014-02-18 18:28:27 +00:00
http://geoffreyirving.myopenid.com/
a345c74e8a Added a comment: encrypted home directory 2014-02-18 18:05:25 +00:00
http://geoffreyirving.myopenid.com/
1585480c37 2014-02-18 17:49:35 +00:00
stp
5c81fce77f 2014-02-17 23:27:05 +00:00
stp
759ccd0601 Added a comment: Update one forgetting keys no longer present 2014-02-17 23:21:49 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnFjuvfPpi1kf6l54bxfFUm0Aw_Gf_IO0o
8f10390095 Added a comment: Too big to fsck 2014-02-17 22:33:39 +00:00
stp
b820820ba3 Added a comment: Earlier version syntax was removed 2014-02-17 16:05:34 +00:00
stp
30561e2f02 removed 2014-02-17 16:05:10 +00:00
stp
cda6566514 Added a comment: Earlier version syntax was removed 2014-02-17 16:01:16 +00:00
stp
035b6c8552 2014-02-17 15:56:56 +00:00
stp
9e8370d1b9 Fix command to match fsck description 2014-02-17 15:53:46 +00:00
stp
d873483be6 2014-02-17 15:49:10 +00:00
stp
ee37c0b79a 2014-02-17 15:38:36 +00:00
https://renaud.casenave.fr/
8f1e02f2a8 Added a comment 2014-02-17 13:15:24 +00:00
Helmut Grohne
008b4ca27e comment on descriptive git-annex commit messages 2014-02-17 08:45:43 +01:00
https://www.google.com/accounts/o8/id?id=AItOawn3rK4VDzxyhmrIc18z7F5OuXvEbUsgUac
a7441a3d69 Added a comment: no more issue 2014-02-17 04:25:42 +00:00
https://www.google.com/accounts/o8/id?id=AItOawn3rK4VDzxyhmrIc18z7F5OuXvEbUsgUac
fb56b4ecfb Added a comment: Progress, but still issues 2014-02-17 04:09:23 +00:00
Joey Hess
c54792e367 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-16 17:43:21 -04:00
Joey Hess
2825f2e41d devblog 2014-02-16 17:39:39 -04:00