* [PATCH] documentation-audit.sh: Add/fix checks for skipped lines.
@ 2012-12-09 12:39 Robert P. J. Day
2012-12-09 19:42 ` Scott Garman
0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2012-12-09 12:39 UTC (permalink / raw)
To: OE Core mailing list; +Cc: Scott Garman
Have the script skip:
* "Recipe" lines.
* Lines with 11 "=", not 12.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
if scott wants to adjust this differently, it's all his.
diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh
index a2c4586..2144aac 100755
--- a/scripts/contrib/documentation-audit.sh
+++ b/scripts/contrib/documentation-audit.sh
@@ -30,9 +30,10 @@ echo " you'll get false positives. For example, LICENSE_FLAGS_WHITELIST = \"Com
for pkg in `bitbake -s | awk '{ print \$1 }'`; do
if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" ||
+ "$pkg" == "Recipe" ||
"$pkg" == "Parsing" || "$pkg" == "Package" ||
"$pkg" == "NOTE:" || "$pkg" == "WARNING:" ||
- "$pkg" == "done." || "$pkg" == "============" ]]
+ "$pkg" == "done." || "$pkg" == "===========" ]]
then
# Skip initial bitbake output
continue
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] documentation-audit.sh: Add/fix checks for skipped lines.
2012-12-09 12:39 [PATCH] documentation-audit.sh: Add/fix checks for skipped lines Robert P. J. Day
@ 2012-12-09 19:42 ` Scott Garman
2012-12-09 19:44 ` Robert P. J. Day
0 siblings, 1 reply; 3+ messages in thread
From: Scott Garman @ 2012-12-09 19:42 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
On 12/09/2012 04:39 AM, Robert P. J. Day wrote:
>
> Have the script skip:
>
> * "Recipe" lines.
> * Lines with 11 "=", not 12.
>
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Yeah, I haven't run this script since we switched to the knotty2
interface. If you've tested this, I'm okay with the changes.
Scott
>
> ---
>
> if scott wants to adjust this differently, it's all his.
>
> diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh
> index a2c4586..2144aac 100755
> --- a/scripts/contrib/documentation-audit.sh
> +++ b/scripts/contrib/documentation-audit.sh
> @@ -30,9 +30,10 @@ echo " you'll get false positives. For example, LICENSE_FLAGS_WHITELIST = \"Com
>
> for pkg in `bitbake -s | awk '{ print \$1 }'`; do
> if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" ||
> + "$pkg" == "Recipe" ||
> "$pkg" == "Parsing" || "$pkg" == "Package" ||
> "$pkg" == "NOTE:" || "$pkg" == "WARNING:" ||
> - "$pkg" == "done." || "$pkg" == "============" ]]
> + "$pkg" == "done." || "$pkg" == "===========" ]]
> then
> # Skip initial bitbake output
> continue
>
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] documentation-audit.sh: Add/fix checks for skipped lines.
2012-12-09 19:42 ` Scott Garman
@ 2012-12-09 19:44 ` Robert P. J. Day
0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2012-12-09 19:44 UTC (permalink / raw)
To: Scott Garman; +Cc: OE Core mailing list
On Sun, 9 Dec 2012, Scott Garman wrote:
> On 12/09/2012 04:39 AM, Robert P. J. Day wrote:
> >
> > Have the script skip:
> >
> > * "Recipe" lines.
> > * Lines with 11 "=", not 12.
> >
> > Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>
> Yeah, I haven't run this script since we switched to the knotty2
> interface. If you've tested this, I'm okay with the changes.
as far as i can tell, its only effect is to remove those two lines
that shouldn't be there, that's what i verified.
rday
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-09 19:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-09 12:39 [PATCH] documentation-audit.sh: Add/fix checks for skipped lines Robert P. J. Day
2012-12-09 19:42 ` Scott Garman
2012-12-09 19:44 ` Robert P. J. Day
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.