LP shows the http:// URL for branches that haven't been published yet.

Bug #98867 reported by Jonathan Lange
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Tim Penhey

Bug Description

I just found this in a smoke test in my run-supermirror branch. Even though the branch hasn't been pulled, the http:// URL is displayed on the branch info page.

Tags: lp-code
Revision history for this message
James Henstridge (jamesh) wrote :

Checking that "Branch.last_mirrored_id is not None" is what I did to decide whether to show the codebrowse URL. You could do the same here.

Revision history for this message
David Allouche (ddaa) wrote :

I am of two minds about this. Pointing to a URL that contains not useful data "right now" is bad, but on the other hand it might be confusing to hide it. Especially since the mirroring should normally happen in a few minutes.

Maybe it would be better to still display the supermirror URL, but make it clear that it does not contain any data yet...

Revision history for this message
Andrew Bennetts (spiv) wrote :

I agree with David; it's not that we display the URL that's the problem, it's that we imply that the URL is already functioning.

Revision history for this message
Andrew Bennetts (spiv) wrote :

I think this is low priority; for most branches the URL will be functional within a minute or two of the user looking at the page.

The only time inconsistency lasts more than a couple of minutes is when the initial push failed, in which case the page will be displaying an error message more or less saying so (it might not clearly say that because of this error, the "Hosted on Launchpad: http://bazaar..." URL is not functioning, but it's not too hard to guess).

Changed in launchpad-bazaar:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → thumper
status: Confirmed → Fix Released
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.