Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Petteri Räty <betelgeuse@g.o>
Subject: Re: eqawarn for main tree
Date: Sat, 10 Jul 2010 14:15:48 +0300
On 07/05/2010 09:19 PM, Mark Loeser wrote:
>>
>> As there was no further response and next EAPI isn't around the corner I
>> propose getting the ball rolling with option 1. I will commit the patch
>> next Sunday with needed documentation unless something comes up.
> 
> Could you please give a description as to when you believe this function
> should be used.  Preferably as a patch for devmanual :)
> 
> Thanks,
> 

Attached is the patch I plan on pushing with the eclass commit.

Regards,
Petteri
diff --git a/ebuild-writing/messages/text.xml b/ebuild-writing/messages/text.xml
index 4720be4..2bb348a 100644
--- a/ebuild-writing/messages/text.xml
+++ b/ebuild-writing/messages/text.xml
@@ -95,6 +95,19 @@ is mainly used for displaying additional error details before bailing out.
 </section>
 
 <section>
+<title>QA warnings</title>
+<body>
+
+<p>
+	The <c>eqawarn</c> function can be used by eclass authors to notify ebuild writers about
+	deprecated functionality. eqawarn is defined in eutils. Portage doesn't log the qa message
+	class by default so users don't get annoyed by seeing messages they can't do much about.
+</p>
+
+</body>
+</section>
+
+<section>
 <title>Message function reference</title>
 <body>
 
diff --git a/function-reference/message-functions/text.xml b/function-reference/message-functions/text.xml
index 97c86e6..24f4b82 100644
--- a/function-reference/message-functions/text.xml
+++ b/function-reference/message-functions/text.xml
@@ -77,9 +77,9 @@ displaying informational messages.
 </table>
 
 <p>
-	The following are available from <c>eutils.eclass</c> in EAPIs 0, 1 and 2.
-	They are deprecated in favor of GLEP 42 news items and package manager
-	message logging functionality.
+	The following are available from <c>eutils.eclass</c> . ebeep and epause
+	are deprecated in EAPIS 0, 1 and 2 in favor of GLEP 42 news items and
+	package manager message logging functionality.
 </p>
 
 <table>
@@ -108,6 +108,14 @@ displaying informational messages.
       Beep the specified number (must be a positive integer) of times. Defaults to a sane value.
     </ti>
   </tr>
+  <tr>
+    <ti>
+      <c>eqawarn</c>
+    </ti>
+    <ti>
+      Used by eclass authors to notify ebuild writers that they are using deprecated functionality.
+    </ti>
+  </tr>
 </table>
 
 <p>
Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: eqawarn for main tree
-- Paweł Hajdan, Jr.
References:
eqawarn for main tree
-- Petteri Räty
Re: eqawarn for main tree
-- Zac Medico
Re: eqawarn for main tree
-- Petteri Räty
Re: eqawarn for main tree
-- Mark Loeser
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: devmanual change notification
Next by thread:
Re: eqawarn for main tree
Previous by date:
Re: Allow eclasses to have fluid APIs (was: RFC: remove php4 from depend.php and others)
Next by date:
Re: [bugzilla-daemon@g.o: [Bug 322157] [mail-filter/procmail] new ebuild + autocreate maildirs]


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.