Skip to content
Ninette Adhikari edited this page Apr 2, 2024 · 32 revisions

Welcome to the yocto-metrics wiki!

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/*

Pushing commit to remote repo

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

Create and share Pull request

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.

WIP: Add description and creating patch for your commits

  1. git branch --edit-description
  2. git format-patch --cover-letter --cover-from-description=auto 9c2a03d4
  3. git send-email --cover-letter --cover-from-description=auto --to [email protected] -M 9c2a03d4

git send-email --cover-letter --cover-from-description=auto --to [email protected] -M cve-status

Clone this wiki locally