Bug#833536: pkg-haskell-tools: dht should allow uploading by FTP

Jonas Smedegaard dr at jones.dk
Fri Aug 5 19:41:20 UTC 2016


Quoting Joachim Breitner (2016-08-05 21:04:06)
> Am Freitag, den 05.08.2016, 09:47 -0700 schrieb Sean Whitton:
> > Is there some reason that dht's upload subcommand uploads to ftp- 
> > master with SSH rather than FTP?  This prevents Debian Maintainers 
> > from using the command to upload.
> > 
> > If there is no good reason, we could change it to use FTP.
> > Alternatively, we could add a command line flag to select FTP or SSH
> > --
> > not sure what the default should be.
> 
> the reason is that I have had many FTP uploads fail and partial files 
> blocking further uploaing, which is a PITA. With ssh, partial uploads 
> do not happen (I think).
> 
> Anyways, "dht upload" should simply allow passing a parameter to dput 
> as HOST. Any maybe anyone who wants a non-default HOST should figure 
> out how to change dput’s defaults…

I have experienced (generally in Debian, not specifically for Haskell), 
some cases of ftp uploads failing where I receiving no information about 
it, and when I - after discovering many weeks later - asked ftpmasters I 
was told that since ftp is anonymous there is no way to inform either.

Since then I have used ssh for uploads.  I am not sure if there are any 
automated warning mechanisms in place when things go wrong, but at least 
if there is a larger fallout (as I can imagine might happen for mass 
uploads due to the maintenance style of Haskell packages) ftpmasters has 
a chance of noticing manually in log files whom to contact when using 
ssh.

So I'd recommend favoring ssh - and support ftp only as fallback for 
situations where ssh is not possible.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160805/480c83d8/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list