All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe-commits] Scott Garman : Add missing SUMMARY fields to various recipes
Date: Mon, 19 Dec 2011 09:54:44 -0600	[thread overview]
Message-ID: <4EEF5E44.5030903@windriver.com> (raw)
In-Reply-To: <201112191054.57179.schnitzeltony@gmx.de>

On 12/19/11 3:54 AM, Andreas Müller wrote:
>> diff --git a/meta/recipes-support/libevent/libevent_1.4.14b.bb
>> b/meta/recipes-support/libevent/libevent_1.4.14b.bb index 1a369b5..36468dc
>> 100644
>> --- a/meta/recipes-support/libevent/libevent_1.4.14b.bb
>> +++ b/meta/recipes-support/libevent/libevent_1.4.14b.bb
>> @@ -1,4 +1,5 @@
>> -DESCRIPTION = "an asynchronous event notification library"
>> +SUMMARY = "An asynchronous event notification library"
>> +DESCRIPTION = "An asynchronous event notification library"
>>   HOMEPAGE = "http://www.monkey.org/~provos/libevent/"
>>   SECTION = "libs"
>>
> What is the value in creating redundancies by copying DESRCIPTION to SUMMARY?

(related item, not the actual answer to your existion)

For those unfamiliar with the SUMMARY, it automatically inherits the 
DESCRIPTION.  In the original design of the SUMMARY field it was expected that a 
number of items already have "small" descriptions, so automatically inheriting 
made sense.

When I did the original pass for oe-core to add summaries, what I found is that 
many of the "DESCRIPTIONS" are really just summaries.  So (in the example 
above), I would have renamed the DESCRIPTION to summary, and put in a new, more 
detailed DESCRIPTION.

For instance (taking from Fedora):

DESCRIPTION = "The libevent API provides a mechanism to execute \
a callback function when a specific event occurs on a file \
descriptor or after a timeout has been reached. libevent is \
meant to replace the asynchronous event loop found in event \
driven network servers. An application just needs to call \
event_dispatch() and can then add or remove events dynamically \
without having to change the event loop."

So my suggestion is when the DESCRIPTION is small enough, there is no reason to 
add a duplicate SUMMARY.  However, it should be a trigger that the DESCRIPTION 
itself is likely just a summary, and a more explicit DESCRIPTION should be 
added.  (I always thing of a summary as "what is this in 74 charachters or 
less", and the DESCRIPTION is "why would I want this thing?")

--Mark

> Andreas
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




  reply	other threads:[~2011-12-19 16:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20111219093447.C6DBE10331@opal>
2011-12-19  9:54 ` [oe-commits] Scott Garman : Add missing SUMMARY fields to various recipes Andreas Müller
2011-12-19 15:54   ` Mark Hatle [this message]
2011-12-19 16:28   ` Scott Garman
2011-12-19 12:37 ` Andreas Müller
2011-12-19 17:17   ` Scott Garman
2011-12-19 17:21     ` Koen Kooi
2011-12-19 17:28       ` Scott Garman
2011-12-19 17:44         ` Mark Hatle
2011-12-19 18:00           ` Saul Wold
2011-12-19 18:10             ` Mark Hatle
2011-12-20 15:53               ` Wang, Shane
2011-12-20 15:55         ` Wang, Shane

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=4EEF5E44.5030903@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-devel@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.