Skip to contentSkip to conversation

bitbake-setup docs fixes

PATCH In review Antonin Godard 5 participants 17 messages Mar 31 – Apr 4 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

cover bitbake-setup docs fixes

---
Antonin Godard (2):
bitbake-setup: rename "abort" rebase conflict stragegy to "halt" doc/bitbake-user-manual-environment-setup.rst: replace shell blocks by console

 bin/bitbake-setup                                  |  8 ++---
 .../bitbake-user-manual-environment-setup.rst      | 36 +++++++++++-----------
 .../bitbake-user-manual-fetching.rst               |  2 +-
 lib/bb/tests/setup.py                              |  8 ++---
 4 files changed, 27 insertions(+), 27 deletions(-)

---
base-commit: 7cf11787ee7942a00ba7e8fa2c590a2563070c38
change-id: 20260331-docs-fixes-0dcb4e95b16f

#1 lore raw

PATCH 1/2 bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

As per [1], do not use the word "abort" and replace it with "halt" for the rebase conflicts strategy. This is something we try to follow in our documentation.

[1]: https://inclusivenaming.org/word-lists/tier-1/abort/

---
 bin/bitbake-setup                                                 | 8 ++++----
 doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst | 6 +++---
 doc/bitbake-user-manual/bitbake-user-manual-fetching.rst          | 2 +-
 lib/bb/tests/setup.py                                             | 8 ++++----
 4 files changed, 12 insertions(+), 12 deletions(-)
bin/bitbake-setup +4 -4
index b02cbc2b1c4..33cbefb4914 100755
@@ -167,7 +167,7 @@ def _get_remotes(r_remote):
 
     return remotes
 
-def checkout_layers(layers, confdir, layerdir, d, rebase_conflicts_strategy='abort'):
+def checkout_layers(layers, confdir, layerdir, d, rebase_conflicts_strategy='halt'):
     def _checkout_git_remote(r_remote, repodir, layers_fixed_revisions):
         rev = r_remote['rev']
         branch = r_remote.get('branch', None)
@@ -458,7 +458,7 @@ def merge_overrides_into_sources(sources, overrides):
             layers[k] = v
     return layers
 
-def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt", init_vscode=False, rebase_conflicts_strategy='abort'):
+def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt", init_vscode=False, rebase_conflicts_strategy='halt'):
     layer_config = merge_overrides_into_sources(config["data"]["sources"], config["source-overrides"]["sources"])
     sources_fixed_revisions = checkout_layers(layer_config, confdir, layerdir, d, rebase_conflicts_strategy=rebase_conflicts_strategy)
     bitbake_config = config["bitbake-config"]
@@ -1273,9 +1273,9 @@ def main():
     parser_update = subparsers.add_parser('update', help='Update a setup to be in sync with configuration')
     add_setup_dir_arg(parser_update)
     parser_update.add_argument('--update-bb-conf', choices=['prompt', 'yes', 'no'], default='prompt', help='Update bitbake configuration files (bblayers.conf, local.conf) (default: prompt)')
-    parser_update.add_argument('--rebase-conflicts-strategy', choices=['abort', 'backup'], default='abort',
+    parser_update.add_argument('--rebase-conflicts-strategy', choices=['halt', 'backup'], default='halt',
                         help="What to do when a layer repository has local modifications that prevent "
-                             "an in-place update: 'abort' (default) aborts with an error message; "
+                             "an in-place update: 'halt' (default) halts with an error message; "
                              "'backup' renames the directory to a timestamped backup and re-clones from upstream.")
     parser_update.set_defaults(func=build_update)
 
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +3 -3
index c22e19bd665..c7b73001404 100644
@@ -458,9 +458,9 @@ In addition, the command can take the following arguments:
    local modifications or commits that prevent an in-place update. Accepted
    values are:
 
-   -  ``abort`` (default): stop with an error message describing the problem.
+   -  ``halt`` (default): stop with an error message describing the problem.
       The repository is left in its previous state (the failed rebase is
-      automatically aborted). The error message includes a hint to re-run with
+      automatically halted). The error message includes a hint to re-run with
       ``--rebase-conflicts-strategy=backup``.
    -  ``backup``: rename the conflicting layer directory to a timestamped
       ``<name>-backup-<timestamp>`` path (preserving local work), then
@@ -523,7 +523,7 @@ In addition, the command can take the following arguments:
 
 -  This example shows what happens when a layer directory contains local
    commits that conflict with the incoming upstream changes. The failed rebase
-   is automatically aborted, and the ``dldir`` remote is left in the repository
+   is automatically halted, and the ``dldir`` remote is left in the repository
    for manual resolution:
 
    .. code-block:: shell
doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +1 -1
index c2747c40124..fbfc9600f12 100644
@@ -223,7 +223,7 @@ The method raises an error if:
 -  The working tree contains staged or unstaged changes to tracked
    files (``LocalModificationsError``).
 -  Local commits cannot be cleanly rebased onto the new upstream
-   revision (``RebaseError``). A failed rebase is automatically aborted
+   revision (``RebaseError``). A failed rebase is automatically halted
    before the exception is raised.
 -  The download cache does not contain a sufficiently recent clone
    of the repository, or the checkout is a shallow clone.
lib/bb/tests/setup.py +4 -4
index 638d56d3bb3..c85013eb4d4 100644
@@ -639,14 +639,14 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"]))
         """Test the --rebase-conflicts-strategy option for the update command.
 
         Covers three scenarios not exercised by test_setup:
-        1. Uncommitted tracked-file change (LocalModificationsError) + default 'abort'
+        1. Uncommitted tracked-file change (LocalModificationsError) + default 'halt'
            strategy → clean error message containing 'has uncommitted changes' and a
            hint at --rebase-conflicts-strategy=backup; no backup directory is created.
         2. Same uncommitted change + 'backup' strategy → directory is renamed to a
            timestamped backup and the layer is re-cloned cleanly.
         3. Committed local change that conflicts with an incoming upstream commit
            (RebaseError):
-           a. Default 'abort' strategy → error containing 'Merge conflict' and the
+           a. Default 'halt' strategy → error containing 'Merge conflict' and the
               --rebase-conflicts-strategy=backup hint; no backup directory is created.
            b. 'backup' strategy → backup + re-clone instead of a hard failure.
         """
@@ -663,7 +663,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"]))
         layer_path = os.path.join(setuppath, 'layers', 'test-repo')
         layers_path = os.path.join(setuppath, 'layers')
 
-        # Scenario 1: uncommitted tracked change, default 'abort' strategy
+        # Scenario 1: uncommitted tracked change, default 'halt' strategy
         # Advance upstream so an update is required.
         self.add_file_to_testrepo('test-file', 'upstream-v2\n')
         # Modify the same tracked file in the layer without committing.
@@ -677,7 +677,7 @@ print("BBPATH is {{}}".format(os.environ["BBPATH"]))
         self.assertIn('--rebase-conflicts-strategy=backup', str(ctx.exception))
         # No backup directory must have been created.
         self.assertEqual(self._count_layer_backups(layers_path), 0,
-                         "abort strategy must not create any backup")
+                         "halt strategy must not create any backup")
 
         # Scenario 2: same uncommitted change, 'backup' strategy
         out = self.runbbsetup("update --update-bb-conf='no' --rebase-conflicts-strategy=backup")
Signature · 1 line
2.53.0
#2 lore raw

Re: [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Hi Antonin,

Quoted 53 lines · Antonin Godard via lists.yoctoproject.org

As per [1], do not use the word "abort" and replace it with "halt" for the rebase conflicts strategy. This is something we try to follow in our documentation.

[1]: https://inclusivenaming.org/word-lists/tier-1/abort/

---
  bin/bitbake-setup                                                 | 8 ++++----
  doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst | 6 +++---
  doc/bitbake-user-manual/bitbake-user-manual-fetching.rst          | 2 +-
  lib/bb/tests/setup.py                                             | 8 ++++----
  4 files changed, 12 insertions(+), 12 deletions(-)
bin/bitbake-setup +4 -4
index b02cbc2b1c4..33cbefb4914 100755
@@ -167,7 +167,7 @@ def _get_remotes(r_remote):
 
      return remotes
 
-def checkout_layers(layers, confdir, layerdir, d, rebase_conflicts_strategy='abort'):
+def checkout_layers(layers, confdir, layerdir, d, rebase_conflicts_strategy='halt'):
      def _checkout_git_remote(r_remote, repodir, layers_fixed_revisions):
          rev = r_remote['rev']
          branch = r_remote.get('branch', None)
@@ -458,7 +458,7 @@ def merge_overrides_into_sources(sources, overrides):
              layers[k] = v
      return layers
 
-def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt", init_vscode=False, rebase_conflicts_strategy='abort'):
+def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt", init_vscode=False, rebase_conflicts_strategy='halt'):
      layer_config = merge_overrides_into_sources(config["data"]["sources"], config["source-overrides"]["sources"])
      sources_fixed_revisions = checkout_layers(layer_config, confdir, layerdir, d, rebase_conflicts_strategy=rebase_conflicts_strategy)
      bitbake_config = config["bitbake-config"]
@@ -1273,9 +1273,9 @@ def main():
      parser_update = subparsers.add_parser('update', help='Update a setup to be in sync with configuration')
      add_setup_dir_arg(parser_update)
      parser_update.add_argument('--update-bb-conf', choices=['prompt', 'yes', 'no'], default='prompt', help='Update bitbake configuration files (bblayers.conf, local.conf) (default: prompt)')
-    parser_update.add_argument('--rebase-conflicts-strategy', choices=['abort', 'backup'], default='abort',
+    parser_update.add_argument('--rebase-conflicts-strategy', choices=['halt', 'backup'], default='halt',
                          help="What to do when a layer repository has local modifications that prevent "
-                             "an in-place update: 'abort' (default) aborts with an error message; "
+                             "an in-place update: 'halt' (default) halts with an error message; "
                               "'backup' renames the directory to a timestamped backup and re-clones from upstream.")
      parser_update.set_defaults(func=build_update)
 
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +0 -0
index c22e19bd665..c7b73001404 100644

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following arguments: · line 463

Quoted 8 lines
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +2 -2
@@ -458,9 +458,9 @@ In addition, the command can take the following arguments:
     local modifications or commits that prevent an in-place update. Accepted
     values are:
 
-   -  ``abort`` (default): stop with an error message describing the problem.
+   -  ``halt`` (default): stop with an error message describing the problem.
        The repository is left in its previous state (the failed rebase is
-      automatically aborted). The error message includes a hint to re-run with
+      automatically halted). The error message includes a hint to re-run with

This is not what halt means. Maybe 'reset' would be a better choice? Or if you really want to follow the recommendations from that website, I guess "cancel"?

Cheers,
Quentin

#3 lore raw

Re: [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Quoted 60 lines · Quentin Schulz via lists.yoctoproject.org

Hi Antonin,

Quoted 57 lines · Antonin Godard via lists.yoctoproject.org

As per [1], do not use the word "abort" and replace it with "halt" for the rebase conflicts strategy. This is something we try to follow in our documentation.

[1]: https://inclusivenaming.org/word-lists/tier-1/abort/

---
  bin/bitbake-setup                                                 | 8 ++++---- doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst | 6 +++--- doc/bitbake-user-manual/bitbake-user-manual-fetching.rst          | 2 +- lib/bb/tests/setup.py                                             | 8 ++++----

  4 files changed, 12 insertions(+), 12 deletions(-)
bin/bitbake-setup +0 -0
index b02cbc2b1c4..33cbefb4914 100755
@@ -167,7 +167,7 @@ def _get_remotes(r_remote):


      return remotes

bin/bitbake-setup +1 -1
-def checkout_layers(layers, confdir, layerdir, d, rebase_conflicts_strategy='abort'):
+def checkout_layers(layers, confdir, layerdir, d, rebase_conflicts_strategy='halt'):

      def _checkout_git_remote(r_remote, repodir, layers_fixed_revisions):
          rev = r_remote['rev']
          branch = r_remote.get('branch', None)

bin/bitbake-setup +0 -0
@@ -458,7 +458,7 @@ def merge_overrides_into_sources(sources, overrides):

              layers[k] = v
      return layers

bin/bitbake-setup +1 -1
-def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt", init_vscode=False, rebase_conflicts_strategy='abort'):
+def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt", init_vscode=False, rebase_conflicts_strategy='halt'):

      layer_config = merge_overrides_into_sources(config["data"]["sources"], config["source-overrides"]["sources"]) sources_fixed_revisions = checkout_layers(layer_config, confdir, layerdir, d, rebase_conflicts_strategy=rebase_conflicts_strategy) bitbake_config = config["bitbake-config"]

bin/bitbake-setup +1 -1
@@ -1273,9 +1273,9 @@ def main():
       parser_update = subparsers.add_parser('update', help='Update a setup to be in sync with configuration')
       add_setup_dir_arg(parser_update)
       parser_update.add_argument('--update-bb-conf', choices=['prompt', 'yes', 'no'], default='prompt', help='Update bitbake configuration files (bblayers.conf, local.conf) (default: prompt)')
-    parser_update.add_argument('--rebase-conflicts-strategy', choices=['abort', 'backup'], default='abort',
+    parser_update.add_argument('--rebase-conflicts-strategy', choices=['halt', 'backup'], default='halt',

                          help="What to do when a layer repository has local modifications that prevent " -                             "an in-place update: 'abort' (default) aborts with an error message; " +                             "an in-place update: 'halt' (default) halts with an error message; " "'backup' renames the directory to a timestamped backup and re-clones from upstream.") parser_update.set_defaults(func=build_update)

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +0 -0
index c22e19bd665..c7b73001404 100644
@@ -458,9 +458,9 @@ In addition, the command can take the following arguments:

     local modifications or commits that prevent an in-place update. Accepted values are:

-   -  ``abort`` (default): stop with an error message describing the problem.

Quoted 8 lines
Quoted 4 lines

+   -  ``halt`` (default): stop with an error message describing the problem. The repository is left in its previous state (the failed rebase is -      automatically aborted). The error message includes a hint to re-run with +      automatically halted). The error message includes a hint to re-run with

This is not what halt means. Maybe 'reset' would be a better choice? Or if you really want to follow the recommendations from that website, I guess "cancel"?

The trouble is none of these alternatives really match what abort means, reset and cancel do mean something different. "abandon" might be closer but still isn't right. "attempt" maybe? If we get too creative with this, users just won't understand what it means :(

Cheers,

Richard

#4 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

There’s a simpler rationale too: this follows ‘git rebase —abort’. If git upstream finds a better word, we will follow. And I agree that all of the proposed alternatives are less accurate.

Alex

Quoted 126 lines · Richard Purdie via lists.openembedded.org
Quoted 5 lines · Quentin Schulz via lists.yoctoproject.org

Hi Antonin,

Quoted 2 lines · Antonin Godard via lists.yoctoproject.org

As per [1], do not use the word "abort" and replace it with "halt" for the rebase conflicts strategy. This is something we try to follow in

our

Quoted 7 lines
Quoted 7 lines

documentation.

[1]: https://inclusivenaming.org/word-lists/tier-1/abort/

---
bin/bitbake-setup |

8 ++++----

Quoted 1 line
Quoted 1 line

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst |

6 +++---

Quoted 1 line
Quoted 1 line

doc/bitbake-user-manual/bitbake-user-manual-fetching.rst |

2 +-

Quoted 1 line
Quoted 1 line

lib/bb/tests/setup.py |

8 ++++----

Quoted 11 lines

bin/bitbake-setup def _get_remotes(r_remote): · line 170

Quoted 11 lines
  4 files changed, 12 insertions(+), 12 deletions(-)
bin/bitbake-setup +0 -1
index b02cbc2b1c4..33cbefb4914 100755
@@ -167,7 +167,7 @@ def _get_remotes(r_remote):
 
      return remotes
 
-def checkout_layers(layers, confdir, layerdir, d,

rebase_conflicts_strategy='abort'):

Quoted 1 line

bin/bitbake-setup def _get_remotes(r_remote): · line 170

Quoted 1 line
bin/bitbake-setup +1 -0
+def checkout_layers(layers, confdir, layerdir, d,

rebase_conflicts_strategy='halt'):

Quoted 1 line

bin/bitbake-setup def _get_remotes(r_remote): · line 171

Quoted 1 line
bin/bitbake-setup +0 -0
      def _checkout_git_remote(r_remote, repodir,

layers_fixed_revisions):

Quoted 3 lines

bin/bitbake-setup def merge_overrides_into_sources(sources,

Quoted 3 lines
bin/bitbake-setup +0 -0
          rev = r_remote['rev']
          branch = r_remote.get('branch', None)
@@ -458,7 +458,7 @@ def merge_overrides_into_sources(sources,

overrides):

Quoted 4 lines

bin/bitbake-setup def merge_overrides_into_sources(sources, overrides):

Quoted 4 lines
bin/bitbake-setup +0 -1
              layers[k] = v
      return layers
 
-def update_build(config, confdir, setupdir, layerdir, d,

update_bb_conf="prompt", init_vscode=False,
rebase_conflicts_strategy='abort'):

Quoted 1 line

bin/bitbake-setup def merge_overrides_into_sources(sources, · line 461

Quoted 1 line
bin/bitbake-setup +1 -0
+def update_build(config, confdir, setupdir, layerdir, d,

update_bb_conf="prompt", init_vscode=False,
rebase_conflicts_strategy='halt'):

Quoted 1 line

bin/bitbake-setup def merge_overrides_into_sources(sources, · line 462

Quoted 1 line
bin/bitbake-setup +0 -0
      layer_config =

merge_overrides_into_sources(config["data"]["sources"], config["source-overrides"]["sources"])

Quoted 1 line

bin/bitbake-setup def merge_overrides_into_sources(sources, · line 463

Quoted 1 line
bin/bitbake-setup +0 -0
      sources_fixed_revisions = checkout_layers(layer_config, confdir,

layerdir, d, rebase_conflicts_strategy=rebase_conflicts_strategy)

Quoted 3 lines

bin/bitbake-setup def main(): · line 1273

Quoted 3 lines
bin/bitbake-setup +0 -0
      bitbake_config = config["bitbake-config"]
@@ -1273,9 +1273,9 @@ def main():
      parser_update = subparsers.add_parser('update', help='Update a

setup to be in sync with configuration')

Quoted 2 lines

bin/bitbake-setup def main(): · line 1275

Quoted 2 lines
bin/bitbake-setup +0 -0
      add_setup_dir_arg(parser_update)
      parser_update.add_argument('--update-bb-conf',

choices=['prompt', 'yes', 'no'], default='prompt', help='Update bitbake configuration files (bblayers.conf, local.conf) (default: prompt)')

Quoted 1 line

bin/bitbake-setup def main(): · line 1276

Quoted 1 line
bin/bitbake-setup +0 -1
-    parser_update.add_argument('--rebase-conflicts-strategy',

choices=['abort', 'backup'], default='abort',

Quoted 1 line

bin/bitbake-setup def main(): · line 1276

Quoted 1 line
bin/bitbake-setup +1 -0
+    parser_update.add_argument('--rebase-conflicts-strategy',

choices=['halt', 'backup'], default='halt',

Quoted 1 line

bin/bitbake-setup def main(): · line 1277

Quoted 1 line
bin/bitbake-setup +0 -0
                          help="What to do when a layer repository has

local modifications that prevent "

Quoted 1 line

bin/bitbake-setup def main(): · line 1278

Quoted 1 line
bin/bitbake-setup +0 -1
-                             "an in-place update: 'abort' (default)

aborts with an error message; "

Quoted 1 line

bin/bitbake-setup def main(): · line 1278

Quoted 1 line
bin/bitbake-setup +1 -0
+                             "an in-place update: 'halt' (default)

halts with an error message; "

Quoted 1 line

bin/bitbake-setup def main(): · line 1279

Quoted 1 line
bin/bitbake-setup +0 -0
                               "'backup' renames the directory to a

timestamped backup and re-clones from upstream.")

Quoted 3 lines
Quoted 3 lines
bin/bitbake-setup +0 -0
      parser_update.set_defaults(func=build_update)
 

diff --git

a/doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst b/doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst

Quoted 4 lines

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following

Quoted 4 lines

index c22e19bd665..c7b73001404 100644

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +0 -0
@@ -458,9 +458,9 @@ In addition, the command can take the following

arguments:

Quoted 1 line

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following · line 458

Quoted 1 line
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +0 -0
     local modifications or commits that prevent an in-place update.

Accepted

Quoted 3 lines

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following arguments:

Quoted 3 lines
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +0 -1
     values are:
 
-   -  ``abort`` (default): stop with an error message describing the

problem.

Quoted 1 line

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following · line 461

Quoted 1 line
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +1 -0
+   -  ``halt`` (default): stop with an error message describing the

problem.

Quoted 1 line

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following · line 462

Quoted 1 line
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +0 -0
        The repository is left in its previous state (the failed

rebase is

Quoted 1 line

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following · line 463

Quoted 1 line
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +0 -1
-      automatically aborted). The error message includes a hint to

re-run with

Quoted 1 line

doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst In addition, the command can take the following · line 463

Quoted 1 line
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +1 -0
+      automatically halted). The error message includes a hint to

re-run with

Quoted 4 lines

This is not what halt means. Maybe 'reset' would be a better choice? Or if you really want to follow the recommendations from that website, I guess "cancel"?

The trouble is none of these alternatives really match what abort means, reset and cancel do mean something different. "abandon" might be closer but still isn't right. "attempt" maybe? If we get too creative with this, users just won't understand what it means :(

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#19290):
https://lists.openembedded.org/g/bitbake-devel/message/19290
Mute This Topic: https://lists.openembedded.org/mt/118593422/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Quoted 3 lines · Alexander Kanavin

There’s a simpler rationale too: this follows ‘git rebase —abort’. If git upstream finds a better word, we will follow. And I agree that all of the proposed alternatives are less accurate.

This goes against previous efforts to convert the documentation and other components to not use these words :/
https://lists.openembedded.org/g/openembedded-architecture/topic/inclusive_language_summary/75821819

[...]

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

This is not what halt means. Maybe 'reset' would be a better choice? Or if you really want to follow the recommendations from that website, I guess "cancel"?

The trouble is none of these alternatives really match what abort means, reset and cancel do mean something different. "abandon" might be closer but still isn't right. "attempt" maybe? If we get too creative with this, users just won't understand what it means :(

I had the impression, from the documentation, that bitbake-setup would leave the repository in the middle of a rebase, to let you deal with conflict, and then continue on the next bitbake-setup update call.

It appears to use --abort instead, so a misunderstanding from my part.

Out of these options, I think "reset" might be the best one, I agree with Quentin. But I'm not a native speaker, so I might not have an understanding as subtle as others.

I'll let Richard decide on what to do here.

Antonin

#6 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

The trouble with ‘reset’ is that it means resetting the whole system to its initial state. ‘Abort’ is about a stopping a particular operation such that the system is returned to the state before the operation started.

I have no idea how INI has utterly failed to catch these nuances in its rationale you linked, and is even accusing the term of ‘lacking technical clarity’, but it certainly doesn’t help the cause.

Alex

Quoted 49 lines · Antonin Godard via lists.yoctoproject.org
Quoted 3 lines · Alexander Kanavin

There’s a simpler rationale too: this follows ‘git rebase —abort’. If git upstream finds a better word, we will follow. And I agree that all of the proposed alternatives are less accurate.

This goes against previous efforts to convert the documentation and other components to not use these words :/

https://lists.openembedded.org/g/openembedded-architecture/topic/inclusive_language_summary/75821819

[...]

Quoted 1 line
Quoted 1 line
Quoted 1 line

This is not what halt means. Maybe 'reset' would be a better choice?

Or

Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

if you really want to follow the recommendations from that website, I guess "cancel"?

The trouble is none of these alternatives really match what abort means, reset and cancel do mean something different. "abandon" might be closer but still isn't right. "attempt" maybe? If we get too creative with this, users just won't understand what it means :(

I had the impression, from the documentation, that bitbake-setup would leave the
repository in the middle of a rebase, to let you deal with conflict, and then
continue on the next bitbake-setup update call.

It appears to use --abort instead, so a misunderstanding from my part.

Out of these options, I think "reset" might be the best one, I agree with Quentin. But I'm not a native speaker, so I might not have an understanding as
subtle as others.

I'll let Richard decide on what to do here.

Antonin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9173):
https://lists.yoctoproject.org/g/docs/message/9173
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Quoted 8 lines · Alexander Kanavin

The trouble with ‘reset’ is that it means resetting the whole system to its initial state. ‘Abort’ is about a stopping a particular operation such that the system is returned to the state before the operation started.

I have no idea how INI has utterly failed to catch these nuances in its rationale you linked, and is even accusing the term of ‘lacking technical clarity’, but it certainly doesn’t help the cause.

"reset" also struggles as "git reset" means something quite different.

"attempt" is probably the closest other option we have since that describes what it does rather than the way it recovers, the recovery is then just implied.

I am torn on this, I recognise the concern around the word, equally, the word does have two meanings and we do clearly fit one of the cases, as Alex mentions, we are inheriting the issue from git too. I fear any change we make here will hurt usability.

Cheers,

Richard

#8 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Personally I don't have any specific preference, but as a hint for you guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

#9 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

‘Abandon’ doesn’t revert the state to how it was. It just leaves the mess as it is.

Alex

Quoted 19 lines · Adam Blank via lists.yoctoproject.org

Personally I don't have any specific preference, but as a hint for you
guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9177):
https://lists.yoctoproject.org/g/docs/message/9177
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#10 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Quoted 4 lines · On Sat, 4 Apr 2026, 17:34 Alexander Kanavin, <[email protected]> wrote:

‘Abandon’ doesn’t revert the state to how it was. It just leaves the mess as it is.

After Merriam-Webster:

Abort means to stop, cancel, or terminate a process, project, or mission before its completion. It is often used to describe abandoning a dangerous or flawed plan (e.g., "abort the mission") or ending a pregnancy prematurely. It also refers to a technical stoppage in computing or aerospace.

Synonyms for Abort:
Terminate/Stop: Halt, end, cease, discontinue, break off. Cancel/Abandon: Scrub, scrap, call off, abandon.

'Abort' carries no notion of reverting the mess either.

Quoted 25 lines

Alex

Quoted 20 lines · Adam Blank via lists.yoctoproject.org

Personally I don't have any specific preference, but as a hint for you
guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9177):
https://lists.yoctoproject.org/g/docs/message/9177
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#11 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Please include a link to any citations. Because this is not what it says:
https://www.merriam-webster.com/dictionary/abort

Alex

Quoted 47 lines · Adam Blank
Quoted 4 lines · On Sat, 4 Apr 2026, 17:34 Alexander Kanavin, <[email protected]> wrote:

‘Abandon’ doesn’t revert the state to how it was. It just leaves the mess as it is.

After Merriam-Webster:

Abort means to stop, cancel, or terminate a process, project, or mission before its completion. It is often used to describe abandoning a dangerous or flawed plan (e.g., "abort the mission") or ending a pregnancy prematurely. It also refers to a technical stoppage in computing or aerospace.

Synonyms for Abort:
Terminate/Stop: Halt, end, cease, discontinue, break off. Cancel/Abandon: Scrub, scrap, call off, abandon.

'Abort' carries no notion of reverting the mess either.

Quoted 25 lines

Alex

Quoted 20 lines · Adam Blank via lists.yoctoproject.org

Personally I don't have any specific preference, but as a hint for you
guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9177):
https://lists.yoctoproject.org/g/docs/message/9177
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#12 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

That's a digest collected by Google's AI (formerly known as Google Dictionary) from a number of dictionaries (it refers to Merriam-Webster, Collins, Vocabulary.com and Cambridge Dictionary to name some). My quotation came directly from it. I have verified that this link is not personallised, so you also should be able to see what I see in it:

https://share.google/aimode/jeaW8oAhhQAOL4d0A

Thanks,
Adam

Quoted 55 lines · On Sat, 4 Apr 2026, 18:16 Alexander Kanavin, <[email protected]> wrote:

Please include a link to any citations. Because this is not what it says:
https://www.merriam-webster.com/dictionary/abort

Alex

Quoted 47 lines · Adam Blank
Quoted 4 lines · On Sat, 4 Apr 2026, 17:34 Alexander Kanavin, <[email protected]> wrote:

‘Abandon’ doesn’t revert the state to how it was. It just leaves the mess as it is.

After Merriam-Webster:

Abort means to stop, cancel, or terminate a process, project, or mission before its completion. It is often used to describe abandoning a dangerous or flawed plan (e.g., "abort the mission") or ending a pregnancy prematurely. It also refers to a technical stoppage in computing or aerospace.

Synonyms for Abort:
Terminate/Stop: Halt, end, cease, discontinue, break off. Cancel/Abandon: Scrub, scrap, call off, abandon.

'Abort' carries no notion of reverting the mess either.

Quoted 25 lines

Alex

Quoted 20 lines · Adam Blank via lists.yoctoproject.org

Personally I don't have any specific preference, but as a hint for you
guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9177):
https://lists.yoctoproject.org/g/docs/message/9177
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#14 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Having read that, and the entry for ‘abandon’, there’s a clear difference between them.

Abandoning is uncontrolled, dangerous and ungraceful. Abortion is the opposite, and does go back to a previous, ‘safe’ state in examples, if not in definition itself.

Alex

Quoted 58 lines · Alexander Kanavin via lists.yoctoproject.org

Please include a link to any citations. Because this is not what it says:
https://www.merriam-webster.com/dictionary/abort

Alex

Quoted 15 lines · Adam Blank
Quoted 4 lines · On Sat, 4 Apr 2026, 17:34 Alexander Kanavin, <[email protected]> wrote:

‘Abandon’ doesn’t revert the state to how it was. It just leaves the mess as it is.

After Merriam-Webster:

Abort means to stop, cancel, or terminate a process, project, or mission before its completion. It is often used to describe abandoning a dangerous or flawed plan (e.g., "abort the mission") or ending a pregnancy prematurely. It also refers to a technical stoppage in computing or aerospace.

Quoted 24 lines

Synonyms for Abort:
Terminate/Stop: Halt, end, cease, discontinue, break off. Cancel/Abandon: Scrub, scrap, call off, abandon.

'Abort' carries no notion of reverting the mess either.

Quoted 17 lines

Alex

Quoted 12 lines · Adam Blank via lists.yoctoproject.org

Personally I don't have any specific preference, but as a hint for you
guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9180):
https://lists.yoctoproject.org/g/docs/message/9180
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#15 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Quoted 8 lines · Alexander Kanavin

Having read that, and the entry for ‘abandon’, there’s a clear difference between them.

Abandoning is uncontrolled, dangerous and ungraceful. Abortion is the opposite, and does go back to a previous, ‘safe’ state in examples, if not in definition itself.

The trick with human languages is, that they are inherently subjective. It is not possible to analytically compare two ways in which a given word 'rings' to a human ear.
The whole topic was not about the exact, dictionary defined meaning of the word 'abort', but rather about a human perception of it, and possibly undesired connotations it might invoke in some humans.
I wanted to offer a helping hand, that all.

Adam

Quoted 63 lines

Alex

Quoted 58 lines · Alexander Kanavin via lists.yoctoproject.org

Please include a link to any citations. Because this is not what it says:
https://www.merriam-webster.com/dictionary/abort

Alex

Quoted 15 lines · Adam Blank
Quoted 4 lines · On Sat, 4 Apr 2026, 17:34 Alexander Kanavin, <[email protected]> wrote:

‘Abandon’ doesn’t revert the state to how it was. It just leaves the mess as it is.

After Merriam-Webster:

Abort means to stop, cancel, or terminate a process, project, or mission before its completion. It is often used to describe abandoning a dangerous or flawed plan (e.g., "abort the mission") or ending a pregnancy prematurely. It also refers to a technical stoppage in computing or aerospace.

Quoted 24 lines

Synonyms for Abort:
Terminate/Stop: Halt, end, cease, discontinue, break off. Cancel/Abandon: Scrub, scrap, call off, abandon.

'Abort' carries no notion of reverting the mess either.

Quoted 17 lines

Alex

Quoted 12 lines · Adam Blank via lists.yoctoproject.org

Personally I don't have any specific preference, but as a hint for you
guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9180):
https://lists.yoctoproject.org/g/docs/message/9180
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#16 lore raw

Re: [bitbake-devel] [docs] [PATCH 1/2] bitbake-setup: rename "abort" rebase conflict stragegy to "halt"

Equally, bitbake-setup will not abandon anything or anyone. That word has a clear, negative connotation in all of its usages (unlike abort).

Alex

Quoted 85 lines · Adam Blank
Quoted 8 lines · Alexander Kanavin

Having read that, and the entry for ‘abandon’, there’s a clear difference between them.

Abandoning is uncontrolled, dangerous and ungraceful. Abortion is the opposite, and does go back to a previous, ‘safe’ state in examples, if not in definition itself.

The trick with human languages is, that they are inherently subjective. It is not possible to analytically compare two ways in which a given word 'rings' to a human ear.
The whole topic was not about the exact, dictionary defined meaning of the word 'abort', but rather about a human perception of it, and possibly undesired connotations it might invoke in some humans.
I wanted to offer a helping hand, that all.

Adam

Quoted 63 lines

Alex

Quoted 58 lines · Alexander Kanavin via lists.yoctoproject.org

Please include a link to any citations. Because this is not what it says:
https://www.merriam-webster.com/dictionary/abort

Alex

Quoted 15 lines · Adam Blank
Quoted 4 lines · On Sat, 4 Apr 2026, 17:34 Alexander Kanavin, <[email protected]> wrote:

‘Abandon’ doesn’t revert the state to how it was. It just leaves the mess as it is.

After Merriam-Webster:

Abort means to stop, cancel, or terminate a process, project, or mission before its completion. It is often used to describe abandoning a dangerous or flawed plan (e.g., "abort the mission") or ending a pregnancy prematurely. It also refers to a technical stoppage in computing or aerospace.

Quoted 24 lines

Synonyms for Abort:
Terminate/Stop: Halt, end, cease, discontinue, break off. Cancel/Abandon: Scrub, scrap, call off, abandon.

'Abort' carries no notion of reverting the mess either.

Quoted 17 lines

Alex

Quoted 12 lines · Adam Blank via lists.yoctoproject.org

Personally I don't have any specific preference, but as a hint for you guys: for a non-native English speaker (of a Slavic origin at least), "abandon" would convey a practically identical sense to "abort" and would be some sort of a compromise.

Thanks,
Adam

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#9180):
https://lists.yoctoproject.org/g/docs/message/9180
Mute This Topic: https://lists.yoctoproject.org/mt/118594590/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#17 lore raw

PATCH 2/2 doc/bitbake-user-manual-environment-setup.rst: replace shell blocks by console

In reply to Antonin Godard

The appropriate lexer to use for command examples is console, not shell. Replace all misuses of this lexer in this document.

---
 .../bitbake-user-manual-environment-setup.rst      | 30 +++++++++++-----------
 1 file changed, 15 insertions(+), 15 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst +15 -15
index c7b73001404..ece872ad26c 100644
@@ -27,7 +27,7 @@ Quick Start
 
 #. If you haven't already, clone the BitBake repository:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ git clone https://git.openembedded.org/bitbake
 
@@ -36,7 +36,7 @@ Quick Start
 
    To start, run:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ ./bitbake/bin/bitbake-setup init
 
@@ -94,7 +94,7 @@ Quick Start
 #. Source the ``init-build-env`` file present in the :term:`BitBake Build`
    directory:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ source ./poky-master-poky-distro_poky-machine_qemux86-64/build/init-build-env
 
@@ -343,7 +343,7 @@ In addition, the command can take the following arguments:
 -  This example prompts the user to choose a :term:`Configuration Template` from
    a custom registry:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ ./bitbake/bin/bitbake-setup \
           --setting default registry 'git://example.com/bitbake-setup-configurations.git;protocol=https;branch=main;rev=main' \
@@ -352,7 +352,7 @@ In addition, the command can take the following arguments:
 -  This example takes a :term:`Configuration Template` from a remote location
    (here, one of the default configuration in BitBake):
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ ./bitbake/bin/bitbake-setup init https://git.openembedded.org/bitbake/plain/default-registry/configurations/oe-nodistro-master.conf.json
 
@@ -363,7 +363,7 @@ In addition, the command can take the following arguments:
    -  A standalone :term:`Configuration Template` file.
    -  Choices passed on the command-line, applied non-interactively.
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ ./bitbake/bin/bitbake-setup \
           --setting default top-dir-prefix /work/bitbake-setup \
@@ -477,7 +477,7 @@ In addition, the command can take the following arguments:
    environment. Local commits in any layer directory are rebased on top of
    the new upstream revision and preserved:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ bitbake-setup update
       NOTE: Bitbake-setup is using /path/to/bitbake-builds as top directory.
@@ -493,7 +493,7 @@ In addition, the command can take the following arguments:
 -  This example shows what happens when a layer directory contains staged or
    unstaged changes to tracked files. The update is blocked with an error:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ bitbake-setup update
       NOTE: Bitbake-setup is using /path/to/bitbake-builds as top directory.
@@ -515,7 +515,7 @@ In addition, the command can take the following arguments:
 
    Stashing the changes and re-running resolves the issue:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ git -C layers/openembedded-core stash
       $ bitbake-setup update
@@ -526,7 +526,7 @@ In addition, the command can take the following arguments:
    is automatically halted, and the ``dldir`` remote is left in the repository
    for manual resolution:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ bitbake-setup update
       ERROR: Repository at layers/openembedded-core has local commits that could
@@ -539,7 +539,7 @@ In addition, the command can take the following arguments:
    The conflict can be resolved manually using the ``dldir`` remote that
    ``bitbake-setup`` adds to the repository:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ git -C layers/openembedded-core rebase dldir/master
       # fix conflicts in an editor, then stage the resolved files:
@@ -552,7 +552,7 @@ In addition, the command can take the following arguments:
    preserves the conflicting directory under a timestamped backup path and
    re-clones the layer cleanly from upstream:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ bitbake-setup update --rebase-conflicts-strategy=backup
       NOTE: Bitbake-setup is using /path/to/bitbake-builds as top directory.
@@ -583,7 +583,7 @@ In addition, the command can take the following arguments:
    the following commands can be used to apply these commits on top of the new
    upstream revision in the fresh clone:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ git -C layers/openembedded-core-backup.20260329160426 log --oneline my-wip
       a1b2c3d u-boot: fix compilation with newer GCC
@@ -620,7 +620,7 @@ In addition, the command can take the following arguments:
    Once all desired commits have been recovered and verified, the backup
    directory can be removed:
 
-   .. code-block:: shell
+   .. code-block:: console
 
       $ rm -rf layers/openembedded-core-backup.20260329160426
 
@@ -856,7 +856,7 @@ These files are written in the JSON file format and are stored in a
 :term:`Registry`. They can also be standalone files directly passed to the
 :ref:`ref-bbsetup-command-init` command:
 
-.. code-block:: shell
+.. code-block:: console
 
    $ bitbake-setup init /path/to/config.conf.json
 
Signature · 1 line
2.53.0