[dput-ng-maint] Bug#696558: dput-ng: sftp uploads aren't working

Jeremy Bicha jbicha at ubuntu.com
Sat Dec 22 22:16:36 UTC 2012


On 22 December 2012 16:53, Paul Tagliamonte <paultag at ubuntu.com> wrote:
> It's using bzrlib, which isn't strictly correct. Someone will have to dig in
> to see how that handles "~/" and "~foo" before we fix this :)
>
> It's on the queue, but I'm in the middle of something else at the moment --
> it'd be helpful if you could find out how it's expanding it -- my guess is
> removing the tilde might help?

old dput with the tilde works
----------------------------------------
D: Default Method: ftp
D: Host Method: sftp
D: Login jbicha from section ppa used
Uploading to ppa (via sftp to ppa.launchpad.net):
D: FQDN: ppa.launchpad.net
D: Login: jbicha
D: Incoming: ~gnome3-team/gnome3-staging/ubuntu
  gnome-icon-theme_3.7.0~git20121203.372f0e3a-0ubuntu1.dsc: done.

old dput without the tilde works
--------------------------------------------
D: Default Method: ftp
D: Host Method: sftp
D: Login jbicha from section ppa used
Uploading to ppa (via sftp to ppa.launchpad.net):
D: FQDN: ppa.launchpad.net
D: Login: jbicha
D: Incoming: gnome3-team/gnome3-staging/ubuntu
  gnome-icon-theme_3.7.0~git20121203.372f0e3a-0ubuntu1.dsc: done.

dput-ng without the tilde still doesn't work
-------------------------------------------------------------
Logging into host ppa.launchpad.net as jbicha
[INFO] 1356214190.616473: (initialize) Logging into host
ppa.launchpad.net as jbicha
[DEBUG] 1356214191.606675: (_auth) Logged in!
[DEBUG] 1356214191.938175: (initialize) Changing directory to
gnome3-team/gnome3-staging/ubuntu
stat/lstat failed
[CRITICAL] 1356214192.047984: (<module>) stat/lstat faile


Is this at all related?
$ ssh jbicha at ppa.launchpad.net
No shells on this server.
Connection to ppa.launchpad.net closed.

The tilde is mentioned in
https://help.launchpad.net/Packaging/PPA/Uploading and is in the
default /etc/dput.cf on Ubuntu

If it wasn't for the annoying timeout problem on Launchpad that has
existed for years, I'd just wipe my ~/.dput.cf and uploads would work
fine with dput-ng. Uploads also work if the original source isn't
required (like for -0ubuntu2 uploads).

Jeremy



More information about the dput-ng-maint mailing list