summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* logging improvementsMichal Minar2013-02-052-1/+13
| | | | | | made tracing message for function exit match the entry one added threading related logging for YumDB
* fixed pylint plugins0.0.18Michal Minar2013-02-042-6/+7
| | | | | | 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.
* new subpackage openlmi.common created for sharing codeMichal Minar2013-02-0412-14/+39
| | | | | | | | 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.
* rewritten for safe execution of transactionsMichal Minar2013-02-0428-1606/+3406
| | | | | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2013-01-311-1/+1
|\
| * Fix registration make targetRadek Novacek2013-01-301-1/+1
| | | | | | | | Forgot to fix it when renaming register.sh to openlmi-mof-register
* | fixed pylint pluginMichal Minar2013-01-311-1/+5
|/ | | | | pylintlmi could raise an attribute error, when checking module name
* made pylint more friendlyMichal Minar2013-01-242-6/+6
| | | | | | allow arguments 2 characters long allow any arguments in provider methods to be unused - support functions spawning its arguments on multiple lines
* made pylint more friendlyMichal Minar2013-01-242-29/+38
| | | | | | | | | | | 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
* pyling plugins improvementsMichal Minar2013-01-233-13/+95
| | | | | | | | | 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
* Fixed traceback on checking class with constants inside.Jan Safranek2013-01-231-0/+2
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-01-232-1/+25
|\
| * Account: add wrapper script to enable setting proper selinux context0.0.17Roman Rakus2013-01-172-1/+25
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | Suppress common CIMProvider2 messages before analyzing other errors.Jan Safranek2013-01-231-1/+1
| |
* | Ignore 'W0613: unused argument' in entry methods from CIMOM.Jan Safranek2013-01-231-0/+12
|/
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-01-1615-1/+939
|\
| * Use ModuleGroupName according to used library nameRoman Rakus2013-01-161-1/+1
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * Hardware: Remove wrong install0.0.16Roman Rakus2013-01-161-2/+0
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * New provider: hardwareTomas Smetana2013-01-155-0/+442
| |\
| | * New provider: HardwareTomas Smetana2013-01-155-0/+442
| | |
| * | Account: testsRoman Rakus2013-01-149-0/+498
| |/ | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | Added cim2uml tool, which creates instance diagram in PlantUML syntax.Jan Safranek2013-01-161-0/+273
| |
* | Check 'Implemeted' qualifier and show all implemented properties/methods as ↵Jan Safranek2013-01-114-8/+28
|/ | | | local.
* Allow experimental classes and version updates in MOF files.Jan Safranek2013-01-091-2/+2
|
* Fixed case switch, 'break' is for loops only.Jan Safranek2013-01-091-2/+2
|
* Allow more mofs to be registered by openlmi-mof-register.Jan Safranek2013-01-091-14/+30
| | | | The script is backward compatible, i.e. some ugly bash arrays needed to be used.
* Merge branch 'devel'Roman Rakus2012-12-201-1/+72
|\
| * Account: Allow to create instance of LMI_MemberOfGroupRoman Rakus2012-12-201-1/+72
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | Allow numbers in class name in OpenLMIMacros.cmakeRadek Novacek2012-12-141-1/+1
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2012-12-131-1/+76
|\|
| * Account: Allow to delete instance of LMI_MemberOfGroupRoman Rakus2012-12-111-1/+76
| | | | | | | | | | | | Effectively it means this allows to remove user from group Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | fixed test selection, when launching tests with runMichal Minar2012-12-137-261/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | more software test bugfixesMichal Minar2012-12-111-2/+4
|/ | | | | * handle '*' in yum repolist * select pkg database from 5 times required number of packages
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2012-12-112-0/+671
|\
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2012-12-103-10/+10
| |\
| * | Added class2rst.py and class2uml.py tools.Jan Safranek2012-12-102-0/+671
| | |
* | | fixed tests for f18 an RHEL7Michal Minar2012-12-112-22/+72
| |/ |/|
* | comply with nosetests rulesMichal Minar2012-12-073-10/+10
|/ | | | | all methods, functions and modules including 'test' in their name and not intended to be run by nosetests renamed
* Add configuration file for nosetestsRadek Novacek2012-12-071-0/+6
|
* non-ascii char appeared in commentMichal Minar2012-12-071-1/+1
| | | | fixed syntax error
* fixed package sorting errorsMichal Minar2012-12-073-8/+5
| | | | | Wrong package could be selected for update due to wrong sorting mechanism.
* rewritten tests for software managementMichal Minar2012-12-077-339/+1195
| | | | | | | | | 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.
* fixed most of pylint errorsMichal Minar2012-11-298-508/+482
| | | | | | | | | 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
* added pylintlmi checker for python source checkingMichal Minar2012-11-2818-2/+590
| | | | | | | | | | | | | | | | | | 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'
* Added 'Implemented' qualifier.Jan Safranek2012-11-221-0/+4
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2012-11-2276-946/+1702
|\ | | | | | | | | Conflicts: tools/mof2wiki.sh
| * Service:Vitezslav Crhonek2012-11-222-36/+28
| | | | | | | | | | - Use popen instead evil tmpnam in service enumeration functions. - Pass service name to systemctl after a "--" argument list terminator.
| * Fix wrong project name in previous commitRadek Novacek2012-11-141-1/+1
| |
| * Update make-release.sh to be able to do tarball from any git commitishRadek Novacek2012-11-141-7/+8
| |
| * Relicence all sources from GPLv2+ to LGPLv2+0.0.15Radek Novacek2012-11-1275-884/+1411
| |