adding mirrored/imported branches is hard because location validity checks are done server side

Bug #545878 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

I've seen quite a few users create mirrorred branches when instead they actually wanted to create foreign branch imports.

It would be nice if launchpad could give the user immediate feedback when they enter an invalid URL. E.g. Ohloh does this using some JavaScript magic and it seems to work quite well for them.

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 545878] [NEW] probe location URLs using JS to test validity

On 24 March 2010 21:07, Jelmer Vernooij <email address hidden> wrote:
> Public bug reported:
>
> I've seen quite a few users create mirrorred branches when instead they
> actually wanted to create foreign branch imports.

Does the ui actually need to make a distinction between imports and
mirrors? They give us a URL; we pull from it; precisely what is at
the other end is a detail that can be left to bzr and determined on
the first pull...

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Martin Pool (mbp) wrote :

On 25 March 2010 10:56, Martin Pool <email address hidden> wrote:
> On 24 March 2010 21:07, Jelmer Vernooij <email address hidden> wrote:
>> Public bug reported:
>>
>> I've seen quite a few users create mirrorred branches when instead they
>> actually wanted to create foreign branch imports.
>
> Does the ui actually need to make a distinction between imports and
> mirrors?  They give us a URL; we pull from it; precisely what is at
> the other end is a detail that can be left to bzr and determined on
> the first pull...

... js immediate feedback would still be cool and useful though.

--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: probe location URLs using JS to test validity

No, the UI for mirroring and imports is completely different :(

Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Medium
tags: added: code-import
summary: - probe location URLs using JS to test validity
+ adding mirrored/imported branches is hard because location validity
+ checks are done server side
Changed in launchpad:
importance: Medium → Low
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This relates to bug 611837 and bug 418932, which should probably be fixed at the same time.

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.