|
ContributingCode
How to contribute code to Caja
IntroductionDirectory structureUse the following directory structure for your changes: svn-changes
|
+----my-change-1
| |
| +----google-caja
| |
| +----src
|
+----my-change-2
|
+----google-caja
|
+----srcIn this way, the myvn script you will use for creating and submitting changelists can provide a changelist name for you for common commands. For example, myvn change will behave like gvn change -c my-change-1 if run under svn-changes/my-change-1/google-caja as will other gvn commands like mail, describe and snapshot unless a changelist name is explicitly provided. Life of a Changelist
$ mkdir -p svn-changes/my-change-name $ cd svn-changes/my-change-name $ myvn checkout $ cd google-caja/ See Eclipse steps below $ myvn change Should pop up an editor. Check the EDITOR, or SVNEDITOR environment variables if it doesn't. This is a purely local operation. $ myvn mail This will upload to codereview.appspot.com, send mail to the reviewers specified using myvn change, and automatically CC google-caja-discuss. $ myvn bug and copy and paste the url into your browser. $ myvn snapshot $ myvn change $ myvn submit This will also cause your change to be tested before submission. You'll need a modern Firefox (FF5+) to run the tests.
$ myvn describe $ myvn change --delete Eclipse
$ myvn eclipse $ ant Right click on project and select "Run As" > "JUnit Test"$ ant runtests Other Commands
LegalSee also the Contributor Licence Agreement (either the individual CLA or the corporate CLA). | |
► Sign in to add a comment