Skip to contentSkip to conversation

utils/config: fix don't typo

PATCH Applied Peter Korsgaard 3 participants 9 messages Sep 20, 2024 – Sep 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 utils/config: fix don't typo

---
 utils/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/config +1 -1
index 5f5e4362e5..dfaaf46cd7 100755
@@ -30,7 +30,7 @@ commands:
 
 options:
 	--file config-file   .config file to change (default .config)
-	--keep-case|-k       Keep next symbols' case (dont' upper-case it)
+	--keep-case|-k       Keep next symbols' case (don't upper-case it)
 	--package|-p         Operate on package (set prefix to BR2_PACKAGE_)
 
 $myname doesn't check the validity of the .config file. This is done at next
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/6 utils/docker-run: fix symmetry typo

---
 utils/docker-run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/docker-run +1 -1
index 1adb02d74e..849df66d54 100755
@@ -78,7 +78,7 @@ if [ "${GIT_DIR}" ]; then
 
     # 'repo' stores .git/objects separately.
     if [ -L "${GIT_DIR}/objects" ]; then
-        # GITDIR is already an absolute path, but for symetry
+        # GITDIR is already an absolute path, but for symmetry
         # with the above, keep the same cd+readlink construct.
         OBJECTS_DIR="$(cd "${MAIN_DIR}"; readlink -e "${GIT_DIR}/objects")"
         mountpoints+=( "${OBJECTS_DIR}" )
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 3/6 utils/getdeveloperlib.py: fix retrieve typo

In reply to Peter Korsgaard
---
 utils/getdeveloperlib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/getdeveloperlib.py +1 -1
index 469360b801..b5e7b89e72 100644
@@ -85,7 +85,7 @@ def get_all_test_cases(suite):
 
 
 def list_unittests():
-    """Use the unittest module to retreive all test cases from a given
+    """Use the unittest module to retrieve all test cases from a given
     directory"""
     loader = unittest.TestLoader()
     suite = loader.discover(os.path.join(brpath, "support", "testing"))
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 4/6 utils/readme.txt: fix 'typos' typo

In reply to Peter Korsgaard
---
 utils/readme.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/readme.txt +1 -1
index 6488d13c75..b5862f1fb9 100644
@@ -14,7 +14,7 @@ brmake
 check-package
     a script that checks the coding style across the buildroot tree. It
     checks package's Config.in and .mk files, runs shellcheck for all shell
-    scripts, flake8 for python files, checks for typoes, etc.
+    scripts, flake8 for python files, checks for typos, etc.
     It checks the .checkpackageignore file if errors should be ignored and
     errors if there's a file listed that doesn't produce an error.
 
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH 5/6 utils/scanpypi: fix typos

In reply to Peter Korsgaard
---
 utils/scanpypi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
utils/scanpypi +6 -6
index 5a58550145..ad7f8befa2 100755
@@ -292,7 +292,7 @@ class BuildrootPackage():
 
     def extract_package(self, tmp_path):
         """
-        Extract the package contents into a directrory
+        Extract the package contents into a directory
 
         Keyword arguments:
         tmp_path -- directory where you want the package to be extracted
@@ -440,7 +440,7 @@ class BuildrootPackage():
 
     def __create_mk_download_info(self):
         """
-        Create the lines refering to the download information of the
+        Create the lines referring to the download information of the
         <package_name>.mk file
         """
         lines = []
@@ -471,7 +471,7 @@ class BuildrootPackage():
 
     def __create_mk_setup(self):
         """
-        Create the line refering to the setup method of the package of the
+        Create the line referring to the setup method of the package of the
         <package_name>.mk file
 
         There are two things you can use to make an installer
@@ -556,7 +556,7 @@ class BuildrootPackage():
 
     def __create_mk_license(self):
         """
-        Create the lines referring to the package's license informations of the
+        Create the lines referring to the package's license information of the
         <package_name>.mk file
 
         The license's files are found by searching the package (case insensitive)
@@ -755,7 +755,7 @@ def main():
                 continue
             if package.metadata_name.lower() == 'setuptools':
                 # setuptools imports itself, that does not work very well
-                # with the monkey path at the begining
+                # with the monkey path at the beginning
                 print('Error: setuptools cannot be built using scanPyPI')
                 continue
 
@@ -827,7 +827,7 @@ def main():
             print("NOTE: Remember to also make an update to the DEVELOPERS file")
             print("      and include an entry for the pkg in packages/Config.in")
             print()
-            # printing an empty line for visual confort
+            # printing an empty line for visual comfort
     finally:
         shutil.rmtree(tmp_path)
 
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH 5/6] utils/scanpypi: fix typos

Peter, All,

On 2024-09-20 17:59 +0200, Peter Korsgaard spake thusly:

Quoted 10 lines
---
 utils/scanpypi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
utils/scanpypi +0 -0
index 5a58550145..ad7f8befa2 100755

utils/scanpypi class BuildrootPackage(): · line 295

Quoted 5 lines
utils/scanpypi +1 -1
@@ -292,7 +292,7 @@ class BuildrootPackage():
 
     def extract_package(self, tmp_path):
         """
-        Extract the package contents into a directrory
+        Extract the package contents into a directory

s/contents/content/

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 55 lines
utils/scanpypi +5 -5
         Keyword arguments:
         tmp_path -- directory where you want the package to be extracted
@@ -440,7 +440,7 @@ class BuildrootPackage():
 
     def __create_mk_download_info(self):
         """
-        Create the lines refering to the download information of the
+        Create the lines referring to the download information of the
         <package_name>.mk file
         """
         lines = []
@@ -471,7 +471,7 @@ class BuildrootPackage():
 
     def __create_mk_setup(self):
         """
-        Create the line refering to the setup method of the package of the
+        Create the line referring to the setup method of the package of the
         <package_name>.mk file
 
         There are two things you can use to make an installer
@@ -556,7 +556,7 @@ class BuildrootPackage():
 
     def __create_mk_license(self):
         """
-        Create the lines referring to the package's license informations of the
+        Create the lines referring to the package's license information of the
         <package_name>.mk file
 
         The license's files are found by searching the package (case insensitive)
@@ -755,7 +755,7 @@ def main():
                 continue
             if package.metadata_name.lower() == 'setuptools':
                 # setuptools imports itself, that does not work very well
-                # with the monkey path at the begining
+                # with the monkey path at the beginning
                 print('Error: setuptools cannot be built using scanPyPI')
                 continue
 
@@ -827,7 +827,7 @@ def main():
             print("NOTE: Remember to also make an update to the DEVELOPERS file")
             print("      and include an entry for the pkg in packages/Config.in")
             print()
-            # printing an empty line for visual confort
+            # printing an empty line for visual comfort
     finally:
         shutil.rmtree(tmp_path)
 
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

PATCH 6/6 utils/update-rust: fix 'following' typo

In reply to Peter Korsgaard
---
 utils/update-rust | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/update-rust +1 -1
index 3301434d70..0f40f2e2b6 100755
@@ -27,7 +27,7 @@ RUST_HOSTS = [
 #       BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_PLATFORMS
 # - package/rustc/rustc.mk:
 #       RUSTC_TARGET_NAME
-# and check whether one of the follwoing needs updating:
+# and check whether one of the following needs updating:
 # - package/rustc/Config.in.host:
 #       BR2_PACKAGE_HOST_RUSTC_ARCH
 #       BR2_PACKAGE_HOST_RUSTC_ABI
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw
In reply to Peter Korsgaard

Peter, All,

On 2024-09-20 17:59 +0200, Peter Korsgaard spake thusly:

Quoted 1 line

Whole series applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 utils/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/config +1 -1
index 5f5e4362e5..dfaaf46cd7 100755
@@ -30,7 +30,7 @@ commands:
 
 options:
 	--file config-file   .config file to change (default .config)
-	--keep-case|-k       Keep next symbols' case (dont' upper-case it)
+	--keep-case|-k       Keep next symbols' case (don't upper-case it)
 	--package|-p         Operate on package (set prefix to BR2_PACKAGE_)
 
 $myname doesn't check the validity of the .config file. This is done at next
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot