筆記 - 如何參與Open Source專案
2016-07-20 19:34:24

前言

這是Stan Lo在railsfun分享怎麼參與open source專案的演講筆記,另外也展示了如何trace source code的方式,內容很實用。下面是大神的傳送門:

Where to contribute

  • new Features
  • fix bug
  • performance
  • doc
  • issue & PR discussion

How to contribute

  • confirm - make sure it is required and suggested
  • fork repo
  • create a feature branch in forked repo
  • RR - WIP(working in process)

Test

  • test is important, 沒有人會用沒寫測試的程式
  • TDD

Research structure and flow

  • view test - start from integration, see setup
  • binding - use pry, see data class and variables
  • draw flow - method call

Target

  • doc
  • high module
  • poor doc
  • high freq

Keep in mind

  • doing research
  • don't one step 不要想一次到位
  • it is normal to be rejected or ignored
  • maintainer is busy too