[Buildbot-devel] Hello!

Jørn Lomax northlomax at gmail.com
Tue Apr 7 15:25:58 UTC 2015



On 05.04.2015 01:34, Dustin J. Mitchell wrote:
> Perspective Broker is, unfortunately, a protocol that's defined by its
> implementation, and to my knowledge there's only the one
> implementation.  Maintaining master/slave compatibility requires that
> we continue to support it.
>
> We had a GSoC project in 2013 to add a new master/slave protocol based
> on AMP.  That never really came to fruition, unfortunately.  However,
> one option for us may be to get everything *except* PB working on
> Python-3.0.  Then once we have a new protocol available, we declare
> that Buildbot users who need PB support must use Python-2.7, while
> those who are willing to use only the new AMP-based protocol can use
> Python-3.4 if they would prefer.  To take this course we'd need a way
> of ensuring we don't backslide on compatibility, though -- running
> everything except PB under Python-3.4 in our automated testing.
>
> Dustin
This is pretty much what I have seen as the best way to go about it 
right from the start.  Who ever does the porting will have to make sure 
that everything is well tested in both python2 and python3 and that 
everything works cleanly on both without compatibility issues. And I 
think replacing pb with amp only for python3 should not be a problem, 
since any places where pb is used in the source will have to be 
scrutinized very much anyway.

-Jørn Lomax
> On Mon, Mar 30, 2015 at 10:08 AM, Vasily Kuz'min <vasily at freedom-web.ru> wrote:
>> I stick to the idea that we should use Twisted, replacement framework
>> is fraught with negative consequences: it turns out too many
>> workarounds, because of what the code can give failure :(
>>
>> 2015-03-30 10:21 GMT+03:00 Jørn Lomax <northlomax at gmail.com>:
>>>
>>> On 29.03.2015 20:44, Dustin J. Mitchell wrote:
>>>> That link only actually works for you, and only mentors can see
>>>> proposals, but for the record Vasily's proposal is for "provide
>>>> forward compatibility for Python 3".
>>>>
>>>> We've had a few proposals for this project, actually, and I believe
>>>> all of the proposing students are on the buildbot-devel mailing list
>>>> now.  So perhaps this is a good time to talk about approaches to
>>>> porting Buildbot when Twisted is still not fully ported -- and in
>>>> particular, Perspective Broker, on which Buildbot relies heavily, is
>>>> still not ported.
>>>>
>>>> Dustin
>>>>
>>>> On Sat, Mar 28, 2015 at 6:57 PM, Vasily Kuz'min <vasily at freedom-web.ru>
>>>> wrote:
>>>>> Hello everyone!
>>>>>
>>>>> My name is Vasily Kuzmin. I study at Lomonosov Moscow State University
>>>>> and
>>>>> have almost completed the undergraduate program in "Advertising and
>>>>> Public
>>>>> Relations" Faculty of Philosophy. From the very beginning of my
>>>>> computer-related life in 2008 I was interested in Open Source world. I've
>>>>> used various Linux distros, though my favorite have always been Arch and
>>>>> Debian.
>>>>> The main point of my interest was the administration, especially
>>>>> web-development. Basically, I had to work with web-server Apache and
>>>>> Nginx,
>>>>> working in conjunction with PHP and MySQL. I have working experience on
>>>>> how
>>>>> to support debugging servlet in conjunction with Apache Tomcat and
>>>>> PostgreSQL.
>>>>> Recently I've started to learn Python, because I want to improve my
>>>>> skills,
>>>>> take a fresh look at the development of web-based applications and
>>>>> finally
>>>>> have an opportunity to apply my knowledge base to help the world of Open
>>>>> Source. Google Summer of Code seems to be a great place to start,
>>>>> especially
>>>>> for the last part, so I decided to try and enter GSoC.
>>>>> I chose buildbot for its simplicity and its extraordinary capabilities;
>>>>> it
>>>>> is a simple and convenient tool for testing and verification of code
>>>>> changes. Since I already have a basic knowledge of Python and even know
>>>>> about some corner cases about porting application to Python 3, I decided
>>>>> that the task to provide forward compatibility for Python 3 is exactly
>>>>> what
>>>>> I'd like to do.
>>>>>
>>>>> I've filled in the proposal on the Google Melange just yesterday: I've
>>>>> never
>>>>> participated in GSoC or similar projects before. I especially shy of this
>>>>> late proposal; I understand that it would have been certainly better to
>>>>> put
>>>>> my proposal earlier, but it is very hard to beat shyness. I'd definitely
>>>>> like to work on this project, so I'm opened to your questions and
>>>>> suggestions. You may found my proposal at the Melange site[0]
>>>>>
>>>>> Thanks in advance!
>>>>>
>>>>>
>>>>> [0]http://www.google-melange.com/gsoc/proposal/review/student/google/gsoc2015/derzsky/5629499534213120
>>>>>
>>>>> --
>>>>> С УВАЖЕНИЕМ, ВАСИЛИЙ КУЗЬМИН
>>>>>
>>>>> Телефон:      +7 (999) 988-00-85
>>>>> E-mail:           vasily at freedom-web.ru
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>>> sponsored
>>>>> by Intel and developed in partnership with Slashdot Media, is your hub
>>>>> for
>>>>> all
>>>>> things parallel software development, from weekly thought leadership
>>>>> blogs
>>>>> to
>>>>> news, videos, case studies, tutorials and more. Take a look and join the
>>>>> conversation now. http://goparallel.sourceforge.net/
>>>>> _______________________________________________
>>>>> Buildbot-devel mailing list
>>>>> Buildbot-devel at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>>>>
>>>> ------------------------------------------------------------------------------
>>>> Dive into the World of Parallel Programming The Go Parallel Website,
>>>> sponsored
>>>> by Intel and developed in partnership with Slashdot Media, is your hub for
>>>> all
>>>> things parallel software development, from weekly thought leadership blogs
>>>> to
>>>> news, videos, case studies, tutorials and more. Take a look and join the
>>>> conversation now. http://goparallel.sourceforge.net/
>>>> _______________________________________________
>>>> Buildbot-devel mailing list
>>>> Buildbot-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>>>
>>>>
>>> I'm not that familiar with Perspective Broker, but are there any known
>>> alternatives that could be used as a temporary replacement? Not sure if it
>>> is a viable option though, since both the master and slave use pb and it
>>> would most likely have to be replaced in both, which is probably quite a big
>>> task. But it might be nice just to explore the possibility. The more you
>>> know the better you can make an informed decision.
>>>
>>> Porting pb is always an option. I have tried looking through the source for
>>> it, but github is still a little slow for me (don't know if they are still
>>> experiencing ddos) so It's hard to see how much code that would need
>>> porting. From what i have seen though, the twisted.spread library is pretty
>>> self contained and should be fairly portable
>>>
>>> A third option I can think of is using the past module[1], which is part of
>>> the python-future[2] library. It made to for just this use case, where a
>>> project relies on a library that is not ported yet. The downside is that it
>>> is very new and still experimental so our mileage may vary
>>>
>>>
>>> [1]https://pypi.python.org/pypi/past/
>>> [2]http://python-future.org/
>>>
>>> regards
>>> Jørn Lomax
>>
>>
>> --
>> С УВАЖЕНИЕМ, ВАСИЛИЙ КУЗЬМИН
>>
>> Телефон:      +7 (999) 988-00-85
>> E-mail:           vasily at freedom-web.ru
>>
>>






More information about the devel mailing list