When managing an open source project (using a service like GitHub) how would one respond to the following:
Somebody has kindly submitted a patch to add a new feature or address a problem. Any one of the following situations occur:
- The source code doesn't meet one or more naming conventions, etc.
- I feel that the source code could be improved in a certain way. Perhaps the same effect can be achieved with far simpler source, or perhaps another useful feature would be needed.
Q1. Is it acceptable for me to alter the submitted source? (is this possible on GitHub?)
Q2. Should all such submissions be rejected in accordance with submission guidelines?
Q3. If yes to Q2, what about a really neat idea that was poorly implemented? Is it acceptable for me to just go ahead and create my own?
I want to encourage contribution but at the same time it is important to maintain a certain standard.