directory service should print notice when resolving to mirror

Bug #274020 reported by Jelmer Vernooij
6
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned
Launchpad itself
Triaged
Low
Unassigned

Bug Description

it would be nice if the launchpad plugin could let the user know when a lp... location is being resolved to a mirror in Launchpad, and let the user know what the original location is.

This helps when users are wondering why they can't pull the latest and greatest revisions if lp hasn't mirrorred them yet.

Revision history for this message
Jonathan Lange (jml) wrote :

This is a client issue, I think, not a Launchpad issue.

Changed in launchpad-bazaar:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 274020] Re: directory service should print notice when resolving to mirror

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Lange wrote:
> This is a client issue, I think, not a Launchpad issue.

The only way we can know for certain whether it's resolving to a mirror
is to determine whether the user can write to the resolved location,
which would require extending the xmlrpc server.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkZE6sACgkQ0F+nu1YWqI08XQCcDB28PMPI+micVeP+MMqbSOqD
osIAniYwBg07OrTkdXgYj8ZOGriKPo+9
=Ky5w
-----END PGP SIGNATURE-----

Revision history for this message
Jonathan Lange (jml) wrote :

My mistake. I thought Jelmer was asking about mirrored branches, not branches in the mirrored area.

Changed in launchpad-bazaar:
importance: Undecided → Low
status: New → Triaged
Changed in bzr:
importance: Medium → Low
Revision history for this message
Aaron Bentley (abentley) wrote :

Actually, I think I'm the one who misread it.

Revision history for this message
Aaron Bentley (abentley) wrote :

But I don't see how this is a client-side issue. AFAIK, the XMLRPC server doesn't provide this info.

Revision history for this message
Jonathan Lange (jml) wrote :

Actually, I *think* it includes the original URL (i.e. the non-Launchpad URL) for mirrored branches.

I'm marking as incomplete because Jelmer has confused both of us and needs to clarify before we can start fixing this bug.

Changed in launchpad-bazaar:
status: Triaged → Incomplete
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I'd like to see the bzr-launchpad plugin print the location of the original bzr branch, if the branch is mirrorred.

E.g.:

$ bzr branch lp:bzr-svn
Note: lp:bzr-svn is a mirror of http://people.samba.org/bzr/jelmer/bzr-svn/0.4
42 revisions copied.

As far as I understand, this requires both the launchpad server to expose this information and the launchpad plugin to use that call.

Revision history for this message
Jonathan Lange (jml) wrote :

Cool.

I had thought that the server sent the original URL for mirrored branches, but apparently not.

Changed in launchpad-bazaar:
status: Incomplete → Triaged
Tim Penhey (thumper)
tags: removed: launchpad
Jonathan Lange (jml)
tags: added: launchpad lpurl
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.