Hello Douglas, Douglas Stanley wrote: > Hello list, I'm new to the list and to trac in general. My employer > likes the "Browse Source" feature of trac, but would like to have a > similar browse feature be available for a simple directory structure > on disk (i.e. not a vcs repository). >
I had the same idea, but never got around implementing it. I think I could probably assist you in this project. > They like how the directory is listed nicely and the mimeview plugins, > but have files they don't want to store in version control, but would > still like them browse-able similar to how the TracBrowser does it. > > So my question is, do any of you know if a plugin like this has > already been written? If not, is it even feasible? I'm assuming I > could write a fake version control plugin if I needed to? > A "FileSystemRepository" would certainly be possible, perhaps a few places in the Browser module should be adapted (like coping with missing version info). Of course, this project would have to be based on the /sandbox/multirepos branch of Trac, as otherwise you would have to choose between a "normal" vcs repository and this fs repository. MultiRepos allows one to have both, and actually as many different fs roots as needed. As the code for this shouldn't actually be too big, the feature would be self-contained and of "universal" use, I think it would be even suited for being included in Trac proper. What do others think? -- Christian _______________________________________________ th-users mailing list [email protected] https://lists.trac-hacks.org/mailman/listinfo/th-users
