| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
made tracing message for function exit match the entry one
added threading related logging for YumDB
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
openlmi.common subpackage allows to share code accros various OpenLMI
provider packages. Currently there is a cmpi_logging.py module.
Resolves: #71 in openlmi trac -- Make common package under openlmi
namespace for utilities shared accross python providers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made separate process openlmi.software.yumdb.process.YumWorker
for calls to yum API. Its client openlmi.software.yumdb.YumDB
communicates with it via synchronnous queues - uplink and downlink.
Resolves: #63 in openlmi trac -- yum API not useable, while changing
thread_id)
Resolves: #33 in openlmi trac -- Install/remove package
Common functionality of providers moved under openlmi.software.core
subpackage to make them easily accessible from other providers without
cyclic dependencies.
Improved logging with cmpi_logging module.
openlmi.software.cimom_entry module now is the only module loadable by
cmpi-bindings. It sets up providers and maps them by their name.
New subpackages:
openlmi.software.core
openlmi.software.yumdb
|
|\ |
|
| |
| |
| |
| | |
Forgot to fix it when renaming register.sh to openlmi-mof-register
|
|/
|
|
|
| |
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
|
| |
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |\ |
|
| | | |
|
| |/
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| | |
|
|/
|
|
| |
local.
|
| |
|
| |
|
|
|
|
| |
The script is backward compatible, i.e. some ugly bash arrays needed to be used.
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Effectively it means this allows to remove user from group
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
particular tests can be selected like this:
* # runs all tests defined by this test case
./run.py -- TestSoftwarePackage
* # runs single test defined by TestSoftwarePackage TestCase
./run.py -- TestSoftwarePackage.test_get_instance
added comments for each assert
made results of tests a lot more readable
different file mode for symlinks passes like in rpm -V
increased number of packages for testing to 5
|
|/
|
|
|
| |
* handle '*' in yum repolist
* select pkg database from 5 times required number of packages
|
|\ |
|
| |\ |
|
| | | |
|
| |/
|/| |
|
|/
|
|
|
| |
all methods, functions and modules including 'test' in their name
and not intended to be run by nosetests renamed
|
| |
|
|
|
|
| |
fixed syntax error
|
|
|
|
|
| |
Wrong package could be selected for update due to wrong sorting
mechanism.
|
|
|
|
|
|
|
|
|
| |
All tests are invocable from single script called "run_tests.py" and
as standalone-modules as well.
Its behaviour is modifiable through environment variables according
to TestGuidelines. run_tests.py can be passed arguments instead.
Package database is not fixed anymore. Instead it's generated
automatically for system, where tests are triggered.
|
|
|
|
|
|
|
|
|
| |
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
|
| |
| |
| |
| |
| | |
- Use popen instead evil tmpnam in service enumeration functions.
- Pass service name to systemctl after a "--" argument list terminator.
|
| | |
|
| | |
|
| | |
|