Hi Richard and Fossil folks,

I'm Lonnie Abelbeck, a developer with the AstLinux Open Source project ( 
http://www.astlinux.org ) an x86 image, only 50 MB in size, geared primarily to 
implement the Asterisk PBX, but we do a lot more than just a PBX.

Richard kindly requested I forward some info here describing how we have 
implemented Fossil, currently only in our development version of AstLinux.  I 
hope you don't mind a few details...

If you are not aware, Asterisk is configured with a lot of text *.conf files, 
additionally our AstLinux system is configured via a directory full of text 
*.conf files, usually auto-generated from a web interface.

Fossil hit our radar, and we wondered if it could be used to track changes to 
these configuration files in a way a non-developer type could easily understand.

Long story short, success, Fossil is a gem !

BTW, the decision to use ANSI C was absolutely perfect.  I am struck by how 
small and efficient Fossil is.  Our users typically now use Intel Atom-class 
boards, but we still have users with 500 Mhz AMD Geode boards and Fossil is 
"snappy" on those old boards.

We have put together some documentation for the upcoming AstLinux 1.2.4 release 
containing Fossil, this should give you a flavor of how we have simplified the 
configuration to only relevant configuration files within AstLinux.

Fossil - Software Configuration Management
http://doc.astlinux.org/userdoc:tt_fossil

On the network side we implement fossil with "fossil server --localhost --port 
8055 ..." and then use lighttpd to proxy only HTTPS /admin/fossil/ to 
127.0.0.1:8055 .  Note this took a little patching to Fossil to make this work, 
as the "--baseurl URL" option is not complete enough, partially because of 
lighttpd's somewhat limited mod_proxy module.  Fortunately that patch is fairly 
simple:

http://svn.code.sf.net/p/astlinux/code/branches/1.0/package/fossil/fossil-0001-proxy-base.patch

Since any HTTPS access to /admin/fossil/ is authenticated by lighttpd, we set 
Fossil's "nobody" permissions to "a" (admin) and add the "admin" user for "s" 
(setup) permissions.

The Fossil repository is by default maintained only locally for each system, 
but some AstLinux integrators with many boxes may see fit to relocate the repo 
remotely and clone it locally.

Our build system is an older version of Buildroot (which we maintain) and cross 
compile using the "crosstool-NG" toolchain for x86.  Here is our Fossil package 
implementation:

SourceForge svn repo for fossil package:
http://svn.code.sf.net/p/astlinux/code/branches/1.0/package/fossil/
-or-
http://sourceforge.net/p/astlinux/code/HEAD/tree/branches/1.0/package/fossil/

(Yes SourceForge SVN, our project is over 10 years old, old habits die hard :-) 
)


Thanks to those here making Fossil the world-class project it is !

Lonnie

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to