Can't do PPA package uploads using HTTP

Bug #172596 reported by Ian Lawrence on 2007-11-28
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned

Bug Description

When behind a firewall which blocks ftp traffic i cannot upload to a ppa using dput.
From the dput man page:
  "Currently dput supports ftp, scp, rsync, http, https, and local. The method scripts have been split from the main script so it is easy to add new
   methods. Look in /usr/share/dput/ for examples"
so it appears the functionality exists for this but is not implemented in Launchpad. A nice web upload form would be ideal for user friendliness for this feature

Jay Chetty (jaychetty) wrote :

Edit ~/.dput.cf and change the 'fqdn' and 'login' as shown below. for other details refer to http://help.launchpad.net/PPAQuickStart

[my-ppa]
fqdn = your.proxy.server.com
method = ftp
incoming = ~your-launchpad-id/ubuntu/
login = <email address hidden>
allow_unsigned_uploads = 0

Thanks to Ramesh Caushik for ending this tip :-)

Jay Chetty (jaychetty) wrote :

also you should add

passive_ftp = 0

to the ~/.dput.c file.

The last line in the previous comment should be read as.
Thanks to Ramesh Caushik for sending this tip :-)

Celso Providelo (cprov) on 2009-06-19
tags: added: feature soyuz-upload
Changed in soyuz:
importance: Undecided → Low
status: New → Triaged
Celso Providelo (cprov) on 2009-08-16
tags: added: poppy
Sergey Basalaev (sbasalaev) wrote :

Is there a method to upload files through http proxy?

summary: - cannot upload to ppa when behind a proxy/firewall
+ Can't do PPA package uploads using HTTP
tags: added: ppa
Sergei Lebedev (superbobry) wrote :

HTTP proxy support can be easily implemented with urllib2 (currently http.py uses httplib, which doesn't have any proxy-helpers).

Nick Andrik (andrikos) wrote :

Active ftp works for me where passive would not.
This is my dput entry:

[ppa]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~andrikos/ppa/ubuntu/%(ppa)s
login = anonymous
allow_unsigned_uploads = 0
passive_ftp = 0

And I use it with the distribution name, e.g.
dput ppa:precise package.changes

no longer affects: xnec2c (Debian)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers