FAQ
With another round of GSoC submissions approaching, I went looking
around for some better guidance on the topic of how to follow terse
submission guidelines like "blend in with the surrounding code" or
"remove spurious whitespace". And I didn't find any. Many mature
open-source projects say things like that, but I haven't been able to
find a tutorial of just what that means, or how to do it.

Now we have http://wiki.postgresql.org/wiki/Creating_Clean_Patches to
fill that role, which fits in between "Working with Git" and "Submitting
a Patch" as a fairly detailed walkthrough. That should be an easier URL
to point people who submit malformed patches toward than the
documentation we've had before.

Advocacy aside: this page might be a good one to submit to sites that
publish open-source news. It's pretty generic advice, is useful but not
widely documented information, and it reflects well on our development
practice. I'm trying to reverse the perception we hear about sometimes
that submitting patches to PostgreSQL is unreasonably difficult. Seeing
an example of how much easier it is to read a well formatted patch
serves well for making people understand why the project has high
expectations for formatting work. It's not pedantic, it's functionally
better. I threw it onto reddit as a first spot to popularize:
http://www.reddit.com/r/technology/comments/hy0aq/creating_clean_patches_with_git_diff/

--
Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedJun 12, '11 at 9:34p
activeJun 12, '11 at 9:34p
posts1
users1
websitepostgresql.org...
irc#postgresql

1 user in discussion

Greg Smith: 1 post

People

Translate

site design / logo © 2021 Grokbase