A self-contained pseudo-dynamic xo library
Friends, In order to demonstrate that our that our bundles really don't require require post-install hooks in order to function, I decided to attack the dynamic library problem in its simplest possible form. In the end, I wound up rebasing the Mako's make_index.py script on top of Ivan's webserver (which is very quick!) and using the combination as a wrapper around Browse's activity component. (I understand that it's unsatisfying to have a webserver designed _not_ to be extensible and _not_ to be always-on, but the need to run make_index.py stuff was really becoming a stumbling block. This way, we get the dynamic library now and punt the extensibility question and the services question until someone works out a sane semantics for them.) At any rate, you can find and enjoy the completed work at http://dev.laptop.org/~mstone/Web-87.xo The source code is available at http://dev.laptop.org/git?p=users/mstone/web-activity;a=shortlog;h=library-server The bugs I've observed so far are a) PDF mime-types are not correctly detected by the server (which is just calling mimetypes.guess_type) b) The library bundles and template format in 697 don't appear to me to support bundles with localized names. c) The version of Radian that Ivan has in git doesn't support streaming replies; hence we have to load entire files into RAM before sending them. :( d) We don't flush our library-index when the filesystem changes. Probably straightforward to add, but beyond me tonight. e) The 'search' bundle's index.html page is showing up blank. :( Thoughts? Michael ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: A self-contained pseudo-dynamic xo library
quote who=Michael Stone date=Thu, Mar 13, 2008 at 05:35:35AM -0400 In order to demonstrate that our that our bundles really don't require require post-install hooks in order to function, I decided to attack the dynamic library problem in its simplest possible form. In the end, I wound up rebasing the Mako's make_index.py script on top of Ivan's webserver (which is very quick!) and using the combination as a wrapper around Browse's activity component. I had a very similar solution (in functionality at least) that I helped put together with Ian Bicking and that was in Joyride builds in the very early days of Update.1 preparation. It was motivated by the desire to address the types of issues we were having now. It was excluded from Update.1 due to undiscussed issues associated with including a dynamic webserver. I helped SJ draft a document rationalizing the need for a dynamic solution -- although perhaps the recent troubles we've had have made the need more acute and more obvious to people. I've been an advocate of this for quite a while and have no strong feelings about which solution we use. I only have process questions about how and when this code can go live. On a more practical note, I can certainly help you with several of those bugs. Regards, Mako -- Benjamin Mako Hill [EMAIL PROTECTED] http://mako.cc/ Creativity can be a social contribution, but only in so far as society is free to use the results. --GNU Manifesto signature.asc Description: Digital signature ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: A self-contained pseudo-dynamic xo library
See http://wiki.laptop.org/go/Dynamic_library --SJ On Thu, Mar 13, 2008 at 5:59 PM, Ivan Krstić [EMAIL PROTECTED] wrote: On Mar 13, 2008, at 6:56 PM, Benj. Mako Hill wrote: I helped SJ draft a document rationalizing the need for a dynamic solution Where is this document? It was certainly never brought to my attention despite my asking for it for months. -- Ivan Krstić [EMAIL PROTECTED] | http://radian.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel