|
3 | 3 | West Manifests
|
4 | 4 | ##############
|
5 | 5 |
|
6 |
| -This page contains detailed information about west's multiple repository model |
7 |
| -and manifest files. For API documentation on the ``west.manifest`` module, see |
8 |
| -:ref:`west-apis-manifest`. For a more general introduction and command |
9 |
| -overview, see :ref:`west-multi-repo`. |
| 6 | +This page contains detailed information about west's multiple repository model, |
| 7 | +manifest files, and the ``west manifest`` command. For API documentation on the |
| 8 | +``west.manifest`` module, see :ref:`west-apis-manifest`. For a more general |
| 9 | +introduction and command overview, see :ref:`west-multi-repo`. |
10 | 10 |
|
11 | 11 | .. _west-mr-model:
|
12 | 12 |
|
@@ -271,3 +271,29 @@ repository root.
|
271 | 271 |
|
272 | 272 | The pykwalify schema :file:`manifest-schema.yml` in the west source code
|
273 | 273 | repository is used to validate the manifest section.
|
| 274 | + |
| 275 | +.. _west-manifest-cmd: |
| 276 | + |
| 277 | +Manifest Command |
| 278 | +**************** |
| 279 | + |
| 280 | +The ``west manifest`` command can be used to manipulate manifest files. |
| 281 | +It takes an action, and action-specific arguments. |
| 282 | + |
| 283 | +The following sections describe each action and provides a basic signature for |
| 284 | +simple uses. Run ``west manifest --help`` for full details on all options. |
| 285 | + |
| 286 | +Freezing Manifests |
| 287 | +================== |
| 288 | + |
| 289 | +The ``--freeze`` action outputs a frozen manifest: |
| 290 | + |
| 291 | +.. code-block:: none |
| 292 | +
|
| 293 | + west manifest --freeze [-o outfile] |
| 294 | +
|
| 295 | +A "frozen" manifest is a manifest file where every project's revision is a SHA. |
| 296 | +You can use ``--freeze`` to produce a frozen manifest that's equivalent to your |
| 297 | +current manifest file. The ``-o`` option specifies an output file; if not |
| 298 | +given, standard output is used. |
| 299 | + |
0 commit comments