Is it possible to use Launchpad anonymously (without any warning from bazaar)?

Asked by Daniel Hahler

I want to export a particular branch (via cron):
  bzr export --root=whissip-snapshot-$(date -u +%Y-%m-%d) /path/to/whissip-snapshot.tgz lp:b2evolution/whissip

However, I'm getting the following message, which I want to avoid - without configuring the launchpad user (and adding another public key for it to Launchpad):
  You have not informed bzr of your Launchpad ID, and you must do this to
  write to Launchpad or access private data. See "bzr help launchpad-login".

Maybe using/adding "anonymously" would make sense for the launchpad user?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:
Revision history for this message
Vincent Ladeuil (vila) said :
#1

No, I don't think launchpad will ever allow an anonymous user to create branches (warez united !)

You can access launchpad in read-only mode via http though.
But what happen here, is that you are registered so launchpad try to authenticate you.
And it does it by allowing you to login with one of your registered ssh keys.
But since you run from a cron job, there is no agent to validate your access to the key.
So you need to use either:
- http://code.launchpad.net/~blueyed/b2evolution/dev
- an ssh key with no password

Revision history for this message
Best Martin Pool (mbp) said :
#2

On 13 September 2010 22:57, Vincent Ladeuil
<email address hidden> wrote:
> Question #125229 on Bazaar changed:
> https://answers.edge.launchpad.net/bzr/+question/125229
>
>    Status: Open => Answered
>
> Vincent Ladeuil proposed the following answer:
> No, I don't think launchpad will ever allow an anonymous user to create
> branches (warez united !)

I think he was just asking for a way to check out branches
anonymously, without getting the warning. This is reasonable and it's
a bug in lpurl that you get it even when it's not helpful.

Using the http url
http://bazaar.launchpad.net/~blueyed/b2evolution/dev will avoid the
problem. (code.l.n will also work but goes through an http redirect
to bazaar.l.n.)

--
Martin

Revision history for this message
Daniel Hahler (blueyed) said :
#3

Thanks Martin Pool, that solved my question.