ACK system review finished
Hi all,
As promised I did a brief review of our current ACK system:
<https://community.openvpn.net/openvpn/wiki/ACKSystemReview>
One thing that surprised me was that only on 2 occasions (out of ~60 "real" patches) a patch was modified during the review process. For comparison, let's look at two big patchsets:
- PolarSSL support [1], ~115 patches
- total of 8 changes were asked for
- 3 of these seem trivial stylistic issues/typos
- Buildsystem revolution[2], 52 patches
- a couple of changes were asked for (e.g. to enable lzo by default)
There seems to be a fair amount of delay from patch introduction to the commit to Git repo. For individual patches the delay tends to be less than a week, which I think is ok. For patchsets, the delay is much longer (15-120 days). It's difficult to say whether we could reduce the delay with advanced tools... after all, somebody (=human) has to review the patches, whatever tools we use.
Due to a number of factors parsing the raw data was challenging... unlike I assumed, finding discussions related to the patches was often surprisingly difficult/impossible, although the "Acked-by" entries in Git clearly show that an ACK was given at some point. Also, quite a few patches (~20%) already go in without an ACK.
My personal feeling based is that we should probably focus the ACK system to high-risk patches, e.g.
- patches touching critical parts of the code (rationale: better safe than sorry)
- patches from new contributors (rationale: fix stylistic issues and errors, ensure usefulness, educate)
We might also want to experiment with better tools to see if that speeds up patch processing... that's definitely an issue with big patchsets. Merging patches without a formal review might also make sense in some scenarios, e.g. in low-risk areas which have an active maintainer.
Although the ACK system _does_ catch some problems and is clearly useful, it also slows down flow of code into Git. This has the side-effect that new code does not get real-life testing from users as soon as it could. I think the key is apply each method (push quickly into testing vs. formal review) where it makes most sense.
Also, one idea would be to review patches _after_ they've been merged to Git, provided they make sense, i.e. nobody loudly complains about them. For example, in PolarSSL's case, this would have allowed us to test the code for ~4 months while the patches were being reviewed.
Anyways, let me know what you think... and please forgive me for not getting back to this topic before Tuesday... I've been forbidden to work during Easter by $fiancee :).
Signature · 10 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock [1] <https://community.openvpn.net/openvpn/wiki/PolarSSLintegration> [2] <https://community.openvpn.net/openvpn/wiki/GenericBuildsystemIntegration#Buildrevolutionpatchset>
2012/4/5 Samuli Seppänen <[email protected]...>:
Quoted 63 lines
Hi all,
As promised I did a brief review of our current ACK system:
<https://community.openvpn.net/openvpn/wiki/ACKSystemReview>
One thing that surprised me was that only on 2 occasions (out of ~60 "real" patches) a patch was modified during the review process. For comparison, let's look at two big patchsets:
- PolarSSL support [1], ~115 patches
- total of 8 changes were asked for
- 3 of these seem trivial stylistic issues/typos- Buildsystem revolution[2], 52 patches
- a couple of changes were asked for (e.g. to enable lzo by default)There seems to be a fair amount of delay from patch introduction to the commit to Git repo. For individual patches the delay tends to be less than a week, which I think is ok. For patchsets, the delay is much longer (15-120 days). It's difficult to say whether we could reduce the delay with advanced tools... after all, somebody (=human) has to review the patches, whatever tools we use.
Due to a number of factors parsing the raw data was challenging... unlike I assumed, finding discussions related to the patches was often surprisingly difficult/impossible, although the "Acked-by" entries in Git clearly show that an ACK was given at some point. Also, quite a few patches (~20%) already go in without an ACK.
My personal feeling based is that we should probably focus the ACK system to high-risk patches, e.g.
- patches touching critical parts of the code (rationale: better safe than sorry)
- patches from new contributors (rationale: fix stylistic issues and errors, ensure usefulness, educate)We might also want to experiment with better tools to see if that speeds up patch processing... that's definitely an issue with big patchsets. Merging patches without a formal review might also make sense in some scenarios, e.g. in low-risk areas which have an active maintainer.
Although the ACK system _does_ catch some problems and is clearly useful, it also slows down flow of code into Git. This has the side-effect that new code does not get real-life testing from users as soon as it could. I think the key is apply each method (push quickly into testing vs. formal review) where it makes most sense.
Also, one idea would be to review patches _after_ they've been merged to Git, provided they make sense, i.e. nobody loudly complains about them. For example, in PolarSSL's case, this would have allowed us to test the code for ~4 months while the patches were being reviewed.
Anyways, let me know what you think... and please forgive me for not getting back to this topic before Tuesday... I've been forbidden to work during Easter by $fiancee :).
--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc
Quoted 7 lines
irc freenode net: mattock
[1] <https://community.openvpn.net/openvpn/wiki/PolarSSLintegration>
[2]
<https://community.openvpn.net/openvpn/wiki/GenericBuildsystemIntegration#Buildrevolutionpatchset>
Hello Samuli,
Thank you for the analyze.
I think the discussion should be focus at different aspects.
Example:
Question1: What the desire number of people that may commit into OpenVPN repository?
Question2: Does ACK has same weight?
Question3: When patch series is merged into tree?
Let's begin in reverse order... easier to discuss.
Question3: When patch series is merged into tree?
General note: In no way do I see the fast responsive of submit-ack-commit a goal! It can take week or a month, depending on need/complexity/quality. The goal is to merge mature patchsets that we feel comfortable with.
A patch series is a set of patches seeking to achieve some goal. Usually, there is no sense in merging partial patchset. Review process is iterative, it is human process, when patchset is submitted for review, the mission is perfecting the patchset, both in term of functionality and code quality. It is only logical that a patchset will be submitted several times, as feedback is gathered. After the review process, and ACK/whatever, the author of the patchset should submit merge request with the final work, that may differ (improved) from last submission. Best to submit merge request using pull request from public git repository to avoid any error.
If patchset is complex developers should be encouraged to test it within the author's repository *BEFORE* merge, to allow more or less stable master branch, and higher quality of patchset.
Difference from current process: Current process somewhat assume that if some work receive ACK of random people it can be committed to main tree, even without testing or even if someone else, may be the author has some rejects/improvements. This makes the commit history complex without any reason, as known issues can be fixed in the patchset before the merge.
Question2: Does ACK has same weight?
Although we like to live in democracy, democracy has its down sides... A professional community is assembled by people of different skills at different levels, hence there should be different weight for ACK of different people.
There should be maintainer for each component, this component maintainer ACK for patchset is *REQUIRED* for patchset that touches his subsystem. Of course component maintainer should be relatively responsive, otherwise a core developer may replace.
Significant changes should also be ACKed by core developers, usually based on roadmap or ability to maintain this in future. There should be more than a single core developer.
Core developer can merge his own work after review process is exhausted.
Question1: What the desire number of people that may commit into OpenVPN repository?
I don't think that 1 is a good number for core tasks. If we want to achieve community work, the core developers should work as a team with exact same privileges, this will encourage ideas and progress, without hierarchy within the core team.
Regards,
Alon.
A message that is not in the archive (sent off-list or not yet received): [email protected]...
Thank you Adrian,
It seems we need to discuss the major item...
What is "patch" submission?
What effect has the "submission" event?
This is first time I find my-self so far from others' perspective... really don't know what happened to the old plain software engineering... Seems like I am getting obsolete.
Let's see... the extreme patch methodology can be traced back to Linux kernel development. Now like a fashion all people like to mimic this process if it is suitable or not.
The Linux kernel has been divided into subsystems, and sub-subsystems, each has maintainers and community. Each has each own core developers and own release cycle. These communities are working in their own pace perfecting the features they consider important, then pushing branches to upstream. It is not uncommon for getting rejects, causing the subsystem maintainer to fix patches and resubmit, this process is done until accepted. The same goes to guest developer who wish to apply a change in code, his patch will be rejected until all parties agrees it is perfected to a point in can be merged into mainline.
So if we want to mimic, at least let's mimic correctly.
The patch system mission is to allow a work of community of HUMANS together as a team while perfecting the work of each other without effecting the stabilization/standard of the main branch. It is a way to communicate with each other doing peer review and discussion, to allow reaching the best solution before merge.
After the release of git, people started to forget what the review process is all about, and especially the above mission. They started to treat the "[PATCH] ..." message as something similar to religious event. I guess this is where we at at the OpenVPN project. I think this is sad, as the HUMAN approach is gone, and like machine we have two outputs of someone, either 0 - reject or 1 - commit, while people have 2, 3,4 and even 100.
What is the submission event? Yes, this event is important... It implies that the author think he had reached to a point he either thinks work is ready to be merge or he asks review before merge. In no way this event means more than this. People can find issues, the author it-self can find issues, even in the strict Linux kernel development every one, including the author can reject a patchset at any time during the discussion, and submit a different one.
When people state that "A patch must not be changed once submitted", they claim either:
a) Bad/malformed/invalid patches may be committed into mainline.
b) Only perfect patches are accepted, rest are rejected, casing the above statement to be incorrect, as once submitted again these are modified patch anyway.
As a result I really do not understand this statement... Either we committing low quality solution or we lie to our-selves.
I also don't understand the great fear of perfecting patches before commit, as the mission of all developers is improving the project, changes to the patchset is for the good of the community, improving the quality of the work to be committed. Usually the changes during/after review are minor, and will be reviewed anyway, as author will state what change and simple diff may be used to delta-review.
I really seeking for explanation... really... I am around in this world for quite long time...
Some more in-line.
Quoted 56 lines · Adriaan de Jong
Hi,
Thanks for the review, I only have a few comments which I'll make inline.
Adriaan
2012/4/5 Alon Bar-Lev <[email protected]...>
Quoted 46 lines
2012/4/5 Samuli Seppänen <[email protected]...>:
Quoted 44 lines
Hi all,
As promised I did a brief review of our current ACK system:
<https://community.openvpn.net/openvpn/wiki/ACKSystemReview>
One thing that surprised me was that only on 2 occasions (out of ~60 "real" patches) a patch was modified during the review process. For comparison, let's look at two big patchsets:
- PolarSSL support [1], ~115 patches
- total of 8 changes were asked for
- 3 of these seem trivial stylistic issues/typos- Buildsystem revolution[2], 52 patches
- a couple of changes were asked for (e.g. to enable lzo by default)There seems to be a fair amount of delay from patch introduction to the commit to Git repo. For individual patches the delay tends to be less than a week, which I think is ok. For patchsets, the delay is much longer (15-120 days). It's difficult to say whether we could reduce the delay with advanced tools... after all, somebody (=human) has to review the patches, whatever tools we use.
Due to a number of factors parsing the raw data was challenging... unlike I assumed, finding discussions related to the patches was often surprisingly difficult/impossible, although the "Acked-by" entries in Git clearly show that an ACK was given at some point. Also, quite a few patches (~20%) already go in without an ACK.
My personal feeling based is that we should probably focus the ACK system to high-risk patches, e.g.
- patches touching critical parts of the code (rationale: better safe than sorry)
- patches from new contributors (rationale: fix stylistic issues and errors, ensure usefulness, educate)We might also want to experiment with better tools to see if that speeds
up patch processing... that's definitely an issue with big patchsets. Merging patches without a formal review might also make sense in some scenarios, e.g. in low-risk areas which have an active maintainer.
Quoted 3 lines
Tools like crucible and gerrit would allow code reviews to be more formal, which might make discussions a little clearer. The question remains whether they will really speed things up.
Well, I find gerrit very difficult to manage and cooperate at. Until I see this actually work in project I know, I prefer the plain old mailing list / pull request method.
Quoted 116 lines
Quoted 8 lines
Quoted 8 lines
Although the ACK system _does_ catch some problems and is clearly useful, it also slows down flow of code into Git. This has the side-effect that new code does not get real-life testing from users as soon as it could. I think the key is apply each method (push quickly into testing vs. formal review) where it makes most sense.
Quoted 6 lines
Quoted 6 lines
Also, one idea would be to review patches _after_ they've been merged to
Git, provided they make sense, i.e. nobody loudly complains about them. For example, in PolarSSL's case, this would have allowed us to test the code for ~4 months while the patches were being reviewed.True, but in PolarSSL's case it was very important to have a thorough ack process, out-of-band. I came in as a new developer, and the code is mostly security-critical. Both of those points should always trigger a good review process.
The build patches are different in that sense. Non-code changes should still be checked, but they're less critical than, say, x509 verification code changes.
Quoted 6 lines
Quoted 5 lines
Anyways, let me know what you think... and please forgive me for not getting back to this topic before Tuesday... I've been forbidden to work
during Easter by $fiancee :).Happy Easter!
Quoted 16 lines
Hello Samuli,
Thank you for the analyze.
I think the discussion should be focus at different aspects.
Example:
Question1: What the desire number of people that may commit into OpenVPN repository?
Question2: Does ACK has same weight?
Question3: When patch series is merged into tree?
Quoted 9 lines
Let's begin in reverse order... easier to discuss.
Question3: When patch series is merged into tree?
General note: In no way do I see the fast responsive of submit-ack-commit a goal! It can take week or a month, depending on need/complexity/quality. The goal is to merge mature patchsets that we feel comfortable with.
Agreed, code quality and security should be paramount.
Quoted 12 lines
A patch series is a set of patches seeking to achieve some goal. Usually, there is no sense in merging partial patchset. Review process is iterative, it is human process, when patchset is submitted for review, the mission is perfecting the patchset, both in term of functionality and code quality. It is only logical that a patchset will be submitted several times, as feedback is gathered. After the review process, and ACK/whatever, the author of the patchset should submit merge request with the final work, that may differ (improved) from last submission. Best to submit merge request using pull request from public git repository to avoid any error.
Here I partially disagree. I think changes to patches should be avoided once they are in a review process, especially for large patch sets. There's no harm in adding an extra patch that fixes an issue found during the review process, other than perhaps hurting the ego of the submitter :).
For single patches, or small sets this is different, as resubmissions take less time to process, and are less confusing. Confusion should be avoided at all times.
Quoted 5 lines
If patchset is complex developers should be encouraged to test it within the author's repository *BEFORE* merge, to allow more or less stable master branch, and higher quality of patchset.
Quoted 7 lines
Difference from current process: Current process somewhat assume that if some work receive ACK of random people it can be committed to main tree, even without testing or even if someone else, may be the author has some rejects/improvements. This makes the commit history complex without any reason, as known issues can be fixed in the patchset before the merge.
Again, I disagree about changing patches once they've been submitted.
Quoted 17 lines
Question2: Does ACK has same weight?
Although we like to live in democracy, democracy has its down sides... A professional community is assembled by people of different skills at different levels, hence there should be different weight for ACK of different people.
There should be maintainer for each component, this component maintainer ACK for patchset is *REQUIRED* for patchset that touches his subsystem. Of course component maintainer should be relatively responsive, otherwise a core developer may replace.
Significant changes should also be ACKed by core developers, usually based on roadmap or ability to maintain this in future. There should be more than a single core developer.
Quoted 6 lines
Quoted 2 lines
Core developer can merge his own work after review process is exhausted.
Do you think the dev team is big enough to need component-based maintainers? OpenVPN, despite its many features, isn't huge, and hasn't got that many devs. Is adding such a system not just extra overhead?
I don't care about having 3 maintainers... or 2... or 1... as long as we know who these are and what they in charge of.
Example:
- Windows
- Build
- PolarSSL
- Interfaces
- Core
Quoted 11 lines
Quoted 10 lines
Question1: What the desire number of people that may commit into OpenVPN repository?
I don't think that 1 is a good number for core tasks. If we want to achieve community work, the core developers should work as a team with exact same privileges, this will encourage ideas and progress, without hierarchy within the core team.
Quoted 4 lines
I actually like the current system, with one gatekeeper, as long as David is willing to manage it. It makes things rather clear-cut.
Adriaan
Gate keeper of what? See the recent merge of polarssl, unicode and IPv6, these are all none clean in term of implementation, David done his work, merging whatever ACK, but this ACK system lead to even more complex OpenVPN implementation, not that the legacy OpenVPN was perfect, but I would have expected new functionality to not make things more complex. This system is not working, it is not too late to realize that and decide how to proceed.
Once James was around, although people complained project is progressing slowly, at least there was someone in charge of the quality, feature set, conventions and standards. I prefer slow progressing project than a project that getting more and more complex while people poll to different directions while there is someone that manages the process but nobody actually manages the project.
Regards,
Alon.
Dear Alon,
Please find my answers inline again:
Quoted 26 lines
-----Original Message-----
From: Alon Bar-Lev [mailto:[email protected]...]It seems we need to discuss the major item...
What is "patch" submission?
What effect has the "submission" event?This is first time I find my-self so far from others' perspective... really don't know what happened to the old plain software engineering... Seems like I am getting obsolete.
Let's see... the extreme patch methodology can be traced back to Linux kernel development. Now like a fashion all people like to mimic this process if it is suitable or not.
The Linux kernel has been divided into subsystems, and sub-subsystems, each has maintainers and community. Each has each own core developers and own release cycle. These communities are working in their own pace perfecting the features they consider important, then pushing branches to upstream. It is not uncommon for getting rejects, causing the subsystem maintainer to fix patches and resubmit, this process is done until accepted. The same goes to guest developer who wish to apply a change in code, his patch will be rejected until all parties agrees it is perfected to a point in can be merged into mainline.
Quoted 2 lines
So if we want to mimic, at least let's mimic correctly.
I agree that this seems to work great for the huge Linux kernel community. The point I'm trying to make is that we've got a very different situation here. We don't have huge subcommunities or subsystems. We have 5-10 developers, if that. It's difficult enough to get 1 or 2 people to look at any given patch right now. Dividing the community into different subsystems is not the way to go if you have so few developers. So, I argue against splintering the community, increasing bureaucracy in the process.
Quoted 22 lines
The patch system mission is to allow a work of community of HUMANS together as a team while perfecting the work of each other without effecting the stabilization/standard of the main branch. It is a way to communicate with each other doing peer review and discussion, to allow reaching the best solution before merge.
After the release of git, people started to forget what the review process is all about, and especially the above mission. They started to treat the "[PATCH] ..." message as something similar to religious event. I guess this is where we at at the OpenVPN project. I think this is sad, as the HUMAN approach is gone, and like machine we have two outputs of someone, either 0 - reject or 1 - commit, while people have 2, 3,4 and even 100.
What is the submission event? Yes, this event is important... It implies that the author think he had reached to a point he either thinks work is ready to be merge or he asks review before merge. In no way this event means more than this. People can find issues, the author it-self can find issues, even in the strict Linux kernel development every one, including the author can reject a patchset at any time during the discussion, and submit a different one.
Quoted 7 lines
When people state that "A patch must not be changed once submitted", they claim either:
a) Bad/malformed/invalid patches may be committed into mainline.
b) Only perfect patches are accepted, rest are rejected, casing the above statement to be incorrect, as once submitted again these are modified patch anyway.
I'll take a), as long as there is a valid fixer patch right after it.
Quoted 3 lines
As a result I really do not understand this statement... Either we committing low quality solution or we lie to our-selves.
This does not imply a low-quality solution. It just streamlines the ack process:
1) Submit initial (large set of) patches
2) Fix any problems that come up iteratively in new patches, tacking them onto the end of the patch set
3) Ack complete patch set.
Again, note that this is not necessary for smaller patch sets, where resubmission is more trivial. The only difference here is that you don't go around rewriting history once patches have been submitted, making life a lot more difficult for reviewers.
Quoted 244 lines
I also don't understand the great fear of perfecting patches before commit, as the mission of all developers is improving the project, changes to the patchset is for the good of the community, improving the quality of the work to be committed. Usually the changes during/after review are minor, and will be reviewed anyway, as author will state what change and simple diff may be used to delta-review.
I really seeking for explanation... really... I am around in this world for quite long time...
Some more in-line.
Quoted 4 lines · Adriaan de Jong
Hi,
Thanks for the review, I only have a few comments which I'll make
inline.
Quoted 14 lines
Adriaan
2012/4/5 Alon Bar-Lev <[email protected]...>
Quoted 10 lines
2012/4/5 Samuli Seppänen <[email protected]...>:
Quoted 8 lines
Hi all,
As promised I did a brief review of our current ACK system:
<https://community.openvpn.net/openvpn/wiki/ACKSystemReview>
One thing that surprised me was that only on 2 occasions (out of ~60 "real" patches) a patch was modified during the review
process.
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
For comparison, let's look at two big patchsets:
- PolarSSL support [1], ~115 patches
- total of 8 changes were asked for
- 3 of these seem trivial stylistic issues/typos- Buildsystem revolution[2], 52 patches
- a couple of changes were asked for (e.g. to enable lzo by
default)There seems to be a fair amount of delay from patch introduction
to
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
the commit to Git repo. For individual patches the delay tends to be less than a week, which I think is ok. For patchsets, the delay is much longer (15-120 days). It's difficult to say whether we could reduce the delay with advanced tools... after all, somebody (=human) has to review the patches, whatever tools we use.
Due to a number of factors parsing the raw data was challenging... unlike I assumed, finding discussions related to the patches was often surprisingly difficult/impossible, although the "Acked-by" entries in Git clearly show that an ACK was given at some point. Also, quite a few patches (~20%) already go in without an ACK.
My personal feeling based is that we should probably focus the ACK system to high-risk patches, e.g.
- patches touching critical parts of the code (rationale: better safe than sorry)
- patches from new contributors (rationale: fix stylistic issues and errors, ensure usefulness, educate)Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
We might also want to experiment with better tools to see if that speeds up patch processing... that's definitely an issue with big patchsets.
Merging patches without a formal review might also make sense in some scenarios, e.g. in low-risk areas which have an activemaintainer.
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Tools like crucible and gerrit would allow code reviews to be more formal, which might make discussions a little clearer. The question remains whether they will really speed things up.
Well, I find gerrit very difficult to manage and cooperate at. Until I see this actually work in project I know, I prefer the plain old mailing list / pull request method.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Although the ACK system _does_ catch some problems and is clearly useful, it also slows down flow of code into Git. This has the side-effect that new code does not get real-life testing from
users
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
as soon as it could. I think the key is apply each method (push quickly into testing vs. formal review) where it makes most sense.
Also, one idea would be to review patches _after_ they've been merged to Git, provided they make sense, i.e. nobody loudly complains about them.
For example, in PolarSSL's case, this would have allowed us totest
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines
the code for ~4 months while the patches were being reviewed.
True, but in PolarSSL's case it was very important to have a thorough ack process, out-of-band. I came in as a new developer, and the code is mostly security-critical. Both of those points should always trigger a good review process.
The build patches are different in that sense. Non-code changes
should
Quoted 31 lines
still be checked, but they're less critical than, say, x509 verification code changes.
Quoted 5 lines
Quoted 4 lines
Anyways, let me know what you think... and please forgive me for not getting back to this topic before Tuesday... I've been forbidden to work during Easter by $fiancee :).
Happy Easter!
Quoted 20 lines
Hello Samuli,
Thank you for the analyze.
I think the discussion should be focus at different aspects.
Example:
Question1: What the desire number of people that may commit into OpenVPN repository?
Question2: Does ACK has same weight?
Question3: When patch series is merged into tree?
Let's begin in reverse order... easier to discuss.
Question3: When patch series is merged into tree?
Quoted 13 lines
Quoted 5 lines
General note: In no way do I see the fast responsive of submit-ack-commit a goal! It can take week or a month, depending on need/complexity/quality. The goal is to merge mature patchsets that we feel comfortable with.
Agreed, code quality and security should be paramount.
Quoted 5 lines
A patch series is a set of patches seeking to achieve some goal. Usually, there is no sense in merging partial patchset. Review process is iterative, it is human process, when patchset is submitted for review, the mission is perfecting the patchset, both
in
Quoted 9 lines
Quoted 8 lines
term of functionality and code quality. It is only logical that a patchset will be submitted several times, as feedback is gathered. After the review process, and ACK/whatever, the author of the patchset should submit merge request with the final work, that may differ
(improved) from last submission. Best to submit merge request using pull request from public git repository to avoid any error.Quoted 4 lines
Here I partially disagree. I think changes to patches should be avoided once they are in a review process, especially for large patch sets. There's no harm in adding an extra patch that fixes an issue found during the review process, other than perhaps hurting the ego
of the submitter :).
Quoted 3 lines
For single patches, or small sets this is different, as resubmissions take less time to process, and are less confusing. Confusion should
be
Quoted 8 lines
avoided at all times.
Quoted 6 lines
If patchset is complex developers should be encouraged to test it within the author's repository *BEFORE* merge, to allow more or less stable master branch, and higher quality of patchset.
Difference from current process: Current process somewhat assume
that
Quoted 1 line
Quoted 1 line
if some work receive ACK of random people it can be committed to
main
Quoted 1 line
Quoted 1 line
tree, even without testing or even if someone else, may be the
author
Quoted 11 lines
Quoted 4 lines
has some rejects/improvements. This makes the commit history complex without any reason, as known issues can be fixed in the patchset before the merge.
Again, I disagree about changing patches once they've been submitted.
Quoted 4 lines
Question2: Does ACK has same weight?
Although we like to live in democracy, democracy has its down
sides...
Quoted 9 lines
Quoted 9 lines
A professional community is assembled by people of different skills at different levels, hence there should be different weight for ACK of different people.
There should be maintainer for each component, this component maintainer ACK for patchset is *REQUIRED* for patchset that touches his subsystem. Of course component maintainer should be relatively responsive, otherwise a core developer may replace.
Quoted 5 lines
Quoted 5 lines
Significant changes should also be ACKed by core developers, usually based on roadmap or ability to maintain this in future. There should be more than a single core developer.
Core developer can merge his own work after review process is
exhausted.
Quoted 5 lines
Quoted 1 line
Do you think the dev team is big enough to need component-based maintainers? OpenVPN, despite its many features, isn't huge, and hasn't got that many devs. Is adding such a system not just extra
overhead?
I don't care about having 3 maintainers... or 2... or 1... as long as we know who these are and what they in charge of.
Example:
- Windows
- Build
- PolarSSL
- Interfaces
- CoreQuoted 11 lines
Quoted 10 lines
Question1: What the desire number of people that may commit into OpenVPN repository?
I don't think that 1 is a good number for core tasks. If we want to achieve community work, the core developers should work as a team with exact same privileges, this will encourage ideas and progress, without hierarchy within the core team.
Quoted 4 lines
I actually like the current system, with one gatekeeper, as long as David is willing to manage it. It makes things rather clear-cut.
Adriaan
Quoted 8 lines
Gate keeper of what? See the recent merge of polarssl, unicode and IPv6, these are all none clean in term of implementation, David done his work, merging whatever ACK, but this ACK system lead to even more complex OpenVPN implementation, not that the legacy OpenVPN was perfect, but I would have expected new functionality to not make things more complex. This system is not working, it is not too late to realize that and decide how to proceed.
I disagree. The SSL/crypto patches have made things cleaner in the crypto department. The old ssl.c was 6000+ lines of interwoven code, this has now been modularized. I agree that more work can be done here, and hope to be able to contribute there, but claiming that this code is now messier is simply false. You can't expect immediate perfection here, just iterative steps in the right direction.
Quoted 10 lines
Once James was around, although people complained project is progressing slowly, at least there was someone in charge of the quality, feature set, conventions and standards. I prefer slow progressing project than a project that getting more and more complex while people poll to different directions while there is someone that manages the process but nobody actually manages the project.
Regards,
Alon.
Hi,
Quoted 6 lines · Alon Bar-Lev
Gate keeper of what? See the recent merge of polarssl, unicode and IPv6, these are all none clean in term of implementation, David done his work, merging whatever ACK, but this ACK system lead to even more complex OpenVPN implementation, not that the legacy OpenVPN was perfect, but I would have expected new functionality to not make things more complex.
As for IPv6 payload, if you double functionality, you can't expect complexity to "not go up". It's a different network protocol that needs to be handled very differently, and there is not much that can be shared with IPv4 as far as routing, interface config, config file parser, etc. goes (and every single supported operating system uses a different ifconfig/route style...)
As for the actual implementation of the IPv6 payload stuff: it's closely following the IPv4 code style, with as little intrusive changes as possible.
Of course it would have been possible to rewrite larger chunks of stuff
- leading to "it is never finished" and "it will be much harder to merge due to people not being able to see what is new and what is old".
Quoted 2 lines
This system is not working, it is not too late to
realize that and decide how to proceed.
The current system is working quite well. A number of important features
that people have a need for *TODAY* (not "when it's perfect, in 10 years time" - actually, the IPv6 stuff was already needed 4+ years ago) got in, and stuff has been tested quite thoroughly, thus not creating new breakage.
If anything, we're not following the Open Source mantra "release early, release often" close enough.
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks a lot for sharing your thoughts. Many good comments, and I've added my thoughts inline as well (and stripped out text too).
Quoted 8 lines · Alon Bar-Lev
What is the submission event? Yes, this event is important... It implies that the author think he had reached to a point he either thinks work is ready to be merge or he asks review before merge. In no way this event means more than this. People can find issues, the author it-self can find issues, even in the strict Linux kernel development every one, including the author can reject a patchset at any time during the discussion, and submit a different one.
Quoted 6 lines
When people state that "A patch must not be changed once submitted", they claim either: a) Bad/malformed/invalid patches may be committed into mainline. b) Only perfect patches are accepted, rest are rejected, casing the above statement to be incorrect, as once submitted again these are modified patch anyway.
I think that the proper statement would be "Once ACKed, the patch being ACKed on the ML should not be modified". That's the signal I take for inclusion.
Quoted 10 lines
As a result I really do not understand this statement... Either we
committing low quality solution or we lie to our-selves.I also don't understand the great fear of perfecting patches before commit, as the mission of all developers is improving the project, changes to the patchset is for the good of the community, improving the quality of the work to be committed. Usually the changes during/after review are minor, and will be reviewed anyway, as author will state what change and simple diff may be used to delta-review.
Perfecting patches is great! I like that. But in the round with the build tools, it was not clearly understood that this was a preview of the patches. I can sure take that blame on my part. And we started ACKing patches, which is our methodology. And then I begin to process this.
I have no problem with a "forked" git branch which are modified for a long time, it may also stay outside the official tree. And when the patches are ready for the prime-time inclusion, doing an official review with public ACKs locks the patches - and I'll pull them in.
And I see you did a good thing in one of your later patch-sets, where you said explicitly that this is not ready for inclusion yet. I'll take those hints, and stay clear of reviewing for ACKs.
But of course, I'll run some tests from your git tree if time permits it and/or the features are interesting enough to catch my attention. And I think this is an approach more people uses here as well. We can't dictate when and how people will test development code. But I do know that when things hit the master branch, that is tested much more - as we have automatic snapshot builds, and I believe there's even an FreeBSD port which is released regularly based upon this code as well. So that's why I'm trying my best to push things which looks ready into the master branch as soon as possible.
Quoted 5 lines
Quoted 3 lines · Adriaan de Jong
2012/4/5 Alon Bar-Lev <[email protected]...>
Quoted 1 line
2012/4/5 Samuli Seppänen <[email protected]...>:
Quoted 7 lines
Quoted 3 lines
Tools like crucible and gerrit would allow code reviews to be more formal, which might make discussions a little clearer. The question remains whether they will really speed things up.
Well, I find gerrit very difficult to manage and cooperate at. Until I see this actually work in project I know, I prefer the plain old mailing list / pull request method.
To be very honest, I don't care much which tools we use. As long as we have something which fits and works for us, that the review comments can be kept under a control which makes it as difficult as possible to modify them and that these comments will not "survive eternity" based upon the grace of a third party (which might disappear over night, get hacked and/or shutdown). The reason for this is that we can then have references in our commits to discussions regarding the patch - and being fairly sure that these data will be retrievable also in the future.
In this perspective, I'm a supporter of the ML approach despite not as intuitive as other models. But it is not a centralised service which will make all references we already have in our git tree. In retrospect, using Message-ID would probably be fairly better than URLs to specific mailing list viewers on the net.
Quoted 13 lines
Quoted 13 lines
Quoted 12 lines
Quoted 12 lines
Although the ACK system _does_ catch some problems and is clearly useful, it also slows down flow of code into Git. This has the side-effect that new code does not get real-life testing from users as soon as it could. I think the key is apply each method (push quickly into testing vs. formal review) where it makes most sense.
Also, one idea would be to review patches _after_ they've been merged to Git, provided they make sense, i.e. nobody loudly complains about them. For example, in PolarSSL's case, this would have allowed us to test the code for ~4 months while the patches were being reviewed.
Quoted 8 lines
Quoted 8 lines
True, but in PolarSSL's case it was very important to have a thorough ack process, out-of-band. I came in as a new developer, and the code is mostly security-critical. Both of those points should always trigger a good review process.
The build patches are different in that sense. Non-code changes should still be checked, but they're less critical than, say, x509 verification code changes.
Fully agree!
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Question3: When patch series is merged into tree?
General note: In no way do I see the fast responsive of submit-ack-commit a goal! It can take week or a month, depending on need/complexity/quality. The goal is to merge mature patchsets that we feel comfortable with.
Agreed, code quality and security should be paramount.
If not doing this, we surely are doing something not right.
Quoted 13 lines
Quoted 13 lines
Quoted 12 lines
A patch series is a set of patches seeking to achieve some goal. Usually, there is no sense in merging partial patchset. Review process is iterative, it is human process, when patchset is submitted for review, the mission is perfecting the patchset, both in term of functionality and code quality. It is only logical that a patchset will be submitted several times, as feedback is gathered. After the review process, and ACK/whatever, the author of the patchset should submit merge request with the final work, that may differ (improved) from last submission. Best to submit merge request using pull request from public git repository to avoid any error.
Quoted 5 lines
Quoted 5 lines
Here I partially disagree. I think changes to patches should be avoided once they are in a review process, especially for large patch sets. There's no harm in adding an extra patch that fixes an issue found during the review process, other than perhaps hurting the ego of the submitter :).
I partly agree with Adriaan here. Once we review for ACK, patches should not be modified at all afterwards. But as long as it's clearly a preview of something, I have no problems with patches being modified. And in this case, it must be clear that a reviewing for ACK process should not start.
Quoted 3 lines
Quoted 3 lines
For single patches, or small sets this is different, as resubmissions take less time to process, and are less confusing. Confusion should be avoided at all times.
Agreed!
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
If patchset is complex developers should be encouraged to test it within the author's repository *BEFORE* merge, to allow more or less stable master branch, and higher quality of patchset.
That is the idea behind the 'experimental' branch. As we've not had any critical patches which touches OpenVPN features, it's mostly been a copy of 'master'. But we can surely use the 'experimental' branch for including remote git branches into a upstream test branch. This branch would then have to be rebuilt everything the upstream branches are rebuilt. Which makes the management of this branch somewhat harder, but not impossible. But we can surely bring that branch more to live again.
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines
Difference from current process: Current process somewhat assume that if some work receive ACK of random people it can be committed to main tree, even without testing or even if someone else, may be the author has some rejects/improvements. This makes the commit history complex without any reason, as known issues can be fixed in the patchset before the merge.
Again, I disagree about changing patches once they've been submitted.
I'm agreeing with Adriaan here as well. Fixing things, even silly mistakes, in separate commits are not a bad thing - as long as the commit message is clear about why. I don't believe in only top-notch perfect patches at all, I don't believe such things exist - even after 100 iterations. There's always something you can fix. You need to draw the line somewhere.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Question2: Does ACK has same weight?
Although we like to live in democracy, democracy has its down sides... A professional community is assembled by people of different skills at different levels, hence there should be different weight for ACK of different people.
This is probably not clear to all, but do I weight the ACKs when applying patches. If a random John Doe ACKs a patch which is not clear to me, I don't consider that ACK much at all. If it's a trivial/obvious patch, I have no problem granting the ACK fame to that John Doe, as I believe it is important to include people into this process.
And if you, Alon, give an ACK or NACK to a patch related to the build system or something related to PKCS#11 layers, I'll weight that far more than others. And the same is for SSL stuff, I listen more carefully to Adriaan, and for IPv6 or networking related I care much about what Gert has to say. And these are also people I've seen in good discussions with James, where I feel that James are not terrified of what they're doing.
Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
There should be maintainer for each component, this component maintainer ACK for patchset is *REQUIRED* for patchset that touches his subsystem. Of course component maintainer should be relatively responsive, otherwise a core developer may replace.
Significant changes should also be ACKed by core developers, usually based on roadmap or ability to maintain this in future. There should be more than a single core developer.
Core developer can merge his own work after review process is exhausted.
Quoted 7 lines
Quoted 4 lines
Do you think the dev team is big enough to need component-based maintainers? OpenVPN, despite its many features, isn't huge, and hasn't got that many devs. Is adding such a system not just extra overhead?
I don't care about having 3 maintainers... or 2... or 1... as long as we know who these are and what they in charge of.
This would be an ideal situation. But the fact is that of developers who are really active and where I feel I can trust the persons ultimately, doesn't really fill up one single hand. And then these persons also need to gain James' trust as well.
We simply don't have access to enough people currently, and then I think it is far better that those which are active can choose freely what they want to do inside OpenVPN.
If any developer turns up, are part of constructive dialogues on ML and/or IRC, provides useful ideas and patches which gains community trust, gains James' and my trust and suddenly states "Would anyone mind if I take more care of patches related to the XYZ-module?", I would gladly accept that developer as a submaintainer working under such a regime you suggested. But I don't believe in pushing towards such a regime, it needs to be initiated from a developer.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Question1: What the desire number of people that may commit into OpenVPN repository?
I don't think that 1 is a good number for core tasks. If we want to achieve community work, the core developers should work as a team with exact same privileges, this will encourage ideas and progress, without hierarchy within the core team.
Here it is important to see the history, where openvpn-testing.git came into play. It was a dissatisfaction about the development model, especially among people on the IRC. At that point Samuli got involved into the community side of OpenVPN too, and in co-operation with James we agreed that the -testing tree would be a tree of community patches, where I would prepare a git tree on behalf of the community so that James could include them into his tree. Providing testing and stability works for community provided patches.
Unfortunately, James workload is insanely high, and his time doesn't cover to do much core OpenVPN stuff. I personally would wish it would be different, but it is not. And as time went by, the responsibility for the -testing tree grew. It was later decided to do a 2.1.4 release based on the git tree instead of the SVN tree, as the James' development tree had so many new features which would require much more testing. And the 2.1.4 needed a single patch to fix a critical issue in 2.1.3. When this happened, the openvpn.git tree was "born", and development was shifted towards James' SVN branch being a "sub-maintainer" tree. While the plan was that the opengpn-testing.git tree would a sub-tree to James' SVN (or whatever he would move to in the future). And all these decisions were made in discussions with James.
Quoted 7 lines
Gate keeper of what? See the recent merge of polarssl, unicode and
IPv6, these are all none clean in term of implementation, David
done his work, merging whatever ACK, but this ACK system lead to even more complex OpenVPN implementation, not that the legacy OpenVPN was perfect, but I would have expected new functionality to not make things more complex. This system is not working, it is not too late to realize that and decide how to proceed.
Well, IPv6 stuff had been in the 'allmerged' branch (predecessor of 'experimental') for quite some time, all since the 2.1 releases - and I believe Gert was waiting for both testing and reviewing. In the end, it was agreed that these patches would be merged into the 2.3 release without ACK reviews due to 1) Gert is really active in the community and responds promptly to any issues discovered and 2) it had been in the allmerged branch for a long time, being used for FreeBSD snapshots for a long time and myself and others had been using the 'allmerged' branch for heavy testing.
Clean or not implementation ... that can be fixed; and for the future, reading the commit history you can learn about good and bad implementations. So in this regard, the commit history can be educational. You see what was done and what was fixed and why.
However, it's more important in my perspective that the code works and is as bugfree as possible, than being religiously correct about how a program or function should be written. It's not easy to have a general description how an implementation should be done. Especially not in a project which is over 10 years old, with a lot of history. Rewriting that before including the new feature would of course be an ideal goal, but very few will have the courage to change working code.
That would also to some go against recommended development cycles.
For the PolarSSL patches ... they were done through public reviews on the mailing list, and Adriaan had a github tree with his stuff too. If you didn't like anything there, why didn't you comment on that before it was included? In fact, it was lingering on the ML for a long time before actually being included.
And this fact is what is a core problem in our model. We hope that developers reading this ML are passionate about the OpenVPN code, and will scream out if they dislike something or ACK stuff they like. But it so seldom happens. Reviews mostly happens by one of us who are already heavily involved, and who end up doing it in IRC meetings.
Quoted 7 lines
Once James was around, although people complained project is progressing slowly, at least there was someone in charge of the quality, feature set, conventions and standards. I prefer slow progressing project than a project that getting more and more complex while people poll to different directions while there is someone that manages the process but nobody actually manages the project.
I trust that James would step up if there is a direction happening which he disapproves. And he knows where he can reach most of us who are most active, both via mail and IRC. In addition we have somewhat semi-regular meetings on IRC too, where we do discuss the direction of things as well.
The only thing which has happened in this regard is that community patches gets a much more public attention now than before - which results in an increased traffic to the mailing list. And if you look at the mailing list traffic, you see when the community itself got more involved than before:
<http://dir.gmane.org/gmane.network.openvpn.devel>
It is not the same project management as when James was the only developer actively adding code to OpenVPN. And including and encouraging community involvement means that OpenVPN will need to be allowed to move faster forward - as most developers who submits patches are not willing to wait years to see their code included.
kind regards,
David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+EVi0ACgkQDC186MBRfrq6NgCeJU/NAA5x7XNmDMZWI7Ihy+Bc IzwAnjw2xl60Y40mEmT9N7RZBTYasLbZ
=vzqZ
-----END PGP SIGNATURE-----
Hello,
Quoted 23 lines · David Sommerseth
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Thanks a lot for sharing your thoughts. Many good comments, and I've added my thoughts inline as well (and stripped out text too).
Quoted 8 lines · Alon Bar-Lev
What is the submission event? Yes, this event is important... It implies that the author think he had reached to a point he either thinks work is ready to be merge or he asks review before merge. In no way this event means more than this. People can find issues, the author it-self can find issues, even in the strict Linux kernel development every one, including the author can reject a patchset at any time during the discussion, and submit a different one.
Quoted 6 lines
When people state that "A patch must not be changed once submitted", they claim either: a) Bad/malformed/invalid patches may be committed into mainline. b) Only perfect patches are accepted, rest are rejected, casing the above statement to be incorrect, as once submitted again these are modified patch anyway.
Quoted 3 lines
I think that the proper statement would be "Once ACKed, the patch being ACKed on the ML should not be modified". That's the signal I take for inclusion.
Well, as I wrote, this is first time I encounter this approach. When human publish his code, at least for the first time, the first state people should be in is REVIEW mode, then if all is OK, people should switch into APPLY state. A simple deterministic-automate machine.
Let's make a long story short... I give up. I have no time to invest in unproductive discussions... I much prefer to invest time in productive changes. The amount of energy I invested here in just discussion is reducing the amount of time I can invest in creating perfect patches.
Current active developers are interested in specific features which are never complete.
For example Gert cares about the IPv6 implementation, but did not take all the routing and tun handling on him self as a whole.
Adriaan added the PolarSSL support, but did not take all the crypto interfaces of OpenVPN.
Heiko took the MSVC build + unicode support, bit did not take the windows (non-tun none-routing) subsystem.
People are doing a great work, adding more features into the code base, but...
The approach of maintaining a feature and not the subsystem, introduces, in most cases, a more complex implementation.
The current ACK system encourages this approach, by accepting these incremental additions of features without a project leader who can dictate implementation standards.
What I basically claiming is: to have a sane code base, the price of maintaining a major feature is to maintain the complete subsystem as well, unless we have clear interface.
So instead of maintaining IPv6, we need a maintainer of tun and routing. I already invested the time to clean up the tun code to help reaching this goal[1], this approach allows sub-maintainer of windows tun and routing to exists. Someone who takes charge of the complete tun and routing will have a complete different state of mind.
If we create a similar implementation crypto interface, we can have one maintainer to Core+OpenSSL (james?) and one maintainer to PolarSSL (Adriaan).
We definitely need a Windows platform maintainer, as the amount of windows specific code is huge!
I can maintain the build and PKCS#11 and ACK various interface changes.
But I am accepting that my view is far from yours, I guess where current path will take the project to, I will be very happy if I am wrong, but without core developers this project will reach a crises.
[1] https://github.com/alonbl/openvpn/compare/master...tun
Quoted 11 lines
Quoted 10 lines
As a result I really do not understand this statement... Either we committing low quality solution or we lie to our-selves.
I also don't understand the great fear of perfecting patches before commit, as the mission of all developers is improving the project, changes to the patchset is for the good of the community, improving the quality of the work to be committed. Usually the changes during/after review are minor, and will be reviewed anyway, as author will state what change and simple diff may be used to delta-review.
Quoted 5 lines
Perfecting patches is great! I like that. But in the round with the build tools, it was not clearly understood that this was a preview of the patches. I can sure take that blame on my part. And we started ACKing patches, which is our methodology. And then I begin to process this.
Yes, and at this point we discovered that there is a gap between the OpenVPN way and the Linux kernel way... in which ACK is part of review process.
Quoted 4 lines
I have no problem with a "forked" git branch which are modified for a long time, it may also stay outside the official tree. And when the patches are ready for the prime-time inclusion, doing an official review with public ACKs locks the patches - and I'll pull them in.
This is not what I suggested.
The review process should be on this external patch, all active developers should help in perfecting this branch in term of code quality and testing, while after review process is done, it is merged as-is.
Anyway, as I stated earlier, I am not going to invest any more resources in this. I think I made my point that the OpenVPN way is unique, while I cannot understand this, I have not enough resources to continue this debate.
Quoted 3 lines
And I see you did a good thing in one of your later patch-sets, where you said explicitly that this is not ready for inclusion yet. I'll take those hints, and stay clear of reviewing for ACKs.
This is exactly the problem, you should be encouraged to review! help reaching a state in which these are ready for merging. If you and others review only upon merge request we have no quality process at all.
Quoted 2 lines
But of course, I'll run some tests from your git tree if time permits it and/or the features are interesting enough to catch my attention.
So let me understand this...
All features are of interest of you when these are submitted for merge. But only some are interesting enough before submission, during review request.
If this is correct, it should be best for you to comply with the review request so that the merge process will be much easier.
Quoted 7 lines
And I think this is an approach more people uses here as well. We can't dictate when and how people will test development code. But I do know that when things hit the master branch, that is tested much more - as we have automatic snapshot builds, and I believe there's even an FreeBSD port which is released regularly based upon this code as well. So that's why I'm trying my best to push things which looks ready into the master branch as soon as possible.
Again, out of resources... so the master is playground, that's should be stated clearly.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Question3: When patch series is merged into tree?
General note: In no way do I see the fast responsive of submit-ack-commit a goal! It can take week or a month, depending on need/complexity/quality. The goal is to merge mature patchsets that we feel comfortable with.
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Agreed, code quality and security should be paramount.
If not doing this, we surely are doing something not right.
This exactly what I am claiming.
Quoted 19 lines
Quoted 13 lines
Quoted 13 lines
Quoted 12 lines
A patch series is a set of patches seeking to achieve some goal. Usually, there is no sense in merging partial patchset. Review process is iterative, it is human process, when patchset is submitted for review, the mission is perfecting the patchset, both in term of functionality and code quality. It is only logical that a patchset will be submitted several times, as feedback is gathered. After the review process, and ACK/whatever, the author of the patchset should submit merge request with the final work, that may differ (improved) from last submission. Best to submit merge request using pull request from public git repository to avoid any error.
Quoted 5 lines
Quoted 5 lines
Here I partially disagree. I think changes to patches should be avoided once they are in a review process, especially for large patch sets. There's no harm in adding an extra patch that fixes an issue found during the review process, other than perhaps hurting the ego of the submitter :).
Quoted 5 lines
I partly agree with Adriaan here. Once we review for ACK, patches should not be modified at all afterwards. But as long as it's clearly a preview of something, I have no problems with patches being modified. And in this case, it must be clear that a reviewing for ACK process should not start.
Same as above, if all will ignore the review request, we reach into the current process anyway.
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
If patchset is complex developers should be encouraged to test it within the author's repository *BEFORE* merge, to allow more or less stable master branch, and higher quality of patchset.
Quoted 8 lines
That is the idea behind the 'experimental' branch. As we've not had any critical patches which touches OpenVPN features, it's mostly been a copy of 'master'. But we can surely use the 'experimental' branch for including remote git branches into a upstream test branch. This branch would then have to be rebuilt everything the upstream branches are rebuilt. Which makes the management of this branch somewhat harder, but not impossible. But we can surely bring that branch more to live again.
Well, I don't like the experimental branch, similar to what you wrote to Samuli. A single branch of experimental features causes a lot of overhead, first each feature should be rebased on top of the other, while we do not know what the correct order of features is to be merged to master, second it is very difficult to merge a complete feature with all its fixes to master when development is done.
One branch per feature is a lot easier to maintain, rebase, test and merge. Thanks to git, one branch per feature is not something that should be maintained in formal repository.
Using github will allow people that in the process of implementing interesting features to get their own repository within the OpenVPN organization, so developers and users will know what the roadmap is, and can follow interesting features.
Quoted 10 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines
Difference from current process: Current process somewhat assume that if some work receive ACK of random people it can be committed to main tree, even without testing or even if someone else, may be the author has some rejects/improvements. This makes the commit history complex without any reason, as known issues can be fixed in the patchset before the merge.
Again, I disagree about changing patches once they've been submitted.
Quoted 6 lines
I'm agreeing with Adriaan here as well. Fixing things, even silly mistakes, in separate commits are not a bad thing - as long as the commit message is clear about why. I don't believe in only top-notch perfect patches at all, I don't believe such things exist - even after 100 iterations. There's always something you can fix. You need to draw the line somewhere.
There is a huge difference between committing code with KNOWN issues, and committing code and find issues later. There is no reason to commit a code with KNOWN issues.
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Question2: Does ACK has same weight?
Although we like to live in democracy, democracy has its down sides... A professional community is assembled by people of different skills at different levels, hence there should be different weight for ACK of different people.
This is probably not clear to all, but do I weight the ACKs when applying patches. If a random John Doe ACKs a patch which is not clear to me, I don't consider that ACK much at all. If it's a trivial/obvious patch, I have no problem granting the ACK fame to that John Doe, as I believe it is important to include people into this process.
Quoted 7 lines
And if you, Alon, give an ACK or NACK to a patch related to the build system or something related to PKCS#11 layers, I'll weight that far more than others. And the same is for SSL stuff, I listen more carefully to Adriaan, and for IPv6 or networking related I care much about what Gert has to say. And these are also people I've seen in good discussions with James, where I feel that James are not terrified of what they're doing.
I wrote above why I think the current approach is not right.
Quoted 22 lines
Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
There should be maintainer for each component, this component maintainer ACK for patchset is *REQUIRED* for patchset that touches his subsystem. Of course component maintainer should be relatively responsive, otherwise a core developer may replace.
Significant changes should also be ACKed by core developers, usually based on roadmap or ability to maintain this in future. There should be more than a single core developer.
Core developer can merge his own work after review process is exhausted.
Quoted 7 lines
Quoted 4 lines
Do you think the dev team is big enough to need component-based maintainers? OpenVPN, despite its many features, isn't huge, and hasn't got that many devs. Is adding such a system not just extra overhead?
I don't care about having 3 maintainers... or 2... or 1... as long as we know who these are and what they in charge of.
Quoted 8 lines
This would be an ideal situation. But the fact is that of developers who are really active and where I feel I can trust the persons ultimately, doesn't really fill up one single hand. And then these persons also need to gain James' trust as well.
We simply don't have access to enough people currently, and then I think it is far better that those which are active can choose freely what they want to do inside OpenVPN.
Yes we have at least some, I gave an example above.
Quoted 5 lines
For the PolarSSL patches ... they were done through public reviews on the mailing list, and Adriaan had a github tree with his stuff too. If you didn't like anything there, why didn't you comment on that before it was included? In fact, it was lingering on the ML for a long time before actually being included.
Well, a few reasons...
1. I did not believe this will be merged. This is my bad. James was not in favor of these stuff in the past. It took years to merge the IPv6, as I guess James assumed he cannot maintain this.
Personally, I don't quite understand why making OpenVPN more complex was required, as embedded Linux can run OpenSSL just fine.
2. It was way to complex for proper review, and as-is I could not review this properly. When I ACK I sure I understand the implementation and implication.
3. At that time I had less free time.
Looking back, I should have requested to implement crypto interface first, but at that point in time had you listened to this request?
Did you listen to my request to split the unicode patch? [2].
[2] http://permalink.gmane.org/gmane.network.openvpn.devel/5381
Quoted 5 lines
It is not the same project management as when James was the only developer actively adding code to OpenVPN. And including and encouraging community involvement means that OpenVPN will need to be allowed to move faster forward - as most developers who submits patches are not willing to wait years to see their code included.
I think you summarize all what I disagree.
1.
We have no core developers AT ALL! meaning no vision, to strategy, no one that evaluate feature necessity, maintenance price, integration method.
We do have someone who manages a process, that at the end almost every feature that is presented getting included.
2.
We are making implementation more complex as every feature is included as incremental minimal change, and due to (1) no check point.
We are indeed moving faster, but where to?
3.
We cannot evaluate the ability to maintain for years the code that is growing, due to (2) and (1).
Developers indeed sees their code included after weeks.
Regards,
Alon.
Hi Alon,
Quoted 4 lines
Current active developers are interested in specific features which are never complete.
Quoted 8 lines
For example Gert cares about the IPv6 implementation, but did not take all the routing and tun handling on him self as a whole.
Adriaan added the PolarSSL support, but did not take all the crypto interfaces of OpenVPN.
Heiko took the MSVC build + unicode support, bit did not take the windows (non-tun none-routing) subsystem.
I think having subsystem maintainers would make sense. Current feature-based development will probably work for a few years, but as you say, it can result in problems down the road. That said, there are a few practical obstacles if we take the subsystem maintainer approach:
1) Do the developers have the (extra?) time to commit to the project
2) Do the developers have enough knowledge to take over a subsystem? If not, go to 1).
What would the core tasks for subsystem maintainers be, in your view?
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
2012/4/17 Samuli Seppänen <[email protected]...>
Quoted 12 lines
Hi Alon,
Quoted 10 lines
Current active developers are interested in specific features which are never complete.
For example Gert cares about the IPv6 implementation, but did not take all the routing and tun handling on him self as a whole.
Adriaan added the PolarSSL support, but did not take all the crypto interfaces of OpenVPN.
Quoted 8 lines
Quoted 2 lines
Heiko took the MSVC build + unicode support, bit did not take the windows (non-tun none-routing) subsystem.
I think having subsystem maintainers would make sense. Current feature-based development will probably work for a few years, but as you say, it can result in problems down the road. That said, there are a few practical obstacles if we take the subsystem maintainer approach:
1) Do the developers have the (extra?) time to commit to the project
If not, the large feature should not be merged at all, as they can disappear at any time.
This is why project progressed so slowly when only James was core developer. It is wise to do so.
Quoted 2 lines
2) Do the developers have enough knowledge to take over a subsystem? If not, go to 1).
They should, as large patch like IPv6 or PolarSSL are complex enough to touch the whole subsystem, if they do not have enough knowledge so their patch and maintenance will be low quality.
Quoted 1 line
What would the core tasks for subsystem maintainers be, in your view?
I don't exactly understand the question...
Maybe you ask what is core subsystem I refer to?
The initialization, termination, the interfaces (if we create them) to sub modules, protocol, configuration, communications.
Alon.
Hi all,
Quoted 7 lines
My personal feeling based is that we should probably focus the ACK system to high-risk patches, e.g.
- patches touching critical parts of the code (rationale: better safe than sorry)
- patches from new contributors (rationale: fix stylistic issues and errors, ensure usefulness, educate)
I might add that James wanted to mandate a review on all patches - or at least those that have capability to create security issues. That said, we could probably use a "experimental/testing" tree to host patches/patchsets that make sense, but have not yet been properly reviewed. This would have a couple of nice benefits compared to working with stable master + external trees/patches:
- We could (easily) run build/connectivity tests against this "experimental" tree using our build farm
- We could build snapshot binary packages based on this tree, and publish them using apt/yum/website
This would allow patches to be reviewed by developers_and_ (easily) tested by users at the same time. The stable tree would still be the basis for official releases, and would pull stuff from "experimental" as it matures.
Does this make sense?
Quoted 7 lines
Quoted 7 lines
Question3: When patch series is merged into tree?
General note: In no way do I see the fast responsive of submit-ack-commit a goal! It can take week or a month, depending on need/complexity/quality. The goal is to merge mature patchsets that we feel comfortable with.
If it takes time for the patchset to be polished, that's fine. However, if improving patch throughput helps making releases more often, I think it's worth the effort; most people will be running the latest stable, so getting the code to that phase a.s.a.p. helps to get the bugs ironed out.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 19 lines · Samuli Seppänen
Hi all,
Quoted 6 lines
My personal feeling based is that we should probably focus the ACK system to high-risk patches, e.g.
- patches touching critical parts of the code (rationale: better safe than sorry) - patches from new contributors (rationale: fix stylistic issues and errors, ensure usefulness, educate)
I might add that James wanted to mandate a review on all patches - or at least those that have capability to create security issues. That said, we could probably use a "experimental/testing" tree to host patches/patchsets that make sense, but have not yet been properly reviewed. This would have a couple of nice benefits compared to working with stable master + external trees/patches:
- We could (easily) run build/connectivity tests against this "experimental" tree using our build farm - We could build snapshot binary packages based on this tree, and publish them using apt/yum/website
Quoted 4 lines
This would allow patches to be reviewed by
developers_and_(easily) tested by users at the same time. The stable tree would still be the basis for official releases, and would pull stuff from "experimental" as it matures.
Just a little nitpick. I wouldn't pull patches from the "experimental" branch directly "just like that". Let this branch be completely experimental in all ways - like a fork which will never be anything else than a fork. So, patches which are taken from the ML into the experimental branch, will need to be reviewed before hitting the master branch.
But maybe it makes sense to discuss what kind of changes and to which parts of the code will strictly require an ACK and what can more easily be applied to the master branch just doing a more "sanity review".
F.ex. man-page/documentation updates don't necessarily need to go through any kind of security related review. The same probably applies to core autotools files itself(?). But when touching C code or some of the scripts we ship, then much more caution is needed.
But fixing typo's in a log messages isn't necessarily security related at all (unless changing the formatting of the message; that might introduce security issues). However, changing the log verbosity level in the encryption code might have some security impacts. My point is that we can't necessarily state that errlevel.h changes should be relaxed "by default". We need somewhat of an overall generic, but still precise descriptions of what can be relaxed and what should not be relaxed at all - not just a list based upon file names and/or functions.
The current model, which tries to enforce a more strict ACK policy on all patches avoids this need of clarification. But it slows down patch inclusions.
kind regards,
David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+GjBUACgkQDC186MBRfrqOGwCgpncEZTZ95R1RH9EXc4vhcIie 4asAn1VT845tPvVWaNpxA0i7gpmbPYyd
=Q7/m
-----END PGP SIGNATURE-----