A plan to get to py3

Andrew Bartlett abartlet at samba.org
Mon Aug 20 04:42:36 UTC 2018


On Thu, 2018-08-16 at 11:37 +0100, Noel Power wrote:
> On 16/08/18 03:14, Andrew Bartlett wrote:
> > On Wed, 2018-08-15 at 17:58 +0100, Noel Power wrote:
> > > Hi Andrew
> > > 
> > > 
> > > I suggest this for a couple of reasons
> > >    1. less mess in autobuild where the current approach needs all this
> > > duplicated stuff. ok, maybe you could come up with some lambda type
> > > thing in the various maps to avoid that (personally I am not a fan of
> > > lamba in such usage, it hurts my head when I look at it... and I
> > > couldn't figure out how to do it quickly when hacking this)
> > >    2. you can easily just pick a job from .gitlab-ci* and quickly split
> > > it (or leave existing ones alone if necessary)
> > 
> > I've given it a go myself, using the fact that autobuild.py is python
> > to get the extra jobs without massive duplication.  Have a look at:
> 
> hmm, yes I suppose you can't get away without actually creating new jobs
> in autobuild, I'll take a look
> > 
> > https://gitlab.com/samba-team/samba/merge_requests/50
> > 
> > I hope this will help as we finish this off.
> 
> I think the split will be really helpful as the load (and amount of
> tests that will be run) will increase.
> Noel

I've finished this off, Gary has reviewed it and I've put it to
autobuild.  Once the waf 2.0 work lands I think it will be practical to
adapt to run the whole build with python3.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list