Blame 0007-Random-drive-by-typo-fixes-for-osc-command-line-mess.patch

d2717eb
From 4c16177ada2bfd13cad07cde0139c8f980d8746f Mon Sep 17 00:00:00 2001
d2717eb
From: Stefan Knorr <sknorr@suse.de>
d2717eb
Date: Fri, 24 May 2019 13:42:47 +0200
d2717eb
Subject: [PATCH 7/9] Random drive-by typo fixes for osc command-line messages
d2717eb
d2717eb
---
d2717eb
 osc/commandline.py | 40 ++++++++++++++++++++--------------------
d2717eb
 1 file changed, 20 insertions(+), 20 deletions(-)
d2717eb
d2717eb
diff --git a/osc/commandline.py b/osc/commandline.py
d2717eb
index 888be1d..0de204b 100644
d2717eb
--- a/osc/commandline.py
d2717eb
+++ b/osc/commandline.py
d2717eb
@@ -462,8 +462,8 @@ class Osc(cmdln.Cmdln):
d2717eb
     def do_addcontainers(self, subcmd, opts, *args):
d2717eb
         """${cmd_name}: Add maintained containers for a give package
d2717eb
 
d2717eb
-        The command adds all containers which are marked as maitained and contain
d2717eb
-        an rpm out of the specified source package.
d2717eb
+        The command adds all containers which are marked as maintained and contain
d2717eb
+        an rpm originating from the specified source package.
d2717eb
 
d2717eb
         Examples:
d2717eb
             osc addcontainers [PROJECT PACKAGE]
d2717eb
@@ -1143,7 +1143,7 @@ class Osc(cmdln.Cmdln):
d2717eb
         [See http://en.opensuse.org/openSUSE:Build_Service_Collaboration for information
d2717eb
         on this topic.]
d2717eb
 
d2717eb
-        See the "request" command for showing and modifing existing requests.
d2717eb
+        See the "request" command for showing and modifying existing requests.
d2717eb
 
d2717eb
         usage:
d2717eb
             osc submitreq [OPTIONS]
d2717eb
@@ -1664,7 +1664,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
                 (project, package, user, role)
d2717eb
 
d2717eb
         if get_user_meta(apiurl, user) == None:
d2717eb
-            raise oscerr.WrongArgs('osc: an error occured.')
d2717eb
+            raise oscerr.WrongArgs('osc: an error occurred.')
d2717eb
 
d2717eb
         return actionxml
d2717eb
 
d2717eb
@@ -1735,7 +1735,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
             actionxml = """ <action type="set_bugowner"> <target project="%s" %s /> <group name="%s" /> </action> """ % \
d2717eb
                     (project, package, group)
d2717eb
             if get_group_meta(apiurl, group) == None:
d2717eb
-                raise oscerr.WrongArgs('osc: an error occured.')
d2717eb
+                raise oscerr.WrongArgs('osc: an error occurred.')
d2717eb
         else:
d2717eb
             actionxml = """ <action type="set_bugowner"> <target project="%s" %s /> <person name="%s" /> </action> """ % \
d2717eb
                     (project, package, user)
d2717eb
@@ -2023,7 +2023,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
         [See http://en.opensuse.org/openSUSE:Build_Service_Collaboration
d2717eb
         for information on this topic.]
d2717eb
 
d2717eb
-        See the "request" command for showing and modifing existing requests.
d2717eb
+        See the "request" command for showing and modifying existing requests.
d2717eb
 
d2717eb
         osc changedevelrequest PROJECT PACKAGE DEVEL_PROJECT [DEVEL_PACKAGE]
d2717eb
         """
d2717eb
@@ -2098,7 +2098,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
     @cmdln.option('-i', '--interactive', action='store_true',
d2717eb
                         help='interactive review of request')
d2717eb
     @cmdln.option('--or-revoke', action='store_true',
d2717eb
-                        help='For automatisation scripts: accepts (if using with accept argument) a request when it is in new or review state. Or revoke it when it got declined. Otherwise just do nothing.')
d2717eb
+                        help='For automation scripts: accepts (if using with accept argument) a request when it is in new or review state. Or revoke it when it got declined. Otherwise just do nothing.')
d2717eb
     @cmdln.option('--non-interactive', action='store_true',
d2717eb
                         help='non-interactive review of request')
d2717eb
     @cmdln.option('--exclude-target-project', action='append',
d2717eb
@@ -2624,7 +2624,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
                                         change_request_state(apiurl, req.reqid, 'superseded',
d2717eb
                                                              'superseded by %s' % rid, rid)
d2717eb
 
d2717eb
-    # editmeta and its aliases are all depracated
d2717eb
+    # editmeta and its aliases are all deprecated
d2717eb
     @cmdln.alias("editprj")
d2717eb
     @cmdln.alias("createprj")
d2717eb
     @cmdln.alias("editpac")
d2717eb
@@ -3069,7 +3069,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
         [See http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.maintenance_setup.html
d2717eb
          for information on this topic.]
d2717eb
 
d2717eb
-        This command is used by the maintence team to start the release process of a maintenance update.
d2717eb
+        This command is used by the maintenance team to start the release process of a maintenance update.
d2717eb
         This includes usually testing based on the defined reviewers of the update project.
d2717eb
 
d2717eb
         usage:
d2717eb
@@ -3115,7 +3115,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
         [See http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.maintenance_setup.html
d2717eb
         for information on this topic.]
d2717eb
 
d2717eb
-        This command is asking to open an empty maintence incident. This can usually only be done by a responsible
d2717eb
+        This command is asking to open an empty maintenance incident. This can usually only be done by a responsible
d2717eb
         maintenance team.
d2717eb
         Please see the "mbranch" command on how to full such a project content and
d2717eb
         the "patchinfo" command how add the required maintenance update information.
d2717eb
@@ -3187,7 +3187,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
         [See http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.maintenance_setup.html
d2717eb
         for information on this topic.]
d2717eb
 
d2717eb
-        This command is asking the maintence team to start a maintence incident based on a
d2717eb
+        This command is asking the maintenance team to start a maintenance incident based on a
d2717eb
         created maintenance update. Please see the "mbranch" command on how to create such a project and
d2717eb
         the "patchinfo" command how add the required maintenance update information.
d2717eb
 
d2717eb
@@ -3833,9 +3833,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
             baserev = linkinfo.get('baserev')
d2717eb
             opts.revision = baserev
d2717eb
             if pacs:
d2717eb
-                print("diff working copy against last commited version\n")
d2717eb
+                print("diff working copy against last committed version\n")
d2717eb
             else:
d2717eb
-                print("diff commited package against linked revision %s\n" % baserev)
d2717eb
+                print("diff committed package against linked revision %s\n" % baserev)
d2717eb
                 run_pager(server_diff(self.get_api_url(), linkinfo.get('project'), linkinfo.get('package'), baserev,
d2717eb
                   args[0], args[1], linkinfo.get('lsrcmd5'), not opts.plain, opts.missingok))
d2717eb
                 return
d2717eb
@@ -4189,7 +4189,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
     def do_prdiff(self, subcmd, opts, *args):
d2717eb
         """${cmd_name}: Server-side diff of two projects
d2717eb
 
d2717eb
-        Compares two projects and either summarises or outputs the
d2717eb
+        Compares two projects and either summarizes or outputs the
d2717eb
         differences in full.  In the second form, a project is compared
d2717eb
         with one of its branches inside a home:$USER project (the branch
d2717eb
         is treated as NEWPRJ).  The home branch is optional if the current
d2717eb
@@ -5605,7 +5605,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
 
d2717eb
         Trigger reasons might be:
d2717eb
           - new build (never build yet or rebuild manually forced)
d2717eb
-          - source change (eg. on updating sources)
d2717eb
+          - source change (e.g. on updating sources)
d2717eb
           - meta change (packages which are used for building have changed)
d2717eb
           - rebuild count sync (In case that it is configured to sync release numbers)
d2717eb
 
d2717eb
@@ -5756,7 +5756,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
 
d2717eb
         The arguments REPOSITORY and ARCH are optional. They can be taken from
d2717eb
         the first two columns of the 'osc repos' output. If not specified,
d2717eb
-        REPOSITORY defaults to the 'build_repositoy' config entry in your 'oscrc'
d2717eb
+        REPOSITORY defaults to the 'build_repository' config entry in your 'oscrc'
d2717eb
         and ARCH defaults to your host architecture.
d2717eb
 
d2717eb
         usage:
d2717eb
@@ -6244,7 +6244,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
         of the 'osc repos' output. BUILD_DESCR is either a RPM spec file, or a
d2717eb
         Debian dsc file.
d2717eb
 
d2717eb
-        The command honours packagecachedir, build-root and build-uid
d2717eb
+        The command honors packagecachedir, build-root and build-uid
d2717eb
         settings in oscrc, if present. You may want to set su-wrapper = 'sudo'
d2717eb
         in oscrc, and configure sudo with option NOPASSWD for /usr/bin/build.
d2717eb
 
d2717eb
@@ -7190,7 +7190,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
         usage:
d2717eb
            osc getbinaries REPOSITORY                                 # works in checked out project/package (check out all archs in subdirs)
d2717eb
            osc getbinaries REPOSITORY ARCHITECTURE                    # works in checked out project/package
d2717eb
-           osc getbinaries PROJECT REPOSITORY ARCHITECTRUE
d2717eb
+           osc getbinaries PROJECT REPOSITORY ARCHITECTURE
d2717eb
            osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE
d2717eb
            osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE FILE
d2717eb
         ${cmd_option_list}
d2717eb
@@ -8744,10 +8744,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
d2717eb
         to sign the public key with your own existing key.
d2717eb
 
d2717eb
         If a project has no key, the key from upper level project will
d2717eb
-        be used (eg. when dropping "KDE:KDE4:Community" key, the one from
d2717eb
+        be used (e.g. when dropping "KDE:KDE4:Community" key, the one from
d2717eb
         "KDE:KDE4" will be used).
d2717eb
 
d2717eb
-        WARNING: THE OLD KEY WILL NOT BE RESTORABLE WHEN USING DELETE OR CREATE
d2717eb
+        WARNING: THE OLD KEY CANNOT BE RESTORED AFTER USING DELETE OR CREATE
d2717eb
 
d2717eb
         ${cmd_usage}
d2717eb
         ${cmd_option_list}
d2717eb
-- 
d2717eb
2.21.0
d2717eb