[Oval-devel] Python OVAL generator tool 0.2
Pavel Vinogradov
blaze at nixdev.net
Sat Jun 2 09:12:18 UTC 2007
New version of Python OVAL generator tool is uploaded to subversion trunk.
Fixed issues:
- the regexp checks for 'data' instead of '.data$' in names of dsa files
- unproper handling of mutiplatform dsa files
- unproper handling of architecture independed packages
TODO:
1. Select rigth way for mutiplatform dsa files. Now script generate one
definition per dsa file. I add aditional criteria level for platform test
like:
<criteria comment='Platform section' operator='OR'>
<criteria comment='Software section' operator='AND'>
<criterion comment='Debian 4.0 is installed' test_ref='rrt-XXX'/>
</criteria>
<criteria comment='Software section' operator='AND'>
<criterion comment='Debian 3.1 is installed' test_ref='rrt-XXX'/>
</criteria>
</criteria>
But, maybe we need generate individual definition for each platform?
2. How can handle cases when various architectures have various affected
packages or packages version? We can do:
- always write full crtiterions test for each architecture (big resulted
definitions)
- write full crtiterions test for each architecture only if at least one
package or version differ
- check every combinations of package + version + architecture and
generate various definitions (hard to implement)
3. Generate tests, objects and state for architectures, platforms and
packages. Have many and many questions because of perl script not implement
this.
--
Pavel Vinogradov
NixDev.Net,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/oval-devel/attachments/20070602/408cc3f2/attachment.htm
More information about the Oval-devel
mailing list