-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the yocto-metrics wiki!
📣 Please read this for creating a CVE patch: See Yocot Contributing guides
-
git branch --edit-description
// better use a branchname here but this didn't work -
git format-patch --cover-letter --cover-from-description=auto <COMMIT>
-
git send-email --cover-letter --cover-from-description=auto --to MAILING_LIST_EMAIL --reply-to [email protected] -M <COMMIT>
** Note: For git email configurations, please use your thehoodiefirm.com
email for smtpuser
and create gmail app password for smtppass
. Remove all spaces for the generated app password.
For larger patch series it is preferable to send a pull request that not only includes the patch but also a pointer to a branch that can be pulled from.
Documentation on contributing to yocto: https://docs.yoctoproject.org/contributor-guide/submit-changes.html#using-scripts-to-push-a-change-upstream-and-request-a-pull
The following namespaces have push access to the yocto-metrics
and yocto-autobuilder-helper
repo:
- contrib/albaherrerias/*
- contrib/ninette/*
- contrib/jacobabrandner/*
Go to the relevant local repository and push your commit in the following format:
git push [email protected]:REPO_NAME LOCAL_BRANCH:NAMESPACE/BRANCH_NAME
For yocto-metrics
for example, the command will be like this:
git push [email protected]:yocto-metrics patch-status-improvements-contrib:contrib/ninette/patch-status-improvements-contrib
After committing changes to the remote repo, you can create Pull request patch files with the following:
LOCAL_PATH/poky/scripts/create-pull-request -u REMOTE_REPO -s "PR_TITLE"
For example for yocto-metrics
it will be like this:
~/poky/scripts/create-pull-request -u https://git.yoctoproject.org/yocto-metrics/ -s "M10: Metrics view"
The patch files can be emailed to yocto team through their mailing list or internally through NH sales team.