http smart server autodetection does VFS operations directly.
Bug #594155 reported by
John Szakmeister
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
For access control, HTTP server operators would like to push all bzr content access through the smart server, but 'bzr co' and other operations may fall back to VFS from time to time. When they do, they currently make the VFS requests over plain HTTP even though a smart server is present. For consistent application of ACLs it would be better to tunnel the VFS requests via the smart server.
summary: |
- bzr co attempts to chech .bzr/branch-format when using a smart server + bzr co attempts to check .bzr/branch/branch-format when using a smart + server |
tags: | added: hpss http |
tags: | added: check-for-breezy |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Szakmeister wrote:
> Public bug reported:
>
> We've set up a smart server instance using WSGI so that we could place
> access controls on the project branches. We really like to use a
> checkout of the server's branch to make merging into the mainline
> easier. Unfortunately, 'bzr co' attempts to acces .bzr/branch/branch-
> format instead of going through the smart server. Since we don't allow
> raw access to the branches, this fails. It should really be using the
> smart server transport. Interestingly, 'bzr branch --bind' works fine.
>
> Sorry I can't give you a short way to reproduce this, but I'd be happy
> to try a patch.
>
> ** Affects: bzr
> Importance: Undecided
> Status: New
>
> ** Summary changed:
There is often a difference between:
bzr co bzr+http://
and
bzr co http://
Did you try both?
The former requires all requests to go through the bzr protocol, the
latter allows access to certain requests to go via standard http. (For
stuff like reading the format files, is the most obvious difference.)
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkw WltwACgkQJdeBCY SNAAOBgACfSJwI2 YgdZ5qGkLcaP4KN zw/x LHSt9lBPZ9R8cdv s6
fj8An0Ykj9uYiy1
=8NBN
-----END PGP SIGNATURE-----