Update purpose in module descriptions
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 6 Apr 2022 10:43:03 +0000 (12:43 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 27 Apr 2022 09:02:30 +0000 (11:02 +0200)
After a long discussion between Tom, Plamen, and Christian about location
and form of config-related functionality, it was realized that pyi2ncommon
is not just a collection of helpers for internal use, but also an interface
for "external" users of Intra2net system code like QA. Adjust description
in spec file and doc main page accordingly.

doc/index.rst
pyi2ncommon.spec

index ffd006d..820acd2 100644 (file)
@@ -6,7 +6,22 @@
 Welcome to pyi2ncommon's documentation!
 =======================================
 
-This library is intended to hold python helper code used everywhere in Intra2net code. It is starting small but will surely grow...
+This library has two main purposes:
+  (1) provide an interface to external python code (i.e., code not running
+      inside a Intra2net system, most notably QA tests) to some of the internal
+      workings of Intra2net systems. This includes:
+         - the configuration system (module :py:mod:`pyi2ncommon.cnfvar`)
+         - interactions with the central daemon (:py:mod:`pyi2ncommon.arnied_api`,
+           :py:mod:`pyi2ncommon.arnied_wrapper`)
+         - interactions with the connection daemon (:py:mod:`pyi2ncommon.dial`, :py:mod:`pyi2ncommon.connd_state`)
+  (2) provide helpers for internal source code, to simplify creating tests or helper scripts in python
+      that run inside an Intra2net-system. Featuring: :py:mod:`pyi2ncommon.argparse_helpers`,
+      :py:mod:`pyi2ncommon.buffers`, :py:mod:`pyi2ncommon.iter_helpers`, :py:mod:`pyi2ncommon.log_helpers`,
+      :py:mod:`pyi2ncommon.log_read`, :py:mod:`pyi2ncommon.text_helpers`
+
+The selection of modules listed here is not complete; modules are not "tied" to one of these two
+purposes, most modules can be used inside or outside an Intra2net system.
+
 
 Contents:
 
index a984c7d..f6a2ce3 100644 (file)
@@ -14,13 +14,13 @@ BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 
 %description
-Helper modules for Intra2net source code that are used in several places and/or are of general interest
+Python interface to some internal workings of Intra2net systems plus internal helpers
 
 %package -n python3-%{name}
 Summary:        Intra2net library of common helper utilities
 Group:          Development/Languages
 %description -n python3-%{name}
-Helper modules for Intra2net source code that are used in several places and/or are of general interest
+Python interface to some internal workings of Intra2net systems plus internal helpers
 
 %prep
 %setup -q