[REQUEST] bzr-webserve: ability to branch from webserve plugin's http server
Jan Hudec
bulb at ucw.cz
Thu May 25 08:01:13 BST 2006
On Thu, May 25, 2006 at 09:40:09 +1000, Robert Collins wrote:
> On Wed, 2006-05-24 at 10:31 +1000, Martin Pool wrote:
> > On 22 May 2006, John Dong <jdong at ubuntu.com> wrote:
> > > Wow! Wonderful, exactly the kind of feature I was looking for.
> > >
> > > The only bug I've been able to find is that it doesn't properly handle:
> > >
> > > (1) Repository serving:
> > > Serving a branch that has shared repository data underneath does not work,
> > > as bzr is not allowed to traverse up folder levels for security reasons...
> >
> > How about this: at startup, check the branch that was given on the command
> > line. If it's using a repository at a higher directory, give an error.
> >
> > Would it be possible to run the server on the repository and give a list
> > of (to start with) all branches immediately underneath it?
>
> Or perhaps, if I server a branch in a repository, find the repository
> and allow it as the root, and constrain requests to be for the
> repo .bzrdir, and all the paths under the repo root down to the branch,
> but not siblings.
I'd say no, because this seems to the user that it only serves the branch's
data, but it still serves all data in the repository. So I'd slightly prefer
it saying "You can't serve this branch because it uses shared repository.
You can serve the repository by running bzr webserve from the repo root."
--
Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060525/bbbe2911/attachment.pgp
More information about the bazaar
mailing list