Merge lp:~mwhudson/launchpad/anon-ssh-hack into lp:launchpad
Status: | Work in progress |
---|---|
Proposed branch: | lp:~mwhudson/launchpad/anon-ssh-hack |
Merge into: | lp:launchpad |
Diff against target: |
130 lines (+40/-10) 4 files modified
lib/lp/code/xmlrpc/codehosting.py (+2/-0) lib/lp/codehosting/sshserver/daemon.py (+20/-10) lib/lp/services/sshserver/auth.py (+6/-0) lib/lp/services/sshserver/tests/test_auth.py (+12/-0) |
To merge this branch: | bzr merge lp:~mwhudson/launchpad/anon-ssh-hack |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Launchpad code reviewers | Pending | ||
Review via email: mp+75442@code.launchpad.net |
Description of the change
This is just a RFC really. It allows a user called '+anon' to log in to the codehosting ssh server with no credentials and gives them read only access to public branches. I think the code is OK, though maybe it could use a few more comments.
The question, as ever is: is this something we want to do? On the upside, it allow anonymous users access to a smart server transport for public branches, which should be more efficient than accessing http (we could even change bzr to default to using +anon as the username and bzr+ssh when using lp:// branches). On the downside, it will likely create a bit more load on the codehosting server if it became popular.
Unmerged revisions
- 13957. By Michael Hudson-Doyle
-
merge devel
- 13956. By Michael Hudson-Doyle
-
fix the unclean reactor error
- 13955. By Michael Hudson-Doyle
-
oops
- 13954. By Michael Hudson-Doyle
-
test for anonymous login (which fails with an UncleanReactorE
rror, grump) - 13953. By Michael Hudson-Doyle
-
allow a user called +anon to log in (as LAUNCHPAD_
ANONYMOUS) without providing any credentials