Can't do PPA package uploads using HTTP

Bug #172596 reported by Ian Lawrence
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
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

Revision history for this message
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 :-)

Revision history for this message
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)
tags: added: feature soyuz-upload
Changed in soyuz:
importance: Undecided → Low
status: New → Triaged
Celso Providelo (cprov)
tags: added: poppy
Revision history for this message
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
Revision history for this message
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).

Revision history for this message
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  
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.