-
Notifications
You must be signed in to change notification settings - Fork 8.4k
doc: west: add documentation for west patch #89748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ad74139 to
50f0476
Compare
pdgendt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, thanks!
d288dd1 to
726bb86
Compare
|
|
Thanks for doing this, this command is a important workflow tool which many people were likely unaware of |
doc/develop/west/zephyr-cmds.rst
Outdated
| The ``patch`` command allows users to apply patches to Zephyr or Zephyr modules | ||
| in a controlled manner that makes automation and tracking easier for external applications that | ||
| use the :ref:`T2 star topology <west-t2>`. | ||
|
|
||
| There are several sub-commands available: | ||
|
|
||
| * ``apply``: apply a patch to the Zephyr module or a module in the workspace. | ||
| * ``clean``: remove all patches that have been applied to the Zephyr module or a module in the | ||
| workspace. | ||
| * ``list``: list all patches that have been applied to the Zephyr module or a module in the | ||
| workspace. | ||
| * ``gh-fetch``: fetch patches from GitHub. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooo... I just noticed that this could probably be worded better.
| The ``patch`` command allows users to apply patches to Zephyr or Zephyr modules | |
| in a controlled manner that makes automation and tracking easier for external applications that | |
| use the :ref:`T2 star topology <west-t2>`. | |
| There are several sub-commands available: | |
| * ``apply``: apply a patch to the Zephyr module or a module in the workspace. | |
| * ``clean``: remove all patches that have been applied to the Zephyr module or a module in the | |
| workspace. | |
| * ``list``: list all patches that have been applied to the Zephyr module or a module in the | |
| workspace. | |
| * ``gh-fetch``: fetch patches from GitHub. | |
| The ``patch`` command allows users to apply patches to Zephyr or Zephyr modules | |
| in a controlled manner that makes automation and tracking easier for external applications that | |
| use the :ref:`T2 star topology <west-t2>`. | |
| There are several sub-commands available to manage patches for Zephyr or other modules in the workspace. | |
| * ``apply``: apply patches listed in ``patches.yml`` | |
| * ``clean``: remove all patches that have been applied, and reset to the manifest checkout state | |
| * ``list``: list all patches in ``patches.yml`` | |
| * ``gh-fetch``: fetch patches from a GitHub pull request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
726bb86 to
05d8580
Compare
05d8580 to
26bc584
Compare
26bc584 to
81a9bd7
Compare
81a9bd7 to
7a2ccf8
Compare
Add documentation for the `west patch` command. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
7a2ccf8 to
7e77b0f
Compare
Sorry for the last minute change @kartben 😅 |
|



Add documentation for the
west patchcommand.Closes #89215
Doc Preview