summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* add tip about metadata driven views (and more flexible view filtering)Gravatar Joey Hess2014-02-19
| | | | | | | | | | | | | | | | | | | | | | 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.
* metadata: add --tag and --untag shorthand optionsGravatar Joey Hess2014-02-19
|
* new section for metadataGravatar Joey Hess2014-02-19
|
* pre-commit: Update metadata when committing changes to annexed files within ↵Gravatar Joey Hess2014-02-19
| | | | | | | | | | | | | | | | | | | | 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.
* speed up currentView when not in a viewGravatar Joey Hess2014-02-19
| | | | Avoid reading the view log when the branch is clearly not a view branch.
* decruftGravatar Joey Hess2014-02-19
|
* make view globs case-insensative, memoized, and bring back TFDAGravatar Joey Hess2014-02-19
| | | | | | 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.
* reject views with too many nested subdirsGravatar Joey Hess2014-02-19
|
* remove Read instance for RefGravatar Joey Hess2014-02-19
| | | | | | | | 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.
* Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-02-18
|\
* | vpop N: remove skipped over viewsGravatar Joey Hess2014-02-18
| |
| * Added a comment: Seconding this Bug.Gravatar https://www.google.com/accounts/o8/id?id=AItOawm3ayIrWKe5SqLYomXiCL-l2CDpREvA-IE2014-02-19
|/
* devblogGravatar Joey Hess2014-02-18
|
* vpop NGravatar Joey Hess2014-02-18
|
* Merge branch 'view'Gravatar Joey Hess2014-02-18
|\
* \ Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-02-18
|\ \
| | * fixed vpopGravatar Joey Hess2014-02-18
| | |
| | * fix view changing when in subdirGravatar Joey Hess2014-02-18
| | | | | | | | | | | | | | | Failed reading some files with relative paths. This is a quick and dirty fix.
| | * view: preserve toplevel dotfilesGravatar Joey Hess2014-02-18
| | |
| | * add vcycle commandGravatar Joey Hess2014-02-18
| | |
| | * add vadd commandGravatar Joey Hess2014-02-18
| | |
| | * improve view filenamesGravatar Joey Hess2014-02-18
| | |
| * | (no commit message)Gravatar http://23.gs/2014-02-18
| | |
| * | initremote -> enableremote, pretty sureGravatar Greg Grossmeier2014-02-18
| | |
| * | Added a comment: missing steps?Gravatar http://grossmeier.net/2014-02-18
| | |
| | * add git annex view commandGravatar Joey Hess2014-02-18
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
| * (no commit message)Gravatar https://www.google.com/accounts/o8/id?id=AItOawk9nck8WX8-ADF3Fdh5vFo4Qrw1I_bJcR82014-02-18
| |
| * Added a comment: encrypted home directoryGravatar http://geoffreyirving.myopenid.com/2014-02-18
| |
| * (no commit message)Gravatar http://geoffreyirving.myopenid.com/2014-02-18
| |
| * (no commit message)Gravatar stp2014-02-17
| |
| * Added a comment: Update one forgetting keys no longer presentGravatar stp2014-02-17
| |
| * Added a comment: Too big to fsckGravatar https://www.google.com/accounts/o8/id?id=AItOawnFjuvfPpi1kf6l54bxfFUm0Aw_Gf_IO0o2014-02-17
| |
* | Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2014-02-17
|\|
| * Added a comment: Earlier version syntax was removedGravatar stp2014-02-17
| |
| * removedGravatar stp2014-02-17
| |
| * Added a comment: Earlier version syntax was removedGravatar stp2014-02-17
| |
| * (no commit message)Gravatar stp2014-02-17
| |
| * Fix command to match fsck descriptionGravatar stp2014-02-17
| |
| * (no commit message)Gravatar stp2014-02-17
| |
| * (no commit message)Gravatar stp2014-02-17
| |
| * Added a commentGravatar https://renaud.casenave.fr/2014-02-17
| |
| * comment on descriptive git-annex commit messagesGravatar Helmut Grohne2014-02-17
| |
* | better data typesGravatar Joey Hess2014-02-17
| |
| * Added a comment: no more issueGravatar https://www.google.com/accounts/o8/id?id=AItOawn3rK4VDzxyhmrIc18z7F5OuXvEbUsgUac2014-02-17
| |
* | split out typesGravatar Joey Hess2014-02-17
| |
| * Added a comment: Progress, but still issuesGravatar https://www.google.com/accounts/o8/id?id=AItOawn3rK4VDzxyhmrIc18z7F5OuXvEbUsgUac2014-02-17
|/
* tricky view refining code that keeps track of whether the view is widenening ↵Gravatar Joey Hess2014-02-16
| | | | or narrowing
* support globs when built w/o TDFA, just slowerGravatar Joey Hess2014-02-16
|
* add another quickcheck property, and several edge cases handledGravatar Joey Hess2014-02-16
|
* simplify typeGravatar Joey Hess2014-02-16
|