| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
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>
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
This is aimed to be a common package for all openlmi python providers.
It allows using fully-qualified imports in provider source packages.
|
|
|
|
|
|
| |
Script allows to create wiki table of classes defined in mof file.
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>
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
| |
a dash for cimmof program telling it to read from stdin is no longer
accepted by newer pegasus's cimmof binary
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checkum property of LMI_SoftwareFileCheck had different type than
in base class. This prevented registration.
- Solved by renaming:
Checksum -> FileChecksum
ExpectedChecksum -> ExpectedFileChecksum
ChecksumType -> FileChecksumType
fixed filtering of found available and installed packages
- search by nevra replaced with search for particular keys
|
| |
|