| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This is an attempt to include profile (un)registration within the
(un)register-PROVIDER make target. This commit extends the cim_registration
macro by an extra argument of the profile file or list of profile files.
To preserve API of the CMake modules this extra argument is an variable arg
in fact and does not need to be specified. Pass a list variable to specify
multiple profile files.
|
|
|
|
|
| |
To fix
E: non-executable-script /usr/share/devassistant/files/crt/c/openlmi/src/cmpiLMI_{{PROJECT_NAME}}-cimprovagt 0644L /bin/sh
|
|
|
|
|
|
|
| |
This snippet first clones the upstream openlmi-scripts repo and uses
the make_new.py script to create new command. The generated structure
is independent from the openlmi-scripts repo and only depends on
openlmi-tools.
|
|
|
|
|
|
| |
This commit introduces basic Developer Assistant support for generating
C and Python OpenLMI providers. Turned off by default, enable with
-DWITH-DEVASSISTANT=ON cmake argument.
|
|
|
|
| |
Updated copyright years to include new year 2014.
|
|
|
|
| |
This patch removes trailing spaces from source files.
|
| |
|
|
|
|
|
| |
There should be only one documentation of a CIM class and that's the one
on the top level mof/ directory, therefore all the others must be removed.
|
| |
|
| |
|
|
|
|
|
| |
Also the gendoc tool now creates standalone documentation for each provider
alongside the overall documentation.
|
|
|
|
| |
The one from openlmi-providers from given tag is used.
|
| |
|
|
|
|
|
|
| |
Allow to specify workspace directory, where the local git checkouts are
located. Also do not depend on installed openlmi-providers-devel package
when all we need is in this repository.
|
|
|
|
|
|
|
| |
And get rid of sblim-cmpi-base dependency.
It would be nice if our tests have an option to select Linux_ComputerSystem
or PG_ComputerSystem in the future...
|
|
|
|
|
|
| |
This applies only to the top level combined documentation,
if a provider introduces its own config file and options, it
still must be mentioned in the provider's docs.
|
| |
|
|
|
|
| |
Note that the theme is BSD-licensed.
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
|
|
|
|
|
| |
When cim2uml gets an error on GetInstance() call, it now shows better message
than "error getting instance", so user knows which instance/class is wrong.
|
|
|
|
| |
Dictionary of element qualifiers can be None and we should check for it before accessing its elements.
|
|
|
|
| |
We want superclass on the top of subclass and not a vice versa.
|
|
|
|
| |
Konkretmof seem to use qualifiers=None instead of qualifiers={}.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
class2rst.py and class2uml.py was altered to use konkretmof for parsing
MOFs instead of calling CIMOM. This two modules was also renamed to
openlmi-doc-class2* and will be installed to $prefix/bin.
|
|\| |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Marking of line positions for error suppression needed finetuning
in other to make them more robust. They did not work for multiline
statements like decorated functions/methods etc.
|
|\| |
|
| |
| |
| |
| |
| | |
pylintlmi could raise an attribute error, when checking
module name
|
|\| |
|
| |
| |
| |
| |
| |
| | |
allow arguments 2 characters long
allow any arguments in provider methods to be unused
- support functions spawning its arguments on multiple lines
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
supressed:
* too short variable names (allowed 2 chars long)
* use of * and ** magic
* warnings about hierarchically nested classes under Values
* get_providers not required for each provider module
* too long method names
made 'i' a dummy variable
|
|
|
|
|
|
|
|
|
| |
added allow_cmpi_logging module for suppressing errors concerning
logging statements
disabled our custom C9904 warning message because of providers like
CapabilitiesProvider having no prefix
- but still checking for consistency in module name and class name
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
local.
|
| |
|
|
|
|
|
|
|
|
|
| |
also modified mof, so it's better parseable
greatly reduced pylint errors and warnings
LMI_SoftwareInstalledPackage now returns reference to
Linux_ComputerSystem instead of CIM_ComputerSystem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pylintlmi uses pylint (python source code checking utility)
- giving it custom configuration for openlmi project and
plugins with additional checks
for usage see src/software/README
renamed directory "src/software/providers" to
"src/software/openlmi/software"
* allows installation to custom PYTHONPATH together with openlmi-python egg
* that also allows running pylint on sources in devel directory without
messages like:
W0403: 28,0: Relative import 'openlmi.software.core', should be
'openlmi.software.openlmi.software.core'
E0611: 28,0: No name 'software' in module 'openlmi'
F0401: 28,0: Unable to import 'openlmi.software.core'
|
|\
| |
| |
| |
| | |
Conflicts:
tools/mof2wiki.sh
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| |
| |
| |
| | |
Now it can create list of defined classes, newly created properties and
created references.
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|/ |
|