summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Include profile (un)registration in the (un)register-PROVIDER make targetsTomas Bzatek2014-05-151-1/+1
| | | | | | | | | | 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.
* devassistant: Fix template files file modeTomas Bzatek2014-05-071-0/+0
| | | | | To fix E: non-executable-script /usr/share/devassistant/files/crt/c/openlmi/src/cmpiLMI_{{PROJECT_NAME}}-cimprovagt 0644L /bin/sh
* devassistant: Add support for creating new scriptsTomas Bzatek2014-05-072-0/+143
| | | | | | | 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.
* devassistant: Add C and Python provider templatesTomas Bzatek2014-02-2520-0/+1592
| | | | | | 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 yearsPeter Schiffer2014-01-1611-11/+11
| | | | Updated copyright years to include new year 2014.
* Remove trailing spacesPeter Schiffer2014-01-169-41/+41
| | | | This patch removes trailing spaces from source files.
* power: Use logind instead of upowerRadek Novacek2013-11-041-1/+1
|
* doc: remove generated mof/*.rst files before creating overall documentation.Jan Safranek2013-10-221-1/+9
| | | | | 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.
* Update gendoc tool for the new documentation structure.Jan Safranek2013-10-213-32/+18
|
* journald: Add documentationTomas Bzatek2013-10-181-0/+1
|
* Add hardware, software and service documentation to the generator.Jan Safranek2013-10-172-5/+38
| | | | | Also the gendoc tool now creates standalone documentation for each provider alongside the overall documentation.
* Fixed path to openlmi-doc-class2rst tool.Jan Safranek2013-10-171-1/+1
| | | | The one from openlmi-providers from given tag is used.
* documentation: extended configuration sectionMichal Minar2013-10-151-19/+66
|
* documentation: make the build process less pickyMichal Minar2013-10-152-23/+26
| | | | | | 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.
* Use PG_ComputerSystem by default.Jan Safranek2013-10-091-2/+2
| | | | | | | 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...
* Added documentation of openlmi.conf file.Jan Safranek2013-10-092-0/+66
| | | | | | 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.
* Add 'gendoc' tool to generate overall documentation of all OpenLMI subprojects.Jan Safranek2013-10-0210-1/+675
|
* Add OpenLMI theme for Sphinx.Jan Safranek2013-10-025-0/+311
| | | | Note that the theme is BSD-licensed.
* tools: Create correct reference for arraysRoman Rakus2013-08-221-1/+4
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Fixed license to LGPLv2.1+Jan Safranek2013-08-012-0/+0
|
* cim2uml now shows detailed message on GetInstance error.Jan Safranek2013-05-141-1/+6
| | | | | 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.
* Added more check for qualifiers.Jan Safranek2013-04-081-4/+7
| | | | Dictionary of element qualifiers can be None and we should check for it before accessing its elements.
* Change orientation of resulting figure.Jan Safranek2013-03-251-1/+1
| | | | We want superclass on the top of subclass and not a vice versa.
* Check for qualifiers, properties without qualifiers crash here.Jan Safranek2013-03-252-9/+12
| | | | Konkretmof seem to use qualifiers=None instead of qualifiers={}.
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-03-254-399/+337
|\
| * tools: don't use CIMOM for generating documentationRadek Novacek2013-03-184-399/+337
| | | | | | | | | | | | 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.
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-03-1512-12/+12
|\|
| * Happy New Year! (better later than never)Jan Synacek2013-03-1312-12/+12
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-02-201-6/+7
|\|
| * fixed pylint plugins0.0.18Michal Minar2013-02-041-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.
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-01-311-1/+5
|\|
| * fixed pylint pluginMichal Minar2013-01-311-1/+5
| | | | | | | | | | pylintlmi could raise an attribute error, when checking module name
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-01-242-6/+6
|\|
| * 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
* | Added openlmi.storage checker.Jan Safranek2013-01-242-1/+52
|/
* 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
|
* 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
|
* 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.
* Added class2rst.py and class2uml.py tools.Jan Safranek2012-12-102-0/+671
|
* fixed most of pylint errorsMichal Minar2012-11-291-0/+3
| | | | | | | | | 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-287-0/+566
| | | | | | | | | | | | | | | | | | 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'
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2012-11-225-61/+330
|\ | | | | | | | | Conflicts: tools/mof2wiki.sh
| * Relicence all sources from GPLv2+ to LGPLv2+0.0.15Radek Novacek2012-11-125-41/+74
| |
| * mof2wiki: Convert methodsRoman Rakus2012-11-081-34/+68
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * Improved mof2wiki.shRoman Rakus2012-11-081-20/+222
| | | | | | | | | | | | | | Now it can create list of defined classes, newly created properties and created references. Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | fixed regex for parsing mof filesMichal Minar2012-11-221-1/+1
|/