All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 22/26] devtool: sync: tweak help / messages
Date: Tue, 22 Dec 2015 17:03:15 +1300	[thread overview]
Message-ID: <635fb528bc4c2f04c95a5260987ab7cde9b4b3b0.1450756556.git.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <cover.1450756555.git.paul.eggleton@linux.intel.com>
In-Reply-To: <cover.1450756555.git.paul.eggleton@linux.intel.com>

Much of this was copy/pasted from the extract subcommand code; make it
specific to sync.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 scripts/lib/devtool/standard.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index a9c4cf8..fbc49a9 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -346,7 +346,7 @@ def sync(args, config, basepath, workspace):
 
     srctree = os.path.abspath(args.srctree)
     initial_rev = _extract_source(srctree, args.keep_temp, args.branch, True, rd)
-    logger.info('Source tree extracted to %s' % srctree)
+    logger.info('Source tree %s synchronized' % srctree)
 
     if initial_rev:
         return 0
@@ -1326,11 +1326,11 @@ def register_commands(subparsers, context):
     parser_extract.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)')
     parser_extract.set_defaults(func=extract, no_workspace=True)
 
-    parser_sync = subparsers.add_parser('sync', help='Synchronize the source for an existing recipe',
-                                       description='Synchronize the source for an existing recipe',
+    parser_sync = subparsers.add_parser('sync', help='Synchronize the source tree for an existing recipe',
+                                       description='Synchronize the previously extracted source tree for an existing recipe',
                                        formatter_class=argparse.ArgumentDefaultsHelpFormatter)
-    parser_sync.add_argument('recipename', help='Name for recipe to sync the source for')
-    parser_sync.add_argument('srctree', help='Path to where to sync the source tree')
+    parser_sync.add_argument('recipename', help='Name of recipe to sync the source for')
+    parser_sync.add_argument('srctree', help='Path to the source tree')
     parser_sync.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout')
     parser_sync.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)')
     parser_sync.set_defaults(func=sync)
-- 
2.5.0



  parent reply	other threads:[~2015-12-22  4:05 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  4:02 [PATCH 00/26] devtool/recipetool improvements Paul Eggleton
2015-12-22  4:02 ` [PATCH 01/26] scripts: print usage in argparse-using scripts when a command-line error occurs Paul Eggleton
2015-12-22  4:02 ` [PATCH 02/26] recipetool: create: handle https://....git URLs Paul Eggleton
2015-12-22  4:02 ` [PATCH 03/26] recipetool: create: avoid traceback on fetch error Paul Eggleton
2015-12-22  4:02 ` [PATCH 04/26] recipetool: create: fix do_install handling for makefile-only software Paul Eggleton
2015-12-22  4:02 ` [PATCH 05/26] recipetool: create: minor fix for potential issue in python handling Paul Eggleton
2015-12-22  4:02 ` [PATCH 06/26] recipetool: create: prevent attempting to unpack entire DL_DIR Paul Eggleton
2015-12-22  4:03 ` [PATCH 07/26] recipetool: create: detect when specified URL returns a web page Paul Eggleton
2015-12-22  4:03 ` [PATCH 08/26] recipetool: create: set up priority system for recipe handlers Paul Eggleton
2015-12-22  4:03 ` [PATCH 09/26] recipetool: create: support extracting name and version from build scripts Paul Eggleton
2015-12-22  4:03 ` [PATCH 10/26] recipetool: create: basic extraction of name/version from filename Paul Eggleton
2015-12-22  4:03 ` [PATCH 11/26] devtool: edit-recipe: add new subcommand Paul Eggleton
2015-12-22  4:03 ` [PATCH 12/26] devtool: add: tweak help text Paul Eggleton
2015-12-22  4:03 ` [PATCH 13/26] devtool: split out function for naming bbappend Paul Eggleton
2015-12-22  4:03 ` [PATCH 14/26] devtool: update-recipe: use correct method to get bbappend filename Paul Eggleton
2015-12-22  4:03 ` [PATCH 15/26] scripts/lib/argparse_oe: handle intermixing of optional positional arguments Paul Eggleton
2015-12-22  4:03 ` [PATCH 16/26] devtool: add: allow source tree to be omitted Paul Eggleton
2015-12-22  4:03 ` [PATCH 17/26] devtool: add: figure out recipe name from recipetool Paul Eggleton
2015-12-22  4:03 ` [PATCH 18/26] devtool: add: allow specifying URL as positional argument Paul Eggleton
2015-12-22  4:03 ` [PATCH 19/26] devtool: modify: default source tree path Paul Eggleton
2015-12-22  4:03 ` [PATCH 20/26] devtool: status: list recipe file within workspace if one exists Paul Eggleton
2015-12-22  4:03 ` [PATCH 21/26] devtool: reset: print message about leaving source tree behind Paul Eggleton
2015-12-22  4:03 ` Paul Eggleton [this message]
2015-12-22  4:03 ` [PATCH 23/26] recipetool: create: improve autotools support Paul Eggleton
2015-12-22  4:03 ` [PATCH 24/26] recipetool: create: fix error when extracting source to a specified directory Paul Eggleton
2015-12-22  4:03 ` [PATCH 25/26] oe-selftest: add tests for simple devtool add / recipetool create URL case Paul Eggleton
2015-12-22  4:03 ` [PATCH 26/26] oe-selftest: devtool: add more explicit check for ls output Paul Eggleton
2015-12-24  2:45 ` [PATCH 00/26] devtool/recipetool improvements Khem Raj
2015-12-28 19:03   ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=635fb528bc4c2f04c95a5260987ab7cde9b4b3b0.1450756556.git.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.