There are various ways you can contribute to Roadkill:
You'll need to be familiar with Markdown to do this, the documentation is held as a set of .md files in source control, under /docs/source. MarkdownPad is a great free tool for editing the files.
See the previous Themes sections on how to do this.
..and report them via Bitbucket. But bare in mind the project has some fairly comprehensive automated test coverage (over 500 tests), so a bug hunt is only likely to discover a few unknown issues.
Please do do this via UserEcho
Contribute a patch or have a chat on the Google groups about adding a new feature.
The project doesn't use Codeplex team memberships for commits - we use the brave new world of DCVS where you can clone the repository, make some changes, and then push your changes to our repository (a 'pull request'). We can then diff the changes, and accept or deny them.
If you want to write some code, please stick to the following guidelines for your contributions:
- Uncle Bob's approach to coding and KISS is the most important factor for the project, it should be easy to read instantly.
- Use the existing style of code found in the source base - new lines for curlies, '_' prefix for private members, plus the standard .NET framework guidelines on naming.
- Tabs for indentation (4 spaces per tab).
- If you do have a different coding style to this don't worry, the code is likely to be auto-reformated anyway (using Visual Studio's built in shortcut key). Don't take this personally if it happens - it's about consistency rather than my-style-is-better-than-yours.
- Use XML documentation for public classes, properties and methods, and where needed private methods too.
- No
var
usage except where it's obvious what the type is from the right side! for example:var x = GetSomething(); // bad
var y = "hello"; // bad, no vars for system types please
var z = new MyClass(); // fine
- I get religious about
var
abuse, in my view it makes code harder to read and unless used for its intended purpose - where the left side is redundant, dynamic LINQ or complex generic declarations (Dictionary of T for example), then please don't pepper the code with them.
- Add unit tests for the code where possible, which can be a unit test, integration test or acceptance (Selenium-based) test.
- Use constructor injection for dependencies, see the DependencyResolution/StructureMap/RoadkillRegistry.cs file for the setup.