You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ciq-cherry-pick.py: Cherry pick commit only if the Fixes: references are commited
If the commit that needs to be cherry picked has "Fixes:" references in the
commit body, there is now a check in pace that verify if those commits
are present in the current branch. At the moment, the scrips returns an
Exception because the developer must check why the commit has to be cherry
picked for a bug fix or cve fix if the actual commit that introduced
the bug/cve was not commited.
If the commit does not reference any Fixes:, an warning is shown to make
the developer aware that they have to double check if it makes sense to
cherry pick this commit. The script continues as this can be reviewed after.
This is common in the linux kernel community. Not all fixes have a Fixes:
reference.
Checking if a commit is part of the branch has now improved. It checks if
either the commit was backported by our team, or if the commit came from upstream.
Note: The implementation reuses some of the logic in the
check_kernel_commits.py. Those have been moved to ciq_helper.py. This commit
address the small refactor in check_kernel_commits.py as well.
Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
check_kernel_commits.py: Use common implementation from ciq_helper.py
Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
0 commit comments