Monday, March 3, 2014

Getting started with contribution: Wikipedia, Github

What's all this?

I don't have a lot of experience working with other people on Open Source code, so within my FOSS classes, I wanted to try a couple of different methods of contributions just to get my feet write in a variety of ways.  These are both areas that I'd like to do more work in, so expect me to (assuming I have permission), do additional contributions for both of these projects.

Wikipedia :

Github:

  • What I patched: Monogame
  • What I did: Fixed a bug that caused deactivation and activation events to be fired off multiple times during Monogame initialization.
  • How I approached: I downloaded and got familiar with the source code before even looking for bugs to fix.  Monogame makes compilation interesting; you need to set up a test project on your own in order to test anything.  When I found bugs, I tried to avoid stepping on people's toes as much as possible, so I tried not to attack bugs that would require me to refactor lots of code.  I went with the assumption that because this was a large project and I wasn't familiar with it, the more code I touched the worse.  Before I did a commit I tried to talk about the changes with the community and get feedback on it.  The monogame community isn't overwhelmingly active, so this was sometimes more of a challenge than I expected it to be.
  • Link to the log: https://github.com/mono/MonoGame/pull/2255
  • The moral: When I put this on my resume, I'm not going to mention that the end result was just moving around two lines of code and re-commenting stuff.

No comments:

Post a Comment