layout | title |
---|---|
default |
Contributing to the Facebook SDK for .NET |
So you want to contribute to the Facebook SDK for .NET. Great! We can use the help and appreciate the help! Below you will find our contribution guidelines which are nearly identical to the NuGet Project contribution guidelines.
While writing code is certainly glamorous and gets all the attention, it's not the only way to contribute to the Facebook SDK for .NET. In many cases, it's not even the most valuable way to contribute. If you would like to contribute to the Facebook SDK for .NET to help the project along, consider these options (which are valid for any OSS project, not just the Facebook SDK for .NET):
- Improve our documentation. Documentation often gets little love and attention in an Open Source project, but those who help with documentation receive tremendous love and kudos from the team.
- Submit a bug report (for an excellent guide on submitting good bug reports, read Painless Bug Tracking).
- Submit a feature request.
- Help verify submitted fixes for bugs.
- Help answer questions on Stackoverflow
- Submit a unit test to help provide code coverage.
- Tell others about the project.
- Tell the developers how much you appreciate the product!
Contributing code refers to making a contribution to the source code for Facebook SDK for .NET itself.
Miguel de Icaza has a good post on Open Source Contribution Etiquette that is worth reading, as the guidance he gives applies well to the Facebook SDK for .NET.
The first order of business is to get yourself familiar with the product (and depending on the type of contribution you wish to make, the code).
- Download the latest release and try the product out.
- Read up on the docs at facebooksdk.net.
- Get your development environment set up.
- Familiarize yourself with the source code. Make sure you can build it.
- Consider answering questions on Stackoverflow, to build on your understanding of the code.
- Familiarize yourself with the project guidelines and our coding conventions. Following the coding conventions is very important to us as we're very picky about them out of necessity in order to maintain consistency. We know that sometimes, people will make a small mistake here and there and if it's a really nitpicky thing, we'll accept the pull request anyways and just fix the code ourselves.
Now that you've read through our Getting Started section above and have set up your development environment accordingly, you're ready to start contributing code! Please follow the following steps each time you take on a feature or bug fix. Note that some of these steps are unnecessary for small changes.
- Decide what feature or bug fix you plan to take on and start a discussion with the title of the bug so we know someone is already working on it. e.g. "I'm going to fix issue 59: Something's Broken." If you're just starting out, pick something small to fix such as:
- Add a missing unit test
- Search for a // TODO comment in the code and address one
- Fix a defect in the issue list or just find one with the “Proposed” status). Try something small first and work your way up to larger issues.
- Create a server-side Fork of the Facebook SDK for .NET project in Github.
Navigate to the Source Code and click Fork to create the remote clone of the main repository. The MvcContrib project has
If you're contributing a new non-trivial feature, we will ask you to fill out a Contributor License Agreement form before we merge your change into the core. It doesn't take long and you can email us the form. There's no need to deal with stamps and sending anything over snail mail.
Please only contribute code which you wrote or have the rights to contribute. Do not contribute GPL code as our code is licensed under the Apache 2 license.