Only changes that fall within the scope of the project goals will be accepted.
If you want to implement a major feature or a semantical change, please open an issue for discussion first. For minor fixes, feel free to just open a pull request.
Please ensure that commits messages adhere to the Node.js commit message guidelines.
Platform-specific fixes for Android or iOS should be implemented in separate commits, and the titles of those commits should include android or ios in the list of affected subsystems.
To update the version of node.js used in this project, carefully follow these steps:
- Suppose the current version in nodejs-mobile is
A.b.cand the newer version in nodejs/node isX.y.z - Locally clone the nodejs/node repository
cdinto the nodejs/node repository- Create a single commit that squashes all changes from git tag
vA.b.ctovX.y.z4.1.git checkout vX.y.zto go to the newer version 4.2. Delete the branchnodejs-mobile-updateif it exists 4.3.git checkout -b nodejs-mobile-updateto create a branch at the newer version 4.4.git reset --soft vA.b.cto reset the branch all the way to the older version 4.5.git commit -m "Update node.js to vX.y.z"to create a single commit with all changes git format-patch -1 HEAD -o ../which will create a patch file in the parent directorycdinto the nodejs-mobile repository- Apply the patch file with
git am --3way --ignore-space-change ../0001-Node.js-vA.b.c.patch - Manually resolve git conflicts that may arise
By making a contribution to this project, I certify that:
-
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
-
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
-
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
-
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.