using bzr with many small Python modules, forgetful person, and version numbers
Jan Hudec
bulb at ucw.cz
Thu Jan 4 21:06:56 GMT 2007
On Wed, Jan 03, 2007 at 05:13:09PM -0500, Eric S. Johansson wrote:
> Andrew Bennetts wrote:
> >Eric S. Johansson wrote:
> >[...]
> >>okay, I will give that a try. Originally I was hoping to use my
> >>standard Web server (Cherokee) but it seems to have problems with bzr
> >
> >Would you mind elaborating on this? The bzr HTTP smart server is a WSGI
> >application, so it ought to work just fine with e.g. the FastCGI handler +
> >and a
> >FastCGI WSGI server. I'd be curious to know about the problems you're
> >having,
> >in case it's an issue with the Bazaar side of things I'm not aware of.
>
> maybe I didn't read the documentation carefully enough but I thought an
> ordinary Web server could serve up read-only bzr repositories.
> originally, I'd put a repository under this URL (.bzr/)
> http://harvee.org/branches/mini_modules/
>
> When I try to extract a branch, I am told that it is not a branch. I
> believe it has something to do with Cherokees reluctance to show a name
> starting with a dot. I have looked over the documentation and haven't
> seen any way to make .bzr visible.
You don't need any way to make it visible -- http directory listings are
not machine parseable, which makes them completely useless, so they are
not used. Check, whether you can access <url>/.bzr/branch-format and
<url>/.bzr/branch/format -- that's what bzr tries to download to see
whether there is a branch there. Note, that you have to pass url to a
*branch* -- repository will *not* do.
> as for wscgi fcgi servers, let me know what's available (and simple
> since unfortunately, I have very little time for playing around).
> Cherokee can support fast cgi and scgi and if there is a wsgi server
> for either/both, I'm game to at least try a little bit. Actually, I'm
> also interested because I have a fairly time intensive CGI program I
> need to convert to scgi or fast CGI. although, that might reveal a
> whole host of other sins. :-)
http://trac.saddi.com/flup -- should support both FCGI and SCGI. Using
it is a matter of few-lines python script to be copied from the website.
(It's also mentioned in doc/http_smart_server.txt in bzr sources.)
> >I'd also like to be able to expand the Bazaar documentation to include
> >examples
> >of configuring an HTTP server with more than just Apache, so if we can
> >figure
> >out the right magic for Cherokee, we can document it for the next user.
>
> amen to that. I'll be glad to write up my configuration examples and
> some documentation for how to use bzr with Cherokee.
--------------------------------------------------------------------------------
- Jan Hudec `Bulb' <bulb at ucw.cz>
More information about the bazaar
mailing list