FAQs
How Do I Create PRs at the Same Time If Multiple Code Repositories Have Compilation Dependencies?
During the development of the operating system (OS), it is common that multiple code repositories have compilation dependencies. Therefore, the PRs need to be created and merged at the same time. For this reason, Gitee uses issues as the association identifiers for code repositories with dependency dependencies to commit the PRs. Follow the operations below:
- Create an issue in any of the code repositories.
- Associate PRs need to be built and merged at the same time with the issue. For details, visit https://gitee.com/help/articles/4142.
- After the build is triggered, the build center identifies the PRs associated with the same issue, downloads the build, and merges the PRs into the code library after the code is approved.
Sign-off-by Operations
How to Add signoff Records in Commits?
Execute the **git commit -s **or git commit –sigoff command to submit signoff records.
How to Add a signoff record to the Previous Commit?
Execute the git commit --amend --signoff command.
For more options about commit, see https://git-scm.com/docs/git-commit.
Handling Exceptions of DCO Verification
After developers submit Pull Request, commenting "start build" in the PR will trigger the gated commit. In this sense, you should consider:
- Whether the DCO is signed.
- Whether the commits contain Signed-off-by information.
The possible causes for a verification failure include:
-
The DCO is not signed. The following messages will be displayed:
The following commit users do not signed the DCO: •345612 •213123
Solution
Click here to sign the DCO or check the signing status.
Enter check dco in the Pull Requests comment box and click Comment. The system will check the DCO signing status again.
-
The commits do not contain Signed-off-by information. The following messages will be displayed:
The following commits do not contain Sign-off-by information: •345612 •213123
Solution
Add the Sign-off-by information by referring to Sign-off-by Operations.
Enter check dco in the Pull Requests comment box and click Comment. The system will check the DCO signing status again.
Rollback
Visit https://gitee.com/help/articles/4195.