Skip to content

Commit

Permalink
Updated lib_repo and lib_xml, mostly to create an algorithm for ident…
Browse files Browse the repository at this point in the history
…ifying significant changes
  • Loading branch information
GunnarEngelbach committed Jul 17, 2015
1 parent f6d2f2b commit 532ed56
Show file tree
Hide file tree
Showing 60 changed files with 1,766 additions and 752 deletions.
7 changes: 7 additions & 0 deletions scripts/Documentation/api-objects.txt
Expand Up @@ -2,6 +2,10 @@ build_oval_definitions_file build_oval_definitions_file-module.html
build_oval_definitions_file.format_duration build_oval_definitions_file-module.html#format_duration
build_oval_definitions_file.message build_oval_definitions_file-module.html#message
build_oval_definitions_file.main build_oval_definitions_file-module.html#main
find_affected find_affected-module.html
find_affected.get_changed_ids_from_file find_affected-module.html#get_changed_ids_from_file
find_affected.get_changed_ids_from_git find_affected-module.html#get_changed_ids_from_git
find_affected.main find_affected-module.html#main
get_related_elements get_related_elements-module.html
get_related_elements.format_duration get_related_elements-module.html#format_duration
get_related_elements.message get_related_elements-module.html#message
Expand Down Expand Up @@ -40,13 +44,16 @@ lib_repo.oval_id_to_path lib_repo-module.html#oval_id_to_path
lib_repo.get_schema_short_name lib_repo-module.html#get_schema_short_name
lib_repo.get_element_paths_iterator lib_repo-module.html#get_element_paths_iterator
lib_repo.get_oval_def_schema lib_repo-module.html#get_oval_def_schema
lib_repo.get_schema_versions lib_repo-module.html#get_schema_versions
lib_search lib_search-module.html
lib_xml lib_xml-module.html
lib_xml.get_element_change_status lib_xml-module.html#get_element_change_status
lib_xml.schema_validate lib_xml-module.html#schema_validate
lib_xml.get_element_metadata lib_xml-module.html#get_element_metadata
lib_xml.__package__ lib_xml-module.html#__package__
lib_xml.apply_xslt lib_xml-module.html#apply_xslt
lib_xml.get_definition_metadata lib_xml-module.html#get_definition_metadata
lib_xml.load_standalone_element lib_xml-module.html#load_standalone_element
lib_xml.get_schematron_xsl_from_schema lib_xml-module.html#get_schematron_xsl_from_schema
lib_xml.schematron_validate lib_xml-module.html#schematron_validate
oval_decomposition oval_decomposition-module.html
Expand Down
Expand Up @@ -170,7 +170,7 @@ <h1 class="epydoc">Module build_oval_definitions_file</h1><p class="nomargin-top
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Thu Jul 16 16:37:03 2015
Generated by Epydoc 3.0.1 on Fri Jul 17 15:04:21 2015
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
5 changes: 3 additions & 2 deletions scripts/Documentation/build_oval_definitions_file-pysrc.html
Expand Up @@ -329,7 +329,8 @@ <h1 class="epydoc">Source Code for <a href="build_oval_definitions_file-module.h
</div><a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">__name__</tt> <tt class="py-op">==</tt> <tt class="py-string">'__main__'</tt><tt class="py-op">:</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt id="link-64" class="py-name" targets="Function build_oval_definitions_file.main()=build_oval_definitions_file-module.html#main,Function get_related_elements.main()=get_related_elements-module.html#main,Function get_repository_stats.main()=get_repository_stats-module.html#main,Function oval_decomposition.main()=oval_decomposition-module.html#main,Function validate_oval_definitons_files.main()=validate_oval_definitons_files-module.html#main"><a title="build_oval_definitions_file.main
<a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt id="link-64" class="py-name" targets="Function build_oval_definitions_file.main()=build_oval_definitions_file-module.html#main,Function find_affected.main()=find_affected-module.html#main,Function get_related_elements.main()=get_related_elements-module.html#main,Function get_repository_stats.main()=get_repository_stats-module.html#main,Function oval_decomposition.main()=oval_decomposition-module.html#main,Function validate_oval_definitons_files.main()=validate_oval_definitons_files-module.html#main"><a title="build_oval_definitions_file.main
find_affected.main
get_related_elements.main
get_repository_stats.main
oval_decomposition.main
Expand Down Expand Up @@ -369,7 +370,7 @@ <h1 class="epydoc">Source Code for <a href="build_oval_definitions_file-module.h
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Thu Jul 16 16:37:04 2015
Generated by Epydoc 3.0.1 on Fri Jul 17 15:04:21 2015
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
2 changes: 1 addition & 1 deletion scripts/Documentation/class-tree.html
Expand Up @@ -152,7 +152,7 @@ <h1 class="epydoc">Class Hierarchy</h1>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Thu Jul 16 16:37:03 2015
Generated by Epydoc 3.0.1 on Fri Jul 17 15:04:21 2015
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
187 changes: 187 additions & 0 deletions scripts/Documentation/find_affected-module.html
@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>find_affected</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">

<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
>OVALRepo APIs</th>
</tr></table></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<span class="breadcrumbs">
Module&nbsp;find_affected
</span>
</td>
<td>
<table cellpadding="0" cellspacing="0">
<!-- hide/show private -->
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>]&nbsp;|&nbsp;<a href="find_affected-module.html"
target="_top">no&nbsp;frames</a>]</span></td></tr>
</table>
</td>
</tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module find_affected</h1><p class="nomargin-top"><span class="codelink"><a href="find_affected-pysrc.html">source&nbsp;code</a></span></p>
<pre class="literalblock">
Identify all the elements that will be affected by a submission, whether that submission
is via a file or a pull request

Authors: Gunnar Engelbach &lt;Gunnar.Engelbach@ThreatGuard.com&gt;

For usage information, please see the command line help:
python3 find_affected.py -h

TODO:
- TBD

</pre>

<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Functions</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-Functions"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="main"></a><span class="summary-sig-name">main</span>()</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="find_affected-pysrc.html#main">source&nbsp;code</a></span>

</td>
</tr>
</table>

</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="get_changed_ids_from_git"></a><span class="summary-sig-name">get_changed_ids_from_git</span>()</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="find_affected-pysrc.html#get_changed_ids_from_git">source&nbsp;code</a></span>

</td>
</tr>
</table>

</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="get_changed_ids_from_file"></a><span class="summary-sig-name">get_changed_ids_from_file</span>(<span class="summary-sig-arg">source</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="find_affected-pysrc.html#get_changed_ids_from_file">source&nbsp;code</a></span>

</td>
</tr>
</table>

</td>
</tr>
</table>
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">

<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
>OVALRepo APIs</th>
</tr></table></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Jul 17 15:04:21 2015
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
>http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>

<script type="text/javascript">
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie();
// -->
</script>
</body>
</html>

0 comments on commit 532ed56

Please sign in to comment.