[py3porters-devel] [Needs Port] dput-ng

Paul Tagliamonte paultag at debian.org
Thu May 7 00:12:09 UTC 2015


On Thu, May 07, 2015 at 12:08:12AM +0200, Daniele Tricoli wrote:
> Hello porters,
> 
> On Thursday 16 April 2015 18:06:13 Paul Tagliamonte wrote:
> > I'd love to swap dput(1) to use Python 3 out of the box :)
> 
> WIP is here: https://github.com/eriol/dput-ng/tree/py3-port 
> 
> I have already tested and fixed the only Python 3 incompatibility[¹]
> but I need a clarification: you are talking about swap dput to use
> Python 3, this mean can I simply ship Python 3 versions of dcut,
> dirt and dput inside package dput-ng? I'm asking because right now
> I build python-dput both for Python 2 and Python 3.
> At first I tought we need to ship both Python 2 and Python 3 versions,
> but reading again the above sentence made me think I'm probably
> misunderstanding.

Yep! Let's just move dput(1), dcut(1) and dirt(1) fully over to Python 3
 -- just make sure all the backends work :)

(I usually try a few different dputs to different hosts; that should
 really be a test :) )

> So, to recap, I see the following scenarios:
> 1) build only Python 3 version;
> 2) build both Python 2 and Python 3 (including scripts):
>    In this case, should I have to put dcut3, dirt3, dput3
>    inside dput-ng package and make it depends on both
>    Python 2 and Python 3?
> 3) build python-dput and python3-dput packages but ship only
>    Python 3 version of dcut, dirt and dput inside dput-ng
>    package.
> 
> I'm for scenario 1: it seems the right thing to do. I really don't
> like scripts ending with '3', but if we have to ship both versions
> (Python 2 and Python 3) I don't see any other possible option
> compared to scenario 2.
> Scenario 3 seems not useful since python-dput dependants is only
> dput-ng.

:shrug: - it may be used by others, and it's cheep enough. We can remove
it eventually :)

> What do you think/suggest?
> 
> Many thanks!
> 
> Kind regards,
> 
> [¹] https://github.com/eriol/dput-ng/commit/395bc429bc6f2acb0cb9581a8f3927e97c4d0db4
> 
> -- 
>  Daniele Tricoli 'Eriol'
>  https://mornie.org

Thanks Daniele, you rock!
  Paul



> _______________________________________________
> py3porters-devel mailing list
> py3porters-devel at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/py3porters-devel


-- 
 .''`.  Paul Tagliamonte <paultag at debian.org>  |   Proud Debian Developer
: :'  : 4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
`. `'`  http://people.debian.org/~paultag
 `-     http://people.debian.org/~paultag/conduct-statement.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/py3porters-devel/attachments/20150506/2f61f75b/attachment.sig>


More information about the py3porters-devel mailing list