diff options
author | Michal Minar <miminar@redhat.com> | 2013-10-08 14:51:36 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-10-10 14:16:20 +0200 |
commit | cf5704b8d17215a6a45901ac09daee10850952ed (patch) | |
tree | 7e4b8f4975c8fb1f60d0772284306f6ed768d013 /src/software | |
parent | 1eaedfe0c5e16074666dff1f9864087a3b8bbff8 (diff) | |
download | openlmi-providers-cf5704b8d17215a6a45901ac09daee10850952ed.tar.gz openlmi-providers-cf5704b8d17215a6a45901ac09daee10850952ed.tar.xz openlmi-providers-cf5704b8d17215a6a45901ac09daee10850952ed.zip |
software: doc improvements
specified regular expression for Version and Release properties
Diffstat (limited to 'src/software')
-rw-r--r-- | src/software/doc/admin/dmtf.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/software/doc/admin/dmtf.rst b/src/software/doc/admin/dmtf.rst index d048f78..c274bfa 100644 --- a/src/software/doc/admin/dmtf.rst +++ b/src/software/doc/admin/dmtf.rst @@ -58,9 +58,9 @@ Version of RPM package is composed of following properties: * ``string`` :ref:`Version<LMI-SoftwareIdentity-Version>` * ``string`` :ref:`Release<LMI-SoftwareIdentity-Release>` -Where ``Version`` and ``Release`` can contain arbitrary set of characters (not -just digits). These attributes were added to ``LMI_SoftwareIdentity`` class and -will be filled for every RPM package. On the other hand ``MajorVersion``, +Where ``Version`` and ``Release`` can contain arbitrary set of characters [1]_. +These attributes were added to ``LMI_SoftwareIdentity`` class and will be +filled for every RPM package. On the other hand ``MajorVersion``, ``MinorVersion``, ``RevisionNumber`` and ``BuildNumber`` will not be filled. This implementetion composes ``VersionString`` in following way: :: @@ -88,7 +88,7 @@ Querying for packages ^^^^^^^^^^^^^^^^^^^^^ Since enumeration of *Software Identities* is disabled due to a huge amount of data generated by large package database, the query -execution on them is also disallowed [1]_. The only way how to search +execution on them is also disallowed [2]_. The only way how to search for packages is using the method :ref:`LMI_SoftwareInstallationService.FindIdentity<LMI-SoftwareInstallationService-FindIdentity>`. @@ -227,5 +227,6 @@ allowing to create complex queries on package database. ------------------------------------------------------------------------------ -.. [1] Because internally the query is executed upon the list obtained by +.. [1] Precisely they must match following regular expression `r"[\w.+{}]+"`. +.. [2] Because internally the query is executed upon the list obtained by enumeration of instances. |