Skip to contentSkip to conversation

manuals: rename "devpyshell" to "pydevshell"

PATCH In review Michael Opdenacker 2 participants 3 messages Oct 18, 2021 – Oct 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 manuals: rename "devpyshell" to "pydevshell"

This addresses [YOCTO #14531] after the "devpyshell" task was renamed to "pydevshell" in OE core.

---
 documentation/dev-manual/common-tasks.rst | 12 ++++++------
 documentation/ref-manual/tasks.rst        |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)
documentation/dev-manual/common-tasks.rst +6 -6
index 4683b1c045..3eead147a3 100644
@@ -3531,14 +3531,14 @@ terminal window.
    -  It is also worth noting that ``devshell`` still works over X11
       forwarding and similar situations.
 
-Using a Development Python Shell
+Using a Python Development Shell
 ================================
 
 Similar to working within a development shell as described in the
 previous section, you can also spawn and work within an interactive
 Python development shell. When debugging certain commands or even when
-just editing packages, ``devpyshell`` can be a useful tool. When you
-invoke the ``devpyshell`` task, all tasks up to and including
+just editing packages, ``pydevshell`` can be a useful tool. When you
+invoke the ``pydevshell`` task, all tasks up to and including
 :ref:`ref-tasks-patch` are run for the
 specified target. Then a new terminal is opened. Additionally, key
 Python objects and code are available in the same way they are to
@@ -3563,17 +3563,17 @@ system were executing them. Consequently, working this way can be
 helpful when debugging a build or preparing software to be used with the
 OpenEmbedded build system.
 
-Following is an example that uses ``devpyshell`` on a target named
+Following is an example that uses ``pydevshell`` on a target named
 ``matchbox-desktop``::
 
-   $ bitbake matchbox-desktop -c devpyshell
+   $ bitbake matchbox-desktop -c pydevshell
 
 This command spawns a terminal and places you in an interactive Python
 interpreter within the OpenEmbedded build environment. The
 :term:`OE_TERMINAL` variable
 controls what type of shell is opened.
 
-When you are finished using ``devpyshell``, you can exit the shell
+When you are finished using ``pydevshell``, you can exit the shell
 either by using Ctrl+d or closing the terminal window.
 
 Building
documentation/ref-manual/tasks.rst +4 -4
index 4edae33392..299969dea4 100644
@@ -516,17 +516,17 @@ scratch is guaranteed.
       $ bitbake -f -c do_cleansstate target
 
 
-.. _ref-tasks-devpyshell:
+.. _ref-tasks-pydevshell:
 
-``do_devpyshell``
+``do_pydevshell``
 -----------------
 
 Starts a shell in which an interactive Python interpreter allows you to
 interact with the BitBake build environment. From within this shell, you
 can directly examine and set bits from the data store and execute
-functions as if within the BitBake environment. See the ":ref:`dev-manual/common-tasks:using a development python shell`" section in
+functions as if within the BitBake environment. See the ":ref:`dev-manual/common-tasks:using a python development shell`" section in
 the Yocto Project Development Tasks Manual for more information about
-using ``devpyshell``.
+using ``pydevshell``.
 
 .. _ref-tasks-devshell:
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Michael Opdenacker

This addresses [YOCTO #14531] after the "devpyshell" task was renamed to "pydevshell" in OE core.

---
 documentation/dev-manual/common-tasks.rst | 12 ++++++------
 documentation/ref-manual/tasks.rst        |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

Keep in mind we need to be a little careful here. We need to merge the migration guide to master and honister but this should only be to master.

Cheers,

Richard

#2 lore raw
Quoted 11 lines · Richard Purdie
Quoted 8 lines · Michael Opdenacker

This addresses [YOCTO #14531] after the "devpyshell" task was renamed to "pydevshell" in OE core.

---
 documentation/dev-manual/common-tasks.rst | 12 ++++++------
 documentation/ref-manual/tasks.rst        |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

Keep in mind we need to be a little careful here. We need to merge the migration guide to master and honister but this should only be to master.

Thanks. Merged into "master-next" only.
Michael

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com