All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] bitbake: update help message for dump-signatures
@ 2014-07-04  5:39 ` Robert Yang
  0 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  5:38 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 0ed5a13f5f9478e2c22f517fb3504b738422f85c:

  python3: fix builtins imports (2014-06-30 16:36:44 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib rbt/sig
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/sig

Robert Yang (2):
  bitbake: update help message for dump-signatures
  bitbake-user-manual-intro.xml: update for dump-signatures

 bitbake/bin/bitbake                                |    4 ++--
 .../bitbake-user-manual-intro.xml                  |   10 ++++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH 1/2] bitbake: update help message for dump-signatures
  2014-07-04  5:39 ` Robert Yang
@ 2014-07-04  5:39   ` Robert Yang
  -1 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  5:38 UTC (permalink / raw)
  To: openembedded-core

The bitbake -S had been updated which always reuires an argument, so
update the help info:
- Add the two args in the help message: none and printdiff

- Use type="choice" so that we can get more friendly error messages,
  for example:
  bitbake: error: option -S: invalid choice: 'printdiffX' (choose from 'none', 'printdiff')

- dump-signatures=DUMP_SIGNATURES -> dump-signatures=SIGNATURE_HANDLER

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 bitbake/bin/bitbake |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index b3acbe1..5c25a9d 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -139,8 +139,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
         parser.add_option("-n", "--dry-run", help = "Don't execute, just go through the motions.",
                    action = "store_true", dest = "dry_run", default = False)
 
-        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. Parameters are passed to the signature handling code, use 'none' if no specific handler is required.",
-                   action = "append", dest = "dump_signatures", default = [])
+        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER can be none or printdiff, while none means only dump the signature, printdiff means compare the dumped signature with the cached one.",
+                   action = "append", dest = "dump_signatures", default = [], type="choice", choices=("none", "printdiff"), metavar="SIGNATURE_HANDLER")
 
         parser.add_option("-p", "--parse-only", help = "Quit after parsing the BB recipes.",
                    action = "store_true", dest = "parse_only", default = False)
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-04  5:39 ` Robert Yang
@ 2014-07-04  5:39   ` Robert Yang
  -1 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  5:38 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../bitbake-user-manual-intro.xml                  |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
index ae267b4..e4025a8 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -471,11 +471,13 @@
        -D, --debug           Increase the debug level. You can specify this more
                              than once.
        -n, --dry-run         Don't execute, just go through the motions.
-       -S DUMP_SIGNATURES, --dump-signatures=DUMP_SIGNATURES
+       -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
                              Dump out the signature construction information, with
-                             no task execution. Parameters are passed to the
-                             signature handling code, use 'none' if no specific
-                             handler is required.
+                             no task execution. The SIGNATURE_HANDLER can be none
+                             or printdiff, while none means only dump the
+                             signature, printdiff means compare the dumped
+                             signature with the cached one.
+
        -p, --parse-only      Quit after parsing the BB recipes.
        -s, --show-versions   Show current and preferred versions of all recipes.
        -e, --environment     Show the global or per-package environment complete
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 0/2] bitbake: update help message for dump-signatures
@ 2014-07-04  5:39 ` Robert Yang
  0 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  5:39 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 0ed5a13f5f9478e2c22f517fb3504b738422f85c:

  python3: fix builtins imports (2014-06-30 16:36:44 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib rbt/sig
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/sig

Robert Yang (2):
  bitbake: update help message for dump-signatures
  bitbake-user-manual-intro.xml: update for dump-signatures

 bitbake/bin/bitbake                                |    4 ++--
 .../bitbake-user-manual-intro.xml                  |   10 ++++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH 1/2] bitbake: update help message for dump-signatures
@ 2014-07-04  5:39   ` Robert Yang
  0 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  5:39 UTC (permalink / raw)
  To: bitbake-devel

The bitbake -S had been updated which always reuires an argument, so
update the help info:
- Add the two args in the help message: none and printdiff

- Use type="choice" so that we can get more friendly error messages,
  for example:
  bitbake: error: option -S: invalid choice: 'printdiffX' (choose from 'none', 'printdiff')

- dump-signatures=DUMP_SIGNATURES -> dump-signatures=SIGNATURE_HANDLER

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 bitbake/bin/bitbake |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index b3acbe1..5c25a9d 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -139,8 +139,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
         parser.add_option("-n", "--dry-run", help = "Don't execute, just go through the motions.",
                    action = "store_true", dest = "dry_run", default = False)
 
-        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. Parameters are passed to the signature handling code, use 'none' if no specific handler is required.",
-                   action = "append", dest = "dump_signatures", default = [])
+        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER can be none or printdiff, while none means only dump the signature, printdiff means compare the dumped signature with the cached one.",
+                   action = "append", dest = "dump_signatures", default = [], type="choice", choices=("none", "printdiff"), metavar="SIGNATURE_HANDLER")
 
         parser.add_option("-p", "--parse-only", help = "Quit after parsing the BB recipes.",
                    action = "store_true", dest = "parse_only", default = False)
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
@ 2014-07-04  5:39   ` Robert Yang
  0 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  5:39 UTC (permalink / raw)
  To: bitbake-devel

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../bitbake-user-manual-intro.xml                  |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
index ae267b4..e4025a8 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
@@ -471,11 +471,13 @@
        -D, --debug           Increase the debug level. You can specify this more
                              than once.
        -n, --dry-run         Don't execute, just go through the motions.
-       -S DUMP_SIGNATURES, --dump-signatures=DUMP_SIGNATURES
+       -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
                              Dump out the signature construction information, with
-                             no task execution. Parameters are passed to the
-                             signature handling code, use 'none' if no specific
-                             handler is required.
+                             no task execution. The SIGNATURE_HANDLER can be none
+                             or printdiff, while none means only dump the
+                             signature, printdiff means compare the dumped
+                             signature with the cached one.
+
        -p, --parse-only      Quit after parsing the BB recipes.
        -s, --show-versions   Show current and preferred versions of all recipes.
        -e, --environment     Show the global or per-package environment complete
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH 0/2] bitbake: update help message for dump-signatures
  2014-07-04  5:39 ` Robert Yang
                   ` (2 preceding siblings ...)
  (?)
@ 2014-07-04  5:40 ` Robert Yang
  -1 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  5:40 UTC (permalink / raw)
  To: openembedded-core


Sorry, please ignore this, it should go into bitbake-devel.

// Robert

On 07/04/2014 01:38 PM, Robert Yang wrote:
> The following changes since commit 0ed5a13f5f9478e2c22f517fb3504b738422f85c:
>
>    python3: fix builtins imports (2014-06-30 16:36:44 +0100)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib rbt/sig
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/sig
>
> Robert Yang (2):
>    bitbake: update help message for dump-signatures
>    bitbake-user-manual-intro.xml: update for dump-signatures
>
>   bitbake/bin/bitbake                                |    4 ++--
>   .../bitbake-user-manual-intro.xml                  |   10 ++++++----
>   2 files changed, 8 insertions(+), 6 deletions(-)
>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] bitbake: update help message for dump-signatures
  2014-07-04  5:39   ` Robert Yang
  (?)
@ 2014-07-04  7:36   ` Richard Purdie
  2014-07-04  8:23     ` Robert Yang
  -1 siblings, 1 reply; 16+ messages in thread
From: Richard Purdie @ 2014-07-04  7:36 UTC (permalink / raw)
  To: Robert Yang; +Cc: bitbake-devel

On Thu, 2014-07-03 at 22:39 -0700, Robert Yang wrote:
> The bitbake -S had been updated which always reuires an argument, so
> update the help info:
> - Add the two args in the help message: none and printdiff
> 
> - Use type="choice" so that we can get more friendly error messages,
>   for example:
>   bitbake: error: option -S: invalid choice: 'printdiffX' (choose from 'none', 'printdiff')
> 
> - dump-signatures=DUMP_SIGNATURES -> dump-signatures=SIGNATURE_HANDLER
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  bitbake/bin/bitbake |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
> index b3acbe1..5c25a9d 100755
> --- a/bitbake/bin/bitbake
> +++ b/bitbake/bin/bitbake
> @@ -139,8 +139,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
>          parser.add_option("-n", "--dry-run", help = "Don't execute, just go through the motions.",
>                     action = "store_true", dest = "dry_run", default = False)
>  
> -        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. Parameters are passed to the signature handling code, use 'none' if no specific handler is required.",
> -                   action = "append", dest = "dump_signatures", default = [])
> +        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER can be none or printdiff, while none means only dump the signature, printdiff means compare the dumped signature with the cached one.",
> +                   action = "append", dest = "dump_signatures", default = [], type="choice", choices=("none", "printdiff"), metavar="SIGNATURE_HANDLER")

The problem here is the different options are (or will be) metadata
defined and bitbake can't know which options may or may not be valid :(

Cheers,

Richard



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 1/2] bitbake: update help message for dump-signatures
  2014-07-04  7:36   ` Richard Purdie
@ 2014-07-04  8:23     ` Robert Yang
  0 siblings, 0 replies; 16+ messages in thread
From: Robert Yang @ 2014-07-04  8:23 UTC (permalink / raw)
  To: Richard Purdie; +Cc: bitbake-devel



On 07/04/2014 03:36 PM, Richard Purdie wrote:
> On Thu, 2014-07-03 at 22:39 -0700, Robert Yang wrote:
>> The bitbake -S had been updated which always reuires an argument, so
>> update the help info:
>> - Add the two args in the help message: none and printdiff
>>
>> - Use type="choice" so that we can get more friendly error messages,
>>    for example:
>>    bitbake: error: option -S: invalid choice: 'printdiffX' (choose from 'none', 'printdiff')
>>
>> - dump-signatures=DUMP_SIGNATURES -> dump-signatures=SIGNATURE_HANDLER
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>>   bitbake/bin/bitbake |    4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
>> index b3acbe1..5c25a9d 100755
>> --- a/bitbake/bin/bitbake
>> +++ b/bitbake/bin/bitbake
>> @@ -139,8 +139,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
>>           parser.add_option("-n", "--dry-run", help = "Don't execute, just go through the motions.",
>>                      action = "store_true", dest = "dry_run", default = False)
>>
>> -        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. Parameters are passed to the signature handling code, use 'none' if no specific handler is required.",
>> -                   action = "append", dest = "dump_signatures", default = [])
>> +        parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER can be none or printdiff, while none means only dump the signature, printdiff means compare the dumped signature with the cached one.",
>> +                   action = "append", dest = "dump_signatures", default = [], type="choice", choices=("none", "printdiff"), metavar="SIGNATURE_HANDLER")
>
> The problem here is the different options are (or will be) metadata
> defined and bitbake can't know which options may or may not be valid :(

Thanks, how about remove the type="choice" and update the help info to:

-S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
Dump out the signature construction information, with no task execution.
The SIGNATURE_HANDLER can be none, printdiff or other metadata defined
handlers, while none means only dump the signature, printdiff means compare
the dumped signature with the cached one.

Or drop the patch and update the user manual ?

I updated it was because when I used the bitbake -S, I didn't know there
is a very useful handler printdiff.

// Robert

>
> Cheers,
>
> Richard
>
>
>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-04  5:39   ` Robert Yang
  (?)
@ 2014-07-07  6:13   ` Rifenbark, Scott M
  2014-07-07  6:16     ` Robert Yang
  -1 siblings, 1 reply; 16+ messages in thread
From: Rifenbark, Scott M @ 2014-07-07  6:13 UTC (permalink / raw)
  To: Yang, Liezhi (Wind River), bitbake-devel

Patch applied, 

Thanks, 
Scott

>-----Original Message-----
>From: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-
>devel-bounces@lists.openembedded.org] On Behalf Of Robert Yang
>Sent: Thursday, July 03, 2014 10:39 PM
>To: bitbake-devel@lists.openembedded.org
>Subject: [bitbake-devel] [PATCH 2/2] bitbake-user-manual-intro.xml: update
>for dump-signatures
>
>Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>---
> .../bitbake-user-manual-intro.xml                  |   10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
>diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>index ae267b4..e4025a8 100644
>--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>@@ -471,11 +471,13 @@
>        -D, --debug           Increase the debug level. You can specify this more
>                              than once.
>        -n, --dry-run         Don't execute, just go through the motions.
>-       -S DUMP_SIGNATURES, --dump-signatures=DUMP_SIGNATURES
>+       -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
>                              Dump out the signature construction information, with
>-                             no task execution. Parameters are passed to the
>-                             signature handling code, use 'none' if no specific
>-                             handler is required.
>+                             no task execution. The SIGNATURE_HANDLER can be none
>+                             or printdiff, while none means only dump the
>+                             signature, printdiff means compare the dumped
>+                             signature with the cached one.
>+
>        -p, --parse-only      Quit after parsing the BB recipes.
>        -s, --show-versions   Show current and preferred versions of all recipes.
>        -e, --environment     Show the global or per-package environment
>complete
>--
>1.7.9.5
>
>--
>_______________________________________________
>bitbake-devel mailing list
>bitbake-devel@lists.openembedded.org
>http://lists.openembedded.org/mailman/listinfo/bitbake-devel


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-07  6:13   ` Rifenbark, Scott M
@ 2014-07-07  6:16     ` Robert Yang
  2014-07-07  6:18       ` Rifenbark, Scott M
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Yang @ 2014-07-07  6:16 UTC (permalink / raw)
  To: Rifenbark, Scott M, bitbake-devel



On 07/07/2014 02:13 PM, Rifenbark, Scott M wrote:
> Patch applied,
>

Sorry, this has not been approved, we need wait for RP's comments and update
it, and we should merge the part for bitbake first.

// Robert

> Thanks,
> Scott
>
>> -----Original Message-----
>> From: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-
>> devel-bounces@lists.openembedded.org] On Behalf Of Robert Yang
>> Sent: Thursday, July 03, 2014 10:39 PM
>> To: bitbake-devel@lists.openembedded.org
>> Subject: [bitbake-devel] [PATCH 2/2] bitbake-user-manual-intro.xml: update
>> for dump-signatures
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> .../bitbake-user-manual-intro.xml                  |   10 ++++++----
>> 1 file changed, 6 insertions(+), 4 deletions(-)
>>
>> diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>> b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>> index ae267b4..e4025a8 100644
>> --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>> +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>> @@ -471,11 +471,13 @@
>>         -D, --debug           Increase the debug level. You can specify this more
>>                               than once.
>>         -n, --dry-run         Don't execute, just go through the motions.
>> -       -S DUMP_SIGNATURES, --dump-signatures=DUMP_SIGNATURES
>> +       -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
>>                               Dump out the signature construction information, with
>> -                             no task execution. Parameters are passed to the
>> -                             signature handling code, use 'none' if no specific
>> -                             handler is required.
>> +                             no task execution. The SIGNATURE_HANDLER can be none
>> +                             or printdiff, while none means only dump the
>> +                             signature, printdiff means compare the dumped
>> +                             signature with the cached one.
>> +
>>         -p, --parse-only      Quit after parsing the BB recipes.
>>         -s, --show-versions   Show current and preferred versions of all recipes.
>>         -e, --environment     Show the global or per-package environment
>> complete
>> --
>> 1.7.9.5
>>
>> --
>> _______________________________________________
>> bitbake-devel mailing list
>> bitbake-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-07  6:16     ` Robert Yang
@ 2014-07-07  6:18       ` Rifenbark, Scott M
  2014-07-21 18:18         ` Richard Purdie
  0 siblings, 1 reply; 16+ messages in thread
From: Rifenbark, Scott M @ 2014-07-07  6:18 UTC (permalink / raw)
  To: Yang, Liezhi (Wind River), bitbake-devel

Ok - if there is a problem or changes then let me know.  I have the doc changes pushed to poky-contrib/srifenbark/bb-manual only.  Richard would have to merge them from there into the upstream bitbake repository.

Scott

>-----Original Message-----
>From: Robert Yang [mailto:liezhi.yang@windriver.com]
>Sent: Sunday, July 06, 2014 11:16 PM
>To: Rifenbark, Scott M; bitbake-devel@lists.openembedded.org
>Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-user-manual-intro.xml:
>update for dump-signatures
>
>
>
>On 07/07/2014 02:13 PM, Rifenbark, Scott M wrote:
>> Patch applied,
>>
>
>Sorry, this has not been approved, we need wait for RP's comments and
>update it, and we should merge the part for bitbake first.
>
>// Robert
>
>> Thanks,
>> Scott
>>
>>> -----Original Message-----
>>> From: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-
>>> devel-bounces@lists.openembedded.org] On Behalf Of Robert Yang
>>> Sent: Thursday, July 03, 2014 10:39 PM
>>> To: bitbake-devel@lists.openembedded.org
>>> Subject: [bitbake-devel] [PATCH 2/2] bitbake-user-manual-intro.xml:
>>> update for dump-signatures
>>>
>>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>>> ---
>>> .../bitbake-user-manual-intro.xml                  |   10 ++++++----
>>> 1 file changed, 6 insertions(+), 4 deletions(-)
>>>
>>> diff --git
>>> a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>>> b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>>> index ae267b4..e4025a8 100644
>>> --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>>> +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-intro.xml
>>> @@ -471,11 +471,13 @@
>>>         -D, --debug           Increase the debug level. You can specify this more
>>>                               than once.
>>>         -n, --dry-run         Don't execute, just go through the motions.
>>> -       -S DUMP_SIGNATURES, --dump-signatures=DUMP_SIGNATURES
>>> +       -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
>>>                               Dump out the signature construction information, with
>>> -                             no task execution. Parameters are passed to the
>>> -                             signature handling code, use 'none' if no specific
>>> -                             handler is required.
>>> +                             no task execution. The SIGNATURE_HANDLER can be none
>>> +                             or printdiff, while none means only dump the
>>> +                             signature, printdiff means compare the dumped
>>> +                             signature with the cached one.
>>> +
>>>         -p, --parse-only      Quit after parsing the BB recipes.
>>>         -s, --show-versions   Show current and preferred versions of all
>recipes.
>>>         -e, --environment     Show the global or per-package environment
>>> complete
>>> --
>>> 1.7.9.5
>>>
>>> --
>>> _______________________________________________
>>> bitbake-devel mailing list
>>> bitbake-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>>
>>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-07  6:18       ` Rifenbark, Scott M
@ 2014-07-21 18:18         ` Richard Purdie
  2014-07-22  6:50           ` Rifenbark, Scott M
  2014-07-22  8:12           ` Robert Yang
  0 siblings, 2 replies; 16+ messages in thread
From: Richard Purdie @ 2014-07-21 18:18 UTC (permalink / raw)
  To: Rifenbark, Scott M; +Cc: bitbake-devel

On Mon, 2014-07-07 at 06:18 +0000, Rifenbark, Scott M wrote:
> Ok - if there is a problem or changes then let me know.  I have the
> doc changes pushed to poky-contrib/srifenbark/bb-manual only.  Richard
> would have to merge them from there into the upstream bitbake
> repository.

I modified Roberts patch a bit. Could you update the manual based on
that patch? I didn't take the change for the manual you have queued for
this, I'd suggest we create a new one. I did merge everything else in
your bitbake manual branch.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-21 18:18         ` Richard Purdie
@ 2014-07-22  6:50           ` Rifenbark, Scott M
  2014-07-22  8:12           ` Robert Yang
  1 sibling, 0 replies; 16+ messages in thread
From: Rifenbark, Scott M @ 2014-07-22  6:50 UTC (permalink / raw)
  To: Richard Purdie; +Cc: bitbake-devel

Richard, 

I pulled 'poky/master' to be sure I had latest code and reproduced the 'bitbake -h' output to see what is there.  From that, I updated the example output in the bitbake manual and pushed to contrib at srifenbark/bb-manual.  Along with that updated dump signatures stuff I also noted that the option '--token=XMLRPCTOKEN' appeared to not have been in the help output in the manual.  So, because the stuff in the manual is an exact copy of the actual help output, I have refreshed the example with the actual output, which includes --token as well.  

The changes are pushed to contrib on srifenbark/bb-manual.  Notice also that Robert (30 minutes prior to my push) also has a commit that fixed the dump signature stuff I suspect based on your email to this group.  You should probably merge my commit as it contains the --token option and the fixed dump signature stuff. 

Scott

>-----Original Message-----
>From: Richard Purdie [mailto:richard.purdie@linuxfoundation.org]
>Sent: Monday, July 21, 2014 11:19 AM
>To: Rifenbark, Scott M
>Cc: Yang, Liezhi (Wind River); bitbake-devel@lists.openembedded.org
>Subject: Re: [bitbake-devel] [PATCH 2/2] bitbake-user-manual-intro.xml:
>update for dump-signatures
>
>On Mon, 2014-07-07 at 06:18 +0000, Rifenbark, Scott M wrote:
>> Ok - if there is a problem or changes then let me know.  I have the
>> doc changes pushed to poky-contrib/srifenbark/bb-manual only.  Richard
>> would have to merge them from there into the upstream bitbake
>> repository.
>
>I modified Roberts patch a bit. Could you update the manual based on that
>patch? I didn't take the change for the manual you have queued for this, I'd
>suggest we create a new one. I did merge everything else in your bitbake
>manual branch.
>
>Cheers,
>
>Richard


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-21 18:18         ` Richard Purdie
  2014-07-22  6:50           ` Rifenbark, Scott M
@ 2014-07-22  8:12           ` Robert Yang
  2014-07-22  8:35             ` Richard Purdie
  1 sibling, 1 reply; 16+ messages in thread
From: Robert Yang @ 2014-07-22  8:12 UTC (permalink / raw)
  To: Richard Purdie, Rifenbark, Scott M; +Cc: bitbake-devel



On 07/22/2014 02:18 AM, Richard Purdie wrote:
> On Mon, 2014-07-07 at 06:18 +0000, Rifenbark, Scott M wrote:
>> Ok - if there is a problem or changes then let me know.  I have the
>> doc changes pushed to poky-contrib/srifenbark/bb-manual only.  Richard
>> would have to merge them from there into the upstream bitbake
>> repository.
>
> I modified Roberts patch a bit. Could you update the manual based on
> that patch? I didn't take the change for the manual you have queued for
> this, I'd suggest we create a new one. I did merge everything else in
> your bitbake manual branch.

Sorry, but I think that we need remove this:

type="choice", choices=("none", "printdiff")

after your explanations, otherwise we can't input other handlers.

I will update it later.

// Robert

>
> Cheers,
>
> Richard
>
>
>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH 2/2] bitbake-user-manual-intro.xml: update for dump-signatures
  2014-07-22  8:12           ` Robert Yang
@ 2014-07-22  8:35             ` Richard Purdie
  0 siblings, 0 replies; 16+ messages in thread
From: Richard Purdie @ 2014-07-22  8:35 UTC (permalink / raw)
  To: Robert Yang; +Cc: bitbake-devel

On Tue, 2014-07-22 at 16:12 +0800, Robert Yang wrote:
> 
> On 07/22/2014 02:18 AM, Richard Purdie wrote:
> > On Mon, 2014-07-07 at 06:18 +0000, Rifenbark, Scott M wrote:
> >> Ok - if there is a problem or changes then let me know.  I have the
> >> doc changes pushed to poky-contrib/srifenbark/bb-manual only.  Richard
> >> would have to merge them from there into the upstream bitbake
> >> repository.
> >
> > I modified Roberts patch a bit. Could you update the manual based on
> > that patch? I didn't take the change for the manual you have queued for
> > this, I'd suggest we create a new one. I did merge everything else in
> > your bitbake manual branch.
> 
> Sorry, but I think that we need remove this:
> 
> type="choice", choices=("none", "printdiff")
> 
> after your explanations, otherwise we can't input other handlers.
> 
> I will update it later.

Right, yes, other values are/will be allowed. Thanks!

Richard



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-07-22  8:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-04  5:38 [PATCH 0/2] bitbake: update help message for dump-signatures Robert Yang
2014-07-04  5:39 ` Robert Yang
2014-07-04  5:38 ` [PATCH 1/2] " Robert Yang
2014-07-04  5:39   ` Robert Yang
2014-07-04  7:36   ` Richard Purdie
2014-07-04  8:23     ` Robert Yang
2014-07-04  5:38 ` [PATCH 2/2] bitbake-user-manual-intro.xml: update " Robert Yang
2014-07-04  5:39   ` Robert Yang
2014-07-07  6:13   ` Rifenbark, Scott M
2014-07-07  6:16     ` Robert Yang
2014-07-07  6:18       ` Rifenbark, Scott M
2014-07-21 18:18         ` Richard Purdie
2014-07-22  6:50           ` Rifenbark, Scott M
2014-07-22  8:12           ` Robert Yang
2014-07-22  8:35             ` Richard Purdie
2014-07-04  5:40 ` [PATCH 0/2] bitbake: update help message " Robert Yang

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.