Hello, On 9 January 2014 09:43, shtine <sht...@runway.lv> wrote: > Hello, >> >> Perhaps the error is a bit misleading... Should it be possible to add >> files that are above the root of the open fossil repository? > > This would be a nice feature to have. I want to use fossil to manage changes > on linux based VPN Routers. Some of my config files live in /etc , some in > /opt/scripts. It would be nice to be possible to run fossil from something > like /opt/archive. Currently, for my purposes, I can only run it from (/) > root directory which is not so flexible.
Perhaps having fossil manage files outside its own root is not practical to implement/want, I don't know. BTW, I use something very similar to what you have there: all config/source/binaries that make a vanilla system into a system so-and-so usable for me live in /cust. Inside that dir is a dir 'linkroot' which acts like an overlay to the root-dir. (There's a /cust/linkroot/etc/rc.local, for instance.) Also in /cust is an 'install' script, which does basically the following: traverse /cust/linkroot, and for each file/dir there, set up a symlink in the normal filesystem, pointing to somewhere within 'linkroot'. Care is taken that already existing files/dirs are renamed out of the way, and some other shortcuts. The /cust is the root of the fossil-repo for that (type of) machine. It works very well; I can effectively 'clone' a machine by opening the repo and running the 'install'-script. And of course the versioning, history and possible protection against fsckups is great :-) If interested I can share the install-script; it's not rocket science, comes with no guarantees and is only tested on NetBSD. But may be used as a starting point. Michai > > Andrey Shtine > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users