@@ -1111,6 +1111,11 @@ the following methods when you run ``devtool add``:
Adding Node.js Modules
----------------------
+.. warning::
+
+ The NPM fetcher is currently disabled due to security concerns. See
+ :bitbake_rev:`355cd226e072` for more information.
+
You can use the ``devtool add`` command two different ways to add
Node.js modules: through ``npm`` or from a repository or local source.
@@ -18,7 +18,7 @@ This section describes a few tasks that involve packages:
- :ref:`Setting up and running package test
(ptest) <test-manual/ptest:testing packages with ptest>`
-- :ref:`dev-manual/packages:creating node package manager (npm) packages`
+- (**disabled**) :ref:`dev-manual/packages:creating node package manager (npm) packages`
- :ref:`dev-manual/packages:adding custom metadata to packages`
@@ -914,6 +914,14 @@ Yocto Project Test Environment Manual.
Creating Node Package Manager (NPM) Packages
============================================
+.. warning::
+
+ The NPM fetcher is currently disabled due to security concerns. See
+ :bitbake_rev:`355cd226e072` for more information.
+
+ This section is left there if it is re-enabled in the future, but is
+ currently obsolete.
+
:wikipedia:`NPM <Npm_(software)>` is a package manager for the JavaScript
programming language. The Yocto Project supports the NPM
:ref:`fetcher <bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`.
@@ -1891,6 +1891,11 @@ generation provided by :ref:`ref-classes-create-spdx`.
``npm``
=======
+.. warning::
+
+ The NPM fetcher is currently disabled due to security concerns. See
+ :bitbake_rev:`355cd226e072` for more information.
+
Provides support for building Node.js software fetched using the
:wikipedia:`node package manager (NPM) <Npm_(software)>`.
The NPM fetcher was disabled with 355cd226e072 ("fetch2/npm/npmsw: Disable npm and npmsw fetchers due to security concerns") in BitBake. Add warning notes throughout the documentation to let readers know. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- documentation/dev-manual/devtool.rst | 5 +++++ documentation/dev-manual/packages.rst | 10 +++++++++- documentation/ref-manual/classes.rst | 5 +++++ 3 files changed, 19 insertions(+), 1 deletion(-)