mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Added contribution guidelines
This commit is contained in:
parent
730c2d338b
commit
dbcbacef31
2 changed files with 13 additions and 1 deletions
12
CONTRIBUTION_GUIDELINES.rdoc
Normal file
12
CONTRIBUTION_GUIDELINES.rdoc
Normal file
|
@ -0,0 +1,12 @@
|
|||
We're using GitHub[http://github.com/thoughtbot/shoulda/tree/master] and Lighthouse[http://thoughtbot.lighthouseapp.com/projects/5807], and we've been getting any combination of github pull requests, Lighthouse tickets, patches, emails, etc. We need to normalize this workflow to make sure we don't miss any fixes.
|
||||
|
||||
* Make sure you're accessing the source from the {official repository}[http://github.com/thoughtbot/shoulda/tree/master].
|
||||
* We prefer git branches over patches, but we can take either.
|
||||
* If you're using git, please make a branch for each separate contribution. We can cherry pick your commits, but pulling from a branch is easier.
|
||||
* If you're submitting patches, please cut each fix or feature into a separate patch.
|
||||
* There should be a Lighthouse[http://thoughtbot.lighthouseapp.com/projects/5807] ticket for any submission. If you've found a bug and want to fix it, open a new ticket at the same time.
|
||||
* We've got github/lighthouse integration going, so you can update tickets when you commit. {This blog post}[http://hoth.entp.com/2008/4/11/github-and-lighthouse-sitting-in-a-tree] explains the commit options pretty well.
|
||||
* Please <b>don't send pull requests</b> Just update the lighthouse ticket with the url for your fix (or attach the patch) when it's ready. The github pull requests pretty much get dropped on the floor until someone with commit rights notices them in the mailbox.
|
||||
* Contributions without tests won't be accepted. The file <tt>/test/README</tt> explains the testing system pretty thoroughly.
|
||||
|
||||
|
2
Rakefile
2
Rakefile
|
@ -15,7 +15,7 @@ Rake::RDocTask.new { |rdoc|
|
|||
rdoc.title = "Shoulda -- Making tests easy on the fingers and eyes"
|
||||
rdoc.options << '--line-numbers' << '--inline-source'
|
||||
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
||||
rdoc.rdoc_files.include('README', 'lib/**/*.rb')
|
||||
rdoc.rdoc_files.include('**/*.rdoc', 'lib/**/*.rb')
|
||||
}
|
||||
|
||||
desc 'Update documentation on website'
|
||||
|
|
Loading…
Reference in a new issue