serve_branches script needs way to configure the public URL to the web server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The start_loggerhead script can be configured so that it knows what the public URL is to the web server. This cannot be done for the serve_branches script. serve_branches puts the wrong host name in the links because of this. As one may have multiple host names for a given server it is impossible for loggerhead to workout the correct host name/address to put in the links. This gets more complicated when being proxied from apache.
start_loggerhead allows for this configuration and works great. Unfortunately, I can't use it because it has a bug where it flattens the branch hierarchy and I need to preserve this for linking purposes. server_branches fixes this bug but can't be configured as flexibly.
bzr's stock public_branch location config foo might be appropriate for
this if there isn't a canned paste.deploy thing for this.
-Rob