Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006198OCaml-for ocamlbuild use 20:362015-12-11 19:24
Assigned Togasche 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version3.12.1 
Target VersionFixed in Version 
Summary0006198: There is no way to disable recursion/traversal
DescriptionOcamlbuild currently sets the traversal tag on any file when _tags or is present in a directory. As far as I can see, there is no way to unset the traversal flag once it has been set.

I want to do this because I am trying to include project B as a sub-project in project A. A uses ocamlbuild. B does not. However, B contains C as a sub-project, which does use ocamlbuild. B arranges for ocamlbuild to be called in C, though, so I do not want A to read any of the _tags files in C.
Steps To Reproducen/a
Additional Informationn/a
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
gasche (developer)
2013-10-01 20:40
edited on: 2013-10-01 20:43

To disable traversal of all subdirectories, just add

  true: -traverse

in your _tags file.

You can then enable traversal for a specific directory foo/ with

  "foo": traverse

You can also disable subtraversal on a per-subdirectory basis with

  "foo": -tarverse

But for scalability reason I find it better to disable traversal globally, then enable it locally.

edmcman (reporter)
2013-10-01 20:44
edited on: 2013-10-01 20:45

Thanks for the speedy response. I tried "no_traverse" for some reason instead of -traverse.

- Issue History
Date Modified Username Field Change
2013-10-01 20:36 edmcman New Issue
2013-10-01 20:40 gasche Note Added: 0010412
2013-10-01 20:41 gasche Status new => resolved
2013-10-01 20:41 gasche Resolution open => no change required
2013-10-01 20:41 gasche Assigned To => gasche
2013-10-01 20:43 gasche Note Edited: 0010412 View Revisions
2013-10-01 20:44 edmcman Note Added: 0010413
2013-10-01 20:45 edmcman Note Edited: 0010413 View Revisions
2015-12-11 19:24 xleroy Status resolved => closed
2017-02-23 16:34 doligez Category OCamlbuild (the tool) => for ocamlbuild use [^]
2017-02-23 16:44 doligez Category for ocamlbuild use [^] => -for ocamlbuild use [^]

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker