Commit graph

17666 commits

Author SHA1 Message Date
Joey Hess
73ed2f8ec1 remove spam 2014-02-20 14:57:48 -04:00
Joey Hess
e73364c4bd close 2014-02-20 14:51:44 -04:00
Joey Hess
f21889a9a3
update walkthrough 2014-02-20 14:48:09 -04:00
Joey Hess
134fdefb8c fsck: When run with --all or --unused, while .gitattributes annex.numcopies cannot be honored since it's operating on keys instead of files, make it honor the global numcopies setting, and the annex.numcopies git config setting. 2014-02-20 14:45:17 -04:00
Joey Hess
2845224884 close 2014-02-20 14:25:24 -04:00
Joey Hess
fe5f7b9a48 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-20 13:57:06 -04:00
Joey Hess
db48b8a4a3 unused: Fix to actually detect unused keys when in direct mode. 2014-02-20 13:53:49 -04:00
Joey Hess
5ef4f1d603 close 2014-02-20 13:42:28 -04:00
http://joeyh.name/
200ee83848 Added a comment 2014-02-20 17:42:10 +00:00
Joey Hess
a6ec84af67
https 2014-02-20 13:26:53 -04:00
Joey Hess
f7d418cd1a
credits 2014-02-20 13:25:57 -04:00
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
aad67a6538
urk, forgot to check this in yesterday! 2014-02-20 13:00:34 -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
cfed7f6a5d remove special case for tags in view branch names
Just having "_" for tags=* turned out to be too hard to understand.

Note that this invalidaes all current views.
2014-02-19 17:38:45 -04:00
Joey Hess
c85a482136 improve view branch name when there are a list of values 2014-02-19 16:35:00 -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
Joey Hess
02259d2a55 speed up currentView when not in a view
Avoid reading the view log when the branch is clearly not a view branch.
2014-02-19 12:52:47 -04:00
Joey Hess
1fe6cd3c0d decruft 2014-02-19 02:32:22 -04:00
Joey Hess
fb266e2da6 make view globs case-insensative, memoized, and bring back TFDA
I was careful to write the code so its clear how laziness memoizes it,
although it's likely that much less explicit currying would have had
the same effect. Verified that the memoization works using a Debug.Trace.
2014-02-19 02:30:14 -04:00
Joey Hess
0b7ede2088 reject views with too many nested subdirs 2014-02-19 01:28:48 -04:00
Joey Hess
4e0be2792b remove Read instance for Ref
Removed instance, got it all to build using fromRef. (With a few things
that really need to show something using a ref for debugging stubbed out.)

Then added back Read instance, and made Logs.View use it for serialization.
This changes the view log format.
2014-02-19 01:19:57 -04:00
Joey Hess
eb7b8747f9 Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-18 22:13:34 -04:00
Joey Hess
587a81e42f
vpop N: remove skipped over views 2014-02-18 22:12:42 -04: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
fafb51946c Merge branch 'master' of ssh://git-annex.branchable.com 2014-02-18 21:36:08 -04:00
Joey Hess
2bf338f443 fixed vpop 2014-02-18 21:09:25 -04:00
Joey Hess
72c118152f fix view changing when in subdir
Failed reading some files with relative paths. This is a quick and dirty
fix.
2014-02-18 20:57:14 -04:00
Joey Hess
9b51d43318 view: preserve toplevel dotfiles 2014-02-18 20:32:00 -04:00