Skip to contentSkip to conversation

clarify wording

PATCH In review Trevor Woerner 4 participants 9 messages Aug 24, 2012 – Aug 31, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clarify wording

From: Trevor Woerner <[email protected]>

The '-s' option shows (input) recipes, not (built/output) packages. Clarify the help wording for this option so it is consistent.

---
 bin/bitbake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bin/bitbake +1 -1
index 0b4f556..ed2ff06 100755
@@ -142,7 +142,7 @@ Default BBFILES are the .bb files in the current directory.""")
     parser.add_option("-p", "--parse-only", help = "quit after parsing the BB files (developers only)",
                action = "store_true", dest = "parse_only", default = False)
 
-    parser.add_option("-s", "--show-versions", help = "show current and preferred versions of all packages",
+    parser.add_option("-s", "--show-versions", help = "show current and preferred versions of all recipes",
                action = "store_true", dest = "show_versions", default = False)
 
     parser.add_option("-e", "--environment", help = "show the global or per-package environment (this is what used to be bbread)",
Signature · 1 line
1.7.10.GIT
#1 lore raw

Modify the commit subject. to include what you are changing. In your case the subject should be something like:
"bitbake: Clarify wording"

Quoted 39 lines · Trevor Woerner

From: Trevor Woerner <[email protected]>

The '-s' option shows (input) recipes, not (built/output) packages. Clarify the help wording for this option so it is consistent.

---
 bin/bitbake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bin/bitbake +0 -1
index 0b4f556..ed2ff06 100755
@@ -142,7 +142,7 @@ Default BBFILES are the .bb files in the current
 directory.""")
     parser.add_option("-p", "--parse-only", help = "quit after parsing
 the BB files (developers only)",
                action = "store_true", dest = "parse_only", default =
 False)
 
-    parser.add_option("-s", "--show-versions", help = "show current and

preferred versions of all packages",
+ parser.add_option("-s", "--show-versions", help = "show current and
preferred versions of all recipes",
action = "store_true", dest = "show_versions", default =
False)

parser.add_option("-e", "--environment", help = "show the global or
per-package environment (this is what used to be bbread)", --
1.7.10.GIT

_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

#2 lore raw
Quoted 3 lines · Andrei Gherzan

Modify the commit subject. to include what you are changing. In your case the subject should be something like:
"bitbake: Clarify wording"

Sorry about that, thanks for the feedback. I'll send in a new patch for consideration.

#3 lore raw
Quoted 8 lines · Trevor Woerner
Quoted 3 lines · Andrei Gherzan

Modify the commit subject. to include what you are changing. In your case the subject should be something like:
"bitbake: Clarify wording"

Sorry about that, thanks for the feedback. I'll send in a new patch for consideration.

No problem. Keep up the good work!

ag

#4 lore raw
In reply to Trevor Woerner
Quoted 7 lines · Trevor Woerner
Quoted 3 lines · Andrei Gherzan

Modify the commit subject. to include what you are changing. In your case the subject should be something like:
"bitbake: Clarify wording"

Sorry about that, thanks for the feedback. I'll send in a new patch for consideration.

No, this is wrong. When committing to the bitbake repository, there's no need to prefix it with 'bitbake:'. You should mention what/where you're clarifying, however. E.g. "clarify wording in help output for -s"

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#5 lore raw
Quoted 2 lines · Chris Larson

No, this is wrong. When committing to the bitbake repository, there's no need to prefix it with 'bitbake:'.

I am new to bitbake-devel, but looking through several of the more recent commits would indicate the majority of them do have some sort of location identifier in the subject, some of which are just "bitbake:". One (e0f91faf195be63803d39fb42fcd115ad558c79f) even has "bin/bitbake:"; maybe I should use this for my patch?

Quoted 3 lines

You should mention what/where
you're clarifying, however. E.g. "clarify wording in help output for -s"

Okay.

#8 lore raw
In reply to a message not in the archive
Quoted 5 lines · Andrei Gherzan
Quoted 4 lines

No, this is wrong. When committing to the bitbake repository, there's no need to prefix it with 'bitbake:'. You should mention what/where you're clarifying, however. E.g. "clarify wording in help output for -s"

Quoted 7 lines

Yes i'm right. When suggesting for adding "bitbake:" i wasn't refering to the repo. I was talking about "what is changed". And that is the bitbake script. The general format is "what: Short log".

Here are some examples.
bitbake: data-smart: rename the 'content' internal variable to '_content'
bitbake: Hob wizard-like reorganization

Wrong. Inside the bitbake repository, it shouldn't and needn't be prefixed with 'bitbake:' unless necessary due to it coming from poky. Perhaps the only git changelog you read is inside the poky repository, but the rest of us pay more attention.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#9 lore raw
Quoted 10 lines · Chris Larson
Quoted 9 lines · Andrei Gherzan
Quoted 4 lines

No, this is wrong. When committing to the bitbake repository, there's no need to prefix it with 'bitbake:'. You should mention what/where you're clarifying, however. E.g. "clarify wording in help output for -s"

Yes i'm right. When suggesting for adding "bitbake:" i wasn't refering to the repo. I was talking about "what is changed". And that is the bitbake script. The general format is "what: Short log".

Quoted 10 lines
Quoted 3 lines

Here are some examples.
bitbake: data-smart: rename the 'content' internal variable to '_content'
bitbake: Hob wizard-like reorganization

Wrong. Inside the bitbake repository, it shouldn't and needn't be prefixed with 'bitbake:' unless necessary due to it coming from poky. Perhaps the only git changelog you read is inside the poky repository, but the rest of us pay more attention.

Ok. I see your point. And you are right. I was talking inside yocto. Thank you for clarifying this.

ag

#6 lore raw
In reply to Trevor Woerner
Quoted 9 lines · Trevor Woerner
Quoted 2 lines · Chris Larson

No, this is wrong. When committing to the bitbake repository, there's no need to prefix it with 'bitbake:'.

I am new to bitbake-devel, but looking through several of the more recent commits would indicate the majority of them do have some sort of location identifier in the subject, some of which are just "bitbake:". One (e0f91faf195be63803d39fb42fcd115ad558c79f) even has "bin/bitbake:"; maybe I should use this for my patch?

I think in this case bin/bitbake: is the best prefix. The idea is it gives a rough idea what changed and clearly in this case that is quite a good summary.

Since this is such a simple patch, I've tweaked it and applied it. Also in future please include a Signed-off-by: line.

Cheers,

Richard