Duktape copyrights are held by its contributors. Contributors agree to
license their contribution(s) under Duktape LICENSE.txt
. See AUTHORS.rst
for details.
-
Fork the Duktape Github repository and make your changes. Use a well named topic branch for the changes, preferably with lowercase and dashes, e.g.
xyz-compiler-fixes
. Fork off themaster
branch. Avoid forking from Duktape repository work branches as they may get rebased. -
Test your changes as thoroughly as possible. At the very minimum, the number of failed test cases with
make qecmatest
andmake apitest
should not increase. If some test cases are invalidated by the changes, fix the test cases as part of the commit. If you add new functionality, you should add test case(s) to illustrate the changes and desired behavior. -
Ensure your code follows the style guidelines in
code-issues.rst
. Not everything is spelled out explicitly, so try to follow the general style in the code base. Check that your diff looks as clean and minimal as possible. Rebase your pull request if necessary so that commits are logical and clean. If the branch includes a fix that might be cherry picked into a maintenance release, ensure that fix is in a separate commit. -
Add yourself to the end of the author list in
AUTHORS.rst
if you're not already on the list. By doing this you confirm that:-
You own the rights to the contribution, or have the legal right to license the contribution under Duktape
LICENSE.txt
on behalf of the copyright owner(s). -
You, or the copyright owner(s), agree to irrevocably license your contribution under Duktape
LICENSE.txt
. -
Please include an e-mail address, a link to your GitHub profile, or something similar to allow your contribution to be identified accurately.
-
-
Create a pull request in Github. For now, the "base branch" should be "master", i.e. the pull requests are merged directly to the master branch. In the description:
-
Summarize the change and the motivation for the change.
-
If test case status changes (tests are broken / fixed, test cases themselves needed fixing, test cases were added, etc), mention that.
-
Use GitHub issues to report bugs or request features:
-
Please include a compilation or execution log to help diagnosis.
-
For portability related compilation errors, such as endianness detection, please include a list of the preprocessor defines provided by your compiler (if possible). For GCC and Clang there are helpful Makefile targets,
gccpredefs
andclangpredefs
.
If you don't think your request needs a wide audience, you can also send e-mail to sami.vaarala@iki.fi.