Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Developers Quick Hack Sheet

Get the Code

For  Sqoop1:

Code Block

git clone https://github.com/apache/sqoop.git sqoop-local
cd sqoop-local
git checkout trunk

for Sqoop2For  Sqoop2:

Code Block

git clone https://github.com/apache/sqoop.git sqoop-local
cd sqoop-local
git checkout sqoop2

Work With Your Code

  • Make your code changes
  • Test. Test again and we forget to mention: Test
  • If your code change works make a patch

    Code Block
    
    git diff --no-prefix > /Path/to/your/patch/JIRA-ID.patch 
    
  • If you want to work at other patches, go and stash your work:

    Code Block
    
    git stash (will save your branch and reset the working directory)
    

...

  • Open a review request at https://reviews.apache.org against sqoop-trunk (or sqoop2 when for sqoop2)
    • Fill in the field Bug-ID fill in the Jira-id ID to link both together
    • Explain your code
    • Add unit tests
      • please note, patches without a working unit test will be rejected and not commited
    • fill out all the fields
    • Check your Diff by clicking "View Diff"
      • if you see some red fields, check your syntax and fix this please
    • review your request
    • publish
  • Post the review link into the Jira
  • Write Notes into the Jira, regarding your work

Thank you for contributing Sqoop!