[caiman-discuss] Code review of webserver and publish_manifest
Clay Baenziger
clayb at sun.com
Mon Oct 6 00:35:42 PDT 2008
I've updated the webrev, and sent out a new code tar-ball for folks to
work with.
This one uses the AI manifest specified in the criteria manifest,
and has a number of bug fixes; it should allow working within the
installadm framework. I believe I may have a way to allow either
referencing the manifest or including it whole in the criteria manifest,
which I'll be looking into tomorrow most likely.
Thank you,
Clay
On Thu, 2 Oct 2008, Clay Baenziger wrote:
> Ah, of course, I knew I was forgetting something!
>
> You'll also need to install LXML and PySQLite2 to be able to take
> advantage of this code (most modern versions of Solaris should have
> CherryPy via the IPS package pkg:/SUNWpython-cherrypy).
> LXML: http://codespeak.net/lxml/lxml-2.1.2.tgz
> PySQLite2:http://oss.itsystementwicklung.de/download/pysqlite/2.4/2.4.1/pysqlite-2.4.1.tar.gz
>
> Thank you,
> Clay
>
> On Thu, 2 Oct 2008, Clay Baenziger wrote:
>
> > Hey all,
> > The webserver has undergone drastic revisions to now share code
> > with publish_manifest. The two programs both have usage messages which
> > should be relatively self explanatory. However, a break down of the
> > directory structure follows:
> > bin/webserver.py:
> > Run via `python webserver.py <location of A/I service>`
> > bin/publish_manifest.py:
> > Run as root `python publish_manifest -c <criteria
> > manifest> <src A/I manifest> <location of A/I service>`
> > var/AI_service_1
> > Example partially populated A/I service directory
> > var/AI_service_1/AI.db
> > Current demo A/I webserver database
> > var/AI_service_1/AI_files/
> > Files shared by the webserver at
> > http://<hostname>:<port>/ai-files/<file name>
> > (does not generate an index, should contain links to
> > zlib's)
> > var/AI_service_1/AI_data/
> > Files shared by the webserver at
> > http://<hostname>:<port>/manifest/<file name>
> > (does not generate an index, should contain actual A/I
> > manifest files)
> > export/home/jack
> > Contains example A/I, Criteria, and SMF manifests
> >
> > This code will shortly be integrated into the framework Sundar sent out
> > this morning, however, until then, feedback would be appreciated on its
> > operation and design.
> >
> > Webrev: http://cr.opensolaris.org/~clayb/AI_server/webrev/
> > Code: http://cr.opensolaris.org/~clayb/AI_server/AI_servea.finalCut.tgz
> >
> > Thank you,
> > Clay
>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>
More information about the caiman-discuss
mailing list