Patchwork [bitbake-devel,cooker] cooker: Clarify package/recipe wording

login
register
mail settings
Submitter Trevor Woerner
Date Sept. 19, 2012, 3 a.m.
Message ID <1348023634-5915-1-git-send-email-twoerner@gmail.com>
Download mbox | patch
Permalink /patch/36869/
State Accepted
Commit d1c3a9de875fb488a56ab5cb1d2f8e2f24f31d69
Headers show

Comments

Trevor Woerner - Sept. 19, 2012, 3 a.m.
From: Trevor Woerner <twoerner@gmail.com>

When the '-s' option is run, change the heading above the list of recipes
to say "Recipe Name" instead of "Package Name".

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 lib/bb/cooker.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Sept. 20, 2012, 10:57 a.m.
On Tue, 2012-09-18 at 23:00 -0400, Trevor Woerner wrote:
> From: Trevor Woerner <twoerner@gmail.com>
> 
> When the '-s' option is run, change the heading above the list of recipes
> to say "Recipe Name" instead of "Package Name".
> 
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>  lib/bb/cooker.py |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Good catch, we need to fix these up! Merged to master, thanks.

Richard
Richard Purdie - Sept. 20, 2012, 12:31 p.m.
On Tue, 2012-09-18 at 23:00 -0400, Trevor Woerner wrote:
> From: Trevor Woerner <twoerner@gmail.com>
> 
> When the '-s' option is run, change the heading above the list of recipes
> to say "Recipe Name" instead of "Package Name".
> 
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
>  lib/bb/cooker.py |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Good catch, we need to fix these up! Merged to master, thanks.

Richard

Patch

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 237019c..b281cd0 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -278,8 +278,8 @@  class BBCooker:
         pkg_pn = self.status.pkg_pn
         (latest_versions, preferred_versions) = bb.providers.findProviders(self.configuration.data, self.status, pkg_pn)
 
-        logger.plain("%-35s %25s %25s", "Package Name", "Latest Version", "Preferred Version")
-        logger.plain("%-35s %25s %25s\n", "============", "==============", "=================")
+        logger.plain("%-35s %25s %25s", "Recipe Name", "Latest Version", "Preferred Version")
+        logger.plain("%-35s %25s %25s\n", "===========", "==============", "=================")
 
         for p in sorted(pkg_pn):
             pref = preferred_versions[p]