hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Collaborate implementing HTTP 2.0 support - HTTPCORE-432
Date Tue, 20 Sep 2016 19:24:05 GMT
On Tue, 2016-09-20 at 11:53 -0400, Francisco Carriedo Scher wrote:
> Hi Oleg,
> Sounds good to me, as my main purpose with the mentor program was to
> get in touch with the project, participants and the habits, but I
> probably can get that on the fly while working in the project.
> I am willing to start contributing, if only I would suggest some first
> tasks that allow me to get to better know the structure of the
> project / code and, of course, any advice you could provide to avoid
> most common pitfalls.
> Thanks!

Hi Francisco

The very thing you should do is to fork the latest HttpCore code [1] on
GitHub and get it to compile following these instructions [2]. 

Make sure you can execute the unit and integration tests. They are
expected to pass (though with bleeding edge code things tend to get
broken every once in a while).

HTTP/2 is its present shape is very much work in progress. It is an
early ALPHA quality code. Everything is still subject to change. This
can be a good thing if you also want to help shape the new APIs. The bad
thing is that you will have to learn your way around the code base with
pretty much no documentation. 

The place to start is actually integration tests [3]. They should give
you a feel of the new APIs. Take note of what you like and what you do

What I would like to ask you to do as the first step is to get the
integration tests to run locally on your computer. Once you get there I
would like you to get those tests to run with debug logging turned on.
The instructions how to turn on debug logging can be found here [4].
Please note that the package structure has changed and you will need to
figure out how to adjust the settings to get debug logging to work. 

Realistically, anyone aspiring to work on network protocol code has to
find a way to troubleshoot it. I personally find debug logging one of
the most useful tools when dealing protocol level issues (if not the
most useful). 

Let me know once you get that to work.


[1] https://github.com/apache/httpcore/tree/trunk
[2] https://github.com/apache/httpcore/blob/trunk/BUILDING.txt
[4] http://hc.apache.org/httpcomponents-client-5.0.x/logging.html
> 2016-09-20 4:56 GMT-04:00 Oleg Kalnichevski <olegk@apache.org>:
>         On Mon, 2016-09-19 at 23:41 -0400, Francisco Carriedo Scher
>         wrote:
>         > Hello all,
>         >
>         > I have been a user of the HTTP Apache client for years and
>         contributing to
>         > an open source project is in my want-to-do list for some
>         time now.
>         >
>         > Currently, I am looking for a mentor as my intention would
>         be to
>         > follow the mentoring
>         > program
>         <http://community.apache.org/mentoringprogramme.html>, as this
>         > would be my first contribution to open source and to the ASF
>         and I looks to
>         > me like worth it to spend some time learning about the right
>         way of
>         > contributing.
>         >
>         > The project is of my personal interest, I would like to
>         learn from
>         > collaborating on it as much as possible, as well as trying
>         to provide some
>         > valuable input too and contributing back to the open source
>         community,
>         > specially to this project, that has served me as a great
>         tool!
>         >
>         > My understanding is that this is a big effort even re-using
>         as much as
>         > possible the parts from HTTP 1.0/1.1 and will include
>         working in several
>         > parts, not only coding: documentation, examples, updating
>         website...
>         >
>         > Looking forward to hearing from somebody willing to mentor
>         me and proposing
>         > an entry point for this my first open source project.
>         >
>         > Thanks in advance for your time!
>         >
>         > Francisco
>         Hi Francisco
>         Given that your main interest is in HTTP/2 that probably
>         leaves me as
>         the only potential mentor. Unfortunately I have no bandwidth
>         left to
>         commit myself to a full fledged mentoring program. I am sorry.
>         Having said that if you are willing to start contributing to
>         the project
>         I am sure I can think of some HTTP/2 related development tasks
>         that you
>         could contribute to. I'll find time to review your patches and
>         commit
>         them.
>         Oleg

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message