|
| 1 | +### Pull Requests |
| 2 | +Developer workflow for code contributions is as follows: |
| 3 | + |
| 4 | +1. Developers must first [fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) the [upstream](https://github.com/NVIDIA/GenerativeAIExamples/tree/main) generative AI OSS repository. |
| 5 | +2. Git clone the forked repository and push changes to the personal fork. |
| 6 | +3. Once the code changes are staged on the fork and ready for review, a Pull Request (PR) can be requested to merge the changes from a branch of the fork into a selected branch of upstream. |
| 7 | +4. Since there is no CI/CD process in place yet, the PR will be accepted and the corresponding issue closed only after adequate testing has been completed, manually, by the developer and/or repository owners reviewing the code. |
| 8 | + |
| 9 | + |
| 10 | +#### Signing Your Work |
| 11 | +We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license. |
| 12 | + |
| 13 | +Any contribution which contains commits that are not Signed-Off will not be accepted. |
| 14 | +To sign off on a commit, use the `--signoff` (or `-s`) option when committing your changes: |
| 15 | + |
| 16 | +`$ git commit -s -m "Add cool feature."` |
| 17 | +This will append the following to your commit message: |
| 18 | + |
| 19 | +Signed-off-by: Your Name <[email protected]> |
| 20 | + |
| 21 | + |
| 22 | +#### Developer Certificate of Origin |
| 23 | +Version 1.1 |
| 24 | + |
| 25 | +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. |
| 26 | + |
| 27 | +Everyone is permitted to copy and distribute verbatim copies of this |
| 28 | +license document, but changing it is not allowed. |
| 29 | + |
| 30 | + |
| 31 | +Developer's Certificate of Origin 1.1 |
| 32 | + |
| 33 | +By making a contribution to this project, I certify that: |
| 34 | + |
| 35 | +(a) The contribution was created in whole or in part by me and I |
| 36 | + have the right to submit it under the open source license |
| 37 | + indicated in the file; or |
| 38 | + |
| 39 | +(b) The contribution is based upon previous work that, to the best |
| 40 | + of my knowledge, is covered under an appropriate open source |
| 41 | + license and I have the right under that license to submit that |
| 42 | + work with modifications, whether created in whole or in part |
| 43 | + by me, under the same open source license (unless I am |
| 44 | + permitted to submit under a different license), as indicated |
| 45 | + in the file; or |
| 46 | + |
| 47 | +(c) The contribution was provided directly to me by some other |
| 48 | + person who certified (a), (b) or (c) and I have not modified |
| 49 | + it. |
| 50 | + |
| 51 | +(d) I understand and agree that this project and the contribution |
| 52 | + are public and that a record of the contribution (including all |
| 53 | + personal information I submit with it, including my sign-off) is |
| 54 | + maintained indefinitely and may be redistributed consistent with |
| 55 | + this project or the open source license(s) involved. |
0 commit comments