FAQ
Handling Simultaneous Builds for Multiple Repositories with Compilation Dependencies
During OS development, it is typical to face situations where changes in multiple repositories are interdependent for compilation, requiring concurrent builds and integrations. To manage this, the Gitee platform employs Issues as a linking identifier for PRs from multiple repositories with such dependencies. Here is how you can do it:
-
Create an issue in any code repository involved in your submission.
-
Associate PRs that need to be built and merged at the same time with the issue. For details, visit https://gitee.com/help/articles/4142.
-
Once the build is initiated (for detailed steps on triggering builds, refer to the relevant help documentation), the build center will recognize PRs linked to the same Issue. It will then download and build these PRs simultaneously and merge them into the repository after the code review is successfully passed.
Signed-off-by Operations
Adding a signoff Record to a Commit
To include a signoff in your commit, use the command git commit -s or git commit –signoff.
Appending a signoff Record to the Most Recent Commit
Simply run the command git commit --amend --signoff.
For a comprehensive list of commit options, see https://git-scm.com/docs/git-commit.
DCO Verification Exception Handling
When you submit a PR and comments start build, the system triggers a gate check to verify:
- Whether the PR submission includes a Developer Certificate of Origin (DCO) signature.
- Whether the PR submission contains Signed-off-by information.
If the verification fails, here are some possible reasons and solutions:
-
You have not signed the Developer Certificate of Origin (DCO). Example:
The following commits have users who have not signed the DCO agreement: •345612 •213123Solution
Click here to sign the DCO and check the signing status.
Enter check dco in the comment box of this PR and click Comment. The system will check DCO status again.
-
The commit does not contain Signed-off-by. Example:
The following commits do not contain the Signed-off-by information: •123123 •345612Solution
Follow the Signed-off-by instructions to add the information. The format is: Signed-off-by: user.name <user.email>
Enter check dco in the comment box of this PR and click Comment. The system will check DCO status again.
-
The email address used for the PR submission on the web/WebIDE does not match the email address used to sign the DCO agreement.
Solution
On the Settings > Email management page of Gitee, check whether the email address is correctly configured. Ensure that the commit email address is the same as the email address used for signing the DCO.
NOTE
If Keep my email address private is selected in Email management, an xxxx@user.noreply.gitee.com email will be used as the PR submission email by default. To use a different email for submissions, uncheck Keep my email address private.
Rolling Back Commits
For guidance on rolling back commits, see https://gitee.com/help/articles/4195.
Resolving conflicts
For instructions on resolving conflicts, see https://gitee.com/help/articles/4194.