[oe] [ANN] Bonsai like service available - source included, batteries not

Holger Freyther freyther at inf.fu-berlin.de
Mon Oct 16 21:31:34 UTC 2006


Hey,

I proudly present my first web application ever.

It is currently called: tinderboxserver/bonsai

What is it?
    Currently it indexes SVN and MTN SCM trees and provides a way to  
monitor and query these trees and provides RSS feeds for your queries.

Why?
    The primary use-case is to have something like the Attic from  
CVS. Using a query you will easily find files you have deleted or  
moved away. This is a feature I have missed in both subversion and  
monotone.
Also I need to write a tinderbox which will be sane and not use perl.  
So I wanted to play with python and python frameworks

How?
    I have decided to use python2.4 as this is my favorite scripting  
language. I have not evaluated ruby at this point as this started as  
one of my many weekend projects which I never publish. I have decided  
to use Django from the www.djangoproject.org as this allows me to  
easily abstract from the database implementations. All I had to do  
was define a model for my Bonsai and call manage.py syncdb to  
actually create the database. There is one script to add SCM systems  
to the Bonsai and another one to update it.

How to use it?
    Currently a flat browse of SCMs is supported, queries for files,  
authors and descriptions. Querying diffs is on the todolist.

    http://www.openembedded.org/bonsai/view/scms - This will show you  
all tracked SCM systems
    http://www.openembedded.org/bonsai/query/author/njs/ - This willl  
search for CSets by njs
    http://www.openembedded.org/bonsai/query/author/njs@pobox.com/? 
exact=1 will match exactly
    http://www.openembedded.org/bonsai/query/file/ChangeLog/?exact=1  
will search for the ChangeLog
    http://www.openembedded.org/bonsai/query/description/zecke/ will  
sarch for a log message containing this word

    from the Query Pages you can easily get to the RSS feed.  
Alternatively go to http:/www.openembedded.org/bonsai/feeds/author/ 
njs at pobox.com/ and you get an RSS feed, Atoms will also be easy to  
implement.

  And everything is cross referenced, but a nice and sane query input  
and sorting is missing.

Common options:
    items=XX number of items, but don't DOS the box ;)
    scm_id=XX filter to a specific tree. YOu get the tree ID by using  
view/scms and taking a look at the ID
    exact=1 will use = instead of like on the db query


    author=XX will filter on the author


Where to get it?
     The license is MIT (if this somehow applys to scripting  
labguages) and it can be found at http://www.openembedded.org/dl/ 
tinderbox-server.tar.bz2 , http://code.djangoproject.com/ticket/2912


Requirements?
     It uses python2.4, pysvn for SVN indexing and obviously django 
+patch (for the RSS generation)


Future?
    Comments, ideas, patches, sane templates, donations, getting  
stuff send from my amazone wishlist (yes woglinde, I'm evil, I even  
have a payback card!)

   Seriously I will improve the python code, implement a sane query  
page, will allow further filtering and sorting of the results and  
will implement my tinderbox/dashboard using Django as well. If  
someone feels contributing more than one single patch, or a better  
template  I will use mtn to allow people to contribute.


kind regards, rock and peace
    zaed

PS: I will be happy to assist you to setup a bonsai as well




More information about the Openembedded-devel mailing list