Cannot use sftp URLs for branches

Bug #5573 reported by Björn Tillenius
12
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Stuart Bishop

Bug Description

You can't use an sftp URL when adding a branch. I tried
to add a branch at https://launchpad.net/products/launchpad/+addbranch
with
sftp://chinstrap.ubuntu.com/home/warthogs/archives/bjorn/launchpad/DefaultAffectsTarget
as the URL, but I got told it wasn't a valid URL.

Revision history for this message
David Allouche (ddaa) wrote : Re: [Bug 5573] You should be able to use sftp URLs for branches

Yes, that should be possible. Setting status to "accepted".

  affects /products/launchpad status accepted

Changed in launchpad:
status: New → Accepted
David Allouche (ddaa)
description: updated
Christian Reis (kiko)
Changed in launchpad:
assignee: ddaa → matsubara
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Which schemes are valid to this field?
http, https, ftp, sftp, what else?

Changed in launchpad:
status: Confirmed → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Talking to David Alouche on IRC, he said to me the following schemes are good enough:

http, https, ftp, sftp.

I have this fixed on one of my branches, just need an answer from Stuart to change a database constraint to deal with the sftp URL.

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

Nothing else, for the moment.

Note that sftp URLs are not properly defined, the consensus appears to be "do as bzr and hg and disregard the sftp URL RFC draft". Robert Collins would be the reference for obscure URL questions.

Revision history for this message
Stuart Bishop (stub) wrote :

This is due to an upstream Python issue - http://www.python.org/sf/1407902

(Of course, we need to work around that)

Stuart Bishop (stub)
Changed in launchpad:
assignee: matsubara → stub
status: In Progress → Fix Committed
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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