public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] doc: Fix sufficient suppression property lists.
@ 2020-05-12 10:10 Giuliano Procida
  2020-05-13 10:12 ` Dodji Seketeli
  0 siblings, 1 reply; 2+ messages in thread
From: Giuliano Procida @ 2020-05-12 10:10 UTC (permalink / raw)
  To: libabigail; +Cc: dodji, kernel-team, gprocida

At present there are discrepancies between the suppression
specification parsing code and the documented lists of properties (per
suppression type) that are consider sufficient to prevent a
suppression specification being ignored altogether.

This patch updates the documentation to match the code and adjusts
some confusing language in the documentation.

	* doc/manuals/libabigail-concepts.rst: Add missing
	sufficient properties for suppress_file, suppress_function and
	suppress_variable. Use consistent language about what will
	happen when no property in the list in provided.

Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 doc/manuals/libabigail-concepts.rst | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/doc/manuals/libabigail-concepts.rst b/doc/manuals/libabigail-concepts.rst
index 607edee6..2ad3634b 100644
--- a/doc/manuals/libabigail-concepts.rst
+++ b/doc/manuals/libabigail-concepts.rst
@@ -205,7 +205,11 @@ files, then no comparison is performed.
 Note that for the ``[suppress_file]`` directive to work, at least one
 of the following properties must be provided:
 
-    ``file_name_regexp``, ``file_name_not_regexp``.
+    ``file_name_regexp``, ``file_name_not_regexp``, ``soname_regexp``,
+    ``soname_not_regexp``.
+
+If none of the above properties are provided, then the
+``[suppress_file]`` directive is simply ignored.
 
 The potential properties of this sections are listed below:
 
@@ -273,7 +277,7 @@ of the following properties must be provided:
   ``name_not_regexp``, ``type_kind``, ``source_location_not_in``,
   ``source_location_not_regexp``.
 
-If none of the following properties are provided, then the
+If none of the above properties are provided, then the
 ``[suppress_type]`` directive is simply ignored.
 
 The potential properties of this sections are listed below:
@@ -623,11 +627,11 @@ one of the following properties must be provided:
   ``label``, ``file_name_regexp``, ``file_name_not_regexp``,
   ``soname_regexp``, ``soname_not_regexp``, ``name``, ``name_regexp``,
   ``name_not_regexp``, ``parameter``, ``return_type_name``,
-  ``symbol_name``, ``symbol_name_regexp``,
-  ``symbol_name_not_regexp``,``symbol_version``,
+  ``return_type_regexp``, ``symbol_name``, ``symbol_name_regexp``,
+  ``symbol_name_not_regexp``, ``symbol_version``,
   ``symbol_version_regexp``.
 
-If none of the following properties are provided, then the
+If none of the above properties are provided, then the
 ``[suppress_function]`` directive is simply ignored.
 
 The potential properties of this sections are:
@@ -911,11 +915,12 @@ one of the following properties must be provided:
 
   ``label``, ``file_name_regexp``, ``file_name_not_regexp``,
   ``soname_regexp``, ``soname_not_regexp``, ``name``, ``name_regexp``,
-  ``symbol_name``, ``symbol_name_regexp``, ``symbol_name_not_regexp``,
-  ``symbol_version``, ``symbol_version_regexp``.
+  ``name_not_regexp``, ``symbol_name``, ``symbol_name_regexp``,
+  ``symbol_name_not_regexp``, ``symbol_version``,
+  ``symbol_version_regexp``, ``type_name``, ``type_name_regexp``.
 
-If none of the following properties are provided, then the
-``[suppres_variable]`` directive is simply ignored.
+If none of the above properties are provided, then the
+``[suppress_variable]`` directive is simply ignored.
 
 The potential properties of this sections are:
 
-- 
2.26.2.645.ge9eca65c58-goog


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: Fix sufficient suppression property lists.
  2020-05-12 10:10 [PATCH] doc: Fix sufficient suppression property lists Giuliano Procida
@ 2020-05-13 10:12 ` Dodji Seketeli
  0 siblings, 0 replies; 2+ messages in thread
From: Dodji Seketeli @ 2020-05-13 10:12 UTC (permalink / raw)
  To: Giuliano Procida; +Cc: libabigail, kernel-team

Giuliano Procida <gprocida@google.com> a écrit:

> At present there are discrepancies between the suppression
> specification parsing code and the documented lists of properties (per
> suppression type) that are consider sufficient to prevent a
> suppression specification being ignored altogether.
>
> This patch updates the documentation to match the code and adjusts
> some confusing language in the documentation.
>
> 	* doc/manuals/libabigail-concepts.rst: Add missing
> 	sufficient properties for suppress_file, suppress_function and
> 	suppress_variable. Use consistent language about what will
> 	happen when no property in the list in provided.
>
> Signed-off-by: Giuliano Procida <gprocida@google.com>
Acked-by: Dodji Seketeli <dodji@seketeli.org>

Applied to master, thanks.

Cheers,

-- 
		Dodji

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-13 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 10:10 [PATCH] doc: Fix sufficient suppression property lists Giuliano Procida
2020-05-13 10:12 ` Dodji Seketeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).