Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 3.33 KB

CONTRIBUTING.md

File metadata and controls

59 lines (42 loc) · 3.33 KB

#Contributing#

Any form of contribution is welcome, read below for different ways you can help.

Make sure to set AutoCRLF=true in your Git tool before cloning this repository. See http://help.github.com/dealing-with-lineendings/ for more information.

##Documentation##

Documentation can be viewed on sharp-architecture.readthedocs.org and gets generated from RST from the files in /Doc folder.

An RST web editor can be found here

If your changes require a change in the documentation (e.g. adding a feature or changing existing behaviour) then you will need to modfy documentation accordingly. You can use the github webUI to do small changes like spelling mistakes and formatting. Feature or hotfix documentation changes should be included in the pull request.

##Bug reports and feature requsts##

  • Ensure bug is reproducable with latest release.
  • Look for existing github issue, create a new one if it doesn't exist.
  • When reporting an issue, make sure you include:
    • What you did?
    • What happened?
    • What you expected to happen?

###New features###

Make sure to discuss new features on the mailing first before adding issues for them.

##Submitting code changes##

  • Create Github account

  • Setup git

  • Fork project

  • Clone repostiory git clone [email protected]:USER/Sharp-Architecture.git

  • Add upstream repository git remote add upstream [email protected]:sharparchitecture/Sharp-Architecture.git

  • Initialize submodules

      git submodule init
      git submodule update
    
  • Create new feature with git flow feature start MEANINFUL_NAME, for bug fixes create new branch with git flow hotfix start VERSION_NUM where VERSION_NUM is the current release version with the patch version incremented. For more information on versioning strategy, read up on SemVer

  • cd to the Build directory and run Build.cmd to generate AssemblyInfo files required to build the solution.

  • Make you changes, making sure your coding style and standards adhere to the code standards followed throughout the code, a StyleCop rules file exists to highlight style problems.

  • cd to the Build directory and run BuildAndTest.cmd to make sure all tests are still passing

  • Update documentation

  • Commit and push

  • Open pull request with the target branch being develop for features and master for hotfixes.

  • Treat youself for whatever you fancy for a job well done.

##Release process##

###Release steps###

  • Create releases/SemVer branch from develop and make required changes here.
  • Merge releases/SemVer branch to master.
  • Tag master with releases/vSemVer and push tags to github.
  • Merge master back to develop.