Thread: [Abtlinux-svn] SF.net SVN: abtlinux: [95] src/trunk (Page 2)
Status: Alpha
Brought to you by:
eschabell
From: <esc...@us...> - 2006-05-18 08:37:30
|
Revision: 95 Author: eschabell Date: 2006-05-18 01:37:19 -0700 (Thu, 18 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=95&view=rev Log Message: ----------- The attributes from Package are actually constants, now so named. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-17 12:30:57 UTC (rev 94) +++ src/trunk/Package.rb 2006-05-18 08:37:19 UTC (rev 95) @@ -29,16 +29,15 @@ ## class Package - + protected private public - attr_reader :name, :version, :srcfile - attr_reader :srcdir, :srcurl, :integrity - attr_reader :url, :licence, :description + attr_reader :NAME, :VERSION, :SRCFILE, :SRCDIR, :SRCURL, :INTEGRITY + attr_reader :URL, :LICENSE, :DESCRIPTION ## # Provides all the data needed for this package. Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-17 12:30:57 UTC (rev 94) +++ src/trunk/doc/classes/Package.html 2006-05-18 08:37:19 UTC (rev 95) @@ -138,63 +138,63 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>description</td> + <td class='attr-name'>DESCRIPTION</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>integrity</td> + <td class='attr-name'>INTEGRITY</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>licence</td> + <td class='attr-name'>LICENSE</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>name</td> + <td class='attr-name'>NAME</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>srcdir</td> + <td class='attr-name'>SRCDIR</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>srcfile</td> + <td class='attr-name'>SRCFILE</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>srcurl</td> + <td class='attr-name'>SRCURL</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>url</td> + <td class='attr-name'>URL</td> <td class='attr-desc'></td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>version</td> + <td class='attr-name'>VERSION</td> <td class='attr-desc'></td> </tr> </table> @@ -218,9 +218,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> <div id="M000004_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 77</span> -77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -78: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 76</span> +76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +77: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -247,9 +247,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 69</span> -69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -70: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 68</span> +68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +69: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -270,9 +270,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> <div id="M000001_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 48</span> -48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -49: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 47</span> +47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +48: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -294,9 +294,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> <div id="M000006_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -95: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 93</span> +93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +94: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -319,9 +319,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> <div id="M000007_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 102</span> -102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -103: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 101</span> +101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +102: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -344,9 +344,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 57</span> -57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -58: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 56</span> +56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +57: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -370,9 +370,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> <div id="M000005_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 86</span> -86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -87: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 85</span> +85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +86: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-17 12:30:57 UTC (rev 94) +++ src/trunk/doc/created.rid 2006-05-18 08:37:19 UTC (rev 95) @@ -1 +1 @@ -Wed May 17 14:25:32 CEST 2006 +Thu May 18 10:36:10 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-17 12:30:57 UTC (rev 94) +++ src/trunk/doc/files/Package_rb.html 2006-05-18 08:37:19 UTC (rev 95) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 17 14:25:14 CEST 2006</td> + <td>Thu May 18 10:35:55 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-18 09:22:24
|
Revision: 96 Author: eschabell Date: 2006-05-18 02:22:05 -0700 (Thu, 18 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=96&view=rev Log Message: ----------- Pacakge details method updated. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-18 08:37:19 UTC (rev 95) +++ src/trunk/Package.rb 2006-05-18 09:22:05 UTC (rev 96) @@ -42,7 +42,7 @@ ## # Provides all the data needed for this package. # - # <b>RETURNS:</b> <i>hash</i> - Contains all package attributes. + # <b>RETURNS:</b> <i>hash</i> - Contains all package attributes (constants). ## def details end Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-18 08:37:19 UTC (rev 95) +++ src/trunk/doc/classes/Package.html 2006-05-18 09:22:05 UTC (rev 96) @@ -263,7 +263,8 @@ Provides all the data needed for this package. </p> <p> -<b>RETURNS:</b> <em>hash</em> - Contains all package attributes. +<b>RETURNS:</b> <em>hash</em> - Contains all package attributes +(constants). </p> </div> <div class="sourcecode"> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-18 08:37:19 UTC (rev 95) +++ src/trunk/doc/created.rid 2006-05-18 09:22:05 UTC (rev 96) @@ -1 +1 @@ -Thu May 18 10:36:10 CEST 2006 +Thu May 18 11:19:38 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-18 08:37:19 UTC (rev 95) +++ src/trunk/doc/files/Package_rb.html 2006-05-18 09:22:05 UTC (rev 96) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Thu May 18 10:35:55 CEST 2006</td> + <td>Thu May 18 11:19:24 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-18 14:11:26
|
Revision: 97 Author: eschabell Date: 2006-05-18 07:11:12 -0700 (Thu, 18 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=97&view=rev Log Message: ----------- Added InstallPackage class placeholder and generated docs. Modified Paths: -------------- src/trunk/doc/created.rid src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/InstallPackage.rb src/trunk/doc/classes/InstallPackage.html src/trunk/doc/dot/f_1.dot src/trunk/doc/dot/f_1.png src/trunk/doc/files/InstallPackage_rb.html Added: src/trunk/InstallPackage.rb =================================================================== --- src/trunk/InstallPackage.rb (rev 0) +++ src/trunk/InstallPackage.rb 2006-05-18 14:11:12 UTC (rev 97) @@ -0,0 +1,36 @@ +#!/usr/bin/ruby -w + +## +# InstallPackage.rb +# +# InstallPackage class provides for installation of AbTLinux packages. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class InstallPackage < Package + + protected + + private + + public + +end Added: src/trunk/doc/classes/InstallPackage.html =================================================================== --- src/trunk/doc/classes/InstallPackage.html (rev 0) +++ src/trunk/doc/classes/InstallPackage.html 2006-05-18 14:11:12 UTC (rev 97) @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: InstallPackage</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />InstallPackage</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/InstallPackage_rb.html">InstallPackage.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> + <a href="Package.html"> +Package + </a> + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,127,152" href="InstallPackage.html" alt="InstallPackage"> + <area shape="RECT" coords="42,8,114,56" href="Package.html" alt="Package"> +</map> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +InstallPackage.rb +</p> +<p> +<a href="InstallPackage.html">InstallPackage</a> class provides for +installation of AbTLinux packages. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-18 09:22:05 UTC (rev 96) +++ src/trunk/doc/created.rid 2006-05-18 14:11:12 UTC (rev 97) @@ -1 +1 @@ -Thu May 18 11:19:38 CEST 2006 +Thu May 18 16:09:46 CEST 2006 Added: src/trunk/doc/dot/f_1.dot =================================================================== --- src/trunk/doc/dot/f_1.dot (rev 0) +++ src/trunk/doc/dot/f_1.dot 2006-05-18 14:11:12 UTC (rev 97) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "InstallPackage.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_2 { + fontname = Arial + color = red + label = "InstallPackage.rb" + InstallPackage [ + fontcolor = black, + URL = "classes/InstallPackage.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "InstallPackage" + ] + + } + + Package [ + URL = "classes/Package.html", + label = "Package" + ] + + Package -> InstallPackage [ + + ] + +} + Added: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_1.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: src/trunk/doc/files/InstallPackage_rb.html =================================================================== --- src/trunk/doc/files/InstallPackage_rb.html (rev 0) +++ src/trunk/doc/files/InstallPackage_rb.html 2006-05-18 14:11:12 UTC (rev 97) @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: InstallPackage.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />InstallPackage.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>InstallPackage.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Thu May 18 16:08:07 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,127,152" href="../classes/InstallPackage.html" alt="InstallPackage"> + <area shape="RECT" coords="42,8,114,56" href="../classes/Package.html" alt="Package"> +</map> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +InstallPackage.rb +</p> +<p> +<a href="../classes/InstallPackage.html">InstallPackage</a> class provides +for installation of AbTLinux packages. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-18 09:22:05 UTC (rev 96) +++ src/trunk/doc/fr_class_index.html 2006-05-18 14:11:12 UTC (rev 97) @@ -41,6 +41,7 @@ <body> <div class="banner">Classes</div> <div class="entries"> +<a href="classes/InstallPackage.html">InstallPackage</a><br> <a href="classes/Package.html">Package</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-18 09:22:05 UTC (rev 96) +++ src/trunk/doc/fr_file_index.html 2006-05-18 14:11:12 UTC (rev 97) @@ -41,6 +41,7 @@ <body> <div class="banner">Files</div> <div class="entries"> +<a href="files/InstallPackage_rb.html">InstallPackage.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-18 09:22:05 UTC (rev 96) +++ src/trunk/docGen.sh 2006-05-18 14:11:12 UTC (rev 97) @@ -15,8 +15,8 @@ # REVISION: --- #=============================================================================== -FILES=Package.rb -TEMPLATE=./abtTemplate.rb +FILES="Package.rb InstallPackage.rb"; +TEMPLATE="./abtTemplate.rb"; # run the actual doc generation. rdoc --diagram \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-19 11:11:51
|
Revision: 98 Author: eschabell Date: 2006-05-19 04:11:31 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=98&view=rev Log Message: ----------- Manager super class added. Removed InstallPackage class, this will appear under the Manager class later. Regeneratged and updated docs. Modified Paths: -------------- src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.dot src/trunk/doc/dot/f_1.png src/trunk/doc/files/Package_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/Manager.rb src/trunk/doc/classes/Manager.html src/trunk/doc/files/Manager_rb.html Removed Paths: ------------- src/trunk/InstallPackage.rb src/trunk/doc/classes/InstallPackage.html src/trunk/doc/files/InstallPackage_rb.html Deleted: src/trunk/InstallPackage.rb =================================================================== --- src/trunk/InstallPackage.rb 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/InstallPackage.rb 2006-05-19 11:11:31 UTC (rev 98) @@ -1,36 +0,0 @@ -#!/usr/bin/ruby -w - -## -# InstallPackage.rb -# -# InstallPackage class provides for installation of AbTLinux packages. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class InstallPackage < Package - - protected - - private - - public - -end Copied: src/trunk/Manager.rb (from rev 97, src/trunk/InstallPackage.rb) =================================================================== --- src/trunk/Manager.rb (rev 0) +++ src/trunk/Manager.rb 2006-05-19 11:11:31 UTC (rev 98) @@ -0,0 +1,49 @@ +#!/usr/bin/ruby -w + +## +# Manager.rb +# +# Manager is super class for all other AbTLinux manager classes to inherit +# from. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class Manager + + attr_reader :managerType + + protected + + private + + public + + ## + # Constructor that sets the type of manager being created. + # + # <b>PARAM</b> <i>String</i> - the name of the manager type being created. + # <b>RETURN</b> <i>Manager</i> - an initialized Manager object. + ## + def initialize( type ) + @managerType = type + end + +end Deleted: src/trunk/doc/classes/InstallPackage.html =================================================================== --- src/trunk/doc/classes/InstallPackage.html 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/classes/InstallPackage.html 2006-05-19 11:11:31 UTC (rev 98) @@ -1,132 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> - <head> - <title>Class: InstallPackage</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> - - <script language="JavaScript" type="text/javascript"> - // <![CDATA[ - - function toggleSource( id ) - { - var elem - var link - - if( document.getElementById ) - { - elem = document.getElementById( id ) - link = document.getElementById( "l_" + id ) - } - else if ( document.all ) - { - elem = eval( "document.all." + id ) - link = eval( "document.all.l_" + id ) - } - else - return false; - - if( elem.style.display == "block" ) - { - elem.style.display = "none" - link.innerHTML = "show source" - } - else - { - elem.style.display = "block" - link.innerHTML = "hide source" - } - } - - function openCode( url ) - { - window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) - } - // ]]> - </script> - </head> - - <body> - <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> - <td class="file-title"><span class="file-title-prefix">Class</span><br />InstallPackage</td> - <td align="right"> - <table cellspacing=0 cellpadding=2> - <tr valign="top"> - <td>In:</td> - <td> -<a href="../files/InstallPackage_rb.html">InstallPackage.rb</a> - </td> - </tr> - <tr> - <td>Parent:</td> - <td> - <a href="Package.html"> -Package - </a> - </td> - </tr> - </table> - </td> - </tr> - </table> - <!-- banner header --> - - <div id="bodyContent"> - <div id="content"> - <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> - <map id="map" name="map"> - <area shape="RECT" coords="29,104,127,152" href="InstallPackage.html" alt="InstallPackage"> - <area shape="RECT" coords="42,8,114,56" href="Package.html" alt="Package"> -</map> -<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> - </td></tr></table> - - <div class="description"><p> -InstallPackage.rb -</p> -<p> -<a href="InstallPackage.html">InstallPackage</a> class provides for -installation of AbTLinux packages. -</p> -<p> -Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. -</p> -<p> -This file is part of AbTLinux. -</p> -<p> -AbTLinux is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your option) -any later version. -</p> -<p> -AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -details. -</p> -<p> -You should have received a copy of the GNU General Public License along -with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 -Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -</p> -</div> - - - - - - - - - -</div> - - </div> - - </body> -</html> \ No newline at end of file Added: src/trunk/doc/classes/Manager.html =================================================================== --- src/trunk/doc/classes/Manager.html (rev 0) +++ src/trunk/doc/classes/Manager.html 2006-05-19 11:11:31 UTC (rev 98) @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: Manager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />Manager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/Manager_rb.html">Manager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,101,100" href="Manager.html" alt="Manager"> +</map> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +Manager.rb +</p> +<p> +<a href="Manager.html">Manager</a> is super class for all other AbTLinux +manager classes to inherit from. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000001">new</a></li> + </ul> + + + + + + <div class="sectiontitle">Attributes</div> + <table border='0' cellpadding='5'> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>managerType</td> + <td class='attr-desc'></td> + </tr> + </table> + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000001"></a><b>new</b>( type ) + </div> + <div class="description"> + <p> +Constructor that sets the type of manager being created. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the manager type being created. +<b>RETURN</b> <em><a href="Manager.html">Manager</a></em> - an initialized +<a href="Manager.html">Manager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> + <div id="M000001_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Manager.rb, line 45</span> +45: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">type</span> ) +46: <span class="ruby-ivar">@managerType</span> = <span class="ruby-identifier">type</span> +47: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/classes/Package.html 2006-05-19 11:11:31 UTC (rev 98) @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000004">build</a></li> - <li><a href="#M000003">configure</a></li> - <li><a href="#M000001">details</a></li> - <li><a href="#M000006">install</a></li> - <li><a href="#M000007">post</a></li> - <li><a href="#M000002">pre</a></li> - <li><a href="#M000005">preinstall</a></li> + <li><a href="#M000005">build</a></li> + <li><a href="#M000004">configure</a></li> + <li><a href="#M000002">details</a></li> + <li><a href="#M000007">install</a></li> + <li><a href="#M000008">post</a></li> + <li><a href="#M000003">pre</a></li> + <li><a href="#M000006">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000004"></a><b>build</b>() + <a name="M000005"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> - <div id="M000004_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> + <div id="M000005_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000003"></a><b>configure</b>() + <a name="M000004"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> - <div id="M000003_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> + <div id="M000004_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000001"></a><b>details</b>() + <a name="M000002"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> - <div id="M000001_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> + <div id="M000002_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000006"></a><b>install</b>() + <a name="M000007"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> - <div id="M000006_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> + <div id="M000007_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000007"></a><b>post</b>() + <a name="M000008"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> - <div id="M000007_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> + <div id="M000008_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000002"></a><b>pre</b>() + <a name="M000003"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> - <div id="M000002_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> + <div id="M000003_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000005"></a><b>preinstall</b>() + <a name="M000006"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> - <div id="M000005_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> + <div id="M000006_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/created.rid 2006-05-19 11:11:31 UTC (rev 98) @@ -1 +1 @@ -Thu May 18 16:09:46 CEST 2006 +Fri May 19 13:12:02 CEST 2006 Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_1.dot =================================================================== --- src/trunk/doc/dot/f_1.dot 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/dot/f_1.dot 2006-05-19 11:11:31 UTC (rev 98) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "InstallPackage.rb" + label = "Manager.rb" node [ fontname = Arial, fontsize = 8, @@ -13,26 +13,17 @@ subgraph cluster_2 { fontname = Arial color = red - label = "InstallPackage.rb" - InstallPackage [ + label = "Manager.rb" + Manager [ fontcolor = black, - URL = "classes/InstallPackage.html", + URL = "classes/Manager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "InstallPackage" + label = "Manager" ] } - Package [ - URL = "classes/Package.html", - label = "Package" - ] - - Package -> InstallPackage [ - - ] - } Modified: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Deleted: src/trunk/doc/files/InstallPackage_rb.html =================================================================== --- src/trunk/doc/files/InstallPackage_rb.html 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/files/InstallPackage_rb.html 2006-05-19 11:11:31 UTC (rev 98) @@ -1,130 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> - <head> - <title>File: InstallPackage.rb</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> - - <script language="JavaScript" type="text/javascript"> - // <![CDATA[ - - function toggleSource( id ) - { - var elem - var link - - if( document.getElementById ) - { - elem = document.getElementById( id ) - link = document.getElementById( "l_" + id ) - } - else if ( document.all ) - { - elem = eval( "document.all." + id ) - link = eval( "document.all.l_" + id ) - } - else - return false; - - if( elem.style.display == "block" ) - { - elem.style.display = "none" - link.innerHTML = "show source" - } - else - { - elem.style.display = "block" - link.innerHTML = "hide source" - } - } - - function openCode( url ) - { - window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) - } - // ]]> - </script> - </head> - - <body> - <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> - <tr><td> - <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> - <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />InstallPackage.rb</td> - <td align="right"> - <table border='0' cellspacing="0" cellpadding="2"> - <tr> - <td>Path:</td> - <td>InstallPackage.rb - </td> - </tr> - <tr> - <td>Modified:</td> - <td>Thu May 18 16:08:07 CEST 2006</td> - </tr> - </table> - </td></tr> - </table> - </td></tr> -</table><br> - <!-- banner header --> - - <div id="bodyContent"> - <div id="content"> - <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> - <map id="map" name="map"> - <area shape="RECT" coords="29,104,127,152" href="../classes/InstallPackage.html" alt="InstallPackage"> - <area shape="RECT" coords="42,8,114,56" href="../classes/Package.html" alt="Package"> -</map> -<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> - </td></tr></table> - - <div class="description"><p> -InstallPackage.rb -</p> -<p> -<a href="../classes/InstallPackage.html">InstallPackage</a> class provides -for installation of AbTLinux packages. -</p> -<p> -Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. -</p> -<p> -This file is part of AbTLinux. -</p> -<p> -AbTLinux is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your option) -any later version. -</p> -<p> -AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -details. -</p> -<p> -You should have received a copy of the GNU General Public License along -with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 -Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -</p> -</div> - - - - - - - - - -</div> - - </div> - - </body> -</html> \ No newline at end of file Added: src/trunk/doc/files/Manager_rb.html =================================================================== --- src/trunk/doc/files/Manager_rb.html (rev 0) +++ src/trunk/doc/files/Manager_rb.html 2006-05-19 11:11:31 UTC (rev 98) @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: Manager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />Manager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>Manager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Fri May 19 13:10:44 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,101,100" href="../classes/Manager.html" alt="Manager"> +</map> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +Manager.rb +</p> +<p> +<a href="../classes/Manager.html">Manager</a> is super class for all other +AbTLinux manager classes to inherit from. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/files/Package_rb.html 2006-05-19 11:11:31 UTC (rev 98) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Thu May 18 11:19:24 CEST 2006</td> + <td>Fri May 19 13:10:46 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/fr_class_index.html 2006-05-19 11:11:31 UTC (rev 98) @@ -41,7 +41,7 @@ <body> <div class="banner">Classes</div> <div class="entries"> -<a href="classes/InstallPackage.html">InstallPackage</a><br> +<a href="classes/Manager.html">Manager</a><br> <a href="classes/Package.html">Package</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/fr_file_index.html 2006-05-19 11:11:31 UTC (rev 98) @@ -41,7 +41,7 @@ <body> <div class="banner">Files</div> <div class="entries"> -<a href="files/InstallPackage_rb.html">InstallPackage.rb</a><br> +<a href="files/Manager_rb.html">Manager.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/doc/fr_method_index.html 2006-05-19 11:11:31 UTC (rev 98) @@ -41,12 +41,13 @@ <body> <div class="banner">Methods</div> <div class="entries"> -<a href="classes/Package.html#M000004">build (Package)</a><br> -<a href="classes/Package.html#M000003">configure (Package)</a><br> -<a href="classes/Package.html#M000001">details (Package)</a><br> -<a href="classes/Package.html#M000006">install (Package)</a><br> -<a href="classes/Package.html#M000007">post (Package)</a><br> -<a href="classes/Package.html#M000002">pre (Package)</a><br> -<a href="classes/Package.html#M000005">preinstall (Package)</a><br> +<a href="classes/Package.html#M000005">build (Package)</a><br> +<a href="classes/Package.html#M000004">configure (Package)</a><br> +<a href="classes/Package.html#M000002">details (Package)</a><br> +<a href="classes/Package.html#M000007">install (Package)</a><br> +<a href="classes/Manager.html#M000001">new (Manager)</a><br> +<a href="classes/Package.html#M000008">post (Package)</a><br> +<a href="classes/Package.html#M000003">pre (Package)</a><br> +<a href="classes/Package.html#M000006">preinstall (Package)</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-18 14:11:12 UTC (rev 97) +++ src/trunk/docGen.sh 2006-05-19 11:11:31 UTC (rev 98) @@ -15,7 +15,7 @@ # REVISION: --- #=============================================================================== -FILES="Package.rb InstallPackage.rb"; +FILES="Package.rb Manager.rb"; TEMPLATE="./abtTemplate.rb"; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-19 11:41:16
|
Revision: 100 Author: eschabell Date: 2006-05-19 04:40:42 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=100&view=rev Log Message: ----------- Added DownloadManager class, updated docGen and regenerated docs. Modified Paths: -------------- src/trunk/doc/created.rid src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.png src/trunk/doc/dot/f_2.png src/trunk/doc/files/Manager_rb.html src/trunk/doc/files/PackageManager_rb.html src/trunk/doc/files/Package_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/DownloadManager.rb src/trunk/doc/classes/DownloadManager.html src/trunk/doc/dot/f_3.dot src/trunk/doc/dot/f_3.png src/trunk/doc/files/DownloadManager_rb.html Added: src/trunk/DownloadManager.rb =================================================================== --- src/trunk/DownloadManager.rb (rev 0) +++ src/trunk/DownloadManager.rb 2006-05-19 11:40:42 UTC (rev 100) @@ -0,0 +1,76 @@ +#!/usr/bin/ruby -w + +## +# DownloadManager.rb +# +# DownloadManager class handles all downloading of components needed for +# AbTLinux. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class DownloadManager < Manager + + protected + + private + + public + + ## + # Constructor that sets the type of manager being created. + # + # <b>RETURN</b> <i>DownloadManager</i> - an initialized DownloadManager object. + ## + def initialize + @managerType = "DownloadManager" + end + + ## + # Downloads a given package source. + # + # <b>PARAM</b> <i>String</i> - the name of the package for which the source + # is to be downloaded. + # <b>RETURN</b> <i>boolean</i> - True if the package source has been + # downloaded, otherwise false. + ## + def retreiveSource( packageName ) + end + + ## + # Downloads a given pacakge tree. + # + # <b>PARAM</b> <i>String</i> - the name of the package tree to be retrieved. + # <b>RETURN</b> <i>boolean</i> - True if the package tree is retrieved, otherwise + # false. + ## + def retrieveTree( packageTreeName ) + end + + ## + # Retrieves the AbTLinux news feed. + # + # <b>RETURN</b> <i>boolean</i> - True if the AbTLinux news feed has been + # retrieved, otherwise false. + ## + def retrieveNews + end + +end Added: src/trunk/doc/classes/DownloadManager.html =================================================================== --- src/trunk/doc/classes/DownloadManager.html (rev 0) +++ src/trunk/doc/classes/DownloadManager.html 2006-05-19 11:40:42 UTC (rev 100) @@ -0,0 +1,240 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: DownloadManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />DownloadManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/DownloadManager_rb.html">DownloadManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> + <a href="Manager.html"> +Manager + </a> + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,143,152" href="DownloadManager.html" alt="DownloadManager"> + <area shape="RECT" coords="50,8,122,56" href="Manager.html" alt="Manager"> +</map> +<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +DownloadManager.rb +</p> +<p> +<a href="DownloadManager.html">DownloadManager</a> class handles all +downloading of components needed for AbTLinux. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000015">new</a></li> + <li><a href="#M000016">retreiveSource</a></li> + <li><a href="#M000018">retrieveNews</a></li> + <li><a href="#M000017">retrieveTree</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000015"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor that sets the type of manager being created. +</p> +<p> +<b>RETURN</b> <em><a href="DownloadManager.html">DownloadManager</a></em> - +an initialized <a href="DownloadManager.html">DownloadManager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show source</a> ]</p> + <div id="M000015_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"DownloadManager"</span> +44: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000016"></a><b>retreiveSource</b>( packageName ) + </div> + <div class="description"> + <p> +Downloads a given package source. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package for which the source +is to be downloaded. <b>RETURN</b> <em>boolean</em> - True if the package +source has been downloaded, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show source</a> ]</p> + <div id="M000016_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 54</span> +54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retreiveSource</span>( <span class="ruby-identifier">packageName</span> ) +55: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000018"></a><b>retrieveNews</b>() + </div> + <div class="description"> + <p> +Retrieves the AbTLinux news feed. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the AbTLinux news feed has been +retrieved, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> + <div id="M000018_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 73</span> +73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNews</span> +74: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000017"></a><b>retrieveTree</b>( packageTreeName ) + </div> + <div class="description"> + <p> +Downloads a given pacakge tree. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package tree to be +retrieved. <b>RETURN</b> <em>boolean</em> - True if the package tree is +retrieved, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> + <div id="M000017_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 64</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveTree</span>( <span class="ruby-identifier">packageTreeName</span> ) +65: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/doc/created.rid 2006-05-19 11:40:42 UTC (rev 100) @@ -1 +1 @@ -Fri May 19 13:24:52 CEST 2006 +Fri May 19 13:42:27 CEST 2006 Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_2.png =================================================================== (Binary files differ) Added: src/trunk/doc/dot/f_3.dot =================================================================== --- src/trunk/doc/dot/f_3.dot (rev 0) +++ src/trunk/doc/dot/f_3.dot 2006-05-19 11:40:42 UTC (rev 100) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "DownloadManager.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_4 { + fontname = Arial + color = red + label = "DownloadManager.rb" + DownloadManager [ + fontcolor = black, + URL = "classes/DownloadManager.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "DownloadManager" + ] + + } + + Manager [ + URL = "classes/Manager.html", + label = "Manager" + ] + + Manager -> DownloadManager [ + + ] + +} + Added: src/trunk/doc/dot/f_3.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_3.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: src/trunk/doc/files/DownloadManager_rb.html =================================================================== --- src/trunk/doc/files/DownloadManager_rb.html (rev 0) +++ src/trunk/doc/files/DownloadManager_rb.html 2006-05-19 11:40:42 UTC (rev 100) @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: DownloadManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />DownloadManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>DownloadManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Fri May 19 13:42:08 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,143,152" href="../classes/DownloadManager.html" alt="DownloadManager"> + <area shape="RECT" coords="50,8,122,56" href="../classes/Manager.html" alt="Manager"> +</map> +<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +DownloadManager.rb +</p> +<p> +<a href="../classes/DownloadManager.html">DownloadManager</a> class handles +all downloading of components needed for AbTLinux. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/files/Manager_rb.html =================================================================== --- src/trunk/doc/files/Manager_rb.html 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/doc/files/Manager_rb.html 2006-05-19 11:40:42 UTC (rev 100) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Fri May 19 13:11:24 CEST 2006</td> + <td>Fri May 19 13:10:44 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/PackageManager_rb.html =================================================================== --- src/trunk/doc/files/PackageManager_rb.html 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/doc/files/PackageManager_rb.html 2006-05-19 11:40:42 UTC (rev 100) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Fri May 19 13:24:28 CEST 2006</td> + <td>Fri May 19 13:29:25 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/doc/files/Package_rb.html 2006-05-19 11:40:42 UTC (rev 100) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Thu May 18 11:19:24 CEST 2006</td> + <td>Fri May 19 13:10:46 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/doc/fr_class_index.html 2006-05-19 11:40:42 UTC (rev 100) @@ -41,6 +41,7 @@ <body> <div class="banner">Classes</div> <div class="entries"> +<a href="classes/DownloadManager.html">DownloadManager</a><br> <a href="classes/Manager.html">Manager</a><br> <a href="classes/Package.html">Package</a><br> <a href="classes/PackageManager.html">PackageManager</a><br> Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/doc/fr_file_index.html 2006-05-19 11:40:42 UTC (rev 100) @@ -41,6 +41,7 @@ <body> <div class="banner">Files</div> <div class="entries"> +<a href="files/DownloadManager_rb.html">DownloadManager.rb</a><br> <a href="files/Manager_rb.html">Manager.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> <a href="files/PackageManager_rb.html">PackageManager.rb</a><br> Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/doc/fr_method_index.html 2006-05-19 11:40:42 UTC (rev 100) @@ -48,6 +48,7 @@ <a href="classes/PackageManager.html#M000002">install (PackageManager)</a><br> <a href="classes/Package.html#M000013">install (Package)</a><br> <a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> +<a href="classes/DownloadManager.html#M000015">new (DownloadManager)</a><br> <a href="classes/Manager.html#M000007">new (Manager)</a><br> <a href="classes/Package.html#M000014">post (Package)</a><br> <a href="classes/Package.html#M000009">pre (Package)</a><br> @@ -55,5 +56,8 @@ <a href="classes/PackageManager.html#M000003">reinstall (PackageManager)</a><br> <a href="classes/PackageManager.html#M000006">remove (PackageManager)</a><br> <a href="classes/PackageManager.html#M000004">remove (PackageManager)</a><br> +<a href="classes/DownloadManager.html#M000016">retreiveSource (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000018">retrieveNews (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000017">retrieveTree (DownloadManager)</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-19 11:26:35 UTC (rev 99) +++ src/trunk/docGen.sh 2006-05-19 11:40:42 UTC (rev 100) @@ -15,7 +15,7 @@ # REVISION: --- #=============================================================================== -FILES="Package.rb Manager.rb PackageManager.rb"; +FILES="Package.rb Manager.rb PackageManager.rb DownloadManager.rb"; TEMPLATE="./abtTemplate.rb"; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-19 11:41:17
|
Revision: 99 Author: eschabell Date: 2006-05-19 04:26:35 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=99&view=rev Log Message: ----------- PackageManager class placeholder added. Updated docGen to include this in generation and regenerated docs. Modified Paths: -------------- src/trunk/doc/classes/Manager.html src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.png src/trunk/doc/files/Manager_rb.html src/trunk/doc/files/Package_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/PackageManager.rb src/trunk/doc/classes/PackageManager.html src/trunk/doc/dot/f_2.dot src/trunk/doc/dot/f_2.png src/trunk/doc/files/PackageManager_rb.html Added: src/trunk/PackageManager.rb =================================================================== --- src/trunk/PackageManager.rb (rev 0) +++ src/trunk/PackageManager.rb 2006-05-19 11:26:35 UTC (rev 99) @@ -0,0 +1,98 @@ +#!/usr/bin/ruby -w + +## +# PackageManager.rb +# +# PackageManager class will take care of the installation, removal, updating, +# downgrading and freezing of AbTLinux software packages. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class PackageManager < Manager + + protected + + private + + public + + ## + # Constructor that sets the type of manager being created. + # + # <b>RETURN</b> <i>PackageManager</i> - an initialized PackageManager object. + ## + def initialize + @managerType = "PackageManager" + end + + ## + # Installs a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be installed. + # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise + # false. + ## + def install( packageName ) + end + + ## + # Reinstalls a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be reinstalled. + # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise + # false. + ## + def reinstall( packageName ) + end + + ## + # Removes a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be removed. + # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise + # false. + ## + def remove( packageName ) + end + + ## + # Downgrades a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be downgraded. + # <b>PARAM</b> <i>String</i> - the version number to be downgraded to. + # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise + # false. + ## + def downgrade( packageName, verison ) + end + + ## + # Freezes a given package. If successful will add give package to the frozen + # list. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be frozen. + # <b>RETURN</b> <i>boolean</i> - True if the package is frozen, otherwise + # false. + ## + def remove( packageName ) + end + +end Modified: src/trunk/doc/classes/Manager.html =================================================================== --- src/trunk/doc/classes/Manager.html 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/classes/Manager.html 2006-05-19 11:26:35 UTC (rev 99) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000001">new</a></li> + <li><a href="#M000007">new</a></li> </ul> @@ -138,7 +138,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000001"></a><b>new</b>( type ) + <a name="M000007"></a><b>new</b>( type ) </div> <div class="description"> <p> @@ -151,8 +151,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> - <div id="M000001_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> + <div id="M000007_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Manager.rb, line 45</span> 45: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">type</span> ) Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/classes/Package.html 2006-05-19 11:26:35 UTC (rev 99) @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000005">build</a></li> - <li><a href="#M000004">configure</a></li> - <li><a href="#M000002">details</a></li> - <li><a href="#M000007">install</a></li> - <li><a href="#M000008">post</a></li> - <li><a href="#M000003">pre</a></li> - <li><a href="#M000006">preinstall</a></li> + <li><a href="#M000011">build</a></li> + <li><a href="#M000010">configure</a></li> + <li><a href="#M000008">details</a></li> + <li><a href="#M000013">install</a></li> + <li><a href="#M000014">post</a></li> + <li><a href="#M000009">pre</a></li> + <li><a href="#M000012">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000005"></a><b>build</b>() + <a name="M000011"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> - <div id="M000005_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show source</a> ]</p> + <div id="M000011_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000004"></a><b>configure</b>() + <a name="M000010"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> - <div id="M000004_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show source</a> ]</p> + <div id="M000010_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000002"></a><b>details</b>() + <a name="M000008"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> - <div id="M000002_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> + <div id="M000008_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000007"></a><b>install</b>() + <a name="M000013"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> - <div id="M000007_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show source</a> ]</p> + <div id="M000013_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000008"></a><b>post</b>() + <a name="M000014"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> - <div id="M000008_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show source</a> ]</p> + <div id="M000014_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000003"></a><b>pre</b>() + <a name="M000009"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> - <div id="M000003_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show source</a> ]</p> + <div id="M000009_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000006"></a><b>preinstall</b>() + <a name="M000012"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> - <div id="M000006_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show source</a> ]</p> + <div id="M000012_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Added: src/trunk/doc/classes/PackageManager.html =================================================================== --- src/trunk/doc/classes/PackageManager.html (rev 0) +++ src/trunk/doc/classes/PackageManager.html 2006-05-19 11:26:35 UTC (rev 99) @@ -0,0 +1,296 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: PackageManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />PackageManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/PackageManager_rb.html">PackageManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> + <a href="Manager.html"> +Manager + </a> + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,138,152" href="PackageManager.html" alt="PackageManager"> + <area shape="RECT" coords="48,8,120,56" href="Manager.html" alt="Manager"> +</map> +<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +PackageManager.rb +</p> +<p> +<a href="PackageManager.html">PackageManager</a> class will take care of +the installation, removal, updating, downgrading and freezing of AbTLinux +software packages. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000005">downgrade</a></li> + <li><a href="#M000002">install</a></li> + <li><a href="#M000001">new</a></li> + <li><a href="#M000003">reinstall</a></li> + <li><a href="#M000004">remove</a></li> + <li><a href="#M000006">remove</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000001"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor that sets the type of manager being created. +</p> +<p> +<b>RETURN</b> <em><a href="PackageManager.html">PackageManager</a></em> - +an initialized <a href="PackageManager.html">PackageManager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> + <div id="M000001_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File PackageManager.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"PackageManager"</span> +44: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000005"></a><b>downgrade</b>( packageName, verison ) + </div> + <div class="description"> + <p> +Downgrades a given package. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package to be downgraded. +<b>PARAM</b> <em>String</em> - the version number to be downgraded to. +<b>RETURN</b> <em>boolean</em> - True if the package is downgraded, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> + <div id="M000005_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File PackageManager.rb, line 84</span> +84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgrade</span>( <span class="ruby-identifier">packageName</span>, <span class="ruby-identifier">verison</span> ) +85: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000002"></a><b>install</b>( packageName ) + </div> + <div class="description"> + <p> +Installs a given package. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package to be installed. +<b>RETURN</b> <em>boolean</em> - True if the package is installed, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> + <div id="M000002_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File PackageManager.rb, line 53</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>( <span class="ruby-identifier">packageName</span> ) +54: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000003"></a><b>reinstall</b>( packageName ) + </div> + <div class="description"> + <p> +Reinstalls a given package. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package to be reinstalled. +<b>RETURN</b> <em>boolean</em> - True if the package is reinstalled, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> + <div id="M000003_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File PackageManager.rb, line 63</span> +63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstall</span>( <span class="ruby-identifier">packageName</span> ) +64: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000004"></a><b>remove</b>( packageName ) + </div> + <div class="description"> + <p> +Removes a given package. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package to be removed. +<b>RETURN</b> <em>boolean</em> - True if the package is removed, otherwise +false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> + <div id="M000004_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File PackageManager.rb, line 73</span> +73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">packageName</span> ) +74: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000006"></a><b>remove</b>( packageName ) + </div> + <div class="description"> + <p> +Freezes a given package. If successful will add give package to the frozen +list. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package to be frozen. +<b>RETURN</b> <em>boolean</em> - True if the package is frozen, otherwise +false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> + <div id="M000006_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File PackageManager.rb, line 95</span> +95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">packageName</span> ) +96: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/created.rid 2006-05-19 11:26:35 UTC (rev 99) @@ -1 +1 @@ -Fri May 19 13:12:02 CEST 2006 +Fri May 19 13:24:52 CEST 2006 Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Added: src/trunk/doc/dot/f_2.dot =================================================================== --- src/trunk/doc/dot/f_2.dot (rev 0) +++ src/trunk/doc/dot/f_2.dot 2006-05-19 11:26:35 UTC (rev 99) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "PackageManager.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_3 { + fontname = Arial + color = red + label = "PackageManager.rb" + PackageManager [ + fontcolor = black, + URL = "classes/PackageManager.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "PackageManager" + ] + + } + + Manager [ + URL = "classes/Manager.html", + label = "Manager" + ] + + Manager -> PackageManager [ + + ] + +} + Added: src/trunk/doc/dot/f_2.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_2.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/files/Manager_rb.html =================================================================== --- src/trunk/doc/files/Manager_rb.html 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/files/Manager_rb.html 2006-05-19 11:26:35 UTC (rev 99) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Fri May 19 13:10:44 CEST 2006</td> + <td>Fri May 19 13:11:24 CEST 2006</td> </tr> </table> </td></tr> Added: src/trunk/doc/files/PackageManager_rb.html =================================================================== --- src/trunk/doc/files/PackageManager_rb.html (rev 0) +++ src/trunk/doc/files/PackageManager_rb.html 2006-05-19 11:26:35 UTC (rev 99) @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: PackageManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />PackageManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>PackageManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Fri May 19 13:24:28 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,138,152" href="../classes/PackageManager.html" alt="PackageManager"> + <area shape="RECT" coords="48,8,120,56" href="../classes/Manager.html" alt="Manager"> +</map> +<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +PackageManager.rb +</p> +<p> +<a href="../classes/PackageManager.html">PackageManager</a> class will take +care of the installation, removal, updating, downgrading and freezing of +AbTLinux software packages. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/files/Package_rb.html 2006-05-19 11:26:35 UTC (rev 99) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Fri May 19 13:10:46 CEST 2006</td> + <td>Thu May 18 11:19:24 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/fr_class_index.html 2006-05-19 11:26:35 UTC (rev 99) @@ -43,5 +43,6 @@ <div class="entries"> <a href="classes/Manager.html">Manager</a><br> <a href="classes/Package.html">Package</a><br> +<a href="classes/PackageManager.html">PackageManager</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/fr_file_index.html 2006-05-19 11:26:35 UTC (rev 99) @@ -43,5 +43,6 @@ <div class="entries"> <a href="files/Manager_rb.html">Manager.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> +<a href="files/PackageManager_rb.html">PackageManager.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/doc/fr_method_index.html 2006-05-19 11:26:35 UTC (rev 99) @@ -41,13 +41,19 @@ <body> <div class="banner">Methods</div> <div class="entries"> -<a href="classes/Package.html#M000005">build (Package)</a><br> -<a href="classes/Package.html#M000004">configure (Package)</a><br> -<a href="classes/Package.html#M000002">details (Package)</a><br> -<a href="classes/Package.html#M000007">install (Package)</a><br> -<a href="classes/Manager.html#M000001">new (Manager)</a><br> -<a href="classes/Package.html#M000008">post (Package)</a><br> -<a href="classes/Package.html#M000003">pre (Package)</a><br> -<a href="classes/Package.html#M000006">preinstall (Package)</a><br> +<a href="classes/Package.html#M000011">build (Package)</a><br> +<a href="classes/Package.html#M000010">configure (Package)</a><br> +<a href="classes/Package.html#M000008">details (Package)</a><br> +<a href="classes/PackageManager.html#M000005">downgrade (PackageManager)</a><br> +<a href="classes/PackageManager.html#M000002">install (PackageManager)</a><br> +<a href="classes/Package.html#M000013">install (Package)</a><br> +<a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> +<a href="classes/Manager.html#M000007">new (Manager)</a><br> +<a href="classes/Package.html#M000014">post (Package)</a><br> +<a href="classes/Package.html#M000009">pre (Package)</a><br> +<a href="classes/Package.html#M000012">preinstall (Package)</a><br> +<a href="classes/PackageManager.html#M000003">reinstall (PackageManager)</a><br> +<a href="classes/PackageManager.html#M000006">remove (PackageManager)</a><br> +<a href="classes/PackageManager.html#M000004">remove (PackageManager)</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-19 11:11:31 UTC (rev 98) +++ src/trunk/docGen.sh 2006-05-19 11:26:35 UTC (rev 99) @@ -15,7 +15,7 @@ # REVISION: --- #=============================================================================== -FILES="Package.rb Manager.rb"; +FILES="Package.rb Manager.rb PackageManager.rb"; TEMPLATE="./abtTemplate.rb"; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-19 12:38:39
|
Revision: 101 Author: eschabell Date: 2006-05-19 05:38:12 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=101&view=rev Log Message: ----------- Added MaintenanceManager class, updated docGen and refreshed docs. Modified Paths: -------------- src/trunk/DownloadManager.rb src/trunk/PackageManager.rb src/trunk/doc/classes/DownloadManager.html src/trunk/doc/classes/Manager.html src/trunk/doc/classes/Package.html src/trunk/doc/classes/PackageManager.html src/trunk/doc/created.rid src/trunk/doc/files/DownloadManager_rb.html src/trunk/doc/files/PackageManager_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/MaintenanceManager.rb src/trunk/doc/classes/MainenanceManager.html src/trunk/doc/dot/f_4.dot src/trunk/doc/dot/f_4.png src/trunk/doc/files/MaintenanceManager_rb.html Modified: src/trunk/DownloadManager.rb =================================================================== --- src/trunk/DownloadManager.rb 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/DownloadManager.rb 2006-05-19 12:38:12 UTC (rev 101) @@ -40,7 +40,7 @@ # <b>RETURN</b> <i>DownloadManager</i> - an initialized DownloadManager object. ## def initialize - @managerType = "DownloadManager" + @managerType = "Download Manager" end ## Added: src/trunk/MaintenanceManager.rb =================================================================== --- src/trunk/MaintenanceManager.rb (rev 0) +++ src/trunk/MaintenanceManager.rb 2006-05-19 12:38:12 UTC (rev 101) @@ -0,0 +1,67 @@ +#!/usr/bin/ruby -w + +## +# MainenanceManager.rb +# +# MainenanceManager class handles all downloading of components needed for +# AbTLinux. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class MainenanceManager < Manager + + protected + + private + + public + + ## + # Constructor that sets the type of manager being created. + # + # <b>RETURN</b> <i>MainenanceManager</i> - an initialized MainenanceManager object. + ## + def initialize + @managerType = "Mainenance Manager" + end + + ## + # Sets the URI of a central repository for pre-compiled packages. + # + # <b>PARAM</b> <i>String</i> - the URI where the central repository is + # located. + # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. + ## + def setCentralRepo( uri ) + end + + ## + # Sets the location where the package tree is to be downloaded from, can be + # set to a local location. + # + # <b>PARAM</b> <i>String</i> - the location of the package tree. + # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise + # false. + ## + def setPackageTreeLocation( location ) + end + +end Modified: src/trunk/PackageManager.rb =================================================================== --- src/trunk/PackageManager.rb 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/PackageManager.rb 2006-05-19 12:38:12 UTC (rev 101) @@ -40,7 +40,7 @@ # <b>RETURN</b> <i>PackageManager</i> - an initialized PackageManager object. ## def initialize - @managerType = "PackageManager" + @managerType = "Package Manager" end ## Modified: src/trunk/doc/classes/DownloadManager.html =================================================================== --- src/trunk/doc/classes/DownloadManager.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/classes/DownloadManager.html 2006-05-19 12:38:12 UTC (rev 101) @@ -120,10 +120,10 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000015">new</a></li> - <li><a href="#M000016">retreiveSource</a></li> - <li><a href="#M000018">retrieveNews</a></li> - <li><a href="#M000017">retrieveTree</a></li> + <li><a href="#M000018">new</a></li> + <li><a href="#M000019">retreiveSource</a></li> + <li><a href="#M000021">retrieveNews</a></li> + <li><a href="#M000020">retrieveTree</a></li> </ul> @@ -134,7 +134,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000015"></a><b>new</b>() + <a name="M000018"></a><b>new</b>() </div> <div class="description"> <p> @@ -146,12 +146,12 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show source</a> ]</p> - <div id="M000015_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> + <div id="M000018_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"DownloadManager"</span> +43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"Download Manager"</span> 44: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -160,7 +160,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000016"></a><b>retreiveSource</b>( packageName ) + <a name="M000019"></a><b>retreiveSource</b>( packageName ) </div> <div class="description"> <p> @@ -173,8 +173,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show source</a> ]</p> - <div id="M000016_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> + <div id="M000019_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 54</span> 54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retreiveSource</span>( <span class="ruby-identifier">packageName</span> ) @@ -185,7 +185,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000018"></a><b>retrieveNews</b>() + <a name="M000021"></a><b>retrieveNews</b>() </div> <div class="description"> <p> @@ -197,8 +197,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> - <div id="M000018_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> + <div id="M000021_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 73</span> 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNews</span> @@ -209,7 +209,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000017"></a><b>retrieveTree</b>( packageTreeName ) + <a name="M000020"></a><b>retrieveTree</b>( packageTreeName ) </div> <div class="description"> <p> @@ -222,8 +222,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> - <div id="M000017_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> + <div id="M000020_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 64</span> 64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveTree</span>( <span class="ruby-identifier">packageTreeName</span> ) Added: src/trunk/doc/classes/MainenanceManager.html =================================================================== --- src/trunk/doc/classes/MainenanceManager.html (rev 0) +++ src/trunk/doc/classes/MainenanceManager.html 2006-05-19 12:38:12 UTC (rev 101) @@ -0,0 +1,217 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: MainenanceManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />MainenanceManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/MaintenanceManager_rb.html">MaintenanceManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> + <a href="Manager.html"> +Manager + </a> + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,154,152" href="MainenanceManager.html" alt="MainenanceManager"> + <area shape="RECT" coords="56,8,128,56" href="Manager.html" alt="Manager"> +</map> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +MainenanceManager.rb +</p> +<p> +<a href="MainenanceManager.html">MainenanceManager</a> class handles all +downloading of components needed for AbTLinux. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000007">new</a></li> + <li><a href="#M000008">setCentralRepo</a></li> + <li><a href="#M000009">setPackageTreeLocation</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000007"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor that sets the type of manager being created. +</p> +<p> +<b>RETURN</b> <em><a +href="MainenanceManager.html">MainenanceManager</a></em> - an initialized +<a href="MainenanceManager.html">MainenanceManager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> + <div id="M000007_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File MaintenanceManager.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"Mainenance Manager"</span> +44: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000008"></a><b>setCentralRepo</b>( uri ) + </div> + <div class="description"> + <p> +Sets the URI of a central repository for pre-compiled packages. +</p> +<p> +<b>PARAM</b> <em>String</em> - the URI where the central repository is +located. <b>RETURN</b> <em>boolean</em> - True if the URI is set, otherwise +false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> + <div id="M000008_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File MaintenanceManager.rb, line 53</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setCentralRepo</span>( <span class="ruby-identifier">uri</span> ) +54: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000009"></a><b>setPackageTreeLocation</b>( location ) + </div> + <div class="description"> + <p> +Sets the location where the package tree is to be downloaded from, can be +set to a local location. +</p> +<p> +<b>PARAM</b> <em>String</em> - the location of the package tree. +<b>RETURN</b> <em>boolean</em> - True if the package tree location is set, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show source</a> ]</p> + <div id="M000009_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File MaintenanceManager.rb, line 64</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setPackageTreeLocation</span>( <span class="ruby-identifier">location</span> ) +65: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/classes/Manager.html =================================================================== --- src/trunk/doc/classes/Manager.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/classes/Manager.html 2006-05-19 12:38:12 UTC (rev 101) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000007">new</a></li> + <li><a href="#M000010">new</a></li> </ul> @@ -138,7 +138,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000007"></a><b>new</b>( type ) + <a name="M000010"></a><b>new</b>( type ) </div> <div class="description"> <p> @@ -151,8 +151,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> - <div id="M000007_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show source</a> ]</p> + <div id="M000010_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Manager.rb, line 45</span> 45: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">type</span> ) Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/classes/Package.html 2006-05-19 12:38:12 UTC (rev 101) @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000011">build</a></li> - <li><a href="#M000010">configure</a></li> - <li><a href="#M000008">details</a></li> - <li><a href="#M000013">install</a></li> - <li><a href="#M000014">post</a></li> - <li><a href="#M000009">pre</a></li> - <li><a href="#M000012">preinstall</a></li> + <li><a href="#M000014">build</a></li> + <li><a href="#M000013">configure</a></li> + <li><a href="#M000011">details</a></li> + <li><a href="#M000016">install</a></li> + <li><a href="#M000017">post</a></li> + <li><a href="#M000012">pre</a></li> + <li><a href="#M000015">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000011"></a><b>build</b>() + <a name="M000014"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show source</a> ]</p> - <div id="M000011_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show source</a> ]</p> + <div id="M000014_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000010"></a><b>configure</b>() + <a name="M000013"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show source</a> ]</p> - <div id="M000010_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show source</a> ]</p> + <div id="M000013_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000008"></a><b>details</b>() + <a name="M000011"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> - <div id="M000008_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show source</a> ]</p> + <div id="M000011_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000013"></a><b>install</b>() + <a name="M000016"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show source</a> ]</p> - <div id="M000013_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show source</a> ]</p> + <div id="M000016_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000014"></a><b>post</b>() + <a name="M000017"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show source</a> ]</p> - <div id="M000014_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> + <div id="M000017_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000009"></a><b>pre</b>() + <a name="M000012"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show source</a> ]</p> - <div id="M000009_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show source</a> ]</p> + <div id="M000012_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000012"></a><b>preinstall</b>() + <a name="M000015"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show source</a> ]</p> - <div id="M000012_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show source</a> ]</p> + <div id="M000015_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Modified: src/trunk/doc/classes/PackageManager.html =================================================================== --- src/trunk/doc/classes/PackageManager.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/classes/PackageManager.html 2006-05-19 12:38:12 UTC (rev 101) @@ -154,7 +154,7 @@ <pre> <span class="ruby-comment cmt"># File PackageManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"PackageManager"</span> +43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"Package Manager"</span> 44: <span class="ruby-keyword kw">end</span> </pre> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/created.rid 2006-05-19 12:38:12 UTC (rev 101) @@ -1 +1 @@ -Fri May 19 13:42:27 CEST 2006 +Fri May 19 14:39:53 CEST 2006 Added: src/trunk/doc/dot/f_4.dot =================================================================== --- src/trunk/doc/dot/f_4.dot (rev 0) +++ src/trunk/doc/dot/f_4.dot 2006-05-19 12:38:12 UTC (rev 101) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "MaintenanceManager.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_5 { + fontname = Arial + color = red + label = "MaintenanceManager.rb" + MainenanceManager [ + fontcolor = black, + URL = "classes/MainenanceManager.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "MainenanceManager" + ] + + } + + Manager [ + URL = "classes/Manager.html", + label = "Manager" + ] + + Manager -> MainenanceManager [ + + ] + +} + Added: src/trunk/doc/dot/f_4.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_4.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/files/DownloadManager_rb.html =================================================================== --- src/trunk/doc/files/DownloadManager_rb.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/files/DownloadManager_rb.html 2006-05-19 12:38:12 UTC (rev 101) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Fri May 19 13:42:08 CEST 2006</td> + <td>Fri May 19 14:11:40 CEST 2006</td> </tr> </table> </td></tr> Added: src/trunk/doc/files/MaintenanceManager_rb.html =================================================================== --- src/trunk/doc/files/MaintenanceManager_rb.html (rev 0) +++ src/trunk/doc/files/MaintenanceManager_rb.html 2006-05-19 12:38:12 UTC (rev 101) @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: MaintenanceManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />MaintenanceManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>MaintenanceManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Fri May 19 14:39:08 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,154,152" href="../classes/MainenanceManager.html" alt="MainenanceManager"> + <area shape="RECT" coords="56,8,128,56" href="../classes/Manager.html" alt="Manager"> +</map> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +MainenanceManager.rb +</p> +<p> +<a href="../classes/MainenanceManager.html">MainenanceManager</a> class +handles all downloading of components needed for AbTLinux. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/files/PackageManager_rb.html =================================================================== --- src/trunk/doc/files/PackageManager_rb.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/files/PackageManager_rb.html 2006-05-19 12:38:12 UTC (rev 101) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Fri May 19 13:29:25 CEST 2006</td> + <td>Fri May 19 14:11:52 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/fr_class_index.html 2006-05-19 12:38:12 UTC (rev 101) @@ -42,6 +42,7 @@ <div class="banner">Classes</div> <div class="entries"> <a href="classes/DownloadManager.html">DownloadManager</a><br> +<a href="classes/MainenanceManager.html">MainenanceManager</a><br> <a href="classes/Manager.html">Manager</a><br> <a href="classes/Package.html">Package</a><br> <a href="classes/PackageManager.html">PackageManager</a><br> Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/fr_file_index.html 2006-05-19 12:38:12 UTC (rev 101) @@ -42,6 +42,7 @@ <div class="banner">Files</div> <div class="entries"> <a href="files/DownloadManager_rb.html">DownloadManager.rb</a><br> +<a href="files/MaintenanceManager_rb.html">MaintenanceManager.rb</a><br> <a href="files/Manager_rb.html">Manager.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> <a href="files/PackageManager_rb.html">PackageManager.rb</a><br> Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/doc/fr_method_index.html 2006-05-19 12:38:12 UTC (rev 101) @@ -41,23 +41,26 @@ <body> <div class="banner">Methods</div> <div class="entries"> -<a href="classes/Package.html#M000011">build (Package)</a><br> -<a href="classes/Package.html#M000010">configure (Package)</a><br> -<a href="classes/Package.html#M000008">details (Package)</a><br> +<a href="classes/Package.html#M000014">build (Package)</a><br> +<a href="classes/Package.html#M000013">configure (Package)</a><br> +<a href="classes/Package.html#M000011">details (Package)</a><br> <a href="classes/PackageManager.html#M000005">downgrade (PackageManager)</a><br> <a href="classes/PackageManager.html#M000002">install (PackageManager)</a><br> -<a href="classes/Package.html#M000013">install (Package)</a><br> +<a href="classes/Package.html#M000016">install (Package)</a><br> <a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> -<a href="classes/DownloadManager.html#M000015">new (DownloadManager)</a><br> -<a href="classes/Manager.html#M000007">new (Manager)</a><br> -<a href="classes/Package.html#M000014">post (Package)</a><br> -<a href="classes/Package.html#M000009">pre (Package)</a><br> -<a href="classes/Package.html#M000012">preinstall (Package)</a><br> +<a href="classes/Manager.html#M000010">new (Manager)</a><br> +<a href="classes/DownloadManager.html#M000018">new (DownloadManager)</a><br> +<a href="classes/MainenanceManager.html#M000007">new (MainenanceManager)</a><br> +<a href="classes/Package.html#M000017">post (Package)</a><br> +<a href="classes/Package.html#M000012">pre (Package)</a><br> +<a href="classes/Package.html#M000015">preinstall (Package)</a><br> <a href="classes/PackageManager.html#M000003">reinstall (PackageManager)</a><br> +<a href="classes/PackageManager.html#M000004">remove (PackageManager)</a><br> <a href="classes/PackageManager.html#M000006">remove (PackageManager)</a><br> -<a href="classes/PackageManager.html#M000004">remove (PackageManager)</a><br> -<a href="classes/DownloadManager.html#M000016">retreiveSource (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000018">retrieveNews (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000017">retrieveTree (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000019">retreiveSource (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000021">retrieveNews (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000020">retrieveTree (DownloadManager)</a><br> +<a href="classes/MainenanceManager.html#M000008">setCentralRepo (MainenanceManager)</a><br> +<a href="classes/MainenanceManager.html#M000009">setPackageTreeLocation (MainenanceManager)</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-19 11:40:42 UTC (rev 100) +++ src/trunk/docGen.sh 2006-05-19 12:38:12 UTC (rev 101) @@ -15,7 +15,7 @@ # REVISION: --- #=============================================================================== -FILES="Package.rb Manager.rb PackageManager.rb DownloadManager.rb"; +FILES="Package.rb Manager.rb PackageManager.rb DownloadManager.rb MaintenanceManager.rb"; TEMPLATE="./abtTemplate.rb"; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-20 13:02:47
|
Revision: 102 Author: eschabell Date: 2006-05-20 06:02:14 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=102&view=rev Log Message: ----------- Big shift on design after inspecting the multiple inheritance possiblities. Some renaming and dropped the Manager class. Docs regenerated. Modified Paths: -------------- src/trunk/DownloadManager.rb src/trunk/PackageManager.rb src/trunk/doc/classes/DownloadManager.html src/trunk/doc/classes/Package.html src/trunk/doc/classes/PackageManager.html src/trunk/doc/created.rid src/trunk/doc/dot/f_1.dot src/trunk/doc/dot/f_1.png src/trunk/doc/dot/f_2.dot src/trunk/doc/dot/f_2.png src/trunk/doc/dot/f_3.dot src/trunk/doc/dot/f_3.png src/trunk/doc/files/DownloadManager_rb.html src/trunk/doc/files/MaintenanceManager_rb.html src/trunk/doc/files/PackageManager_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/SystemManager.rb src/trunk/doc/classes/SystemManager.html src/trunk/doc/files/SystemManager_rb.html Removed Paths: ------------- src/trunk/MaintenanceManager.rb src/trunk/Manager.rb src/trunk/doc/classes/MainenanceManager.html src/trunk/doc/classes/Manager.html src/trunk/doc/dot/f_4.dot src/trunk/doc/dot/f_4.png src/trunk/doc/files/Manager_rb.html Modified: src/trunk/DownloadManager.rb =================================================================== --- src/trunk/DownloadManager.rb 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/DownloadManager.rb 2006-05-20 13:02:14 UTC (rev 102) @@ -26,7 +26,7 @@ # St, Fifth Floor, Boston, MA 02110-1301 USA ## -class DownloadManager < Manager +class DownloadManager protected @@ -35,12 +35,11 @@ public ## - # Constructor that sets the type of manager being created. + # Constructor for the DownloadManager class. # # <b>RETURN</b> <i>DownloadManager</i> - an initialized DownloadManager object. ## def initialize - @managerType = "Download Manager" end ## @@ -51,7 +50,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package source has been # downloaded, otherwise false. ## - def retreiveSource( packageName ) + def retrievePackageSource( packageName ) end ## @@ -61,7 +60,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package tree is retrieved, otherwise # false. ## - def retrieveTree( packageTreeName ) + def retrievePackageTree( packageTreeName ) end ## @@ -70,7 +69,26 @@ # <b>RETURN</b> <i>boolean</i> - True if the AbTLinux news feed has been # retrieved, otherwise false. ## - def retrieveNews + def retrieveNewsFeed end + ## + # Updates a given package with available patches (version updates). + # + # <b>PARAM</b> <i>String</i> - the name of the package to be updated. + # <b>RETURN</b> <i>boolean</i> - True if the given package has been updated, + # otherwise false. + ## + def updatePackage + end + + ## + # Updates the package tree. + # + # <b>RETURN</b> <i>boolean</i> - True if the package tree has been updated, + # otherwise false. + ## + def updatePackageTree + end + end Deleted: src/trunk/MaintenanceManager.rb =================================================================== --- src/trunk/MaintenanceManager.rb 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/MaintenanceManager.rb 2006-05-20 13:02:14 UTC (rev 102) @@ -1,67 +0,0 @@ -#!/usr/bin/ruby -w - -## -# MainenanceManager.rb -# -# MainenanceManager class handles all downloading of components needed for -# AbTLinux. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class MainenanceManager < Manager - - protected - - private - - public - - ## - # Constructor that sets the type of manager being created. - # - # <b>RETURN</b> <i>MainenanceManager</i> - an initialized MainenanceManager object. - ## - def initialize - @managerType = "Mainenance Manager" - end - - ## - # Sets the URI of a central repository for pre-compiled packages. - # - # <b>PARAM</b> <i>String</i> - the URI where the central repository is - # located. - # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. - ## - def setCentralRepo( uri ) - end - - ## - # Sets the location where the package tree is to be downloaded from, can be - # set to a local location. - # - # <b>PARAM</b> <i>String</i> - the location of the package tree. - # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise - # false. - ## - def setPackageTreeLocation( location ) - end - -end Deleted: src/trunk/Manager.rb =================================================================== --- src/trunk/Manager.rb 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/Manager.rb 2006-05-20 13:02:14 UTC (rev 102) @@ -1,49 +0,0 @@ -#!/usr/bin/ruby -w - -## -# Manager.rb -# -# Manager is super class for all other AbTLinux manager classes to inherit -# from. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class Manager - - attr_reader :managerType - - protected - - private - - public - - ## - # Constructor that sets the type of manager being created. - # - # <b>PARAM</b> <i>String</i> - the name of the manager type being created. - # <b>RETURN</b> <i>Manager</i> - an initialized Manager object. - ## - def initialize( type ) - @managerType = type - end - -end Modified: src/trunk/PackageManager.rb =================================================================== --- src/trunk/PackageManager.rb 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/PackageManager.rb 2006-05-20 13:02:14 UTC (rev 102) @@ -26,7 +26,7 @@ # St, Fifth Floor, Boston, MA 02110-1301 USA ## -class PackageManager < Manager +class PackageManager protected @@ -35,12 +35,11 @@ public ## - # Constructor that sets the type of manager being created. + # Constructor for PackageManager. # # <b>RETURN</b> <i>PackageManager</i> - an initialized PackageManager object. ## def initialize - @managerType = "Package Manager" end ## @@ -50,7 +49,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise # false. ## - def install( packageName ) + def install( package ) end ## @@ -60,7 +59,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise # false. ## - def reinstall( packageName ) + def reinstall( package ) end ## @@ -70,7 +69,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise # false. ## - def remove( packageName ) + def remove( package ) end ## @@ -81,7 +80,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise # false. ## - def downgrade( packageName, verison ) + def downgrade( package, verison ) end ## @@ -92,7 +91,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is frozen, otherwise # false. ## - def remove( packageName ) + def freezePackage( package ) end end Copied: src/trunk/SystemManager.rb (from rev 101, src/trunk/MaintenanceManager.rb) =================================================================== --- src/trunk/SystemManager.rb (rev 0) +++ src/trunk/SystemManager.rb 2006-05-20 13:02:14 UTC (rev 102) @@ -0,0 +1,137 @@ +#!/usr/bin/ruby -w + +## +# SystemManager.rb +# +# SystemManager class handles all aspects of the AbTLinux system. It takes +# care of such tasks as cleanup, fixing, verification and management of +# settings within the system. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class SystemManager + + protected + + private + + public + + ## + # Constructor for the System manager + # + # <b>RETURN</b> <i>SystemManager</i> - an initialized SystemManager object. + ## + def initialize + end + + ## + # Removes all sources for packages that are not currently installed. Makes + # use of install listing to determine package sources to keep. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def cleanupPackageSources + end + + ## + # All logs for packages not in install list are cleaned off the system. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def cleanupLogs + end + + ## + # Checks if files from given package install list are actually installed. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if no installed files are missing, otherwise + # false. + ## + def verifyInstalledFiles( package ) + end + + ## + # Checks if given packages installed symlinks are broken or missing. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if no symlinks found missing or broken, otherwise + # false. + ## + def verifySymlinks( package ) + end + + ## + # Checks the given packages dependencies for missing or broken dependencies. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if dependencies intact, otherwise + # false. + ## + def verifyPackageDepends( package ) + end + + ## + # Checks the given packages installed files against the integrity log for + # changes to installed files. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise + # hash of problem files and their encountered errors. + ## + def verifyPackageIntegrity( package ) + end + + ## + # Fixes the given package. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def fixPackage( package ) + end + + ## + # Sets the URI of a central repository for pre-compiled packages. + # + # <b>PARAM</b> <i>String</i> - the URI where the central repository is + # located. + # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. + ## + def setCentralRepo( uri ) + end + + ## + # Sets the location where the package tree is to be downloaded from, can be + # set to a local location. + # + # <b>PARAM</b> <i>String</i> - the location of the package tree. + # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise + # false. + ## + def setPackageTreeLocation( location ) + end + +end Modified: src/trunk/doc/classes/DownloadManager.html =================================================================== --- src/trunk/doc/classes/DownloadManager.html 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/doc/classes/DownloadManager.html 2006-05-20 13:02:14 UTC (rev 102) @@ -63,9 +63,7 @@ <tr> <td>Parent:</td> <td> - <a href="Manager.html"> -Manager - </a> +Object </td> </tr> </table> @@ -78,10 +76,9 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,104,143,152" href="DownloadManager.html" alt="DownloadManager"> - <area shape="RECT" coords="50,8,122,56" href="Manager.html" alt="Manager"> + <area shape="RECT" coords="29,52,143,100" href="DownloadManager.html" alt="DownloadManager"> </map> -<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -120,10 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000018">new</a></li> - <li><a href="#M000019">retreiveSource</a></li> - <li><a href="#M000021">retrieveNews</a></li> - <li><a href="#M000020">retrieveTree</a></li> + <li><a href="#M000024">new</a></li> + <li><a href="#M000027">retrieveNewsFeed</a></li> + <li><a href="#M000025">retrievePackageSource</a></li> + <li><a href="#M000026">retrievePackageTree</a></li> + <li><a href="#M000028">updatePackage</a></li> + <li><a href="#M000029">updatePackageTree</a></li> </ul> @@ -134,11 +133,12 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000018"></a><b>new</b>() + <a name="M000024"></a><b>new</b>() </div> <div class="description"> <p> -Constructor that sets the type of manager being created. +Constructor for the <a href="DownloadManager.html">DownloadManager</a> +class. </p> <p> <b>RETURN</b> <em><a href="DownloadManager.html">DownloadManager</a></em> - @@ -146,13 +146,12 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> - <div id="M000018_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> + <div id="M000024_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"Download Manager"</span> -44: <span class="ruby-keyword kw">end</span> +43: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -160,10 +159,34 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000019"></a><b>retreiveSource</b>( packageName ) + <a name="M000027"></a><b>retrieveNewsFeed</b>() </div> <div class="description"> <p> +Retrieves the AbTLinux news feed. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the AbTLinux news feed has been +retrieved, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> + <div id="M000027_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 72</span> +72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> +73: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000025"></a><b>retrievePackageSource</b>( packageName ) + </div> + <div class="description"> + <p> Downloads a given package source. </p> <p> @@ -173,66 +196,91 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> - <div id="M000019_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> + <div id="M000025_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 54</span> -54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retreiveSource</span>( <span class="ruby-identifier">packageName</span> ) -55: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 53</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) +54: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000021"></a><b>retrieveNews</b>() + <a name="M000026"></a><b>retrievePackageTree</b>( packageTreeName ) </div> <div class="description"> <p> -Retrieves the AbTLinux news feed. +Downloads a given pacakge tree. </p> <p> -<b>RETURN</b> <em>boolean</em> - True if the AbTLinux news feed has been +<b>PARAM</b> <em>String</em> - the name of the package tree to be +retrieved. <b>RETURN</b> <em>boolean</em> - True if the package tree is retrieved, otherwise false. </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> - <div id="M000021_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> + <div id="M000026_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 73</span> -73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNews</span> -74: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 63</span> +63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) +64: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000020"></a><b>retrieveTree</b>( packageTreeName ) + <a name="M000028"></a><b>updatePackage</b>() </div> <div class="description"> <p> -Downloads a given pacakge tree. +Updates a given package with available patches (version updates). </p> <p> -<b>PARAM</b> <em>String</em> - the name of the package tree to be -retrieved. <b>RETURN</b> <em>boolean</em> - True if the package tree is -retrieved, otherwise false. +<b>PARAM</b> <em>String</em> - the name of the package to be updated. +<b>RETURN</b> <em>boolean</em> - True if the given package has been +updated, otherwise false. </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> - <div id="M000020_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> + <div id="M000028_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 64</span> -64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveTree</span>( <span class="ruby-identifier">packageTreeName</span> ) -65: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 82</span> +82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> +83: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> +<div class="method"> + <div class="title"> + <a name="M000029"></a><b>updatePackageTree</b>() + </div> + <div class="description"> + <p> +Updates the package tree. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the package tree has been updated, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> + <div id="M000029_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 91</span> +91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> +92: <span class="ruby-keyword kw">end</span> +</pre> + </div> </div> +</div> +</div> </div> Deleted: src/trunk/doc/classes/MainenanceManager.html =================================================================== --- src/trunk/doc/classes/MainenanceManager.html 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/doc/classes/MainenanceManager.html 2006-05-20 13:02:14 UTC (rev 102) @@ -1,217 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> - <head> - <title>Class: MainenanceManager</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> - - <script language="JavaScript" type="text/javascript"> - // <![CDATA[ - - function toggleSource( id ) - { - var elem - var link - - if( document.getElementById ) - { - elem = document.getElementById( id ) - link = document.getElementById( "l_" + id ) - } - else if ( document.all ) - { - elem = eval( "document.all." + id ) - link = eval( "document.all.l_" + id ) - } - else - return false; - - if( elem.style.display == "block" ) - { - elem.style.display = "none" - link.innerHTML = "show source" - } - else - { - elem.style.display = "block" - link.innerHTML = "hide source" - } - } - - function openCode( url ) - { - window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) - } - // ]]> - </script> - </head> - - <body> - <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> - <td class="file-title"><span class="file-title-prefix">Class</span><br />MainenanceManager</td> - <td align="right"> - <table cellspacing=0 cellpadding=2> - <tr valign="top"> - <td>In:</td> - <td> -<a href="../files/MaintenanceManager_rb.html">MaintenanceManager.rb</a> - </td> - </tr> - <tr> - <td>Parent:</td> - <td> - <a href="Manager.html"> -Manager - </a> - </td> - </tr> - </table> - </td> - </tr> - </table> - <!-- banner header --> - - <div id="bodyContent"> - <div id="content"> - <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> - <map id="map" name="map"> - <area shape="RECT" coords="29,104,154,152" href="MainenanceManager.html" alt="MainenanceManager"> - <area shape="RECT" coords="56,8,128,56" href="Manager.html" alt="Manager"> -</map> -<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> - </td></tr></table> - - <div class="description"><p> -MainenanceManager.rb -</p> -<p> -<a href="MainenanceManager.html">MainenanceManager</a> class handles all -downloading of components needed for AbTLinux. -</p> -<p> -Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. -</p> -<p> -This file is part of AbTLinux. -</p> -<p> -AbTLinux is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your option) -any later version. -</p> -<p> -AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -details. -</p> -<p> -You should have received a copy of the GNU General Public License along -with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 -Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -</p> -</div> - - - - <div class="sectiontitle">Methods</div> - <ul> - <li><a href="#M000007">new</a></li> - <li><a href="#M000008">setCentralRepo</a></li> - <li><a href="#M000009">setPackageTreeLocation</a></li> - </ul> - - - - - - -<div class="sectiontitle">Public Class methods</div> -<div class="method"> - <div class="title"> - <a name="M000007"></a><b>new</b>() - </div> - <div class="description"> - <p> -Constructor that sets the type of manager being created. -</p> -<p> -<b>RETURN</b> <em><a -href="MainenanceManager.html">MainenanceManager</a></em> - an initialized -<a href="MainenanceManager.html">MainenanceManager</a> object. -</p> - </div> -<div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> - <div id="M000007_source" class="dyn-source"> -<pre> - <span class="ruby-comment cmt"># File MaintenanceManager.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"Mainenance Manager"</span> -44: <span class="ruby-keyword kw">end</span> -</pre> - </div> -</div> -</div> -<div class="sectiontitle">Public Instance methods</div> -<div class="method"> - <div class="title"> - <a name="M000008"></a><b>setCentralRepo</b>( uri ) - </div> - <div class="description"> - <p> -Sets the URI of a central repository for pre-compiled packages. -</p> -<p> -<b>PARAM</b> <em>String</em> - the URI where the central repository is -located. <b>RETURN</b> <em>boolean</em> - True if the URI is set, otherwise -false. -</p> - </div> -<div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> - <div id="M000008_source" class="dyn-source"> -<pre> - <span class="ruby-comment cmt"># File MaintenanceManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setCentralRepo</span>( <span class="ruby-identifier">uri</span> ) -54: <span class="ruby-keyword kw">end</span> -</pre> - </div> -</div> -</div> -<div class="method"> - <div class="title"> - <a name="M000009"></a><b>setPackageTreeLocation</b>( location ) - </div> - <div class="description"> - <p> -Sets the location where the package tree is to be downloaded from, can be -set to a local location. -</p> -<p> -<b>PARAM</b> <em>String</em> - the location of the package tree. -<b>RETURN</b> <em>boolean</em> - True if the package tree location is set, -otherwise false. -</p> - </div> -<div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show source</a> ]</p> - <div id="M000009_source" class="dyn-source"> -<pre> - <span class="ruby-comment cmt"># File MaintenanceManager.rb, line 64</span> -64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setPackageTreeLocation</span>( <span class="ruby-identifier">location</span> ) -65: <span class="ruby-keyword kw">end</span> -</pre> - </div> -</div> -</div> -</div> - - </div> - - </body> -</html> \ No newline at end of file Deleted: src/trunk/doc/classes/Manager.html =================================================================== --- src/trunk/doc/classes/Manager.html 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/doc/classes/Manager.html 2006-05-20 13:02:14 UTC (rev 102) @@ -1,170 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> - <head> - <title>Class: Manager</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> - <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> - - <script language="JavaScript" type="text/javascript"> - // <![CDATA[ - - function toggleSource( id ) - { - var elem - var link - - if( document.getElementById ) - { - elem = document.getElementById( id ) - link = document.getElementById( "l_" + id ) - } - else if ( document.all ) - { - elem = eval( "document.all." + id ) - link = eval( "document.all.l_" + id ) - } - else - return false; - - if( elem.style.display == "block" ) - { - elem.style.display = "none" - link.innerHTML = "show source" - } - else - { - elem.style.display = "block" - link.innerHTML = "hide source" - } - } - - function openCode( url ) - { - window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) - } - // ]]> - </script> - </head> - - <body> - <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> - <td class="file-title"><span class="file-title-prefix">Class</span><br />Manager</td> - <td align="right"> - <table cellspacing=0 cellpadding=2> - <tr valign="top"> - <td>In:</td> - <td> -<a href="../files/Manager_rb.html">Manager.rb</a> - </td> - </tr> - <tr> - <td>Parent:</td> - <td> -Object - </td> - </tr> - </table> - </td> - </tr> - </table> - <!-- banner header --> - - <div id="bodyContent"> - <div id="content"> - <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> - <map id="map" name="map"> - <area shape="RECT" coords="29,52,101,100" href="Manager.html" alt="Manager"> -</map> -<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> - </td></tr></table> - - <div class="description"><p> -Manager.rb -</p> -<p> -<a href="Manager.html">Manager</a> is super class for all other AbTLinux -manager classes to inherit from. -</p> -<p> -Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. -</p> -<p> -This file is part of AbTLinux. -</p> -<p> -AbTLinux is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your option) -any later version. -</p> -<p> -AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -details. -</p> -<p> -You should have received a copy of the GNU General Public License along -with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 -Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -</p> -</div> - - - - <div class="sectiontitle">Methods</div> - <ul> - <li><a href="#M000010">new</a></li> - </ul> - - - - - - <div class="sectiontitle">Attributes</div> - <table border='0' cellpadding='5'> - <tr valign='top'> - <td class='attr-rw'> -[R] - </td> - <td class='attr-name'>managerType</td> - <td class='attr-desc'></td> - </tr> - </table> - -<div class="sectiontitle">Public Class methods</div> -<div class="method"> - <div class="title"> - <a name="M000010"></a><b>new</b>( type ) - </div> - <div class="description"> - <p> -Constructor that sets the type of manager being created. -</p> -<p> -<b>PARAM</b> <em>String</em> - the name of the manager type being created. -<b>RETURN</b> <em><a href="Manager.html">Manager</a></em> - an initialized -<a href="Manager.html">Manager</a> object. -</p> - </div> -<div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show source</a> ]</p> - <div id="M000010_source" class="dyn-source"> -<pre> - <span class="ruby-comment cmt"># File Manager.rb, line 45</span> -45: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">type</span> ) -46: <span class="ruby-ivar">@managerType</span> = <span class="ruby-identifier">type</span> -47: <span class="ruby-keyword kw">end</span> -</pre> - </div> -</div> -</div> -</div> - - </div> - - </body> -</html> \ No newline at end of file Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/doc/classes/Package.html 2006-05-20 13:02:14 UTC (rev 102) @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000014">build</a></li> - <li><a href="#M000013">configure</a></li> - <li><a href="#M000011">details</a></li> - <li><a href="#M000016">install</a></li> - <li><a href="#M000017">post</a></li> - <li><a href="#M000012">pre</a></li> - <li><a href="#M000015">preinstall</a></li> + <li><a href="#M000020">build</a></li> + <li><a href="#M000019">configure</a></li> + <li><a href="#M000017">details</a></li> + <li><a href="#M000022">install</a></li> + <li><a href="#M000023">post</a></li> + <li><a href="#M000018">pre</a></li> + <li><a href="#M000021">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000014"></a><b>build</b>() + <a name="M000020"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show source</a> ]</p> - <div id="M000014_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> + <div id="M000020_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000013"></a><b>configure</b>() + <a name="M000019"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show source</a> ]</p> - <div id="M000013_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> + <div id="M000019_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000011"></a><b>details</b>() + <a name="M000017"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show source</a> ]</p> - <div id="M000011_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> + <div id="M000017_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000016"></a><b>install</b>() + <a name="M000022"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show source</a> ]</p> - <div id="M000016_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> + <div id="M000022_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000017"></a><b>post</b>() + <a name="M000023"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> - <div id="M000017_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> + <div id="M000023_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000012"></a><b>pre</b>() + <a name="M000018"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show source</a> ]</p> - <div id="M000012_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> + <div id="M000018_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000015"></a><b>preinstall</b>() + <a name="M000021"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show source</a> ]</p> - <div id="M000015_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> + <div id="M000021_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Modified: src/trunk/doc/classes/PackageManager.html =================================================================== --- src/trunk/doc/classes/PackageManager.html 2006-05-19 12:38:12 UTC (rev 101) +++ src/trunk/doc/classes/PackageManager.html 2006-05-20 13:02:14 UTC (rev 102) @@ -63,9 +63,7 @@ <tr> <td>Parent:</td> <td> - <a href="Manager.html"> -Manager - </a> +Object </td> </tr> </table> @@ -78,10 +76,9 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,104,138,152" href="PackageManager.html" alt="PackageManager"> - <area shape="RECT" coords="48,8,120,56" href="Manager.html" alt="Manager"> + <area shape="RECT" coords="29,52,138,100" href="PackageManager.html" alt="PackageManager"> </map> -<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -122,11 +119,11 @@ <div class="sectiontitle">Methods</div> <ul> <li><a href="#M000005">downgrade</a></li> + <li><a href="#M000006">freezePackage</a></li> <li><a href="#M000002">install</a></li> <li><a href="#M000001">new</a></li> <li><a href="#M000003">reinstall</a></li> <li><a href="#M000004">remove</a></li> - <li><a href="#M000006">remove</a></li> </ul> @@ -141,7 +138,7 @@ </div> <div class="description"> <p> -Constructor that sets the type of manager being created. +Constructor for <a href="PackageManager.html">PackageManager</a>. </p> <p> <b>RETURN</b> <em><a href="PackageManager.html">PackageManager</a></em> - @@ -154,8 +151,7 @@ <pre> <span class="ruby-comment cmt"># File PackageManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-ivar">@managerType</span> = <span class="ruby-value str">"Package Manager"</span> -44: <span class="ruby-keyword kw">end</span> +43: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -163,7 +159,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000005"></a><b>downgrade</b>( packageName, verison ) + <a name="M000005"></a><b>downgrade</b>( package, verison ) </div> <div class="description"> <p> @@ -180,19 +176,45 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> <div id="M000005_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 84</span> -84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgrade</span>( <span class="ruby-identifier">packageName</span>, <span class="ruby-identifier">verison</span> ) -85: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 83</span> +83: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgrade</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">verison</span> ) +84: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000002"></a><b>install</b>( packageName ) + <a name="M000006"></a><b>freezePackage</b>( package ) </div> <div class="description"> <p> +Freezes a given package. If successful will add give package to the frozen +list. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package to be frozen. +<b>RETURN</b> <em>boolean</em> - True if the package is frozen, otherwise +false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> + <div id="M000006_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File PackageManager.rb, line 94</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) +95: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000002"></a><b>install</b>( package ) + </div> + <div class="description"> + <p> Installs a given package. </p> <p> @@ -205,16 +227,16 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>( <span class="ruby-identifier">packageName</span> ) -54: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 52</span> +52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>( <span class="ruby-identifier">package</span> ) +53: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000003"></a><b>reinstall</b>( packageName ) + <a name="M000003"></a><b>reinstall</b>( package ) </div> <div class="description"> <p> @@ -230,16 +252,16 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 63</span> -63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstall</span>( <span class="ruby-identifier">packageName</span> ) -64: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 62</span> +62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstall</span>( <span class="ruby-identifier">package</span> ) +63: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000004"></a><b>remove</b>( packageName ) + <a name="M000004"></a><b>remove</b>( package ) </div> <div class="description"> <p> @@ -255,40 +277,14 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> <div id="M000004_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 73</span> -73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">packageName</span> ) -74: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 72</span> +72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">package</span> ) +73: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> -<div class="method"> - <div class="title"> - <a name="M000006"></a><b>remove</b>( packageName ) - </div> - <div class="description"> - <p> -Freezes a given package. If successful will add give package to the frozen -list. -</p> -<p> -<b>PARAM</b> <em>String</em> - the name of the package to be frozen. -<b>RETURN</b> <em>boolean</em> - True if the package is frozen, otherwise -false. -</p> - </div> -<div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> - <div id="M000006_source" class="dyn-source"> -<pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 95</span> -95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">packageName</span> ) -96: <span class="ruby-keyword kw">end</span> -</pre> - </div> </div> -</div> -</div> </div> Added: src/trunk/doc/classes/SystemManager.html =================================================================== --- src/trunk/doc/classes/SystemManager.html (rev 0) +++ src/trunk/doc/classes/SystemManager.html 2006-05-20 13:02:14 UTC (rev 102) @@ -0,0 +1,396 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: SystemManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />SystemManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/SystemManager_rb.html">SystemManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,133,100" href="SystemManager.html" alt="SystemManager"> +</map> +<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +SystemManager.rb +</p> +<p> +<a href="SystemManager.html">SystemManager</a> class handles all aspects of +the AbTLinux system. It takes care of such tasks as cleanup, fixing, +verification and management of settings within the system. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000009">cleanupLogs</a></li> + <li><a href="#M000008">cleanupPackageSources</a></li> + <li><a href="#M000014">fixPackage</a></li> + <li><a href="#M000007">new</a></li> + <li><a href="#M000015">setCentralRepo</a></li> + <li><a href="#M000016">setPackageTreeLocation</a></li> + <li><a href="#M000010">verifyInstalledFiles</a></li> + <li><a href="#M000012">verifyPackageDepends</a></li> + <li><a href="#M000013">verifyPackageIntegrity</a></li> + <li><a href="#M000011">verifySymlinks</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000007"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor for the System manager +</p> +<p> +<b>RETURN</b> <em><a href="SystemManager.html">SystemManager</a></em> - an +initialized <a href="SystemManager.html">SystemManager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> + <div id="M000007_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 43</span> +43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +44: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000009"></a><b>cleanupLogs</b>() + </div> + <div class="description"> + <p> +All logs for packages not in install list are cleaned off the system. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if completes without error, otherwise +false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show source</a> ]</p> + <div id="M000009_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 62</span> +62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanupLogs</span> +63: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000008"></a><b>cleanupPackageSources</b>() + </div> + <div class="description"> + <p> +Removes all sources for packages that are not currently installed. Makes +use of install listing to determine package sources to keep. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if completes without error, otherwise +false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> + <div id="M000008_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 53</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanupPackageSources</span> +54: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000014"></a><b>fixPackage</b>( package ) + </div> + <div class="description"> + <p> +Fixes the given package. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True +if completes without error, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show source</a> ]</p> + <div id="M000014_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 113</span> +113: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fixPackage</span>( <span class="ruby-identifier">package</span> ) +114: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000015"></a><b>setCentralRepo</b>( uri ) + </div> + <div class="description"> + <p> +Sets the URI of a central repository for pre-compiled packages. +</p> +<p> +<b>PARAM</b> <em>String</em> - the URI where the central repository is +located. <b>RETURN</b> <em>boolean</em> - True if the URI is set, otherwise +false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show source</a> ]</p> + <div id="M000015_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 123</span> +123: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setCentralRepo</span>( <span class="ruby-identifier">uri</span> ) +124: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000016"></a><b>setPackageTreeLocation</b>( location ) + </div> + <div class="description"> + <p> +Sets the location where the package tree is to be downloaded from, can be +set to a local location. +</p> +<p> +<b>PARAM</b> <em>String</em> - the location of the package tree. +<b>RETURN</b> <em>boolean</em> - True if the package tree location is set, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show source</a> ]</p> + <div id="M000016_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 134</span> +134: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setPackageTreeLocation</span>( <span class="ruby-identifier">location</span> ) +135: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000010"></a><b>verifyInstalledFiles</b>( package ) + </div> + <div class="description"> + <p> +Checks if files from given package install list are actually installed. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True +if no installed files are missing, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000010_source')" id="l_M000010_source">show source</a> ]</p> + <div id="M000010_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 72</span> +72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">verifyInstalledFiles</span>( <span class="ruby-identifier">package</span> ) +73: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000012"></a><b>verifyPackageDepends</b>( package ) + </div> + <div class="description"> + <p> +Checks the given packages dependencies for missing or broken dependencies. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True +if dependencies intact, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show source</a> ]</p> + <div id="M000012_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File SystemManager.rb, line 92</span> +92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">verifyPackageDepends</span>( <span class="ruby-identifier">package</span> ) +93: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div c... [truncated message content] |
From: <esc...@us...> - 2006-05-20 13:08:55
|
Revision: 103 Author: eschabell Date: 2006-05-20 06:08:37 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=103&view=rev Log Message: ----------- Changed main page from Package to PackageManager class by default and regenerated docs. Modified Paths: -------------- src/trunk/doc/classes/Package.html src/trunk/doc/classes/PackageManager.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.dot src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.dot src/trunk/doc/dot/f_1.png src/trunk/doc/dot/f_2.png src/trunk/doc/dot/f_3.png src/trunk/doc/files/DownloadManager_rb.html src/trunk/doc/files/PackageManager_rb.html src/trunk/doc/files/Package_rb.html src/trunk/doc/files/SystemManager_rb.html src/trunk/doc/index.html src/trunk/docGen.sh Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/classes/Package.html 2006-05-20 13:08:37 UTC (rev 103) @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,101,100" href="Package.html" alt="Package"> </map> -<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/PackageManager.html =================================================================== --- src/trunk/doc/classes/PackageManager.html 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/classes/PackageManager.html 2006-05-20 13:08:37 UTC (rev 103) @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,138,100" href="PackageManager.html" alt="PackageManager"> </map> -<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/created.rid 2006-05-20 13:08:37 UTC (rev 103) @@ -1 +1 @@ -Sat May 20 15:04:08 CEST 2006 +Sat May 20 15:06:55 CEST 2006 Modified: src/trunk/doc/dot/f_0.dot =================================================================== --- src/trunk/doc/dot/f_0.dot 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/dot/f_0.dot 2006-05-20 13:08:37 UTC (rev 103) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "Package.rb" + label = "PackageManager.rb" node [ fontname = Arial, fontsize = 8, @@ -13,14 +13,14 @@ subgraph cluster_1 { fontname = Arial color = red - label = "Package.rb" - Package [ + label = "PackageManager.rb" + PackageManager [ fontcolor = black, - URL = "classes/Package.html", + URL = "classes/PackageManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "Package" + label = "PackageManager" ] } Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_1.dot =================================================================== --- src/trunk/doc/dot/f_1.dot 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/dot/f_1.dot 2006-05-20 13:08:37 UTC (rev 103) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "PackageManager.rb" + label = "Package.rb" node [ fontname = Arial, fontsize = 8, @@ -13,14 +13,14 @@ subgraph cluster_2 { fontname = Arial color = red - label = "PackageManager.rb" - PackageManager [ + label = "Package.rb" + Package [ fontcolor = black, - URL = "classes/PackageManager.html", + URL = "classes/Package.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "PackageManager" + label = "Package" ] } Modified: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_2.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_3.png =================================================================== (Binary files differ) Modified: src/trunk/doc/files/DownloadManager_rb.html =================================================================== --- src/trunk/doc/files/DownloadManager_rb.html 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/files/DownloadManager_rb.html 2006-05-20 13:08:37 UTC (rev 103) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Sat May 20 14:12:01 CEST 2006</td> + <td>Sat May 20 15:03:10 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/PackageManager_rb.html =================================================================== --- src/trunk/doc/files/PackageManager_rb.html 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/files/PackageManager_rb.html 2006-05-20 13:08:37 UTC (rev 103) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Sat May 20 15:01:40 CEST 2006</td> + <td>Sat May 20 15:03:10 CEST 2006</td> </tr> </table> </td></tr> @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,138,100" href="../classes/PackageManager.html" alt="PackageManager"> </map> -<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/files/Package_rb.html 2006-05-20 13:08:37 UTC (rev 103) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Fri May 19 13:10:46 CEST 2006</td> + <td>Thu May 18 11:19:24 CEST 2006</td> </tr> </table> </td></tr> @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,101,100" href="../classes/Package.html" alt="Package"> </map> -<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/files/SystemManager_rb.html =================================================================== --- src/trunk/doc/files/SystemManager_rb.html 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/files/SystemManager_rb.html 2006-05-20 13:08:37 UTC (rev 103) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Sat May 20 14:59:46 CEST 2006</td> + <td>Sat May 20 15:03:10 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/index.html =================================================================== --- src/trunk/doc/index.html 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/doc/index.html 2006-05-20 13:08:37 UTC (rev 103) @@ -14,7 +14,7 @@ <frame src="fr_class_index.html" name="Classes" /> <frame src="fr_method_index.html" name="Methods" /> </frameset> - <frame src="files/Package_rb.html" name="docwin"> + <frame src="classes/PackageManager.html" name="docwin"> <noframes> <body bgcolor="white"> Click <a href="html/index.html">here</a> for a non-frames Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-20 13:02:14 UTC (rev 102) +++ src/trunk/docGen.sh 2006-05-20 13:08:37 UTC (rev 103) @@ -15,7 +15,7 @@ # REVISION: --- #=============================================================================== -FILES="Package.rb PackageManager.rb DownloadManager.rb SystemManager.rb"; +FILES="PackageManager.rb Package.rb DownloadManager.rb SystemManager.rb"; TEMPLATE="./abtTemplate.rb"; # run the actual doc generation. @@ -24,6 +24,7 @@ --fileboxes \ --inline-source \ --line-numbers \ + --main PackageManager \ --title "AbTLinux Package Manager API" \ $FILES This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-20 13:13:35
|
Revision: 104 Author: eschabell Date: 2006-05-20 06:13:18 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=104&view=rev Log Message: ----------- Added placeholder class for DepEngine and updated docs. Modified Paths: -------------- src/trunk/doc/classes/DownloadManager.html src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/DepEngine.rb src/trunk/doc/classes/DepEngine.html src/trunk/doc/dot/f_4.dot src/trunk/doc/dot/f_4.png src/trunk/doc/files/DepEngine_rb.html Added: src/trunk/DepEngine.rb =================================================================== --- src/trunk/DepEngine.rb (rev 0) +++ src/trunk/DepEngine.rb 2006-05-20 13:13:18 UTC (rev 104) @@ -0,0 +1,45 @@ +#!/usr/bin/ruby -w + +## +# DepEngine.rb +# +# DepEngine class handles all dependency aspects of the AbTLinux system. It is +# part of a sub-project with it's own requirements document. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class DepEngine + + protected + + private + + public + + ## + # Constructor for the DepEngine class. + # + # <b>RETURN</b> <i>DepEngine</i> - an initialized DepEngine object. + ## + def initialize + end + +end Added: src/trunk/doc/classes/DepEngine.html =================================================================== --- src/trunk/doc/classes/DepEngine.html (rev 0) +++ src/trunk/doc/classes/DepEngine.html 2006-05-20 13:13:18 UTC (rev 104) @@ -0,0 +1,159 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: DepEngine</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />DepEngine</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/DepEngine_rb.html">DepEngine.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,111,100" href="DepEngine.html" alt="DepEngine"> +</map> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +DepEngine.rb +</p> +<p> +<a href="DepEngine.html">DepEngine</a> class handles all dependency aspects +of the AbTLinux system. It is part of a sub-project with it’s own +requirements document. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000017">new</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000017"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor for the <a href="DepEngine.html">DepEngine</a> class. +</p> +<p> +<b>RETURN</b> <em><a href="DepEngine.html">DepEngine</a></em> - an +initialized <a href="DepEngine.html">DepEngine</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> + <div id="M000017_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File DepEngine.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/classes/DownloadManager.html =================================================================== --- src/trunk/doc/classes/DownloadManager.html 2006-05-20 13:08:37 UTC (rev 103) +++ src/trunk/doc/classes/DownloadManager.html 2006-05-20 13:13:18 UTC (rev 104) @@ -117,12 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000024">new</a></li> - <li><a href="#M000027">retrieveNewsFeed</a></li> - <li><a href="#M000025">retrievePackageSource</a></li> - <li><a href="#M000026">retrievePackageTree</a></li> - <li><a href="#M000028">updatePackage</a></li> - <li><a href="#M000029">updatePackageTree</a></li> + <li><a href="#M000025">new</a></li> + <li><a href="#M000028">retrieveNewsFeed</a></li> + <li><a href="#M000026">retrievePackageSource</a></li> + <li><a href="#M000027">retrievePackageTree</a></li> + <li><a href="#M000029">updatePackage</a></li> + <li><a href="#M000030">updatePackageTree</a></li> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000024"></a><b>new</b>() + <a name="M000025"></a><b>new</b>() </div> <div class="description"> <p> @@ -146,8 +146,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> - <div id="M000024_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> + <div id="M000025_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -159,7 +159,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000027"></a><b>retrieveNewsFeed</b>() + <a name="M000028"></a><b>retrieveNewsFeed</b>() </div> <div class="description"> <p> @@ -171,8 +171,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> - <div id="M000027_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> + <div id="M000028_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 72</span> 72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> @@ -183,7 +183,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000025"></a><b>retrievePackageSource</b>( packageName ) + <a name="M000026"></a><b>retrievePackageSource</b>( packageName ) </div> <div class="description"> <p> @@ -196,8 +196,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> - <div id="M000025_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> + <div id="M000026_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) @@ -208,7 +208,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000026"></a><b>retrievePackageTree</b>( packageTreeName ) + <a name="M000027"></a><b>retrievePackageTree</b>( packageTreeName ) </div> <div class="description"> <p> @@ -221,8 +221,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> - <div id="M000026_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> + <div id="M000027_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 63</span> 63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) @@ -233,7 +233,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000028"></a><b>updatePackage</b>() + <a name="M000029"></a><b>updatePackage</b>() </div> <div class="description"> <p> @@ -246,8 +246,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> - <div id="M000028_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> + <div id="M000029_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 82</span> 82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> @@ -258,7 +258,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000029"></a><b>updatePackageTree</b>() + <a name="M000030"></a><b>updatePackageTree</b>() </div> <div class="description"> <p> @@ -270,8 +270,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> - <div id="M000029_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> + <div id="M000030_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 91</span> 91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-20 13:08:37 UTC (rev 103) +++ src/trunk/doc/classes/Package.html 2006-05-20 13:13:18 UTC (rev 104) @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000020">build</a></li> - <li><a href="#M000019">configure</a></li> - <li><a href="#M000017">details</a></li> - <li><a href="#M000022">install</a></li> - <li><a href="#M000023">post</a></li> - <li><a href="#M000018">pre</a></li> - <li><a href="#M000021">preinstall</a></li> + <li><a href="#M000021">build</a></li> + <li><a href="#M000020">configure</a></li> + <li><a href="#M000018">details</a></li> + <li><a href="#M000023">install</a></li> + <li><a href="#M000024">post</a></li> + <li><a href="#M000019">pre</a></li> + <li><a href="#M000022">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000020"></a><b>build</b>() + <a name="M000021"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> - <div id="M000020_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> + <div id="M000021_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000019"></a><b>configure</b>() + <a name="M000020"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> - <div id="M000019_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> + <div id="M000020_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000017"></a><b>details</b>() + <a name="M000018"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> - <div id="M000017_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> + <div id="M000018_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000022"></a><b>install</b>() + <a name="M000023"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> - <div id="M000022_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> + <div id="M000023_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000023"></a><b>post</b>() + <a name="M000024"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> - <div id="M000023_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> + <div id="M000024_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000018"></a><b>pre</b>() + <a name="M000019"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> - <div id="M000018_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> + <div id="M000019_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000021"></a><b>preinstall</b>() + <a name="M000022"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> - <div id="M000021_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> + <div id="M000022_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-20 13:08:37 UTC (rev 103) +++ src/trunk/doc/created.rid 2006-05-20 13:13:18 UTC (rev 104) @@ -1 +1 @@ -Sat May 20 15:06:55 CEST 2006 +Sat May 20 15:12:03 CEST 2006 Added: src/trunk/doc/dot/f_4.dot =================================================================== --- src/trunk/doc/dot/f_4.dot (rev 0) +++ src/trunk/doc/dot/f_4.dot 2006-05-20 13:13:18 UTC (rev 104) @@ -0,0 +1,29 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "DepEngine.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_5 { + fontname = Arial + color = red + label = "DepEngine.rb" + DepEngine [ + fontcolor = black, + URL = "classes/DepEngine.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "DepEngine" + ] + + } + +} + Added: src/trunk/doc/dot/f_4.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_4.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: src/trunk/doc/files/DepEngine_rb.html =================================================================== --- src/trunk/doc/files/DepEngine_rb.html (rev 0) +++ src/trunk/doc/files/DepEngine_rb.html 2006-05-20 13:13:18 UTC (rev 104) @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: DepEngine.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />DepEngine.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>DepEngine.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Sat May 20 15:10:54 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,111,100" href="../classes/DepEngine.html" alt="DepEngine"> +</map> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +DepEngine.rb +</p> +<p> +<a href="../classes/DepEngine.html">DepEngine</a> class handles all +dependency aspects of the AbTLinux system. It is part of a sub-project with +it’s own requirements document. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-20 13:08:37 UTC (rev 103) +++ src/trunk/doc/fr_class_index.html 2006-05-20 13:13:18 UTC (rev 104) @@ -41,6 +41,7 @@ <body> <div class="banner">Classes</div> <div class="entries"> +<a href="classes/DepEngine.html">DepEngine</a><br> <a href="classes/DownloadManager.html">DownloadManager</a><br> <a href="classes/Package.html">Package</a><br> <a href="classes/PackageManager.html">PackageManager</a><br> Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-20 13:08:37 UTC (rev 103) +++ src/trunk/doc/fr_file_index.html 2006-05-20 13:13:18 UTC (rev 104) @@ -41,6 +41,7 @@ <body> <div class="banner">Files</div> <div class="entries"> +<a href="files/DepEngine_rb.html">DepEngine.rb</a><br> <a href="files/DownloadManager_rb.html">DownloadManager.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> <a href="files/PackageManager_rb.html">PackageManager.rb</a><br> Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-20 13:08:37 UTC (rev 103) +++ src/trunk/doc/fr_method_index.html 2006-05-20 13:13:18 UTC (rev 104) @@ -41,31 +41,32 @@ <body> <div class="banner">Methods</div> <div class="entries"> -<a href="classes/Package.html#M000020">build (Package)</a><br> +<a href="classes/Package.html#M000021">build (Package)</a><br> <a href="classes/SystemManager.html#M000009">cleanupLogs (SystemManager)</a><br> <a href="classes/SystemManager.html#M000008">cleanupPackageSources (SystemManager)</a><br> -<a href="classes/Package.html#M000019">configure (Package)</a><br> -<a href="classes/Package.html#M000017">details (Package)</a><br> +<a href="classes/Package.html#M000020">configure (Package)</a><br> +<a href="classes/Package.html#M000018">details (Package)</a><br> <a href="classes/PackageManager.html#M000005">downgrade (PackageManager)</a><br> <a href="classes/SystemManager.html#M000014">fixPackage (SystemManager)</a><br> <a href="classes/PackageManager.html#M000006">freezePackage (PackageManager)</a><br> <a href="classes/PackageManager.html#M000002">install (PackageManager)</a><br> -<a href="classes/Package.html#M000022">install (Package)</a><br> +<a href="classes/Package.html#M000023">install (Package)</a><br> +<a href="classes/SystemManager.html#M000007">new (SystemManager)</a><br> +<a href="classes/DepEngine.html#M000017">new (DepEngine)</a><br> +<a href="classes/DownloadManager.html#M000025">new (DownloadManager)</a><br> <a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> -<a href="classes/SystemManager.html#M000007">new (SystemManager)</a><br> -<a href="classes/DownloadManager.html#M000024">new (DownloadManager)</a><br> -<a href="classes/Package.html#M000023">post (Package)</a><br> -<a href="classes/Package.html#M000018">pre (Package)</a><br> -<a href="classes/Package.html#M000021">preinstall (Package)</a><br> +<a href="classes/Package.html#M000024">post (Package)</a><br> +<a href="classes/Package.html#M000019">pre (Package)</a><br> +<a href="classes/Package.html#M000022">preinstall (Package)</a><br> <a href="classes/PackageManager.html#M000003">reinstall (PackageManager)</a><br> <a href="classes/PackageManager.html#M000004">remove (PackageManager)</a><br> -<a href="classes/DownloadManager.html#M000027">retrieveNewsFeed (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000025">retrievePackageSource (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000026">retrievePackageTree (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000028">retrieveNewsFeed (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000026">retrievePackageSource (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000027">retrievePackageTree (DownloadManager)</a><br> <a href="classes/SystemManager.html#M000015">setCentralRepo (SystemManager)</a><br> <a href="classes/SystemManager.html#M000016">setPackageTreeLocation (SystemManager)</a><br> -<a href="classes/DownloadManager.html#M000028">updatePackage (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000029">updatePackageTree (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000029">updatePackage (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000030">updatePackageTree (DownloadManager)</a><br> <a href="classes/SystemManager.html#M000010">verifyInstalledFiles (SystemManager)</a><br> <a href="classes/SystemManager.html#M000012">verifyPackageDepends (SystemManager)</a><br> <a href="classes/SystemManager.html#M000013">verifyPackageIntegrity (SystemManager)</a><br> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-20 13:08:37 UTC (rev 103) +++ src/trunk/docGen.sh 2006-05-20 13:13:18 UTC (rev 104) @@ -15,8 +15,12 @@ # REVISION: --- #=============================================================================== -FILES="PackageManager.rb Package.rb DownloadManager.rb SystemManager.rb"; TEMPLATE="./abtTemplate.rb"; +FILES="PackageManager.rb + Package.rb + DownloadManager.rb + SystemManager.rb + DepEngine.rb"; # run the actual doc generation. rdoc --diagram \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-20 18:47:54
|
Revision: 105 Author: eschabell Date: 2006-05-20 11:47:34 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=105&view=rev Log Message: ----------- Added LogManager and generated docs. Modified Paths: -------------- src/trunk/doc/classes/DepEngine.html src/trunk/doc/classes/DownloadManager.html src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/f_4.dot src/trunk/doc/dot/f_4.png src/trunk/doc/files/DepEngine_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/LogManager.rb src/trunk/doc/classes/LogManager.html src/trunk/doc/dot/f_5.dot src/trunk/doc/dot/f_5.png src/trunk/doc/files/LogManager_rb.html Added: src/trunk/LogManager.rb =================================================================== --- src/trunk/LogManager.rb (rev 0) +++ src/trunk/LogManager.rb 2006-05-20 18:47:34 UTC (rev 105) @@ -0,0 +1,105 @@ +#!/usr/bin/ruby -w + +## +# LogManager.rb +# +# LogManager class handles all aspects of logging and access to existing logs +# within the AbTLinux system. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class LogManager + + protected + + ## + # Provides logging of the integrity of all installed files for the given + # package. Will be called as part of the logging done during the install + # phase. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if integrity log created successfully, + # otherwise false. + ## + def logPackageIntegrity( package ) + end + + + private + + # placeholder for private methods. + + + public + + ## + # Constructor for the LogManager. + # + # <b>RETURN</b> <i>LogManager</i> - an initialized LogManager object. + ## + def initialize + end + + ## + # Provides logging of all files installed by given package. Should be called + # as part of the install phase of the build. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if install log created successfully, + # otherwise false. + ## + def logPackageInstall( package ) + end + + ## + # Provides logging of all output produced during the build phase of the + # given package. Should be called as part of the install phase of the build. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if build log created successfully, + # otherwise false. + ## + def logPackageBuild( package ) + end + + ## + # Provides a complete log of the given packages build. Includes everything + # needed to duplicate the build at a later date. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if package cache created successfully, + # otherwise false. + ## + def cachePackage( package ) + end + + ## + # Provides logging of given message to the AbTLinux journal. Message logged + # with date timestamp. + # + # <a>PARAM<//b> <i>String</i> - Message to be added to the log. + # <b>RETURN</b> <i>boolean</i> - True if message logged successfully, + # otherwise false. + ## + def logToJournal( message ) + end + +end Modified: src/trunk/doc/classes/DepEngine.html =================================================================== --- src/trunk/doc/classes/DepEngine.html 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/classes/DepEngine.html 2006-05-20 18:47:34 UTC (rev 105) @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,111,100" href="DepEngine.html" alt="DepEngine"> </map> -<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000017">new</a></li> + <li><a href="#M000022">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000017"></a><b>new</b>() + <a name="M000022"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> - <div id="M000017_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> + <div id="M000022_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DepEngine.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/DownloadManager.html =================================================================== --- src/trunk/doc/classes/DownloadManager.html 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/classes/DownloadManager.html 2006-05-20 18:47:34 UTC (rev 105) @@ -117,12 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000025">new</a></li> - <li><a href="#M000028">retrieveNewsFeed</a></li> - <li><a href="#M000026">retrievePackageSource</a></li> - <li><a href="#M000027">retrievePackageTree</a></li> - <li><a href="#M000029">updatePackage</a></li> - <li><a href="#M000030">updatePackageTree</a></li> + <li><a href="#M000030">new</a></li> + <li><a href="#M000033">retrieveNewsFeed</a></li> + <li><a href="#M000031">retrievePackageSource</a></li> + <li><a href="#M000032">retrievePackageTree</a></li> + <li><a href="#M000034">updatePackage</a></li> + <li><a href="#M000035">updatePackageTree</a></li> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000025"></a><b>new</b>() + <a name="M000030"></a><b>new</b>() </div> <div class="description"> <p> @@ -146,8 +146,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> - <div id="M000025_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> + <div id="M000030_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -159,7 +159,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000028"></a><b>retrieveNewsFeed</b>() + <a name="M000033"></a><b>retrieveNewsFeed</b>() </div> <div class="description"> <p> @@ -171,8 +171,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> - <div id="M000028_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> + <div id="M000033_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 72</span> 72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> @@ -183,7 +183,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000026"></a><b>retrievePackageSource</b>( packageName ) + <a name="M000031"></a><b>retrievePackageSource</b>( packageName ) </div> <div class="description"> <p> @@ -196,8 +196,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> - <div id="M000026_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> + <div id="M000031_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) @@ -208,7 +208,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000027"></a><b>retrievePackageTree</b>( packageTreeName ) + <a name="M000032"></a><b>retrievePackageTree</b>( packageTreeName ) </div> <div class="description"> <p> @@ -221,8 +221,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> - <div id="M000027_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> + <div id="M000032_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 63</span> 63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) @@ -233,7 +233,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000029"></a><b>updatePackage</b>() + <a name="M000034"></a><b>updatePackage</b>() </div> <div class="description"> <p> @@ -246,8 +246,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> - <div id="M000029_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> + <div id="M000034_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 82</span> 82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> @@ -258,7 +258,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000030"></a><b>updatePackageTree</b>() + <a name="M000035"></a><b>updatePackageTree</b>() </div> <div class="description"> <p> @@ -270,8 +270,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> - <div id="M000030_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 91</span> 91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> Added: src/trunk/doc/classes/LogManager.html =================================================================== --- src/trunk/doc/classes/LogManager.html (rev 0) +++ src/trunk/doc/classes/LogManager.html 2006-05-20 18:47:34 UTC (rev 105) @@ -0,0 +1,267 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: LogManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />LogManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/LogManager_rb.html">LogManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,117,100" href="LogManager.html" alt="LogManager"> +</map> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +LogManager.rb +</p> +<p> +<a href="LogManager.html">LogManager</a> class handles all aspects of +logging and access to existing logs within the AbTLinux system. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000020">cachePackage</a></li> + <li><a href="#M000019">logPackageBuild</a></li> + <li><a href="#M000018">logPackageInstall</a></li> + <li><a href="#M000021">logToJournal</a></li> + <li><a href="#M000017">new</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000017"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor for the <a href="LogManager.html">LogManager</a>. +</p> +<p> +<b>RETURN</b> <em><a href="LogManager.html">LogManager</a></em> - an +initialized <a href="LogManager.html">LogManager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> + <div id="M000017_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File LogManager.rb, line 58</span> +58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +59: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000020"></a><b>cachePackage</b>( package ) + </div> + <div class="description"> + <p> +Provides a complete log of the given packages build. Includes everything +needed to duplicate the build at a later date. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True +if package cache created successfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> + <div id="M000020_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File LogManager.rb, line 91</span> +91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) +92: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000019"></a><b>logPackageBuild</b>( package ) + </div> + <div class="description"> + <p> +Provides logging of all output produced during the build phase of the given +package. Should be called as part of the install phase of the build. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True +if build log created successfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> + <div id="M000019_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File LogManager.rb, line 80</span> +80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) +81: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000018"></a><b>logPackageInstall</b>( package ) + </div> + <div class="description"> + <p> +Provides logging of all files installed by given package. Should be called +as part of the install phase of the build. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True +if install log created successfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> + <div id="M000018_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File LogManager.rb, line 69</span> +69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) +70: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000021"></a><b>logToJournal</b>( message ) + </div> + <div class="description"> + <p> +Provides logging of given message to the AbTLinux journal. Message logged +with date timestamp. +</p> +<p> +<a>PARAM<//b> <em>String</em> - Message to be added to the log. +<b>RETURN</b> <em>boolean</em> - True if message logged successfully, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> + <div id="M000021_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File LogManager.rb, line 102</span> +102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) +103: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/classes/Package.html 2006-05-20 18:47:34 UTC (rev 105) @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000021">build</a></li> - <li><a href="#M000020">configure</a></li> - <li><a href="#M000018">details</a></li> - <li><a href="#M000023">install</a></li> - <li><a href="#M000024">post</a></li> - <li><a href="#M000019">pre</a></li> - <li><a href="#M000022">preinstall</a></li> + <li><a href="#M000026">build</a></li> + <li><a href="#M000025">configure</a></li> + <li><a href="#M000023">details</a></li> + <li><a href="#M000028">install</a></li> + <li><a href="#M000029">post</a></li> + <li><a href="#M000024">pre</a></li> + <li><a href="#M000027">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000021"></a><b>build</b>() + <a name="M000026"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> - <div id="M000021_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> + <div id="M000026_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000020"></a><b>configure</b>() + <a name="M000025"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> - <div id="M000020_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> + <div id="M000025_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000018"></a><b>details</b>() + <a name="M000023"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> - <div id="M000018_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> + <div id="M000023_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000023"></a><b>install</b>() + <a name="M000028"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> - <div id="M000023_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> + <div id="M000028_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000024"></a><b>post</b>() + <a name="M000029"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> - <div id="M000024_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> + <div id="M000029_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000019"></a><b>pre</b>() + <a name="M000024"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> - <div id="M000019_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> + <div id="M000024_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000022"></a><b>preinstall</b>() + <a name="M000027"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> - <div id="M000022_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> + <div id="M000027_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/created.rid 2006-05-20 18:47:34 UTC (rev 105) @@ -1 +1 @@ -Sat May 20 15:12:03 CEST 2006 +Sat May 20 20:46:16 CEST 2006 Modified: src/trunk/doc/dot/f_4.dot =================================================================== --- src/trunk/doc/dot/f_4.dot 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/dot/f_4.dot 2006-05-20 18:47:34 UTC (rev 105) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "DepEngine.rb" + label = "LogManager.rb" node [ fontname = Arial, fontsize = 8, @@ -13,14 +13,14 @@ subgraph cluster_5 { fontname = Arial color = red - label = "DepEngine.rb" - DepEngine [ + label = "LogManager.rb" + LogManager [ fontcolor = black, - URL = "classes/DepEngine.html", + URL = "classes/LogManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "DepEngine" + label = "LogManager" ] } Modified: src/trunk/doc/dot/f_4.png =================================================================== (Binary files differ) Added: src/trunk/doc/dot/f_5.dot =================================================================== --- src/trunk/doc/dot/f_5.dot (rev 0) +++ src/trunk/doc/dot/f_5.dot 2006-05-20 18:47:34 UTC (rev 105) @@ -0,0 +1,29 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "DepEngine.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_6 { + fontname = Arial + color = red + label = "DepEngine.rb" + DepEngine [ + fontcolor = black, + URL = "classes/DepEngine.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "DepEngine" + ] + + } + +} + Added: src/trunk/doc/dot/f_5.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_5.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/files/DepEngine_rb.html =================================================================== --- src/trunk/doc/files/DepEngine_rb.html 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/files/DepEngine_rb.html 2006-05-20 18:47:34 UTC (rev 105) @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,111,100" href="../classes/DepEngine.html" alt="DepEngine"> </map> -<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Added: src/trunk/doc/files/LogManager_rb.html =================================================================== --- src/trunk/doc/files/LogManager_rb.html (rev 0) +++ src/trunk/doc/files/LogManager_rb.html 2006-05-20 18:47:34 UTC (rev 105) @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: LogManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />LogManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>LogManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Sat May 20 20:45:05 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,117,100" href="../classes/LogManager.html" alt="LogManager"> +</map> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +LogManager.rb +</p> +<p> +<a href="../classes/LogManager.html">LogManager</a> class handles all +aspects of logging and access to existing logs within the AbTLinux system. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/fr_class_index.html 2006-05-20 18:47:34 UTC (rev 105) @@ -43,6 +43,7 @@ <div class="entries"> <a href="classes/DepEngine.html">DepEngine</a><br> <a href="classes/DownloadManager.html">DownloadManager</a><br> +<a href="classes/LogManager.html">LogManager</a><br> <a href="classes/Package.html">Package</a><br> <a href="classes/PackageManager.html">PackageManager</a><br> <a href="classes/SystemManager.html">SystemManager</a><br> Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/fr_file_index.html 2006-05-20 18:47:34 UTC (rev 105) @@ -43,6 +43,7 @@ <div class="entries"> <a href="files/DepEngine_rb.html">DepEngine.rb</a><br> <a href="files/DownloadManager_rb.html">DownloadManager.rb</a><br> +<a href="files/LogManager_rb.html">LogManager.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> <a href="files/PackageManager_rb.html">PackageManager.rb</a><br> <a href="files/SystemManager_rb.html">SystemManager.rb</a><br> Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/doc/fr_method_index.html 2006-05-20 18:47:34 UTC (rev 105) @@ -41,32 +41,37 @@ <body> <div class="banner">Methods</div> <div class="entries"> -<a href="classes/Package.html#M000021">build (Package)</a><br> +<a href="classes/Package.html#M000026">build (Package)</a><br> +<a href="classes/LogManager.html#M000020">cachePackage (LogManager)</a><br> <a href="classes/SystemManager.html#M000009">cleanupLogs (SystemManager)</a><br> <a href="classes/SystemManager.html#M000008">cleanupPackageSources (SystemManager)</a><br> -<a href="classes/Package.html#M000020">configure (Package)</a><br> -<a href="classes/Package.html#M000018">details (Package)</a><br> +<a href="classes/Package.html#M000025">configure (Package)</a><br> +<a href="classes/Package.html#M000023">details (Package)</a><br> <a href="classes/PackageManager.html#M000005">downgrade (PackageManager)</a><br> <a href="classes/SystemManager.html#M000014">fixPackage (SystemManager)</a><br> <a href="classes/PackageManager.html#M000006">freezePackage (PackageManager)</a><br> +<a href="classes/Package.html#M000028">install (Package)</a><br> <a href="classes/PackageManager.html#M000002">install (PackageManager)</a><br> -<a href="classes/Package.html#M000023">install (Package)</a><br> +<a href="classes/LogManager.html#M000019">logPackageBuild (LogManager)</a><br> +<a href="classes/LogManager.html#M000018">logPackageInstall (LogManager)</a><br> +<a href="classes/LogManager.html#M000021">logToJournal (LogManager)</a><br> +<a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> +<a href="classes/DepEngine.html#M000022">new (DepEngine)</a><br> +<a href="classes/LogManager.html#M000017">new (LogManager)</a><br> <a href="classes/SystemManager.html#M000007">new (SystemManager)</a><br> -<a href="classes/DepEngine.html#M000017">new (DepEngine)</a><br> -<a href="classes/DownloadManager.html#M000025">new (DownloadManager)</a><br> -<a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> -<a href="classes/Package.html#M000024">post (Package)</a><br> -<a href="classes/Package.html#M000019">pre (Package)</a><br> -<a href="classes/Package.html#M000022">preinstall (Package)</a><br> +<a href="classes/DownloadManager.html#M000030">new (DownloadManager)</a><br> +<a href="classes/Package.html#M000029">post (Package)</a><br> +<a href="classes/Package.html#M000024">pre (Package)</a><br> +<a href="classes/Package.html#M000027">preinstall (Package)</a><br> <a href="classes/PackageManager.html#M000003">reinstall (PackageManager)</a><br> <a href="classes/PackageManager.html#M000004">remove (PackageManager)</a><br> -<a href="classes/DownloadManager.html#M000028">retrieveNewsFeed (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000026">retrievePackageSource (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000027">retrievePackageTree (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000033">retrieveNewsFeed (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000031">retrievePackageSource (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000032">retrievePackageTree (DownloadManager)</a><br> <a href="classes/SystemManager.html#M000015">setCentralRepo (SystemManager)</a><br> <a href="classes/SystemManager.html#M000016">setPackageTreeLocation (SystemManager)</a><br> -<a href="classes/DownloadManager.html#M000029">updatePackage (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000030">updatePackageTree (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000034">updatePackage (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000035">updatePackageTree (DownloadManager)</a><br> <a href="classes/SystemManager.html#M000010">verifyInstalledFiles (SystemManager)</a><br> <a href="classes/SystemManager.html#M000012">verifyPackageDepends (SystemManager)</a><br> <a href="classes/SystemManager.html#M000013">verifyPackageIntegrity (SystemManager)</a><br> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-20 13:13:18 UTC (rev 104) +++ src/trunk/docGen.sh 2006-05-20 18:47:34 UTC (rev 105) @@ -20,6 +20,7 @@ Package.rb DownloadManager.rb SystemManager.rb + LogManager.rb DepEngine.rb"; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-20 19:58:11
|
Revision: 106 Author: eschabell Date: 2006-05-20 12:57:51 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=106&view=rev Log Message: ----------- Added last API class ReportManager and regenerated docs. Finished with design of API. Modified Paths: -------------- src/trunk/doc/classes/DepEngine.html src/trunk/doc/classes/DownloadManager.html src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/f_5.dot src/trunk/doc/dot/f_5.png src/trunk/doc/files/DepEngine_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/ReportManager.rb src/trunk/doc/classes/ReportManager.html src/trunk/doc/dot/f_6.dot src/trunk/doc/dot/f_6.png src/trunk/doc/files/ReportManager_rb.html Added: src/trunk/ReportManager.rb =================================================================== --- src/trunk/ReportManager.rb (rev 0) +++ src/trunk/ReportManager.rb 2006-05-20 19:57:51 UTC (rev 106) @@ -0,0 +1,164 @@ +#!/usr/bin/ruby -w + +## +# ReportManager.rb +# +# ReportManager class handles all sort of report and query generation within +# the AbTLinux system. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class ReportManager + + protected + + private + + public + + ## + # Constructor for the Reportmanager. + # + # <b>RETURN</b> <i>ReportManager</i> - an initialized Report1Manager object. + ## + def initialize + end + + ## + # Display all data for a given package. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def showPackageDetails( package ) + end + + ## + # Display all packages installed and tracked by AbTLinux. + # + # <b>RETURN</b> <i>void.</i> + ## + def showInstalledPackages + end + + ## + # Display the contents of the requested log for a given package. Possible + # log types are; install, build and integrity. + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <a>PARAM<//b> <i>String</i> - log type. + # <b>RETURN</b> <i>void.</i> + ## + def showPackageLog( package, logType ) + # install log + # build log + # integrity log + end + + ## + # Display a list of the packages found in the frozen list. + # + # <b>RETURN</b> <i>void.</i> + ## + def showFrozenPackages + end + + ## + # Provides access to dependency checking via the AbTLinux DepEngine. (This + # portal to the DepEngine will be expanded in apart sub-project, more + # details at a later date.) + # + # <a>PARAM<//b> <i>String</i> - Package name. + # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise + # hash of problem files and their encountered errors. + ## + def showPackageDependencies( package ) + end + + ## + # Display all files not part of any installed AbTLinux package. This + # delivers a list of files that are not tracked by AbTLinux package + # management. + # + # <b>RETURN</b> <i>void.</i> + ## + def showUntrackedFiles + end + + ## + # Display the AbTLinux journal file. + # + # <b>RETURN</b> <i>void.</i> + ## + def showJournal + end + + ## + # Display the name of the package(s) that own the given file. + # + # <b>PARAM</b> <i>String</i> - a file name. + # <b>RETURN</b> <i>void.</i> + ## + def showFileOwner( file ) + end + + ## + # Searches the installed package trees package descriptions for matching + # occurrances of the given search text. + # + # <a>PARAM<//b> <i>String</i> - a search text. + # <b>RETURN</b> <i>hash</i> - a hash of the search results, keys are package + # names and values are matching descriptions. + ## + def searchPackageDescriptions( searchText ) + end + + ## + # Displays the contents of the current queue based on the given queue. + # + # <a>PARAM<//b> <i>String</i> - the type of queue to display such as install + # queue. + # <b>RETURN</b> <i>void.</i> + ## + def showQueue( queueType ) + end + + ## + # Reports available updates for a given package or package tree based on the + # current system. + # + # <a>PARAM<//b> <i>String</i> - the target of the update check, either a + # package name or a package tree name. + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def showUpdates( target ) + end + + ## + # Generates an HTML page of installed packages from installed packages list. + # + # <b>RETURN</b> <i>void.</i> + ## + def generateHTMLPackageListing + end +end Modified: src/trunk/doc/classes/DepEngine.html =================================================================== --- src/trunk/doc/classes/DepEngine.html 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/classes/DepEngine.html 2006-05-20 19:57:51 UTC (rev 106) @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,111,100" href="DepEngine.html" alt="DepEngine"> </map> -<img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000022">new</a></li> + <li><a href="#M000035">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000022"></a><b>new</b>() + <a name="M000035"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> - <div id="M000022_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DepEngine.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/DownloadManager.html =================================================================== --- src/trunk/doc/classes/DownloadManager.html 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/classes/DownloadManager.html 2006-05-20 19:57:51 UTC (rev 106) @@ -117,12 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000030">new</a></li> - <li><a href="#M000033">retrieveNewsFeed</a></li> - <li><a href="#M000031">retrievePackageSource</a></li> - <li><a href="#M000032">retrievePackageTree</a></li> - <li><a href="#M000034">updatePackage</a></li> - <li><a href="#M000035">updatePackageTree</a></li> + <li><a href="#M000043">new</a></li> + <li><a href="#M000046">retrieveNewsFeed</a></li> + <li><a href="#M000044">retrievePackageSource</a></li> + <li><a href="#M000045">retrievePackageTree</a></li> + <li><a href="#M000047">updatePackage</a></li> + <li><a href="#M000048">updatePackageTree</a></li> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000030"></a><b>new</b>() + <a name="M000043"></a><b>new</b>() </div> <div class="description"> <p> @@ -146,8 +146,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> - <div id="M000030_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -159,7 +159,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000033"></a><b>retrieveNewsFeed</b>() + <a name="M000046"></a><b>retrieveNewsFeed</b>() </div> <div class="description"> <p> @@ -171,8 +171,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> - <div id="M000033_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 72</span> 72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> @@ -183,7 +183,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000031"></a><b>retrievePackageSource</b>( packageName ) + <a name="M000044"></a><b>retrievePackageSource</b>( packageName ) </div> <div class="description"> <p> @@ -196,8 +196,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> - <div id="M000031_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) @@ -208,7 +208,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000032"></a><b>retrievePackageTree</b>( packageTreeName ) + <a name="M000045"></a><b>retrievePackageTree</b>( packageTreeName ) </div> <div class="description"> <p> @@ -221,8 +221,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> - <div id="M000032_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 63</span> 63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) @@ -233,7 +233,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000034"></a><b>updatePackage</b>() + <a name="M000047"></a><b>updatePackage</b>() </div> <div class="description"> <p> @@ -246,8 +246,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> - <div id="M000034_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 82</span> 82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> @@ -258,7 +258,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000035"></a><b>updatePackageTree</b>() + <a name="M000048"></a><b>updatePackageTree</b>() </div> <div class="description"> <p> @@ -270,8 +270,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> - <div id="M000035_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 91</span> 91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/classes/Package.html 2006-05-20 19:57:51 UTC (rev 106) @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000026">build</a></li> - <li><a href="#M000025">configure</a></li> - <li><a href="#M000023">details</a></li> - <li><a href="#M000028">install</a></li> - <li><a href="#M000029">post</a></li> - <li><a href="#M000024">pre</a></li> - <li><a href="#M000027">preinstall</a></li> + <li><a href="#M000039">build</a></li> + <li><a href="#M000038">configure</a></li> + <li><a href="#M000036">details</a></li> + <li><a href="#M000041">install</a></li> + <li><a href="#M000042">post</a></li> + <li><a href="#M000037">pre</a></li> + <li><a href="#M000040">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000026"></a><b>build</b>() + <a name="M000039"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> - <div id="M000026_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000025"></a><b>configure</b>() + <a name="M000038"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> - <div id="M000025_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000023"></a><b>details</b>() + <a name="M000036"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> - <div id="M000023_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000028"></a><b>install</b>() + <a name="M000041"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> - <div id="M000028_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000029"></a><b>post</b>() + <a name="M000042"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> - <div id="M000029_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000024"></a><b>pre</b>() + <a name="M000037"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> - <div id="M000024_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000027"></a><b>preinstall</b>() + <a name="M000040"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> - <div id="M000027_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Added: src/trunk/doc/classes/ReportManager.html =================================================================== --- src/trunk/doc/classes/ReportManager.html (rev 0) +++ src/trunk/doc/classes/ReportManager.html 2006-05-20 19:57:51 UTC (rev 106) @@ -0,0 +1,469 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: ReportManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />ReportManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/ReportManager_rb.html">ReportManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,130,100" href="ReportManager.html" alt="ReportManager"> +</map> +<img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +ReportManager.rb +</p> +<p> +<a href="ReportManager.html">ReportManager</a> class handles all sort of +report and query generation within the AbTLinux system. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000034">generateHTMLPackageListing</a></li> + <li><a href="#M000022">new</a></li> + <li><a href="#M000031">searchPackageDescriptions</a></li> + <li><a href="#M000030">showFileOwner</a></li> + <li><a href="#M000026">showFrozenPackages</a></li> + <li><a href="#M000024">showInstalledPackages</a></li> + <li><a href="#M000029">showJournal</a></li> + <li><a href="#M000027">showPackageDependencies</a></li> + <li><a href="#M000023">showPackageDetails</a></li> + <li><a href="#M000025">showPackageLog</a></li> + <li><a href="#M000032">showQueue</a></li> + <li><a href="#M000028">showUntrackedFiles</a></li> + <li><a href="#M000033">showUpdates</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000022"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor for the Reportmanager. +</p> +<p> +<b>RETURN</b> <em><a href="ReportManager.html">ReportManager</a></em> - an +initialized Report1Manager object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> + <div id="M000022_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000034"></a><b>generateHTMLPackageListing</b>() + </div> + <div class="description"> + <p> +Generates an HTML page of installed packages from installed packages list. +</p> +<p> +<b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> + <div id="M000034_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 162</span> +162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> +163: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000031"></a><b>searchPackageDescriptions</b>( searchText ) + </div> + <div class="description"> + <p> +Searches the installed package trees package descriptions for matching +occurrances of the given search text. +</p> +<p> +<a>PARAM<//b> <em>String</em> - a search text. <b>RETURN</b> +<em>hash</em> - a hash of the search results, keys are package names and +values are matching descriptions. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> + <div id="M000031_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 132</span> +132: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) +133: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000030"></a><b>showFileOwner</b>( file ) + </div> + <div class="description"> + <p> +Display the name of the package(s) that own the given file. +</p> +<p> +<b>PARAM</b> <em>String</em> - a file name. <b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> + <div id="M000030_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 121</span> +121: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) +122: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000026"></a><b>showFrozenPackages</b>() + </div> + <div class="description"> + <p> +Display a list of the packages found in the frozen list. +</p> +<p> +<b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> + <div id="M000026_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 82</span> +82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> +83: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000024"></a><b>showInstalledPackages</b>() + </div> + <div class="description"> + <p> +Display all packages installed and tracked by AbTLinux. +</p> +<p> +<b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> + <div id="M000024_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 60</span> +60: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> +61: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000029"></a><b>showJournal</b>() + </div> + <div class="description"> + <p> +Display the AbTLinux journal file. +</p> +<p> +<b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> + <div id="M000029_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 112</span> +112: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> +113: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000027"></a><b>showPackageDependencies</b>( package ) + </div> + <div class="description"> + <p> +Provides access to dependency checking via the AbTLinux <a +href="DepEngine.html">DepEngine</a>. (This portal to the <a +href="DepEngine.html">DepEngine</a> will be expanded in apart sub-project, +more details at a later date.) +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>hash</em> - Empty +hash if no problems found, otherwise hash of problem files and their +encountered errors. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> + <div id="M000027_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 94</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) +95: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000023"></a><b>showPackageDetails</b>( package ) + </div> + <div class="description"> + <p> +Display all data for a given package. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True +if completes without error, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> + <div id="M000023_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 52</span> +52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) +53: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000025"></a><b>showPackageLog</b>( package, logType ) + </div> + <div class="description"> + <p> +Display the contents of the requested log for a given package. Possible log +types are; install, build and integrity. +</p> +<p> +<a>PARAM<//b> <em>String</em> - <a +href="Package.html">Package</a> name. <a>PARAM<//b> +<em>String</em> - log type. <b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> + <div id="M000025_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 71</span> +71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) +72: <span class="ruby-comment cmt"># install log</span> +73: <span class="ruby-comment cmt"># build log</span> +74: <span class="ruby-comment cmt"># integrity log</span> +75: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000032"></a><b>showQueue</b>( queueType ) + </div> + <div class="description"> + <p> +Displays the contents of the current queue based on the given queue. +</p> +<p> +<a>PARAM<//b> <em>String</em> - the type of queue to display +such as install queue. <b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> + <div id="M000032_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 142</span> +142: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) +143: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000028"></a><b>showUntrackedFiles</b>() + </div> + <div class="description"> + <p> +Display all files not part of any installed AbTLinux package. This delivers +a list of files that are not tracked by AbTLinux package management. +</p> +<p> +<b>RETURN</b> <em>void.</em> +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> + <div id="M000028_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 104</span> +104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> +105: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000033"></a><b>showUpdates</b>( target ) + </div> + <div class="description"> + <p> +Reports available updates for a given package or package tree based on the +current system. +</p> +<p> +<a>PARAM<//b> <em>String</em> - the target of the update check, +either a package name or a package tree name. <b>RETURN</b> +<em>boolean</em> - True if completes without error, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> + <div id="M000033_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File ReportManager.rb, line 154</span> +154: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) +155: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/created.rid 2006-05-20 19:57:51 UTC (rev 106) @@ -1 +1 @@ -Sat May 20 20:46:16 CEST 2006 +Sat May 20 21:55:28 CEST 2006 Modified: src/trunk/doc/dot/f_5.dot =================================================================== --- src/trunk/doc/dot/f_5.dot 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/dot/f_5.dot 2006-05-20 19:57:51 UTC (rev 106) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "DepEngine.rb" + label = "ReportManager.rb" node [ fontname = Arial, fontsize = 8, @@ -13,14 +13,14 @@ subgraph cluster_6 { fontname = Arial color = red - label = "DepEngine.rb" - DepEngine [ + label = "ReportManager.rb" + ReportManager [ fontcolor = black, - URL = "classes/DepEngine.html", + URL = "classes/ReportManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "DepEngine" + label = "ReportManager" ] } Modified: src/trunk/doc/dot/f_5.png =================================================================== (Binary files differ) Added: src/trunk/doc/dot/f_6.dot =================================================================== --- src/trunk/doc/dot/f_6.dot (rev 0) +++ src/trunk/doc/dot/f_6.dot 2006-05-20 19:57:51 UTC (rev 106) @@ -0,0 +1,29 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "DepEngine.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_7 { + fontname = Arial + color = red + label = "DepEngine.rb" + DepEngine [ + fontcolor = black, + URL = "classes/DepEngine.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "DepEngine" + ] + + } + +} + Added: src/trunk/doc/dot/f_6.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_6.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/files/DepEngine_rb.html =================================================================== --- src/trunk/doc/files/DepEngine_rb.html 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/files/DepEngine_rb.html 2006-05-20 19:57:51 UTC (rev 106) @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,111,100" href="../classes/DepEngine.html" alt="DepEngine"> </map> -<img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Added: src/trunk/doc/files/ReportManager_rb.html =================================================================== --- src/trunk/doc/files/ReportManager_rb.html (rev 0) +++ src/trunk/doc/files/ReportManager_rb.html 2006-05-20 19:57:51 UTC (rev 106) @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: ReportManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />ReportManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>ReportManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Sat May 20 21:55:03 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,130,100" href="../classes/ReportManager.html" alt="ReportManager"> +</map> +<img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +ReportManager.rb +</p> +<p> +<a href="../classes/ReportManager.html">ReportManager</a> class handles all +sort of report and query generation within the AbTLinux system. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/fr_class_index.html 2006-05-20 19:57:51 UTC (rev 106) @@ -46,6 +46,7 @@ <a href="classes/LogManager.html">LogManager</a><br> <a href="classes/Package.html">Package</a><br> <a href="classes/PackageManager.html">PackageManager</a><br> +<a href="classes/ReportManager.html">ReportManager</a><br> <a href="classes/SystemManager.html">SystemManager</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/fr_file_index.html 2006-05-20 19:57:51 UTC (rev 106) @@ -46,6 +46,7 @@ <a href="files/LogManager_rb.html">LogManager.rb</a><br> <a href="files/Package_rb.html">Package.rb</a><br> <a href="files/PackageManager_rb.html">PackageManager.rb</a><br> +<a href="files/ReportManager_rb.html">ReportManager.rb</a><br> <a href="files/SystemManager_rb.html">SystemManager.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/doc/fr_method_index.html 2006-05-20 19:57:51 UTC (rev 106) @@ -41,37 +41,50 @@ <body> <div class="banner">Methods</div> <div class="entries"> -<a href="classes/Package.html#M000026">build (Package)</a><br> +<a href="classes/Package.html#M000039">build (Package)</a><br> <a href="classes/LogManager.html#M000020">cachePackage (LogManager)</a><br> <a href="classes/SystemManager.html#M000009">cleanupLogs (SystemManager)</a><br> <a href="classes/SystemManager.html#M000008">cleanupPackageSources (SystemManager)</a><br> -<a href="classes/Package.html#M000025">configure (Package)</a><br> -<a href="classes/Package.html#M000023">details (Package)</a><br> +<a href="classes/Package.html#M000038">configure (Package)</a><br> +<a href="classes/Package.html#M000036">details (Package)</a><br> <a href="classes/PackageManager.html#M000005">downgrade (PackageManager)</a><br> <a href="classes/SystemManager.html#M000014">fixPackage (SystemManager)</a><br> <a href="classes/PackageManager.html#M000006">freezePackage (PackageManager)</a><br> -<a href="classes/Package.html#M000028">install (Package)</a><br> +<a href="classes/ReportManager.html#M000034">generateHTMLPackageListing (ReportManager)</a><br> +<a href="classes/Package.html#M000041">install (Package)</a><br> <a href="classes/PackageManager.html#M000002">install (PackageManager)</a><br> <a href="classes/LogManager.html#M000019">logPackageBuild (LogManager)</a><br> <a href="classes/LogManager.html#M000018">logPackageInstall (LogManager)</a><br> <a href="classes/LogManager.html#M000021">logToJournal (LogManager)</a><br> -<a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> -<a href="classes/DepEngine.html#M000022">new (DepEngine)</a><br> +<a href="classes/ReportManager.html#M000022">new (ReportManager)</a><br> <a href="classes/LogManager.html#M000017">new (LogManager)</a><br> <a href="classes/SystemManager.html#M000007">new (SystemManager)</a><br> -<a href="classes/DownloadManager.html#M000030">new (DownloadManager)</a><br> -<a href="classes/Package.html#M000029">post (Package)</a><br> -<a href="classes/Package.html#M000024">pre (Package)</a><br> -<a href="classes/Package.html#M000027">preinstall (Package)</a><br> +<a href="classes/DownloadManager.html#M000043">new (DownloadManager)</a><br> +<a href="classes/DepEngine.html#M000035">new (DepEngine)</a><br> +<a href="classes/PackageManager.html#M000001">new (PackageManager)</a><br> +<a href="classes/Package.html#M000042">post (Package)</a><br> +<a href="classes/Package.html#M000037">pre (Package)</a><br> +<a href="classes/Package.html#M000040">preinstall (Package)</a><br> <a href="classes/PackageManager.html#M000003">reinstall (PackageManager)</a><br> <a href="classes/PackageManager.html#M000004">remove (PackageManager)</a><br> -<a href="classes/DownloadManager.html#M000033">retrieveNewsFeed (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000031">retrievePackageSource (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000032">retrievePackageTree (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000046">retrieveNewsFeed (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000044">retrievePackageSource (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000045">retrievePackageTree (DownloadManager)</a><br> +<a href="classes/ReportManager.html#M000031">searchPackageDescriptions (ReportManager)</a><br> <a href="classes/SystemManager.html#M000015">setCentralRepo (SystemManager)</a><br> <a href="classes/SystemManager.html#M000016">setPackageTreeLocation (SystemManager)</a><br> -<a href="classes/DownloadManager.html#M000034">updatePackage (DownloadManager)</a><br> -<a href="classes/DownloadManager.html#M000035">updatePackageTree (DownloadManager)</a><br> +<a href="classes/ReportManager.html#M000030">showFileOwner (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000026">showFrozenPackages (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000024">showInstalledPackages (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000029">showJournal (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000027">showPackageDependencies (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000023">showPackageDetails (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000025">showPackageLog (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000032">showQueue (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000028">showUntrackedFiles (ReportManager)</a><br> +<a href="classes/ReportManager.html#M000033">showUpdates (ReportManager)</a><br> +<a href="classes/DownloadManager.html#M000047">updatePackage (DownloadManager)</a><br> +<a href="classes/DownloadManager.html#M000048">updatePackageTree (DownloadManager)</a><br> <a href="classes/SystemManager.html#M000010">verifyInstalledFiles (SystemManager)</a><br> <a href="classes/SystemManager.html#M000012">verifyPackageDepends (SystemManager)</a><br> <a href="classes/SystemManager.html#M000013">verifyPackageIntegrity (SystemManager)</a><br> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-20 18:47:34 UTC (rev 105) +++ src/trunk/docGen.sh 2006-05-20 19:57:51 UTC (rev 106) @@ -21,6 +21,7 @@ DownloadManager.rb SystemManager.rb LogManager.rb + ReportManager.rb DepEngine.rb"; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-21 19:41:54
|
Revision: 108 Author: eschabell Date: 2006-05-21 12:41:28 -0700 (Sun, 21 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=108&view=rev Log Message: ----------- Some typos fixed and apperantly need to have blank line between each PARAM or RETURN line for proper document generation. Docs regenerated to pick up the changes. Modified Paths: -------------- src/trunk/DownloadManager.rb src/trunk/LogManager.rb src/trunk/PackageManager.rb src/trunk/ReportManager.rb src/trunk/SystemManager.rb src/trunk/doc/classes/DepEngine.html src/trunk/doc/classes/DownloadManager.html src/trunk/doc/classes/LogManager.html src/trunk/doc/classes/Package.html src/trunk/doc/classes/PackageManager.html src/trunk/doc/classes/ReportManager.html src/trunk/doc/classes/SystemManager.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.png src/trunk/doc/dot/f_2.png src/trunk/doc/dot/f_3.png src/trunk/doc/dot/f_4.png src/trunk/doc/dot/f_5.png src/trunk/doc/dot/f_6.png src/trunk/doc/files/DepEngine_rb.html src/trunk/doc/files/DownloadManager_rb.html src/trunk/doc/files/LogManager_rb.html src/trunk/doc/files/PackageManager_rb.html src/trunk/doc/files/Package_rb.html src/trunk/doc/files/ReportManager_rb.html src/trunk/doc/files/SystemManager_rb.html src/trunk/doc/fr_method_index.html Modified: src/trunk/DownloadManager.rb =================================================================== --- src/trunk/DownloadManager.rb 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/DownloadManager.rb 2006-05-21 19:41:28 UTC (rev 108) @@ -47,6 +47,7 @@ # # <b>PARAM</b> <i>String</i> - the name of the package for which the source # is to be downloaded. + # # <b>RETURN</b> <i>boolean</i> - True if the package source has been # downloaded, otherwise false. ## @@ -57,6 +58,7 @@ # Downloads a given pacakge tree. # # <b>PARAM</b> <i>String</i> - the name of the package tree to be retrieved. + # # <b>RETURN</b> <i>boolean</i> - True if the package tree is retrieved, otherwise # false. ## @@ -76,6 +78,7 @@ # Updates a given package with available patches (version updates). # # <b>PARAM</b> <i>String</i> - the name of the package to be updated. + # # <b>RETURN</b> <i>boolean</i> - True if the given package has been updated, # otherwise false. ## Modified: src/trunk/LogManager.rb =================================================================== --- src/trunk/LogManager.rb 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/LogManager.rb 2006-05-21 19:41:28 UTC (rev 108) @@ -35,7 +35,8 @@ # package. Will be called as part of the logging done during the install # phase. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if integrity log created successfully, # otherwise false. ## @@ -62,7 +63,8 @@ # Provides logging of all files installed by given package. Should be called # as part of the install phase of the build. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if install log created successfully, # otherwise false. ## @@ -73,7 +75,8 @@ # Provides logging of all output produced during the build phase of the # given package. Should be called as part of the install phase of the build. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if build log created successfully, # otherwise false. ## @@ -84,7 +87,8 @@ # Provides a complete log of the given packages build. Includes everything # needed to duplicate the build at a later date. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if package cache created successfully, # otherwise false. ## @@ -95,7 +99,8 @@ # Provides logging of given message to the AbTLinux journal. Message logged # with date timestamp. # - # <a>PARAM<//b> <i>String</i> - Message to be added to the log. + # <b>PARAM</b> <i>String</i> - Message to be added to the log. + # # <b>RETURN</b> <i>boolean</i> - True if message logged successfully, # otherwise false. ## Modified: src/trunk/PackageManager.rb =================================================================== --- src/trunk/PackageManager.rb 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/PackageManager.rb 2006-05-21 19:41:28 UTC (rev 108) @@ -46,6 +46,7 @@ # Installs a given package. # # <b>PARAM</b> <i>String</i> - the name of the package to be installed. + # # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise # false. ## @@ -56,6 +57,7 @@ # Reinstalls a given package. # # <b>PARAM</b> <i>String</i> - the name of the package to be reinstalled. + # # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise # false. ## @@ -66,6 +68,7 @@ # Removes a given package. # # <b>PARAM</b> <i>String</i> - the name of the package to be removed. + # # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise # false. ## @@ -76,11 +79,13 @@ # Downgrades a given package. # # <b>PARAM</b> <i>String</i> - the name of the package to be downgraded. + # # <b>PARAM</b> <i>String</i> - the version number to be downgraded to. + # # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise # false. ## - def downgrade( package, verison ) + def downgrade( package, version ) end ## @@ -88,6 +93,7 @@ # list. # # <b>PARAM</b> <i>String</i> - the name of the package to be frozen. + # # <b>RETURN</b> <i>boolean</i> - True if the package is frozen, otherwise # false. ## Modified: src/trunk/ReportManager.rb =================================================================== --- src/trunk/ReportManager.rb 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/ReportManager.rb 2006-05-21 19:41:28 UTC (rev 108) @@ -45,7 +45,8 @@ ## # Display all data for a given package. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise # false. ## @@ -64,8 +65,10 @@ # Display the contents of the requested log for a given package. Possible # log types are; install, build and integrity. # - # <a>PARAM<//b> <i>String</i> - Package name. - # <a>PARAM<//b> <i>String</i> - log type. + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>PARAM</b> <i>String</i> - log type. + # # <b>RETURN</b> <i>void.</i> ## def showPackageLog( package, logType ) @@ -87,7 +90,8 @@ # portal to the DepEngine will be expanded in apart sub-project, more # details at a later date.) # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise # hash of problem files and their encountered errors. ## @@ -116,6 +120,7 @@ # Display the name of the package(s) that own the given file. # # <b>PARAM</b> <i>String</i> - a file name. + # # <b>RETURN</b> <i>void.</i> ## def showFileOwner( file ) @@ -125,7 +130,8 @@ # Searches the installed package trees package descriptions for matching # occurrances of the given search text. # - # <a>PARAM<//b> <i>String</i> - a search text. + # <b>PARAM</b> <i>String</i> - a search text. + # # <b>RETURN</b> <i>hash</i> - a hash of the search results, keys are package # names and values are matching descriptions. ## @@ -135,8 +141,9 @@ ## # Displays the contents of the current queue based on the given queue. # - # <a>PARAM<//b> <i>String</i> - the type of queue to display such as install + # <b>PARAM</b> <i>String</i> - the type of queue to display such as install # queue. + # # <b>RETURN</b> <i>void.</i> ## def showQueue( queueType ) @@ -146,8 +153,9 @@ # Reports available updates for a given package or package tree based on the # current system. # - # <a>PARAM<//b> <i>String</i> - the target of the update check, either a + # <b>PARAM</b> <i>String</i> - the target of the update check, either a # package name or a package tree name. + # # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise # false. ## @@ -161,4 +169,5 @@ ## def generateHTMLPackageListing end + end Modified: src/trunk/SystemManager.rb =================================================================== --- src/trunk/SystemManager.rb 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/SystemManager.rb 2006-05-21 19:41:28 UTC (rev 108) @@ -65,7 +65,8 @@ ## # Checks if files from given package install list are actually installed. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if no installed files are missing, otherwise # false. ## @@ -75,7 +76,8 @@ ## # Checks if given packages installed symlinks are broken or missing. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if no symlinks found missing or broken, otherwise # false. ## @@ -85,7 +87,8 @@ ## # Checks the given packages dependencies for missing or broken dependencies. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if dependencies intact, otherwise # false. ## @@ -96,7 +99,8 @@ # Checks the given packages installed files against the integrity log for # changes to installed files. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise # hash of problem files and their encountered errors. ## @@ -106,7 +110,8 @@ ## # Fixes the given package. # - # <a>PARAM<//b> <i>String</i> - Package name. + # <b>PARAM</b> <i>String</i> - Package name. + # # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise # false. ## @@ -118,6 +123,7 @@ # # <b>PARAM</b> <i>String</i> - the URI where the central repository is # located. + # # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. ## def setCentralRepo( uri ) @@ -128,6 +134,7 @@ # set to a local location. # # <b>PARAM</b> <i>String</i> - the location of the package tree. + # # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise # false. ## Modified: src/trunk/doc/classes/DepEngine.html =================================================================== --- src/trunk/doc/classes/DepEngine.html 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/doc/classes/DepEngine.html 2006-05-21 19:41:28 UTC (rev 108) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,111,100" href="DepEngine.html" alt="DepEngine"> + <area shape="RECT" coords="28,51,111,99" href="DepEngine.html" alt="DepEngine"> </map> <img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000035">new</a></li> + <li><a href="#M000036">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000035"></a><b>new</b>() + <a name="M000036"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> - <div id="M000035_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DepEngine.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/DownloadManager.html =================================================================== --- src/trunk/doc/classes/DownloadManager.html 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/doc/classes/DownloadManager.html 2006-05-21 19:41:28 UTC (rev 108) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,143,100" href="DownloadManager.html" alt="DownloadManager"> + <area shape="RECT" coords="28,51,148,99" href="DownloadManager.html" alt="DownloadManager"> </map> <img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,12 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000043">new</a></li> - <li><a href="#M000046">retrieveNewsFeed</a></li> - <li><a href="#M000044">retrievePackageSource</a></li> - <li><a href="#M000045">retrievePackageTree</a></li> - <li><a href="#M000047">updatePackage</a></li> - <li><a href="#M000048">updatePackageTree</a></li> + <li><a href="#M000044">new</a></li> + <li><a href="#M000047">retrieveNewsFeed</a></li> + <li><a href="#M000045">retrievePackageSource</a></li> + <li><a href="#M000046">retrievePackageTree</a></li> + <li><a href="#M000048">updatePackage</a></li> + <li><a href="#M000049">updatePackageTree</a></li> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000043"></a><b>new</b>() + <a name="M000044"></a><b>new</b>() </div> <div class="description"> <p> @@ -146,8 +146,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File DownloadManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -159,7 +159,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>retrieveNewsFeed</b>() + <a name="M000047"></a><b>retrieveNewsFeed</b>() </div> <div class="description"> <p> @@ -171,19 +171,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 72</span> -72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> -73: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 74</span> +74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> +75: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>retrievePackageSource</b>( packageName ) + <a name="M000045"></a><b>retrievePackageSource</b>( packageName ) </div> <div class="description"> <p> @@ -191,24 +191,27 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package for which the source -is to be downloaded. <b>RETURN</b> <em>boolean</em> - True if the package -source has been downloaded, otherwise false. +is to be downloaded. </p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the package source has been +downloaded, otherwise false. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) -54: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 54</span> +54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) +55: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>retrievePackageTree</b>( packageTreeName ) + <a name="M000046"></a><b>retrievePackageTree</b>( packageTreeName ) </div> <div class="description"> <p> @@ -216,24 +219,27 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package tree to be -retrieved. <b>RETURN</b> <em>boolean</em> - True if the package tree is -retrieved, otherwise false. +retrieved. </p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the package tree is retrieved, +otherwise false. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 63</span> -63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) -64: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 65</span> +65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) +66: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>updatePackage</b>() + <a name="M000048"></a><b>updatePackage</b>() </div> <div class="description"> <p> @@ -241,24 +247,26 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package to be updated. +</p> +<p> <b>RETURN</b> <em>boolean</em> - True if the given package has been updated, otherwise false. </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 82</span> -82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> -83: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 85</span> +85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> +86: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>updatePackageTree</b>() + <a name="M000049"></a><b>updatePackageTree</b>() </div> <div class="description"> <p> @@ -270,12 +278,12 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File DownloadManager.rb, line 91</span> -91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> -92: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File DownloadManager.rb, line 94</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> +95: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/LogManager.html =================================================================== --- src/trunk/doc/classes/LogManager.html 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/doc/classes/LogManager.html 2006-05-21 19:41:28 UTC (rev 108) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,117,100" href="LogManager.html" alt="LogManager"> + <area shape="RECT" coords="28,51,119,99" href="LogManager.html" alt="LogManager"> </map> <img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,11 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000020">cachePackage</a></li> - <li><a href="#M000019">logPackageBuild</a></li> - <li><a href="#M000018">logPackageInstall</a></li> - <li><a href="#M000021">logToJournal</a></li> - <li><a href="#M000017">new</a></li> + <li><a href="#M000021">cachePackage</a></li> + <li><a href="#M000020">logPackageBuild</a></li> + <li><a href="#M000019">logPackageInstall</a></li> + <li><a href="#M000017">logPackageIntegrity</a></li> + <li><a href="#M000022">logToJournal</a></li> + <li><a href="#M000018">new</a></li> </ul> @@ -132,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000017"></a><b>new</b>() + <a name="M000018"></a><b>new</b>() </div> <div class="description"> <p> @@ -144,12 +145,12 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> - <div id="M000017_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> + <div id="M000018_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File LogManager.rb, line 58</span> -58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -59: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File LogManager.rb, line 59</span> +59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +60: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -157,7 +158,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000020"></a><b>cachePackage</b>( package ) + <a name="M000021"></a><b>cachePackage</b>( package ) </div> <div class="description"> <p> @@ -165,25 +166,27 @@ needed to duplicate the build at a later date. </p> <p> -<a>PARAM<//b> <em>String</em> - <a -href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True -if package cache created successfully, otherwise false. +<b>PARAM</b> <em>String</em> - <a href="Package.html">Package</a> name. </p> +<p> +<b>RETURN</b> <em>boolean</em> - True if package cache created +successfully, otherwise false. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> - <div id="M000020_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> + <div id="M000021_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File LogManager.rb, line 91</span> -91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) -92: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File LogManager.rb, line 95</span> +95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) +96: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000019"></a><b>logPackageBuild</b>( package ) + <a name="M000020"></a><b>logPackageBuild</b>( package ) </div> <div class="description"> <p> @@ -191,25 +194,27 @@ package. Should be called as part of the install phase of the build. </p> <p> -<a>PARAM<//b> <em>String</em> - <a -href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True -if build log created successfully, otherwise false. +<b>PARAM</b> <em>String</em> - <a href="Package.html">Package</a> name. </p> +<p> +<b>RETURN</b> <em>boolean</em> - True if build log created successfully, +otherwise false. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> - <div id="M000019_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> + <div id="M000020_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File LogManager.rb, line 80</span> -80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) -81: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File LogManager.rb, line 83</span> +83: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) +84: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000018"></a><b>logPackageInstall</b>( package ) + <a name="M000019"></a><b>logPackageInstall</b>( package ) </div> <div class="description"> <p> @@ -217,25 +222,27 @@ as part of the install phase of the build. </p> <p> -<a>PARAM<//b> <em>String</em> - <a -href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True -if install log created successfully, otherwise false. +<b>PARAM</b> <em>String</em> - <a href="Package.html">Package</a> name. </p> +<p> +<b>RETURN</b> <em>boolean</em> - True if install log created successfully, +otherwise false. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> - <div id="M000018_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> + <div id="M000019_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File LogManager.rb, line 69</span> -69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) -70: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File LogManager.rb, line 71</span> +71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) +72: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000021"></a><b>logToJournal</b>( message ) + <a name="M000022"></a><b>logToJournal</b>( message ) </div> <div class="description"> <p> @@ -243,23 +250,55 @@ with date timestamp. </p> <p> -<a>PARAM<//b> <em>String</em> - Message to be added to the log. +<b>PARAM</b> <em>String</em> - Message to be added to the log. +</p> +<p> <b>RETURN</b> <em>boolean</em> - True if message logged successfully, otherwise false. </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> - <div id="M000021_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> + <div id="M000022_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File LogManager.rb, line 102</span> -102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) -103: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File LogManager.rb, line 107</span> +107: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) +108: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> +<div class="sectiontitle">Protected Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000017"></a><b>logPackageIntegrity</b>( package ) + </div> + <div class="description"> + <p> +Provides logging of the integrity of all installed files for the given +package. Will be called as part of the logging done during the install +phase. +</p> +<p> +<b>PARAM</b> <em>String</em> - <a href="Package.html">Package</a> name. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if integrity log created +successfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> + <div id="M000017_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File LogManager.rb, line 43</span> +43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageIntegrity</span>( <span class="ruby-identifier">package</span> ) +44: <span class="ruby-keyword kw">end</span> +</pre> + </div> </div> +</div> +</div> </div> Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/doc/classes/Package.html 2006-05-21 19:41:28 UTC (rev 108) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,101,100" href="Package.html" alt="Package"> + <area shape="RECT" coords="28,51,100,99" href="Package.html" alt="Package"> </map> <img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -119,13 +119,13 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000039">build</a></li> - <li><a href="#M000038">configure</a></li> - <li><a href="#M000036">details</a></li> - <li><a href="#M000041">install</a></li> - <li><a href="#M000042">post</a></li> - <li><a href="#M000037">pre</a></li> - <li><a href="#M000040">preinstall</a></li> + <li><a href="#M000040">build</a></li> + <li><a href="#M000039">configure</a></li> + <li><a href="#M000037">details</a></li> + <li><a href="#M000042">install</a></li> + <li><a href="#M000043">post</a></li> + <li><a href="#M000038">pre</a></li> + <li><a href="#M000041">preinstall</a></li> </ul> @@ -202,7 +202,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000039"></a><b>build</b>() + <a name="M000040"></a><b>build</b>() </div> <div class="description"> <p> @@ -215,8 +215,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> - <div id="M000039_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 76</span> 76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> @@ -227,7 +227,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000038"></a><b>configure</b>() + <a name="M000039"></a><b>configure</b>() </div> <div class="description"> <p> @@ -244,8 +244,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> - <div id="M000038_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> @@ -256,7 +256,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000036"></a><b>details</b>() + <a name="M000037"></a><b>details</b>() </div> <div class="description"> <p> @@ -268,8 +268,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> - <div id="M000036_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 47</span> 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -280,7 +280,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000041"></a><b>install</b>() + <a name="M000042"></a><b>install</b>() </div> <div class="description"> <p> @@ -292,8 +292,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> - <div id="M000041_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 93</span> 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> @@ -304,7 +304,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>post</b>() + <a name="M000043"></a><b>post</b>() </div> <div class="description"> <p> @@ -317,8 +317,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 101</span> 101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> @@ -329,7 +329,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000037"></a><b>pre</b>() + <a name="M000038"></a><b>pre</b>() </div> <div class="description"> <p> @@ -342,8 +342,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> - <div id="M000037_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> @@ -354,7 +354,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000040"></a><b>preinstall</b>() + <a name="M000041"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -368,8 +368,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> - <div id="M000040_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> Modified: src/trunk/doc/classes/PackageManager.html =================================================================== --- src/trunk/doc/classes/PackageManager.html 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/doc/classes/PackageManager.html 2006-05-21 19:41:28 UTC (rev 108) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,138,100" href="PackageManager.html" alt="PackageManager"> + <area shape="RECT" coords="28,51,140,99" href="PackageManager.html" alt="PackageManager"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -159,7 +159,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000005"></a><b>downgrade</b>( package, verison ) + <a name="M000005"></a><b>downgrade</b>( package, version ) </div> <div class="description"> <p> @@ -167,7 +167,11 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package to be downgraded. +</p> +<p> <b>PARAM</b> <em>String</em> - the version number to be downgraded to. +</p> +<p> <b>RETURN</b> <em>boolean</em> - True if the package is downgraded, otherwise false. </p> @@ -176,9 +180,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> <div id="M000005_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 83</span> -83: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgrade</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">verison</span> ) -84: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 88</span> +88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgrade</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">version</span> ) +89: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -194,6 +198,8 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package to be frozen. +</p> +<p> <b>RETURN</b> <em>boolean</em> - True if the package is frozen, otherwise false. </p> @@ -202,9 +208,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> <div id="M000006_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) -95: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 100</span> +100: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) +101: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -219,6 +225,8 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package to be installed. +</p> +<p> <b>RETURN</b> <em>boolean</em> - True if the package is installed, otherwise false. </p> @@ -227,9 +235,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 52</span> -52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>( <span class="ruby-identifier">package</span> ) -53: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 53</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>( <span class="ruby-identifier">package</span> ) +54: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -244,6 +252,8 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package to be reinstalled. +</p> +<p> <b>RETURN</b> <em>boolean</em> - True if the package is reinstalled, otherwise false. </p> @@ -252,9 +262,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 62</span> -62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstall</span>( <span class="ruby-identifier">package</span> ) -63: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 64</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstall</span>( <span class="ruby-identifier">package</span> ) +65: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -269,6 +279,8 @@ </p> <p> <b>PARAM</b> <em>String</em> - the name of the package to be removed. +</p> +<p> <b>RETURN</b> <em>boolean</em> - True if the package is removed, otherwise false. </p> @@ -277,9 +289,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> <div id="M000004_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File PackageManager.rb, line 72</span> -72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">package</span> ) -73: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File PackageManager.rb, line 75</span> +75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">package</span> ) +76: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/ReportManager.html =================================================================== --- src/trunk/doc/classes/ReportManager.html 2006-05-21 19:35:06 UTC (rev 107) +++ src/trunk/doc/classes/ReportManager.html 2006-05-21 19:41:28 UTC (rev 108) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,130,100" href="ReportManager.html" alt="ReportManager"> + <area shape="RECT" coords="28,51,132,99" href="ReportManager.html" alt="ReportManager"> </map> <img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000034">generateHTMLPackageListing</a></li> - <li><a href="#M000022">new</a></li> - <li><a href="#M000031">searchPackageDescriptions</a></li> - <li><a href="#M000030">showFileOwner</a></li> - <li><a href="#M000026">showFrozenPackages</a></li> - <li><a href="#M000024">showInstalledPackages</a></li> - <li><a href="#M000029">showJournal</a></li> - <li><a href="#M000027">showPackageDependencies</a></li> - <li><a href="#M000023">showPackageDetails</a></li> - <li><a href="#M000025">showPackageLog</a></li> - <li><a href="#M000032">showQueue</a></li> - <li><a href="#M000028">showUntrackedFiles</a></li> - <li><a href="#M000033">showUpdates</a></li> + <li><a href="#M000035">generateHTMLPackageListing</a></li> + <li><a href="#M000023">new</a></li> + <li><a href="#M000032">searchPackageDescriptions</a></li> + <li><a href="#M000031">showFileOwner</a></li> + <li><a href="#M000027">showFrozenPackages</a></li> + <li><a href="#M000025">showInstalledPackages</a></li> + <li><a href="#M000030">showJournal</a></li> + <li><a href="#M000028">showPackageDependencies</a></li> + <li><a href="#M000024">showPackageDetails</a></li> + <li><a href="#M000026">showPackageLog</a></li> + <li><a href="#M000033">showQueue</a></li> + <li><a href="#M000029">showUntrackedFiles</a></li> + <li><a href="#M000034">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000022"></a><b>new</b>() + <a name="M000023"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> - <div id="M000022_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> + <div id="M000023_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File ReportManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000034"></a><b>generateHTMLPackageListing</b>() + <a name="M000035"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,19 +176,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> - <div id="M000034_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 162</span> -162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> -163: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 170</span> +170: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> +171: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000031"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000032"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -196,48 +196,53 @@ occurrances of the given search text. </p> <p> -<a>PARAM<//b> <em>String</em> - a search text. <b>RETURN</b> -<em>hash</em> - a hash of the search results, keys are package names and -values are matching descriptions. +<b>PARAM</b> <em>String</em> - a search text. </p> +<p> +<b>RETURN</b> <em>hash</em> - a hash of the search results, keys are +package names and values are matching descriptions. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> - <div id="M000031_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> + <div id="M000032_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 132</span> -132: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) -133: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 138</span> +138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) +139: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000030"></a><b>showFileOwner</b>( file ) + <a name="M000031"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> Display the name of the package(s) that own the given file. </p> <p> -<b>PARAM</b> <em>String</em> - a file name. <b>RETURN</b> <em>void.</em> +<b>PARAM</b> <em>String</em> - a file name. </p> +<p> +<b>RETURN</b> <em>void.</em> +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> - <div id="M000030_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> + <div id="M000031_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 121</span> -121: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) -122: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 126</span> +126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) +127: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000026"></a><b>showFrozenPackages</b>() + <a name="M000027"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -248,19 +253,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> - <div id="M000026_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> + <div id="M000027_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 82</span> -82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> -83: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 85</span> +85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> +86: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000024"></a><b>showInstalledPackages</b>() + <a name="M000025"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -271,19 +276,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> - <div id="M000024_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> + <div id="M000025_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 60</span> -60: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> -61: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 61</span> +61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> +62: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000029"></a><b>showJournal</b>() + <a name="M000030"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -294,19 +299,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> - <div id="M000029_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> + <div id="M000030_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 112</span> -112: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> -113: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 116</span> +116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> +117: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000027"></a><b>showPackageDependencies</b>( package ) + <a name="M000028"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -316,51 +321,54 @@ more details at a later date.) </p> <p> -<a>PARAM<//b> <em>String</em> - <a -href="Package.html">Package</a> name. <b>RETURN</b> <em>hash</em> - Empty -hash if no problems found, otherwise hash of problem files and their -encountered errors. +<b>PARAM</b> <em>String</em> - <a href="Package.html">Package</a> name. </p> +<p> +<b>RETURN</b> <em>hash</em> - Empty hash if no problems found, otherwise +hash of problem files and their encountered errors. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> - <div id="M000027_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> + <div id="M000028_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) -95: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 98</span> +98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) +99: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000023"></a><b>showPackageDetails</b>( package ) + <a name="M000024"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> Display all data for a given package. </p> <p> -<a>PARAM<//b> <em>String</em> - <a -href="Package.html">Package</a> name. <b>RETURN</b> <em>boolean</em> - True -if completes without error, otherwise false. +<b>PARAM</b> <em>String</em> - <a href="Package.html">Package</a> name. </p> +<p> +<b>RETURN</b> <em>boolean</em> - True if completes without error, otherwise +false. +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> - <div id="M000023_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> + <div id="M000024_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 52</span> -52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) -53: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 53</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) +54: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000025"></a><b>showPackageLog</b>( package, logType ) + <a name="M000026"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -368,52 +376,59 @@ types are; install, build and integrity. </p> <p> -<a>PARAM<//b> <em>String</em> - <a -href="Package.html">Package</a> name. <a>PARAM<//b> -<em>String</em> - log type. <b>RETURN</b> <em>void.</em> +<b>PARAM</b> <em>String</em> - <a href="Package.html">Package</a> name. </p> +<p> +<b>PARAM</b> <em>String</em> - log type. +</p> +<p> +<b>RETURN</b> <em>void.</em> +</p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> - <div id="M000025_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> + <div id="M000026_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File ReportManager.rb, line 71</span> -71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) -72: <span class="ruby-comment cmt"># install log</span> -73: <span class="ruby-comment cmt"># build log</span> -74: <span class="ruby-comment cmt"># integrity log</span> -75: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File ReportManager.rb, line 74</span> +74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">pack... [truncated message content] |
From: <esc...@us...> - 2006-05-22 13:20:30
|
Revision: 109 Author: eschabell Date: 2006-05-22 06:19:31 -0700 (Mon, 22 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=109&view=rev Log Message: ----------- Changed the class naming to include Abt, regenerated docs. Modified Paths: -------------- src/trunk/doc/created.rid src/trunk/doc/dot/f_0.dot src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.dot src/trunk/doc/dot/f_1.png src/trunk/doc/dot/f_2.dot src/trunk/doc/dot/f_2.png src/trunk/doc/dot/f_3.dot src/trunk/doc/dot/f_3.png src/trunk/doc/dot/f_4.dot src/trunk/doc/dot/f_4.png src/trunk/doc/dot/f_5.dot src/trunk/doc/dot/f_5.png src/trunk/doc/dot/f_6.dot src/trunk/doc/dot/f_6.png src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/doc/index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/AbtDepEngine.rb src/trunk/AbtDownloadManager.rb src/trunk/AbtLogManager.rb src/trunk/AbtPackage.rb src/trunk/AbtPackageManager.rb src/trunk/AbtReportManager.rb src/trunk/AbtSystemManager.rb src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtDownloadManager.html src/trunk/doc/classes/AbtLogManager.html src/trunk/doc/classes/AbtPackage.html src/trunk/doc/classes/AbtPackageManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/AbtSystemManager.html src/trunk/doc/files/AbtDepEngine_rb.html src/trunk/doc/files/AbtDownloadManager_rb.html src/trunk/doc/files/AbtLogManager_rb.html src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html Removed Paths: ------------- src/trunk/DepEngine.rb src/trunk/DownloadManager.rb src/trunk/LogManager.rb src/trunk/Package.rb src/trunk/PackageManager.rb src/trunk/ReportManager.rb src/trunk/SystemManager.rb src/trunk/doc/classes/DepEngine.html src/trunk/doc/classes/DownloadManager.html src/trunk/doc/classes/LogManager.html src/trunk/doc/classes/Package.html src/trunk/doc/classes/PackageManager.html src/trunk/doc/classes/ReportManager.html src/trunk/doc/classes/SystemManager.html src/trunk/doc/files/DepEngine_rb.html src/trunk/doc/files/DownloadManager_rb.html src/trunk/doc/files/LogManager_rb.html src/trunk/doc/files/MaintenanceManager_rb.html src/trunk/doc/files/PackageManager_rb.html src/trunk/doc/files/Package_rb.html src/trunk/doc/files/ReportManager_rb.html src/trunk/doc/files/SystemManager_rb.html Copied: src/trunk/AbtDepEngine.rb (from rev 108, src/trunk/DepEngine.rb) =================================================================== --- src/trunk/AbtDepEngine.rb (rev 0) +++ src/trunk/AbtDepEngine.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,45 @@ +#!/usr/bin/ruby -w + +## +# AbtDepEngine.rb +# +# AbtDepEngine class handles all dependency aspects of the AbTLinux system. It is +# part of a sub-project with it's own requirements document. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtDepEngine + + protected + + private + + public + + ## + # Constructor for the AbtDepEngine class. + # + # <b>RETURN</b> <i>AbtDepEngine</i> - an initialized AbtDepEngine object. + ## + def initialize + end + +end Copied: src/trunk/AbtDownloadManager.rb (from rev 108, src/trunk/DownloadManager.rb) =================================================================== --- src/trunk/AbtDownloadManager.rb (rev 0) +++ src/trunk/AbtDownloadManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,97 @@ +#!/usr/bin/ruby -w + +## +# AbtDownloadManager.rb +# +# AbtDownloadManager class handles all downloading of components needed for +# AbTLinux. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtDownloadManager + + protected + + private + + public + + ## + # Constructor for the AbtDownloadManager class. + # + # <b>RETURN</b> <i>AbtDownloadManager</i> - an initialized AbtDownloadManager object. + ## + def initialize + end + + ## + # Downloads a given package source. + # + # <b>PARAM</b> <i>String</i> - the name of the package for which the source + # is to be downloaded. + # + # <b>RETURN</b> <i>boolean</i> - True if the package source has been + # downloaded, otherwise false. + ## + def retrievePackageSource( packageName ) + end + + ## + # Downloads a given pacakge tree. + # + # <b>PARAM</b> <i>String</i> - the name of the package tree to be retrieved. + # + # <b>RETURN</b> <i>boolean</i> - True if the package tree is retrieved, otherwise + # false. + ## + def retrievePackageTree( packageTreeName ) + end + + ## + # Retrieves the AbTLinux news feed. + # + # <b>RETURN</b> <i>boolean</i> - True if the AbTLinux news feed has been + # retrieved, otherwise false. + ## + def retrieveNewsFeed + end + + ## + # Updates a given package with available patches (version updates). + # + # <b>PARAM</b> <i>String</i> - the name of the package to be updated. + # + # <b>RETURN</b> <i>boolean</i> - True if the given package has been updated, + # otherwise false. + ## + def updatePackage + end + + ## + # Updates the package tree. + # + # <b>RETURN</b> <i>boolean</i> - True if the package tree has been updated, + # otherwise false. + ## + def updatePackageTree + end + +end Copied: src/trunk/AbtLogManager.rb (from rev 108, src/trunk/LogManager.rb) =================================================================== --- src/trunk/AbtLogManager.rb (rev 0) +++ src/trunk/AbtLogManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,110 @@ +#!/usr/bin/ruby -w + +## +# AbtLogManager.rb +# +# AbtLogManager class handles all aspects of logging and access to existing logs +# within the AbTLinux system. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtLogManager + + protected + + ## + # Provides logging of the integrity of all installed files for the given + # package. Will be called as part of the logging done during the install + # phase. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if integrity log created successfully, + # otherwise false. + ## + def logPackageIntegrity( package ) + end + + + private + + # placeholder for private methods. + + + public + + ## + # Constructor for the AbtLogManager. + # + # <b>RETURN</b> <i>AbtLogManager</i> - an initialized AbtLogManager object. + ## + def initialize + end + + ## + # Provides logging of all files installed by given package. Should be called + # as part of the install phase of the build. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if install log created successfully, + # otherwise false. + ## + def logPackageInstall( package ) + end + + ## + # Provides logging of all output produced during the build phase of the + # given package. Should be called as part of the install phase of the build. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if build log created successfully, + # otherwise false. + ## + def logPackageBuild( package ) + end + + ## + # Provides a complete log of the given packages build. Includes everything + # needed to duplicate the build at a later date. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if package cache created successfully, + # otherwise false. + ## + def cachePackage( package ) + end + + ## + # Provides logging of given message to the AbTLinux journal. Message logged + # with date timestamp. + # + # <b>PARAM</b> <i>String</i> - Message to be added to the log. + # + # <b>RETURN</b> <i>boolean</i> - True if message logged successfully, + # otherwise false. + ## + def logToJournal( message ) + end + +end Copied: src/trunk/AbtPackage.rb (from rev 108, src/trunk/Package.rb) =================================================================== --- src/trunk/AbtPackage.rb (rev 0) +++ src/trunk/AbtPackage.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,104 @@ +#!/usr/bin/ruby -w + +## +# AbtPackage.rb +# +# AbtPackage class provides an interface to AbtPackage creation within AbTLinux. By +# inheriting from this class (class Fortune < AbtPackage) one picks up all +# supported standard functions for the abt AbtPackage manager to make use of the +# new AbtPackage. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtPackage + + protected + + private + + public + + attr_reader :NAME, :VERSION, :SRCFILE, :SRCDIR, :SRCURL, :INTEGRITY + attr_reader :URL, :LICENSE, :DESCRIPTION + + ## + # Provides all the data needed for this AbtPackage. + # + # <b>RETURNS:</b> <i>hash</i> - Contains all AbtPackage attributes (constants). + ## + def details + end + + ## + # Preliminary work will happen here such as downloading the tarball, + # unpacking it, downloading and applying patches. + # + # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. + ## + def pre + end + + ## + # Here we manage the ./configure step (or equivalent). We need to give ./configure + # (or autogen.sh, or whatever) the correct options so files are to be placed later in the + # right directories, so doc files and man pages are all in the same common location, etc. + # Don't forget too that it's here where we interact with the user in case there are optionnal + # dependencies. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def configure + end + + ## + # Here is where the actual builing of the software starts, for example running 'make'. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def build + end + + ## + # Any actions needed before the installation can occur will happen here, such as creating + # new user accounts, dealing with existing configuration files, etc. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def preinstall + end + + ## + # All files to be installed are installed here. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def install + end + + ## + # Last bits of installation. adding the service for automatic start in init.d for example. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def post + end + +end Copied: src/trunk/AbtPackageManager.rb (from rev 108, src/trunk/PackageManager.rb) =================================================================== --- src/trunk/AbtPackageManager.rb (rev 0) +++ src/trunk/AbtPackageManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,103 @@ +#!/usr/bin/ruby -w + +## +# AbtPackageManager.rb +# +# AbtPackageManager class will take care of the installation, removal, updating, +# downgrading and freezing of AbTLinux software packages. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtPackageManager + + protected + + private + + public + + ## + # Constructor for AbtPackageManager. + # + # <b>RETURN</b> <i>AbtPackageManager</i> - an initialized AbtPackageManager object. + ## + def initialize + end + + ## + # Installs a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be installed. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise + # false. + ## + def install( package ) + end + + ## + # Reinstalls a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be reinstalled. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise + # false. + ## + def reinstall( package ) + end + + ## + # Removes a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be removed. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise + # false. + ## + def remove( package ) + end + + ## + # Downgrades a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be downgraded. + # + # <b>PARAM</b> <i>String</i> - the version number to be downgraded to. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise + # false. + ## + def downgrade( package, version ) + end + + ## + # Freezes a given package. If successful will add give package to the frozen + # list. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be frozen. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is frozen, otherwise + # false. + ## + def freezePackage( package ) + end + +end Copied: src/trunk/AbtReportManager.rb (from rev 108, src/trunk/ReportManager.rb) =================================================================== --- src/trunk/AbtReportManager.rb (rev 0) +++ src/trunk/AbtReportManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,173 @@ +#!/usr/bin/ruby -w + +## +# AbtReportManager.rb +# +# AbtReportManager class handles all sort of report and query generation within +# the AbTLinux system. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtReportManager + + protected + + private + + public + + ## + # Constructor for the AbtReportManager. + # + # <b>RETURN</b> <i>AbtReportManager</i> - an initialized Report1Manager object. + ## + def initialize + end + + ## + # Display all data for a given package. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def showPackageDetails( package ) + end + + ## + # Display all packages installed and tracked by AbTLinux. + # + # <b>RETURN</b> <i>void.</i> + ## + def showInstalledPackages + end + + ## + # Display the contents of the requested log for a given package. Possible + # log types are; install, build and integrity. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>PARAM</b> <i>String</i> - log type. + # + # <b>RETURN</b> <i>void.</i> + ## + def showPackageLog( package, logType ) + # install log + # build log + # integrity log + end + + ## + # Display a list of the packages found in the frozen list. + # + # <b>RETURN</b> <i>void.</i> + ## + def showFrozenPackages + end + + ## + # Provides access to dependency checking via the AbTLinux DepEngine. (This + # portal to the DepEngine will be expanded in apart sub-project, more + # details at a later date.) + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise + # hash of problem files and their encountered errors. + ## + def showPackageDependencies( package ) + end + + ## + # Display all files not part of any installed AbTLinux package. This + # delivers a list of files that are not tracked by AbTLinux package + # management. + # + # <b>RETURN</b> <i>void.</i> + ## + def showUntrackedFiles + end + + ## + # Display the AbTLinux journal file. + # + # <b>RETURN</b> <i>void.</i> + ## + def showJournal + end + + ## + # Display the name of the package(s) that own the given file. + # + # <b>PARAM</b> <i>String</i> - a file name. + # + # <b>RETURN</b> <i>void.</i> + ## + def showFileOwner( file ) + end + + ## + # Searches the installed package trees package descriptions for matching + # occurrances of the given search text. + # + # <b>PARAM</b> <i>String</i> - a search text. + # + # <b>RETURN</b> <i>hash</i> - a hash of the search results, keys are package + # names and values are matching descriptions. + ## + def searchPackageDescriptions( searchText ) + end + + ## + # Displays the contents of the current queue based on the given queue. + # + # <b>PARAM</b> <i>String</i> - the type of queue to display such as install + # queue. + # + # <b>RETURN</b> <i>void.</i> + ## + def showQueue( queueType ) + end + + ## + # Reports available updates for a given package or package tree based on the + # current system. + # + # <b>PARAM</b> <i>String</i> - the target of the update check, either a + # package name or a package tree name. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def showUpdates( target ) + end + + ## + # Generates an HTML page of installed packages from installed packages list. + # + # <b>RETURN</b> <i>void.</i> + ## + def generateHTMLPackageListing + end + +end Copied: src/trunk/AbtSystemManager.rb (from rev 108, src/trunk/SystemManager.rb) =================================================================== --- src/trunk/AbtSystemManager.rb (rev 0) +++ src/trunk/AbtSystemManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,144 @@ +#!/usr/bin/ruby -w + +## +# AbtSystemManager.rb +# +# AbtSystemManager class handles all aspects of the AbTLinux system. It takes +# care of such tasks as cleanup, fixing, verification and management of +# settings within the system. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtSystemManager + + protected + + private + + public + + ## + # Constructor for the System manager + # + # <b>RETURN</b> <i>AbtSystemManager</i> - an initialized AbtSystemManager object. + ## + def initialize + end + + ## + # Removes all sources for packages that are not currently installed. Makes + # use of install listing to determine package sources to keep. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def cleanupPackageSources + end + + ## + # All logs for packages not in install list are cleaned off the system. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def cleanupLogs + end + + ## + # Checks if files from given package install list are actually installed. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if no installed files are missing, otherwise + # false. + ## + def verifyInstalledFiles( package ) + end + + ## + # Checks if given packages installed symlinks are broken or missing. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if no symlinks found missing or broken, otherwise + # false. + ## + def verifySymlinks( package ) + end + + ## + # Checks the given packages dependencies for missing or broken dependencies. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if dependencies intact, otherwise + # false. + ## + def verifyPackageDepends( package ) + end + + ## + # Checks the given packages installed files against the integrity log for + # changes to installed files. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise + # hash of problem files and their encountered errors. + ## + def verifyPackageIntegrity( package ) + end + + ## + # Fixes the given package. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def fixPackage( package ) + end + + ## + # Sets the URI of a central repository for pre-compiled packages. + # + # <b>PARAM</b> <i>String</i> - the URI where the central repository is + # located. + # + # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. + ## + def setCentralRepo( uri ) + end + + ## + # Sets the location where the package tree is to be downloaded from, can be + # set to a local location. + # + # <b>PARAM</b> <i>String</i> - the location of the package tree. + # + # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise + # false. + ## + def setPackageTreeLocation( location ) + end + +end Deleted: src/trunk/DepEngine.rb =================================================================== --- src/trunk/DepEngine.rb 2006-05-21 19:41:28 UTC (rev 108) +++ src/trunk/DepEngine.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -1,45 +0,0 @@ -#!/usr/bin/ruby -w - -## -# DepEngine.rb -# -# DepEngine class handles all dependency aspects of the AbTLinux system. It is -# part of a sub-project with it's own requirements document. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class DepEngine - - protected - - private - - public - - ## - # Constructor for the DepEngine class. - # - # <b>RETURN</b> <i>DepEngine</i> - an initialized DepEngine object. - ## - def initialize - end - -end Deleted: src/trunk/DownloadManager.rb =================================================================== --- src/trunk/DownloadManager.rb 2006-05-21 19:41:28 UTC (rev 108) +++ src/trunk/DownloadManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -1,97 +0,0 @@ -#!/usr/bin/ruby -w - -## -# DownloadManager.rb -# -# DownloadManager class handles all downloading of components needed for -# AbTLinux. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class DownloadManager - - protected - - private - - public - - ## - # Constructor for the DownloadManager class. - # - # <b>RETURN</b> <i>DownloadManager</i> - an initialized DownloadManager object. - ## - def initialize - end - - ## - # Downloads a given package source. - # - # <b>PARAM</b> <i>String</i> - the name of the package for which the source - # is to be downloaded. - # - # <b>RETURN</b> <i>boolean</i> - True if the package source has been - # downloaded, otherwise false. - ## - def retrievePackageSource( packageName ) - end - - ## - # Downloads a given pacakge tree. - # - # <b>PARAM</b> <i>String</i> - the name of the package tree to be retrieved. - # - # <b>RETURN</b> <i>boolean</i> - True if the package tree is retrieved, otherwise - # false. - ## - def retrievePackageTree( packageTreeName ) - end - - ## - # Retrieves the AbTLinux news feed. - # - # <b>RETURN</b> <i>boolean</i> - True if the AbTLinux news feed has been - # retrieved, otherwise false. - ## - def retrieveNewsFeed - end - - ## - # Updates a given package with available patches (version updates). - # - # <b>PARAM</b> <i>String</i> - the name of the package to be updated. - # - # <b>RETURN</b> <i>boolean</i> - True if the given package has been updated, - # otherwise false. - ## - def updatePackage - end - - ## - # Updates the package tree. - # - # <b>RETURN</b> <i>boolean</i> - True if the package tree has been updated, - # otherwise false. - ## - def updatePackageTree - end - -end Deleted: src/trunk/LogManager.rb =================================================================== --- src/trunk/LogManager.rb 2006-05-21 19:41:28 UTC (rev 108) +++ src/trunk/LogManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -1,110 +0,0 @@ -#!/usr/bin/ruby -w - -## -# LogManager.rb -# -# LogManager class handles all aspects of logging and access to existing logs -# within the AbTLinux system. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class LogManager - - protected - - ## - # Provides logging of the integrity of all installed files for the given - # package. Will be called as part of the logging done during the install - # phase. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if integrity log created successfully, - # otherwise false. - ## - def logPackageIntegrity( package ) - end - - - private - - # placeholder for private methods. - - - public - - ## - # Constructor for the LogManager. - # - # <b>RETURN</b> <i>LogManager</i> - an initialized LogManager object. - ## - def initialize - end - - ## - # Provides logging of all files installed by given package. Should be called - # as part of the install phase of the build. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if install log created successfully, - # otherwise false. - ## - def logPackageInstall( package ) - end - - ## - # Provides logging of all output produced during the build phase of the - # given package. Should be called as part of the install phase of the build. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if build log created successfully, - # otherwise false. - ## - def logPackageBuild( package ) - end - - ## - # Provides a complete log of the given packages build. Includes everything - # needed to duplicate the build at a later date. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if package cache created successfully, - # otherwise false. - ## - def cachePackage( package ) - end - - ## - # Provides logging of given message to the AbTLinux journal. Message logged - # with date timestamp. - # - # <b>PARAM</b> <i>String</i> - Message to be added to the log. - # - # <b>RETURN</b> <i>boolean</i> - True if message logged successfully, - # otherwise false. - ## - def logToJournal( message ) - end - -end Deleted: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-21 19:41:28 UTC (rev 108) +++ src/trunk/Package.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -1,104 +0,0 @@ -#!/usr/bin/ruby -w - -## -# Package.rb -# -# Package class provides an interface to package creation within AbTLinux. By -# inheriting from this class (class Fortune < Package) one picks up all -# supported standard functions for the abt package manager to make use of the -# new package. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class Package - - protected - - private - - public - - attr_reader :NAME, :VERSION, :SRCFILE, :SRCDIR, :SRCURL, :INTEGRITY - attr_reader :URL, :LICENSE, :DESCRIPTION - - ## - # Provides all the data needed for this package. - # - # <b>RETURNS:</b> <i>hash</i> - Contains all package attributes (constants). - ## - def details - end - - ## - # Preliminary work will happen here such as downloading the tarball, - # unpacking it, downloading and applying patches. - # - # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. - ## - def pre - end - - ## - # Here we manage the ./configure step (or equivalent). We need to give ./configure - # (or autogen.sh, or whatever) the correct options so files are to be placed later in the - # right directories, so doc files and man pages are all in the same common location, etc. - # Don't forget too that it's here where we interact with the user in case there are optionnal - # dependencies. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def configure - end - - ## - # Here is where the actual builing of the software starts, for example running 'make'. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def build - end - - ## - # Any actions needed before the installation can occur will happen here, such as creating - # new user accounts, dealing with existing configuration files, etc. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def preinstall - end - - ## - # All files to be installed are installed here. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def install - end - - ## - # Last bits of installation. adding the service for automatic start in init.d for example. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def post - end - -end Deleted: src/trunk/PackageManager.rb =================================================================== --- src/trunk/PackageManager.rb 2006-05-21 19:41:28 UTC (rev 108) +++ src/trunk/PackageManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -1,103 +0,0 @@ -#!/usr/bin/ruby -w - -## -# PackageManager.rb -# -# PackageManager class will take care of the installation, removal, updating, -# downgrading and freezing of AbTLinux software packages. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class PackageManager - - protected - - private - - public - - ## - # Constructor for PackageManager. - # - # <b>RETURN</b> <i>PackageManager</i> - an initialized PackageManager object. - ## - def initialize - end - - ## - # Installs a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be installed. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise - # false. - ## - def install( package ) - end - - ## - # Reinstalls a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be reinstalled. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise - # false. - ## - def reinstall( package ) - end - - ## - # Removes a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be removed. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise - # false. - ## - def remove( package ) - end - - ## - # Downgrades a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be downgraded. - # - # <b>PARAM</b> <i>String</i> - the version number to be downgraded to. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise - # false. - ## - def downgrade( package, version ) - end - - ## - # Freezes a given package. If successful will add give package to the frozen - # list. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be frozen. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is frozen, otherwise - # false. - ## - def freezePackage( package ) - end - -end Deleted: src/trunk/ReportManager.rb =================================================================== --- src/trunk/ReportManager.rb 2006-05-21 19:41:28 UTC (rev 108) +++ src/trunk/ReportManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -1,173 +0,0 @@ -#!/usr/bin/ruby -w - -## -# ReportManager.rb -# -# ReportManager class handles all sort of report and query generation within -# the AbTLinux system. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class ReportManager - - protected - - private - - public - - ## - # Constructor for the Reportmanager. - # - # <b>RETURN</b> <i>ReportManager</i> - an initialized Report1Manager object. - ## - def initialize - end - - ## - # Display all data for a given package. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def showPackageDetails( package ) - end - - ## - # Display all packages installed and tracked by AbTLinux. - # - # <b>RETURN</b> <i>void.</i> - ## - def showInstalledPackages - end - - ## - # Display the contents of the requested log for a given package. Possible - # log types are; install, build and integrity. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>PARAM</b> <i>String</i> - log type. - # - # <b>RETURN</b> <i>void.</i> - ## - def showPackageLog( package, logType ) - # install log - # build log - # integrity log - end - - ## - # Display a list of the packages found in the frozen list. - # - # <b>RETURN</b> <i>void.</i> - ## - def showFrozenPackages - end - - ## - # Provides access to dependency checking via the AbTLinux DepEngine. (This - # portal to the DepEngine will be expanded in apart sub-project, more - # details at a later date.) - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise - # hash of problem files and their encountered errors. - ## - def showPackageDependencies( package ) - end - - ## - # Display all files not part of any installed AbTLinux package. This - # delivers a list of files that are not tracked by AbTLinux package - # management. - # - # <b>RETURN</b> <i>void.</i> - ## - def showUntrackedFiles - end - - ## - # Display the AbTLinux journal file. - # - # <b>RETURN</b> <i>void.</i> - ## - def showJournal - end - - ## - # Display the name of the package(s) that own the given file. - # - # <b>PARAM</b> <i>String</i> - a file name. - # - # <b>RETURN</b> <i>void.</i> - ## - def showFileOwner( file ) - end - - ## - # Searches the installed package trees package descriptions for matching - # occurrances of the given search text. - # - # <b>PARAM</b> <i>String</i> - a search text. - # - # <b>RETURN</b> <i>hash</i> - a hash of the search results, keys are package - # names and values are matching descriptions. - ## - def searchPackageDescriptions( searchText ) - end - - ## - # Displays the contents of the current queue based on the given queue. - # - # <b>PARAM</b> <i>String</i> - the type of queue to display such as install - # queue. - # - # <b>RETURN</b> <i>void.</i> - ## - def showQueue( queueType ) - end - - ## - # Reports available updates for a given package or package tree based on the - # current system. - # - # <b>PARAM</b> <i>String</i> - the target of the update check, either a - # package name or a package tree name. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def showUpdates( target ) - end - - ## - # Generates an HTML page of installed packages from installed packages list. - # - # <b>RETURN</b> <i>void.</i> - ## - def generateHTMLPackageListing - end - -end Deleted: src/trunk/SystemManager.rb =================================================================== --- src/trunk/SystemManager.rb 2006-05-21 19:41:28 UTC (rev 108) +++ src/trunk/SystemManager.rb 2006-05-22 13:19:31 UTC (rev 109) @@ -1,144 +0,0 @@ -#!/usr/bin/ruby -w - -## -# SystemManager.rb -# -# SystemManager class handles all aspects of the AbTLinux system. It takes -# care of such tasks as cleanup, fixing, verification and management of -# settings within the system. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class SystemManager - - protected - - private - - public - - ## - # Constructor for the System manager - # - # <b>RETURN</b> <i>SystemManager</i> - an initialized SystemManager object. - ## - def initialize - end - - ## - # Removes all sources for packages that are not currently installed. Makes - # use of install listing to determine package sources to keep. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def cleanupPackageSources - end - - ## - # All logs for packages not in install list are cleaned off the system. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def cleanupLogs - end - - ## - # Checks if files from given package install list are actually installed. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if no installed files are missing, otherwise - # false. - ## - def verifyInstalledFiles( package ) - end - - ## - # Checks if given packages installed symlinks are broken or missing. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if no symlinks found missing or broken, otherwise - # false. - ## - def verifySymlinks( package ) - end - - ## - # Checks the given packages dependencies for missing or broken dependencies. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if dependencies intact, otherwise - # false. - ## - def verifyPackageDepends( package ) - end - - ## - # Checks the given packages installed files against the integrity log for - # changes to installed files. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise - # hash of problem files and their encountered errors. - ## - def verifyPackageIntegrity( package ) - end - - ## - # Fixes the given package. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def fixPackage( package ) - end - - ## - # Sets the URI of a central repository for pre-compiled packages. - # - # <b>PARAM</b> <i>String</i> - the URI where the central repository is - # located. - # - # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. - ## - def setCentralRepo( uri ) - end - - ## - # Sets the location where the package tree is to be downloaded from, can be - # set to a local location. - # - # <b>PARAM</b> <i>String</i> - the location of the package tree. - # - # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise - # false. - ## - def setPackageTreeLocation( location ) - end - -end Added: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html (rev 0) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,159 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: AbtDepEngine</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />AbtDepEngine</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/AbtDepEngine_rb.html">AbtDepEngine.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,127,100" href="AbtDepEngine.html" alt="AbtDepEngine"> +</map> +<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +AbtDepEngine.rb +</p> +<p> +<a href="AbtDepEngine.html">AbtDepEngine</a> class handles all dependency +aspects of the AbTLinux system. It is part of a sub-project with it’s +own requirements document. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000035">new</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000035"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor for the <a href="AbtDepEngine.html">AbtDepEngine</a> class. +</p> +<p> +<b>RETURN</b> <em><a href="AbtDepEngine.html">AbtDepEngine</a></em> - an +initialized <a href="AbtDepEngine.html">AbtDepEngine</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Added: src/trunk/doc/classes/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html (rev 0) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-05-22 13:19:31 UTC (rev 109) @@ -0,0 +1,297 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: AbtDownloadManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />AbtDownloadManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/AbtDownloadManager_rb.html">AbtDownloadManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,162,100" href="AbtDownloadManager.html" alt="AbtDownloadManager"> +</map> +<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +AbtDownloadManager.rb +</p> +<p> +<a href="AbtDownloadManager.html">AbtDownloadManager</a> class handles all +downloading of components needed for AbTLinux. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000011">new</a></li> + <li><a href="#M000014">retrieveNewsFeed</a></li> + <li><a href="#M000012">retrievePackageSource</a></li> + <li><a href="#M000013">retrievePackageTree</a></li> + <li><a href="#M000015">updatePackage</a></li> + <li><a href="#M000016">updatePackageTree</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000011"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor for the <a +href="AbtDownloadManager.html">AbtDownloadManager</a> class. +</p> +<p> +<b>RETURN</b> <em><a +href="AbtDownloadManager.html">AbtDownloadManager</a></em> - an initialized +<a href="AbtDownloadManager.html">AbtDownloadManager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show source</a> ]</p> + <div id="M000011_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000014"></a><b>retrieveNewsFeed</b>() + </div> + <div class="description"> + <p> +Retrieves the AbTLinux news feed. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the AbTLinux news feed has been +retrieved, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show source</a> ]</p> + <div id="M000014_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 74</span> +74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> +75: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000012"></a><b>retrievePackageSource</b>( packageName ) + </div> + <div class="description"> + <p> +Downloads a given package source. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package for which the source +is to be downloaded. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the package source has been +downloaded, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show source</a> ]</p> + <div id="M000012_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 54</span> +54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) +55: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000013"></a><b>retrievePackageTree</b>( packageTreeName ) + </div> + <div class="description"> + <p> +Downloads a given pacakge tree. +</p> +<p> +<b>PARAM</b> <em>String</em> - the name of the package tree to be +retrieved. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if the package tree is retrieved, +otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show source</a> ]</p> + <div id="M000013_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 65</span> +65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retr... [truncated message content] |
From: <esc...@us...> - 2006-05-22 13:29:35
|
Revision: 110 Author: eschabell Date: 2006-05-22 06:28:53 -0700 (Mon, 22 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=110&view=rev Log Message: ----------- Added class placeholder for our queue manager, generated docs. Modified Paths: -------------- src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/created.rid src/trunk/doc/dot/f_6.dot src/trunk/doc/dot/f_6.png src/trunk/doc/files/AbtDepEngine_rb.html src/trunk/doc/files/AbtDownloadManager_rb.html src/trunk/doc/files/AbtLogManager_rb.html src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/AbtQueueManager.rb src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/dot/f_7.dot src/trunk/doc/dot/f_7.png Added: src/trunk/AbtQueueManager.rb =================================================================== --- src/trunk/AbtQueueManager.rb (rev 0) +++ src/trunk/AbtQueueManager.rb 2006-05-22 13:28:53 UTC (rev 110) @@ -0,0 +1,44 @@ +#!/usr/bin/ruby -w + +## +# AbtQueueManager.rb +# +# AbtQueueManager class handles all AbTLinux queue interaction. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtQueueManager + + protected + + private + + public + + ## + # Constructor for the AbtQueueManager class. + # + # <b>RETURN</b> <i>AbtQueueManager</i> - an initialized AbtQueueManager object. + ## + def initialize + end + +end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-22 13:28:53 UTC (rev 110) @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,127,100" href="AbtDepEngine.html" alt="AbtDepEngine"> </map> -<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Added: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html (rev 0) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-22 13:28:53 UTC (rev 110) @@ -0,0 +1,159 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: AbtQueueManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />AbtQueueManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/AbtQueueManager_rb.html">AbtQueueManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Object + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,52,146,100" href="AbtQueueManager.html" alt="AbtQueueManager"> +</map> +<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +AbtQueueManager.rb +</p> +<p> +<a href="AbtQueueManager.html">AbtQueueManager</a> class handles all +AbTLinux queue interaction. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000036">new</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Class methods</div> +<div class="method"> + <div class="title"> + <a name="M000036"></a><b>new</b>() + </div> + <div class="description"> + <p> +Constructor for the <a href="AbtQueueManager.html">AbtQueueManager</a> +class. +</p> +<p> +<b>RETURN</b> <em><a href="AbtQueueManager.html">AbtQueueManager</a></em> - +an initialized <a href="AbtQueueManager.html">AbtQueueManager</a> object. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 41</span> +41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +42: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-22 13:28:53 UTC (rev 110) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000048">generateHTMLPackageListing</a></li> - <li><a href="#M000036">new</a></li> - <li><a href="#M000045">searchPackageDescriptions</a></li> - <li><a href="#M000044">showFileOwner</a></li> - <li><a href="#M000040">showFrozenPackages</a></li> - <li><a href="#M000038">showInstalledPackages</a></li> - <li><a href="#M000043">showJournal</a></li> - <li><a href="#M000041">showPackageDependencies</a></li> - <li><a href="#M000037">showPackageDetails</a></li> - <li><a href="#M000039">showPackageLog</a></li> - <li><a href="#M000046">showQueue</a></li> - <li><a href="#M000042">showUntrackedFiles</a></li> - <li><a href="#M000047">showUpdates</a></li> + <li><a href="#M000049">generateHTMLPackageListing</a></li> + <li><a href="#M000037">new</a></li> + <li><a href="#M000046">searchPackageDescriptions</a></li> + <li><a href="#M000045">showFileOwner</a></li> + <li><a href="#M000041">showFrozenPackages</a></li> + <li><a href="#M000039">showInstalledPackages</a></li> + <li><a href="#M000044">showJournal</a></li> + <li><a href="#M000042">showPackageDependencies</a></li> + <li><a href="#M000038">showPackageDetails</a></li> + <li><a href="#M000040">showPackageLog</a></li> + <li><a href="#M000047">showQueue</a></li> + <li><a href="#M000043">showUntrackedFiles</a></li> + <li><a href="#M000048">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000036"></a><b>new</b>() + <a name="M000037"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> - <div id="M000036_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>generateHTMLPackageListing</b>() + <a name="M000049"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,8 +176,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 170</span> 170: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> @@ -188,7 +188,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000046"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 138</span> 138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) @@ -216,7 +216,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>showFileOwner</b>( file ) + <a name="M000045"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 126</span> 126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) @@ -242,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000040"></a><b>showFrozenPackages</b>() + <a name="M000041"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,8 +253,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> - <div id="M000040_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> @@ -265,7 +265,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000038"></a><b>showInstalledPackages</b>() + <a name="M000039"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,8 +276,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> - <div id="M000038_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 61</span> 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> @@ -288,7 +288,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000043"></a><b>showJournal</b>() + <a name="M000044"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,8 +299,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 116</span> 116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> @@ -311,7 +311,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000041"></a><b>showPackageDependencies</b>( package ) + <a name="M000042"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,8 +328,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> - <div id="M000041_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 98</span> 98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) @@ -340,7 +340,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000037"></a><b>showPackageDetails</b>( package ) + <a name="M000038"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,8 +355,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> - <div id="M000037_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) @@ -367,7 +367,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000039"></a><b>showPackageLog</b>( package, logType ) + <a name="M000040"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,8 +385,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> - <div id="M000039_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 74</span> 74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) @@ -400,7 +400,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>showQueue</b>( queueType ) + <a name="M000047"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,8 +415,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 149</span> 149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) @@ -427,7 +427,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>showUntrackedFiles</b>() + <a name="M000043"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,8 +439,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 108</span> 108: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> @@ -451,7 +451,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>showUpdates</b>( target ) + <a name="M000048"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,8 +468,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 162</span> 162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/created.rid 2006-05-22 13:28:53 UTC (rev 110) @@ -1 +1 @@ -Mon May 22 14:52:11 CEST 2006 +Mon May 22 15:27:36 CEST 2006 Modified: src/trunk/doc/dot/f_6.dot =================================================================== --- src/trunk/doc/dot/f_6.dot 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/dot/f_6.dot 2006-05-22 13:28:53 UTC (rev 110) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtDepEngine.rb" + label = "AbtQueueManager.rb" node [ fontname = Arial, fontsize = 8, @@ -13,14 +13,14 @@ subgraph cluster_7 { fontname = Arial color = red - label = "AbtDepEngine.rb" - AbtDepEngine [ + label = "AbtQueueManager.rb" + AbtQueueManager [ fontcolor = black, - URL = "classes/AbtDepEngine.html", + URL = "classes/AbtQueueManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtDepEngine" + label = "AbtQueueManager" ] } Modified: src/trunk/doc/dot/f_6.png =================================================================== (Binary files differ) Added: src/trunk/doc/dot/f_7.dot =================================================================== --- src/trunk/doc/dot/f_7.dot (rev 0) +++ src/trunk/doc/dot/f_7.dot 2006-05-22 13:28:53 UTC (rev 110) @@ -0,0 +1,29 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "AbtDepEngine.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_8 { + fontname = Arial + color = red + label = "AbtDepEngine.rb" + AbtDepEngine [ + fontcolor = black, + URL = "classes/AbtDepEngine.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "AbtDepEngine" + ] + + } + +} + Added: src/trunk/doc/dot/f_7.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_7.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/files/AbtDepEngine_rb.html =================================================================== --- src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-22 13:28:53 UTC (rev 110) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 14:49:55 CEST 2006</td> + <td>Mon May 22 15:22:09 CEST 2006</td> </tr> </table> </td></tr> @@ -78,7 +78,7 @@ <map id="map" name="map"> <area shape="RECT" coords="29,52,127,100" href="../classes/AbtDepEngine.html" alt="AbtDepEngine"> </map> -<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/files/AbtDownloadManager_rb.html =================================================================== --- src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-22 13:28:53 UTC (rev 110) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 14:47:56 CEST 2006</td> + <td>Mon May 22 15:22:09 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/AbtLogManager_rb.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/files/AbtLogManager_rb.html 2006-05-22 13:28:53 UTC (rev 110) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 14:49:17 CEST 2006</td> + <td>Mon May 22 15:22:09 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-22 13:28:53 UTC (rev 110) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 14:50:57 CEST 2006</td> + <td>Mon May 22 15:22:09 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtPackage_rb.html =================================================================== --- src/trunk/doc/files/AbtPackage_rb.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/files/AbtPackage_rb.html 2006-05-22 13:28:53 UTC (rev 110) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 14:50:31 CEST 2006</td> + <td>Mon May 22 15:22:09 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtReportManager_rb.html =================================================================== --- src/trunk/doc/files/AbtReportManager_rb.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/files/AbtReportManager_rb.html 2006-05-22 13:28:53 UTC (rev 110) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 14:51:24 CEST 2006</td> + <td>Mon May 22 15:22:09 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtSystemManager_rb.html =================================================================== --- src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-22 13:28:53 UTC (rev 110) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 14:51:52 CEST 2006</td> + <td>Mon May 22 15:22:09 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/fr_class_index.html 2006-05-22 13:28:53 UTC (rev 110) @@ -46,6 +46,7 @@ <a href="classes/AbtLogManager.html">AbtLogManager</a><br> <a href="classes/AbtPackage.html">AbtPackage</a><br> <a href="classes/AbtPackageManager.html">AbtPackageManager</a><br> +<a href="classes/AbtQueueManager.html">AbtQueueManager</a><br> <a href="classes/AbtReportManager.html">AbtReportManager</a><br> <a href="classes/AbtSystemManager.html">AbtSystemManager</a><br> </div> Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/fr_file_index.html 2006-05-22 13:28:53 UTC (rev 110) @@ -46,6 +46,7 @@ <a href="files/AbtLogManager_rb.html">AbtLogManager.rb</a><br> <a href="files/AbtPackage_rb.html">AbtPackage.rb</a><br> <a href="files/AbtPackageManager_rb.html">AbtPackageManager.rb</a><br> +<a href="files/AbtQueueManager_rb.html">AbtQueueManager.rb</a><br> <a href="files/AbtReportManager_rb.html">AbtReportManager.rb</a><br> <a href="files/AbtSystemManager_rb.html">AbtSystemManager.rb</a><br> </div> Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/doc/fr_method_index.html 2006-05-22 13:28:53 UTC (rev 110) @@ -50,16 +50,17 @@ <a href="classes/AbtPackageManager.html#M000028">downgrade (AbtPackageManager)</a><br> <a href="classes/AbtSystemManager.html#M000008">fixPackage (AbtSystemManager)</a><br> <a href="classes/AbtPackageManager.html#M000029">freezePackage (AbtPackageManager)</a><br> -<a href="classes/AbtReportManager.html#M000048">generateHTMLPackageListing (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000049">generateHTMLPackageListing (AbtReportManager)</a><br> <a href="classes/AbtPackage.html#M000022">install (AbtPackage)</a><br> <a href="classes/AbtPackageManager.html#M000025">install (AbtPackageManager)</a><br> <a href="classes/AbtLogManager.html#M000032">logPackageBuild (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000031">logPackageInstall (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000034">logToJournal (AbtLogManager)</a><br> -<a href="classes/AbtPackageManager.html#M000024">new (AbtPackageManager)</a><br> -<a href="classes/AbtReportManager.html#M000036">new (AbtReportManager)</a><br> <a href="classes/AbtDepEngine.html#M000035">new (AbtDepEngine)</a><br> +<a href="classes/AbtQueueManager.html#M000036">new (AbtQueueManager)</a><br> +<a href="classes/AbtReportManager.html#M000037">new (AbtReportManager)</a><br> <a href="classes/AbtDownloadManager.html#M000011">new (AbtDownloadManager)</a><br> +<a href="classes/AbtPackageManager.html#M000024">new (AbtPackageManager)</a><br> <a href="classes/AbtLogManager.html#M000030">new (AbtLogManager)</a><br> <a href="classes/AbtSystemManager.html#M000001">new (AbtSystemManager)</a><br> <a href="classes/AbtPackage.html#M000023">post (AbtPackage)</a><br> @@ -70,19 +71,19 @@ <a href="classes/AbtDownloadManager.html#M000014">retrieveNewsFeed (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000012">retrievePackageSource (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000013">retrievePackageTree (AbtDownloadManager)</a><br> -<a href="classes/AbtReportManager.html#M000045">searchPackageDescriptions (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000046">searchPackageDescriptions (AbtReportManager)</a><br> <a href="classes/AbtSystemManager.html#M000009">setCentralRepo (AbtSystemManager)</a><br> <a href="classes/AbtSystemManager.html#M000010">setPackageTreeLocation (AbtSystemManager)</a><br> -<a href="classes/AbtReportManager.html#M000044">showFileOwner (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000040">showFrozenPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000038">showInstalledPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000043">showJournal (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000041">showPackageDependencies (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000037">showPackageDetails (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000039">showPackageLog (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000046">showQueue (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000042">showUntrackedFiles (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000047">showUpdates (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000045">showFileOwner (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000041">showFrozenPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000039">showInstalledPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000044">showJournal (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000042">showPackageDependencies (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000038">showPackageDetails (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000040">showPackageLog (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000047">showQueue (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000043">showUntrackedFiles (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000048">showUpdates (AbtReportManager)</a><br> <a href="classes/AbtDownloadManager.html#M000015">updatePackage (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000016">updatePackageTree (AbtDownloadManager)</a><br> <a href="classes/AbtSystemManager.html#M000004">verifyInstalledFiles (AbtSystemManager)</a><br> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-22 13:19:31 UTC (rev 109) +++ src/trunk/docGen.sh 2006-05-22 13:28:53 UTC (rev 110) @@ -22,6 +22,7 @@ AbtSystemManager.rb AbtLogManager.rb AbtReportManager.rb + AbtQueueManager.rb AbtDepEngine.rb"; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-22 18:09:37
|
Revision: 113 Author: eschabell Date: 2006-05-22 11:09:13 -0700 (Mon, 22 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=113&view=rev Log Message: ----------- Synced PackageManager method names and regenerated docs. Modified Paths: -------------- src/trunk/AbtPackageManager.rb src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtDownloadManager.html src/trunk/doc/classes/AbtLogManager.html src/trunk/doc/classes/AbtPackage.html src/trunk/doc/classes/AbtPackageManager.html src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/AbtSystemManager.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.png src/trunk/doc/dot/f_2.png src/trunk/doc/dot/f_3.png src/trunk/doc/dot/f_4.png src/trunk/doc/dot/f_5.png src/trunk/doc/dot/f_6.png src/trunk/doc/dot/f_7.png src/trunk/doc/files/AbtDepEngine_rb.html src/trunk/doc/files/AbtDownloadManager_rb.html src/trunk/doc/files/AbtLogManager_rb.html src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html src/trunk/doc/fr_method_index.html Added Paths: ----------- src/trunk/doc/files/AbtQueueManager_rb.html Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/AbtPackageManager.rb 2006-05-22 18:09:13 UTC (rev 113) @@ -50,7 +50,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise # false. ## - def install( package ) + def installPackage( package ) end ## @@ -61,7 +61,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise # false. ## - def reinstall( package ) + def reinstallPackage( package ) end ## @@ -72,7 +72,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise # false. ## - def remove( package ) + def removePackage( package ) end ## @@ -85,7 +85,7 @@ # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise # false. ## - def downgrade( package, version ) + def downgradePackage( package, version ) end ## Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,127,100" href="AbtDepEngine.html" alt="AbtDepEngine"> + <area shape="RECT" coords="28,51,129,99" href="AbtDepEngine.html" alt="AbtDepEngine"> </map> <img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000035">new</a></li> + <li><a href="#M000036">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000035"></a><b>new</b>() + <a name="M000036"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> - <div id="M000035_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,162,100" href="AbtDownloadManager.html" alt="AbtDownloadManager"> + <area shape="RECT" coords="28,51,164,99" href="AbtDownloadManager.html" alt="AbtDownloadManager"> </map> <img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtLogManager.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,133,100" href="AbtLogManager.html" alt="AbtLogManager"> + <area shape="RECT" coords="28,51,135,99" href="AbtLogManager.html" alt="AbtLogManager"> </map> <img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,11 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000033">cachePackage</a></li> - <li><a href="#M000032">logPackageBuild</a></li> - <li><a href="#M000031">logPackageInstall</a></li> - <li><a href="#M000034">logToJournal</a></li> - <li><a href="#M000030">new</a></li> + <li><a href="#M000034">cachePackage</a></li> + <li><a href="#M000033">logPackageBuild</a></li> + <li><a href="#M000032">logPackageInstall</a></li> + <li><a href="#M000030">logPackageIntegrity</a></li> + <li><a href="#M000035">logToJournal</a></li> + <li><a href="#M000031">new</a></li> </ul> @@ -132,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000030"></a><b>new</b>() + <a name="M000031"></a><b>new</b>() </div> <div class="description"> <p> @@ -144,8 +145,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> - <div id="M000030_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> + <div id="M000031_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 59</span> 59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -157,7 +158,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000033"></a><b>cachePackage</b>( package ) + <a name="M000034"></a><b>cachePackage</b>( package ) </div> <div class="description"> <p> @@ -173,8 +174,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> - <div id="M000033_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> + <div id="M000034_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 95</span> 95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) @@ -185,7 +186,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000032"></a><b>logPackageBuild</b>( package ) + <a name="M000033"></a><b>logPackageBuild</b>( package ) </div> <div class="description"> <p> @@ -201,8 +202,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> - <div id="M000032_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> + <div id="M000033_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 83</span> 83: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) @@ -213,7 +214,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000031"></a><b>logPackageInstall</b>( package ) + <a name="M000032"></a><b>logPackageInstall</b>( package ) </div> <div class="description"> <p> @@ -229,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> - <div id="M000031_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> + <div id="M000032_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 71</span> 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) @@ -241,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000034"></a><b>logToJournal</b>( message ) + <a name="M000035"></a><b>logToJournal</b>( message ) </div> <div class="description"> <p> @@ -257,8 +258,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> - <div id="M000034_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 107</span> 107: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) @@ -267,7 +268,37 @@ </div> </div> </div> +<div class="sectiontitle">Protected Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000030"></a><b>logPackageIntegrity</b>( package ) + </div> + <div class="description"> + <p> +Provides logging of the integrity of all installed files for the given +package. Will be called as part of the logging done during the install +phase. +</p> +<p> +<b>PARAM</b> <em>String</em> - Package name. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if integrity log created +successfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> + <div id="M000030_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 43</span> +43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageIntegrity</span>( <span class="ruby-identifier">package</span> ) +44: <span class="ruby-keyword kw">end</span> +</pre> + </div> </div> +</div> +</div> </div> Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtPackage.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,117,100" href="AbtPackage.html" alt="AbtPackage"> + <area shape="RECT" coords="28,51,116,99" href="AbtPackage.html" alt="AbtPackage"> </map> <img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/classes/AbtPackageManager.html =================================================================== --- src/trunk/doc/classes/AbtPackageManager.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,157,100" href="AbtPackageManager.html" alt="AbtPackageManager"> + <area shape="RECT" coords="28,51,159,99" href="AbtPackageManager.html" alt="AbtPackageManager"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -118,12 +118,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000028">downgrade</a></li> + <li><a href="#M000028">downgradePackage</a></li> <li><a href="#M000029">freezePackage</a></li> - <li><a href="#M000025">install</a></li> + <li><a href="#M000025">installPackage</a></li> <li><a href="#M000024">new</a></li> - <li><a href="#M000026">reinstall</a></li> - <li><a href="#M000027">remove</a></li> + <li><a href="#M000026">reinstallPackage</a></li> + <li><a href="#M000027">removePackage</a></li> </ul> @@ -160,7 +160,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000028"></a><b>downgrade</b>( package, version ) + <a name="M000028"></a><b>downgradePackage</b>( package, version ) </div> <div class="description"> <p> @@ -182,7 +182,7 @@ <div id="M000028_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 88</span> -88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgrade</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">version</span> ) +88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgradePackage</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">version</span> ) 89: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -218,7 +218,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000025"></a><b>install</b>( package ) + <a name="M000025"></a><b>installPackage</b>( package ) </div> <div class="description"> <p> @@ -237,7 +237,7 @@ <div id="M000025_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span>( <span class="ruby-identifier">package</span> ) +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">installPackage</span>( <span class="ruby-identifier">package</span> ) 54: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -245,7 +245,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000026"></a><b>reinstall</b>( package ) + <a name="M000026"></a><b>reinstallPackage</b>( package ) </div> <div class="description"> <p> @@ -264,7 +264,7 @@ <div id="M000026_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 64</span> -64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstall</span>( <span class="ruby-identifier">package</span> ) +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-identifier">package</span> ) 65: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -272,7 +272,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000027"></a><b>remove</b>( package ) + <a name="M000027"></a><b>removePackage</b>( package ) </div> <div class="description"> <p> @@ -291,7 +291,7 @@ <div id="M000027_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 75</span> -75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remove</span>( <span class="ruby-identifier">package</span> ) +75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removePackage</span>( <span class="ruby-identifier">package</span> ) 76: <span class="ruby-keyword kw">end</span> </pre> </div> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,146,100" href="AbtQueueManager.html" alt="AbtQueueManager"> + <area shape="RECT" coords="28,51,148,99" href="AbtQueueManager.html" alt="AbtQueueManager"> </map> <img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000036">new</a></li> + <li><a href="#M000037">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000036"></a><b>new</b>() + <a name="M000037"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> - <div id="M000036_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 41</span> 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,146,100" href="AbtReportManager.html" alt="AbtReportManager"> + <area shape="RECT" coords="28,51,148,99" href="AbtReportManager.html" alt="AbtReportManager"> </map> <img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000049">generateHTMLPackageListing</a></li> - <li><a href="#M000037">new</a></li> - <li><a href="#M000046">searchPackageDescriptions</a></li> - <li><a href="#M000045">showFileOwner</a></li> - <li><a href="#M000041">showFrozenPackages</a></li> - <li><a href="#M000039">showInstalledPackages</a></li> - <li><a href="#M000044">showJournal</a></li> - <li><a href="#M000042">showPackageDependencies</a></li> - <li><a href="#M000038">showPackageDetails</a></li> - <li><a href="#M000040">showPackageLog</a></li> - <li><a href="#M000047">showQueue</a></li> - <li><a href="#M000043">showUntrackedFiles</a></li> - <li><a href="#M000048">showUpdates</a></li> + <li><a href="#M000050">generateHTMLPackageListing</a></li> + <li><a href="#M000038">new</a></li> + <li><a href="#M000047">searchPackageDescriptions</a></li> + <li><a href="#M000046">showFileOwner</a></li> + <li><a href="#M000042">showFrozenPackages</a></li> + <li><a href="#M000040">showInstalledPackages</a></li> + <li><a href="#M000045">showJournal</a></li> + <li><a href="#M000043">showPackageDependencies</a></li> + <li><a href="#M000039">showPackageDetails</a></li> + <li><a href="#M000041">showPackageLog</a></li> + <li><a href="#M000048">showQueue</a></li> + <li><a href="#M000044">showUntrackedFiles</a></li> + <li><a href="#M000049">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000037"></a><b>new</b>() + <a name="M000038"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> - <div id="M000037_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>generateHTMLPackageListing</b>() + <a name="M000050"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,8 +176,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> - <div id="M000049_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 170</span> 170: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> @@ -188,7 +188,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000047"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 138</span> 138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) @@ -216,7 +216,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>showFileOwner</b>( file ) + <a name="M000046"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 126</span> 126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) @@ -242,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000041"></a><b>showFrozenPackages</b>() + <a name="M000042"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,8 +253,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> - <div id="M000041_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> @@ -265,7 +265,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000039"></a><b>showInstalledPackages</b>() + <a name="M000040"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,8 +276,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> - <div id="M000039_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 61</span> 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> @@ -288,7 +288,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>showJournal</b>() + <a name="M000045"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,8 +299,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 116</span> 116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> @@ -311,7 +311,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>showPackageDependencies</b>( package ) + <a name="M000043"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,8 +328,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 98</span> 98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) @@ -340,7 +340,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000038"></a><b>showPackageDetails</b>( package ) + <a name="M000039"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,8 +355,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> - <div id="M000038_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) @@ -367,7 +367,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000040"></a><b>showPackageLog</b>( package, logType ) + <a name="M000041"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,8 +385,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> - <div id="M000040_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 74</span> 74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) @@ -400,7 +400,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>showQueue</b>( queueType ) + <a name="M000048"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,8 +415,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 149</span> 149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) @@ -427,7 +427,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000043"></a><b>showUntrackedFiles</b>() + <a name="M000044"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,8 +439,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 108</span> 108: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> @@ -451,7 +451,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>showUpdates</b>( target ) + <a name="M000049"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,8 +468,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 162</span> 162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) Modified: src/trunk/doc/classes/AbtSystemManager.html =================================================================== --- src/trunk/doc/classes/AbtSystemManager.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/classes/AbtSystemManager.html 2006-05-22 18:09:13 UTC (rev 113) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,151,100" href="AbtSystemManager.html" alt="AbtSystemManager"> + <area shape="RECT" coords="28,51,153,99" href="AbtSystemManager.html" alt="AbtSystemManager"> </map> <img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/created.rid 2006-05-22 18:09:13 UTC (rev 113) @@ -1 +1 @@ -Mon May 22 15:27:36 CEST 2006 +Mon May 22 20:08:12 CEST 2006 Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_2.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_3.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_4.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_5.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_6.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_7.png =================================================================== (Binary files differ) Modified: src/trunk/doc/files/AbtDepEngine_rb.html =================================================================== --- src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:22:31 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,127,100" href="../classes/AbtDepEngine.html" alt="AbtDepEngine"> + <area shape="RECT" coords="28,51,129,99" href="../classes/AbtDepEngine.html" alt="AbtDepEngine"> </map> <img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtDownloadManager_rb.html =================================================================== --- src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:22:31 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,162,100" href="../classes/AbtDownloadManager.html" alt="AbtDownloadManager"> + <area shape="RECT" coords="28,51,164,99" href="../classes/AbtDownloadManager.html" alt="AbtDownloadManager"> </map> <img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/AbtLogManager_rb.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/files/AbtLogManager_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:22:31 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,133,100" href="../classes/AbtLogManager.html" alt="AbtLogManager"> + <area shape="RECT" coords="28,51,135,99" href="../classes/AbtLogManager.html" alt="AbtLogManager"> </map> <img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 20:08:09 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,157,100" href="../classes/AbtPackageManager.html" alt="AbtPackageManager"> + <area shape="RECT" coords="28,51,159,99" href="../classes/AbtPackageManager.html" alt="AbtPackageManager"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtPackage_rb.html =================================================================== --- src/trunk/doc/files/AbtPackage_rb.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/files/AbtPackage_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:22:31 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,117,100" href="../classes/AbtPackage.html" alt="AbtPackage"> + <area shape="RECT" coords="28,51,116,99" href="../classes/AbtPackage.html" alt="AbtPackage"> </map> <img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Added: src/trunk/doc/files/AbtQueueManager_rb.html =================================================================== --- src/trunk/doc/files/AbtQueueManager_rb.html (rev 0) +++ src/trunk/doc/files/AbtQueueManager_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: AbtQueueManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />AbtQueueManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>AbtQueueManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Mon May 22 15:30:56 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="28,51,148,99" href="../classes/AbtQueueManager.html" alt="AbtQueueManager"> +</map> +<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +AbtQueueManager.rb +</p> +<p> +<a href="../classes/AbtQueueManager.html">AbtQueueManager</a> class handles +all AbTLinux queue interaction. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/files/AbtReportManager_rb.html =================================================================== --- src/trunk/doc/files/AbtReportManager_rb.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/files/AbtReportManager_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:22:31 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,146,100" href="../classes/AbtReportManager.html" alt="AbtReportManager"> + <area shape="RECT" coords="28,51,148,99" href="../classes/AbtReportManager.html" alt="AbtReportManager"> </map> <img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtSystemManager_rb.html =================================================================== --- src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-22 18:09:13 UTC (rev 113) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:22:31 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,151,100" href="../classes/AbtSystemManager.html" alt="AbtSystemManager"> + <area shape="RECT" coords="28,51,153,99" href="../classes/AbtSystemManager.html" alt="AbtSystemManager"> </map> <img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-22 13:34:08 UTC (rev 112) +++ src/trunk/doc/fr_method_index.html 2006-05-22 18:09:13 UTC (rev 113) @@ -42,48 +42,49 @@ <div class="banner">Methods</div> <div class="entries"> <a href="classes/AbtPackage.html#M000020">build (AbtPackage)</a><br> -<a href="classes/AbtLogManager.html#M000033">cachePackage (AbtLogManager)</a><br> +<a href="classes/AbtLogManager.html#M000034">cachePackage (AbtLogManager)</a><br> <a href="classes/AbtSystemManager.html#M000003">cleanupLogs (AbtSystemManager)</a><br> <a href="classes/AbtSystemManager.html#M000002">cleanupPackageSources (AbtSystemManager)</a><br> <a href="classes/AbtPackage.html#M000019">configure (AbtPackage)</a><br> <a href="classes/AbtPackage.html#M000017">details (AbtPackage)</a><br> -<a href="classes/AbtPackageManager.html#M000028">downgrade (AbtPackageManager)</a><br> +<a href="classes/AbtPackageManager.html#M000028">downgradePackage (AbtPackageManager)</a><br> <a href="classes/AbtSystemManager.html#M000008">fixPackage (AbtSystemManager)</a><br> <a href="classes/AbtPackageManager.html#M000029">freezePackage (AbtPackageManager)</a><br> -<a href="classes/AbtReportManager.html#M000049">generateHTMLPackageListing (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000050">generateHTMLPackageListing (AbtReportManager)</a><br> <a href="classes/AbtPackage.html#M000022">install (AbtPackage)</a><br> -<a href="classes/AbtPackageManager.html#M000025">install (AbtPackageManager)</a><br> -<a href="classes/AbtLogManager.html#M000032">logPackageBuild (AbtLogManager)</a><br> -<a href="classes/AbtLogManager.html#M000031">logPackageInstall (AbtLogManager)</a><br> -<a href="classes/AbtLogManager.html#M000034">logToJournal (AbtLogManager)</a><br> -<a href="classes/AbtDepEngine.html#M000035">new (AbtDepEngine)</a><br> -<a href="classes/AbtQueueManager.html#M000036">new (AbtQueueManager)</a><br> -<a href="classes/AbtReportManager.html#M000037">new (AbtReportManager)</a><br> +<a href="classes/AbtPackageManager.html#M000025">installPackage (AbtPackageManager)</a><br> +<a href="classes/AbtLogManager.html#M000033">logPackageBuild (AbtLogManager)</a><br> +<a href="classes/AbtLogManager.html#M000032">logPackageInstall (AbtLogManager)</a><br> +<a href="classes/AbtLogManager.html#M000030">logPackageIntegrity (AbtLogManager)</a><br> +<a href="classes/AbtLogManager.html#M000035">logToJournal (AbtLogManager)</a><br> +<a href="classes/AbtDepEngine.html#M000036">new (AbtDepEngine)</a><br> +<a href="classes/AbtPackageManager.html#M000024">new (AbtPackageManager)</a><br> +<a href="classes/AbtQueueManager.html#M000037">new (AbtQueueManager)</a><br> +<a href="classes/AbtReportManager.html#M000038">new (AbtReportManager)</a><br> +<a href="classes/AbtLogManager.html#M000031">new (AbtLogManager)</a><br> <a href="classes/AbtDownloadManager.html#M000011">new (AbtDownloadManager)</a><br> -<a href="classes/AbtPackageManager.html#M000024">new (AbtPackageManager)</a><br> -<a href="classes/AbtLogManager.html#M000030">new (AbtLogManager)</a><br> <a href="classes/AbtSystemManager.html#M000001">new (AbtSystemManager)</a><br> <a href="classes/AbtPackage.html#M000023">post (AbtPackage)</a><br> <a href="classes/AbtPackage.html#M000018">pre (AbtPackage)</a><br> <a href="classes/AbtPackage.html#M000021">preinstall (AbtPackage)</a><br> -<a href="classes/AbtPackageManager.html#M000026">reinstall (AbtPackageManager)</a><br> -<a href="classes/AbtPackageManager.html#M000027">remove (AbtPackageManager)</a><br> +<a href="classes/AbtPackageManager.html#M000026">reinstallPackage (AbtPackageManager)</a><br> +<a href="classes/AbtPackageManager.html#M000027">removePackage (AbtPackageManager)</a><br> <a href="classes/AbtDownloadManager.html#M000014">retrieveNewsFeed (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000012">retrievePackageSource (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000013">retrievePackageTree (AbtDownloadManager)</a><br> -<a href="classes/AbtReportManager.html#M000046">searchPackageDescriptions (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000047">searchPackageDescriptions (AbtReportManager)</a><br> <a href="classes/AbtSystemManager.html#M000009">setCentralRepo (AbtSystemManager)</a><br> <a href="classes/AbtSystemManager.html#M000010">setPackageTreeLocation (AbtSystemManager)</a><br> -<a href="classes/AbtReportManager.html#M000045">showFileOwner (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000041">showFrozenPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000039">showInstalledPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000044">showJournal (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000042">showPackageDependencies (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000038">showPackageDetails (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000040">showPackageLog (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000047">showQueue (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000043">showUntrackedFiles (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000048">showUpdates (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000046">showFileOwner (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000042">showFrozenPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000040">showInstalledPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000045">showJournal (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000043">showPackageDependencies (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000039">showPackageDetails (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000041">showPackageLog (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000048">showQueue (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000044">showUntrackedFiles (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000049">showUpdates (AbtReportManager)</a><br> <a href="classes/AbtDownloadManager.html#M000015">updatePackage (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000016">updatePackageTree (AbtDownloadManager)</a><br> <a href="classes/AbtSystemManager.html#M000004">verifyInstalledFiles (AbtSystemManager)</a><br> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-24 11:52:06
|
Revision: 122 Author: eschabell Date: 2006-05-24 04:51:53 -0700 (Wed, 24 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=122&view=rev Log Message: ----------- First start on running example package fortune. Implemented AbtPackage.initialize and AbtPackage.details for as far as possible. Modified Paths: -------------- src/trunk/AbtPackage.rb Added Paths: ----------- src/trunk/packages/ src/trunk/packages/AbtFortune.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-05-24 11:02:08 UTC (rev 121) +++ src/trunk/AbtPackage.rb 2006-05-24 11:51:53 UTC (rev 122) @@ -36,15 +36,63 @@ public - attr_reader :NAME, :VERSION, :SRCFILE, :SRCDIR, :SRCURL, :INTEGRITY - attr_reader :URL, :LICENSE, :DESCRIPTION + attr_reader :NAME, :EXEC_NAME, :VERSION, :SRC_DIR, HOMEPAGE, :SRC_URL + attr_reader :DEPENDSON, :RELIESON, :OPTIONAL_DO, :OPTIONAL_RO, :GPG_CHECK + attr_reader :PATCHES, :PATCHES_GPG_CHECK, :MIRROR_PATH, :LICENSE, :DESCRIPTION + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all package data. + # + ## + def initialize( data ) + + @NAME = data['name'] + @EXEC_NAME = data['execName'] + @VERSION = data['version'] + @SRC_DIR = data['srcDir'] + @HOMEPAGE = data['homepage'] + @SRC_URL = data['srcUrl'] + @DEPENDSON = data['dependOn'] + @RELIESON = data['reliesOn'] + @OPTIONAL_DO = data['optionalDO'] + @OPTIONAL_RO = data['optionalRO'] + @GPG_CHECK = data['gpgCheck'] + @PATCHES = data['patches'] + @PATCHES_GPG_CHECK = data['patchesGpgCheck'] + @MIRROR_PATH = data['mirrorPath'] + @LICENSE = data['license'] + @DESCRIPTION = data['description'] + + end + ## # Provides all the data needed for this AbtPackage. # # <b>RETURNS:</b> <i>hash</i> - Contains all AbtPackage attributes (constants). ## def details + + return { + 'name' => @NAME, + 'execName' => @EXEC_NAME, + 'version' => @VERSION, + 'srcDir' => @SRC_DIR, + 'homepage' => @HOMEPAGE, + 'srcUrl' => @SRC_URL, + 'dependsOn' => @DEPENDSON, + 'reliesOn' => @RELIESON, + 'optionalDO' => @OPTIONAL_DO, + 'optionalRO' => @OPTIONAL_RO, + 'gpgCheck' => @GPG_CHECK, + 'patches' => @PATCHES, + 'patchesGpgCheck' => @PATCHES_GPG_CHECK, + 'mirrorPath' => @MIRROR_PATH, + 'license' => @LICENSE, + 'description' => @DESCRIPTION + } + end ## Added: src/trunk/packages/AbtFortune.rb =================================================================== --- src/trunk/packages/AbtFortune.rb (rev 0) +++ src/trunk/packages/AbtFortune.rb 2006-05-24 11:51:53 UTC (rev 122) @@ -0,0 +1,74 @@ +#!/usr/bin/ruby -w + +## +# AbtFortune.rb +# +# AbtFortune package. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class AbtFortune < AbtPackage + + protected + + private + + @name = "Fortune" + @version = "mod-9708" + @srcDir = "#{@name.downcase}-#{@version}" + + @packageData = { + 'name' => "Fortune", + 'execName' => @name.downcase, + 'version' => @version, + 'srcDir' => @srcDir, + 'homepage' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@name.downcase}/", + 'srcUrl' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@srcDir}.tar.gz", + 'dependsOn' => [], + 'reliesOn' => [], + 'optionalDO' => [], + 'optionalRO' => [], + 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", + 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", + 'patcheshashCheck' => "", + 'mirrorPath' => "http://mirror.abtlinux.org/#{@srcDir}.tar.gz", + 'license' => "GPL", + 'description' => "Prints a random, hopefully interesting, adage." + } + + + public + + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all pacakge data. + # + ## + def initialize() + + super( @packageData ) + + end + + + +end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-24 13:20:39
|
Revision: 124 Author: eschabell Date: 2006-05-24 06:20:22 -0700 (Wed, 24 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=124&view=rev Log Message: ----------- Some fixes to AbtPackage format. Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/doc/classes/AbtPackage.html src/trunk/doc/created.rid src/trunk/doc/files/AbtDepEngine_rb.html src/trunk/doc/files/AbtDownloadManager_rb.html src/trunk/doc/files/AbtLogManager_rb.html src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/AbtQueueManager_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html src/trunk/packages/AbtFortune.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/AbtPackage.rb 2006-05-24 13:20:22 UTC (rev 124) @@ -35,38 +35,38 @@ private public - - attr_reader :NAME, :EXEC_NAME, :VERSION, :SRC_DIR, HOMEPAGE, :SRC_URL - attr_reader :DEPENDSON, :RELIESON, :OPTIONAL_DO, :OPTIONAL_RO, :GPG_CHECK - attr_reader :PATCHES, :PATCHES_GPG_CHECK, :MIRROR_PATH, :LICENSE, :DESCRIPTION + + attr_reader :NAME, :EXEC_NAME, :VERSION, :SRC_DIR, :HOMEPAGE, :SRC_URL + attr_reader :DEPENDSON, :RELIESON, :OPTIONAL_DO, :OPTIONAL_RO, :GPG_CHECK + attr_reader :PATCHES, :PATCHES_GPG_CHECK, :MIRROR_PATH, :LICENSE, :DESCRIPTION - ## - # Constructor for an AbtPackage, requires all the packge details. - # - # <b>PARAM</b> <i>Hash</i> - hash containing all package data. - # - ## - def initialize( data ) - + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all package data. + # + ## + def initialize( data ) + @NAME = data['name'] @EXEC_NAME = data['execName'] @VERSION = data['version'] - @SRC_DIR = data['srcDir'] - @HOMEPAGE = data['homepage'] - @SRC_URL = data['srcUrl'] - @DEPENDSON = data['dependOn'] - @RELIESON = data['reliesOn'] - @OPTIONAL_DO = data['optionalDO'] - @OPTIONAL_RO = data['optionalRO'] - @GPG_CHECK = data['gpgCheck'] - @PATCHES = data['patches'] - @PATCHES_GPG_CHECK = data['patchesGpgCheck'] - @MIRROR_PATH = data['mirrorPath'] - @LICENSE = data['license'] - @DESCRIPTION = data['description'] - - end + @SRC_DIR = data['srcDir'] + @HOMEPAGE = data['homepage'] + @SRC_URL = data['srcUrl'] + @DEPENDSON = data['dependOn'] + @RELIESON = data['reliesOn'] + @OPTIONAL_DO = data['optionalDO'] + @OPTIONAL_RO = data['optionalRO'] + @GPG_CHECK = data['gpgCheck'] + @PATCHES = data['patches'] + @PATCHES_GPG_CHECK = data['patchesGpgCheck'] + @MIRROR_PATH = data['mirrorPath'] + @LICENSE = data['license'] + @DESCRIPTION = data['description'] + end + ## # Provides all the data needed for this AbtPackage. # Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/classes/AbtPackage.html 2006-05-24 13:20:22 UTC (rev 124) @@ -169,6 +169,13 @@ <td class='attr-rw'> [R] </td> + <td class='attr-name'>HOMEPAGE</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> <td class='attr-name'>LICENSE</td> <td class='attr-desc'></td> </tr> @@ -263,26 +270,26 @@ <div id="M000017_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 49</span> -49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) -50: +49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) +50: 51: <span class="ruby-ivar">@NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] 52: <span class="ruby-ivar">@EXEC_NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] 53: <span class="ruby-ivar">@VERSION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] -54: <span class="ruby-ivar">@SRC_DIR</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] -55: <span class="ruby-ivar">@HOMEPAGE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] -56: <span class="ruby-ivar">@SRC_URL</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] -57: <span class="ruby-ivar">@DEPENDSON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependOn'</span>] -58: <span class="ruby-ivar">@RELIESON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] -59: <span class="ruby-ivar">@OPTIONAL_DO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] -60: <span class="ruby-ivar">@OPTIONAL_RO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] -61: <span class="ruby-ivar">@GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'gpgCheck'</span>] -62: <span class="ruby-ivar">@PATCHES</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] -63: <span class="ruby-ivar">@PATCHES_GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesGpgCheck'</span>] -64: <span class="ruby-ivar">@MIRROR_PATH</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] -65: <span class="ruby-ivar">@LICENSE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] -66: <span class="ruby-ivar">@DESCRIPTION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] -67: -68: <span class="ruby-keyword kw">end</span> +54: <span class="ruby-ivar">@SRC_DIR</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] +55: <span class="ruby-ivar">@HOMEPAGE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] +56: <span class="ruby-ivar">@SRC_URL</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] +57: <span class="ruby-ivar">@DEPENDSON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependOn'</span>] +58: <span class="ruby-ivar">@RELIESON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] +59: <span class="ruby-ivar">@OPTIONAL_DO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] +60: <span class="ruby-ivar">@OPTIONAL_RO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] +61: <span class="ruby-ivar">@GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'gpgCheck'</span>] +62: <span class="ruby-ivar">@PATCHES</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] +63: <span class="ruby-ivar">@PATCHES_GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesGpgCheck'</span>] +64: <span class="ruby-ivar">@MIRROR_PATH</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] +65: <span class="ruby-ivar">@LICENSE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] +66: <span class="ruby-ivar">@DESCRIPTION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] +67: +68: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/created.rid 2006-05-24 13:20:22 UTC (rev 124) @@ -1 +1 @@ -Wed May 24 14:52:42 CEST 2006 +Wed May 24 15:19:17 CEST 2006 Modified: src/trunk/doc/files/AbtDepEngine_rb.html =================================================================== --- src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:19:31 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtDownloadManager_rb.html =================================================================== --- src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:19:31 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/AbtLogManager_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtLogManager_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:19:31 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Tue May 23 12:21:36 CEST 2006</td> + <td>Mon May 22 20:09:13 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtPackage_rb.html =================================================================== --- src/trunk/doc/files/AbtPackage_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtPackage_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 13:24:28 CEST 2006</td> + <td>Wed May 24 15:15:01 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtQueueManager_rb.html =================================================================== --- src/trunk/doc/files/AbtQueueManager_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtQueueManager_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:27:21 CEST 2006</td> + <td>Mon May 22 15:28:53 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtReportManager_rb.html =================================================================== --- src/trunk/doc/files/AbtReportManager_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtReportManager_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:19:31 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtSystemManager_rb.html =================================================================== --- src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-24 13:20:22 UTC (rev 124) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 22 15:22:09 CEST 2006</td> + <td>Mon May 22 15:19:31 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/packages/AbtFortune.rb =================================================================== --- src/trunk/packages/AbtFortune.rb 2006-05-24 12:53:44 UTC (rev 123) +++ src/trunk/packages/AbtFortune.rb 2006-05-24 13:20:22 UTC (rev 124) @@ -35,40 +35,38 @@ @version = "mod-9708" @srcDir = "#{@name.downcase}-#{@version}" - @packageData = { - 'name' => "Fortune", - 'execName' => @name.downcase, - 'version' => @version, - 'srcDir' => @srcDir, - 'homepage' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@name.downcase}/", - 'srcUrl' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@srcDir}.tar.gz", - 'dependsOn' => [], - 'reliesOn' => [], - 'optionalDO' => [], - 'optionalRO' => [], - 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", - 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", - 'patcheshashCheck' => "", - 'mirrorPath' => "http://mirror.abtlinux.org/#{@srcDir}.tar.gz", - 'license' => "GPL", - 'description' => "Prints a random, hopefully interesting, adage." - } + @packageData = { + 'name' => "Fortune", + 'execName' => @name.downcase, + 'version' => @version, + 'srcDir' => @srcDir, + 'homepage' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@name.downcase}/", + 'srcUrl' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@srcDir}.tar.gz", + 'dependsOn' => [], + 'reliesOn' => [], + 'optionalDO' => [], + 'optionalRO' => [], + 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", + 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", + 'patcheshashCheck' => "", + 'mirrorPath' => "http://mirror.abtlinux.org/#{@srcDir}.tar.gz", + 'license' => "GPL", + 'description' => "Prints a random, hopefully interesting, adage." + } public - ## - # Constructor for an AbtPackage, requires all the packge details. - # - # <b>PARAM</b> <i>Hash</i> - hash containing all pacakge data. - # - ## - def initialize() - + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all pacakge data. + # + ## + def initialize() + super( @packageData ) - - end - - + end + end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-24 13:35:11
|
Revision: 125 Author: eschabell Date: 2006-05-24 06:34:47 -0700 (Wed, 24 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=125&view=rev Log Message: ----------- Source code generated pages looked bad (tabbing), readjusted sources to produce better looking code snippets. Modified Paths: -------------- src/trunk/AbtDepEngine.rb src/trunk/AbtDownloadManager.rb src/trunk/AbtLogManager.rb src/trunk/AbtPackage.rb src/trunk/AbtPackageManager.rb src/trunk/AbtQueueManager.rb src/trunk/AbtReportManager.rb src/trunk/AbtSystemManager.rb src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtDownloadManager.html src/trunk/doc/classes/AbtLogManager.html src/trunk/doc/classes/AbtPackage.html src/trunk/doc/classes/AbtPackageManager.html src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/AbtSystemManager.html src/trunk/doc/created.rid src/trunk/doc/files/AbtDepEngine_rb.html src/trunk/doc/files/AbtDownloadManager_rb.html src/trunk/doc/files/AbtLogManager_rb.html src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/AbtQueueManager_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html src/trunk/packages/AbtFortune.rb Modified: src/trunk/AbtDepEngine.rb =================================================================== --- src/trunk/AbtDepEngine.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtDepEngine.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -28,18 +28,18 @@ class AbtDepEngine - protected +protected - private +private - public +public - ## - # Constructor for the AbtDepEngine class. - # - # <b>RETURN</b> <i>AbtDepEngine</i> - an initialized AbtDepEngine object. - ## - def initialize - end + ## + # Constructor for the AbtDepEngine class. + # + # <b>RETURN</b> <i>AbtDepEngine</i> - an initialized AbtDepEngine object. + ## + def initialize + end -end +end \ No newline at end of file Modified: src/trunk/AbtDownloadManager.rb =================================================================== --- src/trunk/AbtDownloadManager.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtDownloadManager.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -28,70 +28,70 @@ class AbtDownloadManager - protected +protected - private +private - public +public - ## - # Constructor for the AbtDownloadManager class. - # - # <b>RETURN</b> <i>AbtDownloadManager</i> - an initialized AbtDownloadManager object. - ## - def initialize - end - - ## - # Downloads a given package source. - # - # <b>PARAM</b> <i>String</i> - the name of the package for which the source - # is to be downloaded. - # - # <b>RETURN</b> <i>boolean</i> - True if the package source has been - # downloaded, otherwise false. - ## - def retrievePackageSource( packageName ) - end + ## + # Constructor for the AbtDownloadManager class. + # + # <b>RETURN</b> <i>AbtDownloadManager</i> - an initialized AbtDownloadManager object. + ## + def initialize + end - ## - # Downloads a given pacakge tree. - # - # <b>PARAM</b> <i>String</i> - the name of the package tree to be retrieved. - # - # <b>RETURN</b> <i>boolean</i> - True if the package tree is retrieved, otherwise - # false. - ## - def retrievePackageTree( packageTreeName ) - end + ## + # Downloads a given package source. + # + # <b>PARAM</b> <i>String</i> - the name of the package for which the source + # is to be downloaded. + # + # <b>RETURN</b> <i>boolean</i> - True if the package source has been + # downloaded, otherwise false. + ## + def retrievePackageSource( packageName ) + end - ## - # Retrieves the AbTLinux news feed. - # - # <b>RETURN</b> <i>boolean</i> - True if the AbTLinux news feed has been - # retrieved, otherwise false. - ## - def retrieveNewsFeed - end + ## + # Downloads a given pacakge tree. + # + # <b>PARAM</b> <i>String</i> - the name of the package tree to be retrieved. + # + # <b>RETURN</b> <i>boolean</i> - True if the package tree is retrieved, otherwise + # false. + ## + def retrievePackageTree( packageTreeName ) + end - ## - # Updates a given package with available patches (version updates). - # - # <b>PARAM</b> <i>String</i> - the name of the package to be updated. - # - # <b>RETURN</b> <i>boolean</i> - True if the given package has been updated, - # otherwise false. - ## - def updatePackage - end + ## + # Retrieves the AbTLinux news feed. + # + # <b>RETURN</b> <i>boolean</i> - True if the AbTLinux news feed has been + # retrieved, otherwise false. + ## + def retrieveNewsFeed + end - ## - # Updates the package tree. - # - # <b>RETURN</b> <i>boolean</i> - True if the package tree has been updated, - # otherwise false. - ## - def updatePackageTree - end + ## + # Updates a given package with available patches (version updates). + # + # <b>PARAM</b> <i>String</i> - the name of the package to be updated. + # + # <b>RETURN</b> <i>boolean</i> - True if the given package has been updated, + # otherwise false. + ## + def updatePackage + end -end + ## + # Updates the package tree. + # + # <b>RETURN</b> <i>boolean</i> - True if the package tree has been updated, + # otherwise false. + ## + def updatePackageTree + end + +end \ No newline at end of file Modified: src/trunk/AbtLogManager.rb =================================================================== --- src/trunk/AbtLogManager.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtLogManager.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -28,83 +28,80 @@ class AbtLogManager - protected +protected - ## - # Provides logging of the integrity of all installed files for the given - # package. Will be called as part of the logging done during the install - # phase. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if integrity log created successfully, - # otherwise false. - ## - def logPackageIntegrity( package ) - end + ## + # Provides logging of the integrity of all installed files for the given + # package. Will be called as part of the logging done during the install + # phase. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if integrity log created successfully, + # otherwise false. + ## + def logPackageIntegrity( package ) + end - private +private - # placeholder for private methods. - +public - public + ## + # Constructor for the AbtLogManager. + # + # <b>RETURN</b> <i>AbtLogManager</i> - an initialized AbtLogManager object. + ## + def initialize + end - ## - # Constructor for the AbtLogManager. - # - # <b>RETURN</b> <i>AbtLogManager</i> - an initialized AbtLogManager object. - ## - def initialize - end + ## + # Provides logging of all files installed by given package. Should be called + # as part of the install phase of the build. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if install log created successfully, + # otherwise false. + ## + def logPackageInstall( package ) + end - ## - # Provides logging of all files installed by given package. Should be called - # as part of the install phase of the build. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if install log created successfully, - # otherwise false. - ## - def logPackageInstall( package ) - end + ## + # Provides logging of all output produced during the build phase of the + # given package. Should be called as part of the install phase of the build. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if build log created successfully, + # otherwise false. + ## + def logPackageBuild( package ) + end - ## - # Provides logging of all output produced during the build phase of the - # given package. Should be called as part of the install phase of the build. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if build log created successfully, - # otherwise false. - ## - def logPackageBuild( package ) - end + ## + # Provides a complete log of the given packages build. Includes everything + # needed to duplicate the build at a later date. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if package cache created successfully, + # otherwise false. + ## + def cachePackage( package ) + end - ## - # Provides a complete log of the given packages build. Includes everything - # needed to duplicate the build at a later date. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if package cache created successfully, - # otherwise false. - ## - def cachePackage( package ) - end - - ## - # Provides logging of given message to the AbTLinux journal. Message logged - # with date timestamp. - # - # <b>PARAM</b> <i>String</i> - Message to be added to the log. - # - # <b>RETURN</b> <i>boolean</i> - True if message logged successfully, - # otherwise false. - ## - def logToJournal( message ) - end + ## + # Provides logging of given message to the AbTLinux journal. Message logged + # with date timestamp. + # + # <b>PARAM</b> <i>String</i> - Message to be added to the log. + # + # <b>RETURN</b> <i>boolean</i> - True if message logged successfully, + # otherwise false. + ## + def logToJournal( message ) + end -end +end \ No newline at end of file Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtPackage.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -30,123 +30,123 @@ class AbtPackage - protected +protected - private +private - public +public - attr_reader :NAME, :EXEC_NAME, :VERSION, :SRC_DIR, :HOMEPAGE, :SRC_URL - attr_reader :DEPENDSON, :RELIESON, :OPTIONAL_DO, :OPTIONAL_RO, :GPG_CHECK - attr_reader :PATCHES, :PATCHES_GPG_CHECK, :MIRROR_PATH, :LICENSE, :DESCRIPTION + attr_reader :NAME, :EXEC_NAME, :VERSION, :SRC_DIR, :HOMEPAGE, :SRC_URL + attr_reader :DEPENDSON, :RELIESON, :OPTIONAL_DO, :OPTIONAL_RO, :GPG_CHECK + attr_reader :PATCHES, :PATCHES_GPG_CHECK, :MIRROR_PATH, :LICENSE, :DESCRIPTION - ## - # Constructor for an AbtPackage, requires all the packge details. - # - # <b>PARAM</b> <i>Hash</i> - hash containing all package data. - # - ## - def initialize( data ) + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all package data. + # + ## + def initialize( data ) + + @NAME = data['name'] + @EXEC_NAME = data['execName'] + @VERSION = data['version'] + @SRC_DIR = data['srcDir'] + @HOMEPAGE = data['homepage'] + @SRC_URL = data['srcUrl'] + @DEPENDSON = data['dependOn'] + @RELIESON = data['reliesOn'] + @OPTIONAL_DO = data['optionalDO'] + @OPTIONAL_RO = data['optionalRO'] + @GPG_CHECK = data['gpgCheck'] + @PATCHES = data['patches'] + @PATCHES_GPG_CHECK = data['patchesGpgCheck'] + @MIRROR_PATH = data['mirrorPath'] + @LICENSE = data['license'] + @DESCRIPTION = data['description'] - @NAME = data['name'] - @EXEC_NAME = data['execName'] - @VERSION = data['version'] - @SRC_DIR = data['srcDir'] - @HOMEPAGE = data['homepage'] - @SRC_URL = data['srcUrl'] - @DEPENDSON = data['dependOn'] - @RELIESON = data['reliesOn'] - @OPTIONAL_DO = data['optionalDO'] - @OPTIONAL_RO = data['optionalRO'] - @GPG_CHECK = data['gpgCheck'] - @PATCHES = data['patches'] - @PATCHES_GPG_CHECK = data['patchesGpgCheck'] - @MIRROR_PATH = data['mirrorPath'] - @LICENSE = data['license'] - @DESCRIPTION = data['description'] + end - end - - ## - # Provides all the data needed for this AbtPackage. - # - # <b>RETURNS:</b> <i>hash</i> - Contains all AbtPackage attributes (constants). - ## - def details - - return { - 'name' => @NAME, - 'execName' => @EXEC_NAME, - 'version' => @VERSION, - 'srcDir' => @SRC_DIR, - 'homepage' => @HOMEPAGE, - 'srcUrl' => @SRC_URL, - 'dependsOn' => @DEPENDSON, - 'reliesOn' => @RELIESON, - 'optionalDO' => @OPTIONAL_DO, - 'optionalRO' => @OPTIONAL_RO, - 'gpgCheck' => @GPG_CHECK, - 'patches' => @PATCHES, - 'patchesGpgCheck' => @PATCHES_GPG_CHECK, - 'mirrorPath' => @MIRROR_PATH, - 'license' => @LICENSE, - 'description' => @DESCRIPTION - } - - end - - ## - # Preliminary work will happen here such as downloading the tarball, - # unpacking it, downloading and applying patches. - # - # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. - ## - def pre - end - - ## - # Here we manage the ./configure step (or equivalent). We need to give ./configure - # (or autogen.sh, or whatever) the correct options so files are to be placed later in the - # right directories, so doc files and man pages are all in the same common location, etc. - # Don't forget too that it's here where we interact with the user in case there are optionnal - # dependencies. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def configure - end - - ## - # Here is where the actual builing of the software starts, for example running 'make'. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def build - end - - ## - # Any actions needed before the installation can occur will happen here, such as creating - # new user accounts, dealing with existing configuration files, etc. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def preinstall - end + ## + # Provides all the data needed for this AbtPackage. + # + # <b>RETURNS:</b> <i>hash</i> - Contains all AbtPackage attributes (constants). + ## + def details - ## - # All files to be installed are installed here. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def install - end + return { + 'name' => @NAME, + 'execName' => @EXEC_NAME, + 'version' => @VERSION, + 'srcDir' => @SRC_DIR, + 'homepage' => @HOMEPAGE, + 'srcUrl' => @SRC_URL, + 'dependsOn' => @DEPENDSON, + 'reliesOn' => @RELIESON, + 'optionalDO' => @OPTIONAL_DO, + 'optionalRO' => @OPTIONAL_RO, + 'gpgCheck' => @GPG_CHECK, + 'patches' => @PATCHES, + 'patchesGpgCheck' => @PATCHES_GPG_CHECK, + 'mirrorPath' => @MIRROR_PATH, + 'license' => @LICENSE, + 'description' => @DESCRIPTION + } - ## - # Last bits of installation. adding the service for automatic start in init.d for example. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def post - end + end -end + ## + # Preliminary work will happen here such as downloading the tarball, + # unpacking it, downloading and applying patches. + # + # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. + ## + def pre + end + + ## + # Here we manage the ./configure step (or equivalent). We need to give ./configure + # (or autogen.sh, or whatever) the correct options so files are to be placed later in the + # right directories, so doc files and man pages are all in the same common location, etc. + # Don't forget too that it's here where we interact with the user in case there are optionnal + # dependencies. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def configure + end + + ## + # Here is where the actual builing of the software starts, for example running 'make'. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def build + end + + ## + # Any actions needed before the installation can occur will happen here, such as creating + # new user accounts, dealing with existing configuration files, etc. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def preinstall + end + + ## + # All files to be installed are installed here. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def install + end + + ## + # Last bits of installation. adding the service for automatic start in init.d for example. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def post + end + +end \ No newline at end of file Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtPackageManager.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -28,76 +28,76 @@ class AbtPackageManager - protected +protected - private +private - public +public - ## - # Constructor for AbtPackageManager. - # - # <b>RETURN</b> <i>AbtPackageManager</i> - an initialized AbtPackageManager object. - ## - def initialize - end + ## + # Constructor for AbtPackageManager. + # + # <b>RETURN</b> <i>AbtPackageManager</i> - an initialized AbtPackageManager object. + ## + def initialize + end - ## - # Installs a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be installed. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise - # false. - ## - def installPackage( package ) - end + ## + # Installs a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be installed. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is installed, otherwise + # false. + ## + def installPackage( package ) + end - ## - # Reinstalls a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be reinstalled. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise - # false. - ## - def reinstallPackage( package ) - end + ## + # Reinstalls a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be reinstalled. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is reinstalled, otherwise + # false. + ## + def reinstallPackage( package ) + end - ## - # Removes a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be removed. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise - # false. - ## - def removePackage( package ) - end + ## + # Removes a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be removed. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is removed, otherwise + # false. + ## + def removePackage( package ) + end - ## - # Downgrades a given package. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be downgraded. - # - # <b>PARAM</b> <i>String</i> - the version number to be downgraded to. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise - # false. - ## - def downgradePackage( package, version ) - end + ## + # Downgrades a given package. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be downgraded. + # + # <b>PARAM</b> <i>String</i> - the version number to be downgraded to. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is downgraded, otherwise + # false. + ## + def downgradePackage( package, version ) + end - ## - # Freezes a given package. If successful will add give package to the frozen - # list. - # - # <b>PARAM</b> <i>String</i> - the name of the package to be frozen. - # - # <b>RETURN</b> <i>boolean</i> - True if the package is frozen, otherwise - # false. - ## - def freezePackage( package ) - end + ## + # Freezes a given package. If successful will add give package to the frozen + # list. + # + # <b>PARAM</b> <i>String</i> - the name of the package to be frozen. + # + # <b>RETURN</b> <i>boolean</i> - True if the package is frozen, otherwise + # false. + ## + def freezePackage( package ) + end -end +end \ No newline at end of file Modified: src/trunk/AbtQueueManager.rb =================================================================== --- src/trunk/AbtQueueManager.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtQueueManager.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -27,18 +27,18 @@ class AbtQueueManager - protected +protected - private +private - public +public - ## - # Constructor for the AbtQueueManager class. - # - # <b>RETURN</b> <i>AbtQueueManager</i> - an initialized AbtQueueManager object. - ## - def initialize - end + ## + # Constructor for the AbtQueueManager class. + # + # <b>RETURN</b> <i>AbtQueueManager</i> - an initialized AbtQueueManager object. + ## + def initialize + end -end +end \ No newline at end of file Modified: src/trunk/AbtReportManager.rb =================================================================== --- src/trunk/AbtReportManager.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtReportManager.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -28,146 +28,146 @@ class AbtReportManager - protected +protected - private +private - public +public - ## - # Constructor for the AbtReportManager. - # - # <b>RETURN</b> <i>AbtReportManager</i> - an initialized Report1Manager object. - ## - def initialize - end + ## + # Constructor for the AbtReportManager. + # + # <b>RETURN</b> <i>AbtReportManager</i> - an initialized Report1Manager object. + ## + def initialize + end - ## - # Display all data for a given package. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def showPackageDetails( package ) - end + ## + # Display all data for a given package. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def showPackageDetails( package ) + end - ## - # Display all packages installed and tracked by AbTLinux. - # - # <b>RETURN</b> <i>void.</i> - ## - def showInstalledPackages - end + ## + # Display all packages installed and tracked by AbTLinux. + # + # <b>RETURN</b> <i>void.</i> + ## + def showInstalledPackages + end - ## - # Display the contents of the requested log for a given package. Possible - # log types are; install, build and integrity. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>PARAM</b> <i>String</i> - log type. - # - # <b>RETURN</b> <i>void.</i> - ## - def showPackageLog( package, logType ) - # install log - # build log - # integrity log - end + ## + # Display the contents of the requested log for a given package. Possible + # log types are; install, build and integrity. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>PARAM</b> <i>String</i> - log type. + # + # <b>RETURN</b> <i>void.</i> + ## + def showPackageLog( package, logType ) + # install log + # build log + # integrity log + end - ## - # Display a list of the packages found in the frozen list. - # - # <b>RETURN</b> <i>void.</i> - ## - def showFrozenPackages - end + ## + # Display a list of the packages found in the frozen list. + # + # <b>RETURN</b> <i>void.</i> + ## + def showFrozenPackages + end - ## - # Provides access to dependency checking via the AbTLinux DepEngine. (This - # portal to the DepEngine will be expanded in apart sub-project, more - # details at a later date.) - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise - # hash of problem files and their encountered errors. - ## - def showPackageDependencies( package ) - end + ## + # Provides access to dependency checking via the AbTLinux DepEngine. (This + # portal to the DepEngine will be expanded in apart sub-project, more + # details at a later date.) + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise + # hash of problem files and their encountered errors. + ## + def showPackageDependencies( package ) + end - ## - # Display all files not part of any installed AbTLinux package. This - # delivers a list of files that are not tracked by AbTLinux package - # management. - # - # <b>RETURN</b> <i>void.</i> - ## - def showUntrackedFiles - end + ## + # Display all files not part of any installed AbTLinux package. This + # delivers a list of files that are not tracked by AbTLinux package + # management. + # + # <b>RETURN</b> <i>void.</i> + ## + def showUntrackedFiles + end - ## - # Display the AbTLinux journal file. - # - # <b>RETURN</b> <i>void.</i> - ## - def showJournal - end + ## + # Display the AbTLinux journal file. + # + # <b>RETURN</b> <i>void.</i> + ## + def showJournal + end - ## - # Display the name of the package(s) that own the given file. - # - # <b>PARAM</b> <i>String</i> - a file name. - # - # <b>RETURN</b> <i>void.</i> - ## - def showFileOwner( file ) - end + ## + # Display the name of the package(s) that own the given file. + # + # <b>PARAM</b> <i>String</i> - a file name. + # + # <b>RETURN</b> <i>void.</i> + ## + def showFileOwner( file ) + end - ## - # Searches the installed package trees package descriptions for matching - # occurrances of the given search text. - # - # <b>PARAM</b> <i>String</i> - a search text. - # - # <b>RETURN</b> <i>hash</i> - a hash of the search results, keys are package - # names and values are matching descriptions. - ## - def searchPackageDescriptions( searchText ) - end + ## + # Searches the installed package trees package descriptions for matching + # occurrances of the given search text. + # + # <b>PARAM</b> <i>String</i> - a search text. + # + # <b>RETURN</b> <i>hash</i> - a hash of the search results, keys are package + # names and values are matching descriptions. + ## + def searchPackageDescriptions( searchText ) + end - ## - # Displays the contents of the current queue based on the given queue. - # - # <b>PARAM</b> <i>String</i> - the type of queue to display such as install - # queue. - # - # <b>RETURN</b> <i>void.</i> - ## - def showQueue( queueType ) - end + ## + # Displays the contents of the current queue based on the given queue. + # + # <b>PARAM</b> <i>String</i> - the type of queue to display such as install + # queue. + # + # <b>RETURN</b> <i>void.</i> + ## + def showQueue( queueType ) + end - ## - # Reports available updates for a given package or package tree based on the - # current system. - # - # <b>PARAM</b> <i>String</i> - the target of the update check, either a - # package name or a package tree name. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def showUpdates( target ) - end + ## + # Reports available updates for a given package or package tree based on the + # current system. + # + # <b>PARAM</b> <i>String</i> - the target of the update check, either a + # package name or a package tree name. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def showUpdates( target ) + end - ## - # Generates an HTML page of installed packages from installed packages list. - # - # <b>RETURN</b> <i>void.</i> - ## - def generateHTMLPackageListing - end + ## + # Generates an HTML page of installed packages from installed packages list. + # + # <b>RETURN</b> <i>void.</i> + ## + def generateHTMLPackageListing + end -end +end \ No newline at end of file Modified: src/trunk/AbtSystemManager.rb =================================================================== --- src/trunk/AbtSystemManager.rb 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/AbtSystemManager.rb 2006-05-24 13:34:47 UTC (rev 125) @@ -29,116 +29,116 @@ class AbtSystemManager - protected +protected - private +private - public +public - ## - # Constructor for the System manager - # - # <b>RETURN</b> <i>AbtSystemManager</i> - an initialized AbtSystemManager object. - ## - def initialize - end + ## + # Constructor for the System manager + # + # <b>RETURN</b> <i>AbtSystemManager</i> - an initialized AbtSystemManager object. + ## + def initialize + end - ## - # Removes all sources for packages that are not currently installed. Makes - # use of install listing to determine package sources to keep. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def cleanupPackageSources - end + ## + # Removes all sources for packages that are not currently installed. Makes + # use of install listing to determine package sources to keep. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def cleanupPackageSources + end - ## - # All logs for packages not in install list are cleaned off the system. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def cleanupLogs - end + ## + # All logs for packages not in install list are cleaned off the system. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def cleanupLogs + end - ## - # Checks if files from given package install list are actually installed. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if no installed files are missing, otherwise - # false. - ## - def verifyInstalledFiles( package ) - end + ## + # Checks if files from given package install list are actually installed. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if no installed files are missing, otherwise + # false. + ## + def verifyInstalledFiles( package ) + end - ## - # Checks if given packages installed symlinks are broken or missing. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if no symlinks found missing or broken, otherwise - # false. - ## - def verifySymlinks( package ) - end + ## + # Checks if given packages installed symlinks are broken or missing. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if no symlinks found missing or broken, otherwise + # false. + ## + def verifySymlinks( package ) + end - ## - # Checks the given packages dependencies for missing or broken dependencies. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if dependencies intact, otherwise - # false. - ## - def verifyPackageDepends( package ) - end + ## + # Checks the given packages dependencies for missing or broken dependencies. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if dependencies intact, otherwise + # false. + ## + def verifyPackageDepends( package ) + end - ## - # Checks the given packages installed files against the integrity log for - # changes to installed files. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise - # hash of problem files and their encountered errors. - ## - def verifyPackageIntegrity( package ) - end + ## + # Checks the given packages installed files against the integrity log for + # changes to installed files. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>hash</i> - Empty hash if no problems found, otherwise + # hash of problem files and their encountered errors. + ## + def verifyPackageIntegrity( package ) + end - ## - # Fixes the given package. - # - # <b>PARAM</b> <i>String</i> - Package name. - # - # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise - # false. - ## - def fixPackage( package ) - end + ## + # Fixes the given package. + # + # <b>PARAM</b> <i>String</i> - Package name. + # + # <b>RETURN</b> <i>boolean</i> - True if completes without error, otherwise + # false. + ## + def fixPackage( package ) + end - ## - # Sets the URI of a central repository for pre-compiled packages. - # - # <b>PARAM</b> <i>String</i> - the URI where the central repository is - # located. - # - # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. - ## - def setCentralRepo( uri ) - end + ## + # Sets the URI of a central repository for pre-compiled packages. + # + # <b>PARAM</b> <i>String</i> - the URI where the central repository is + # located. + # + # <b>RETURN</b> <i>boolean</i> - True if the URI is set, otherwise false. + ## + def setCentralRepo( uri ) + end - ## - # Sets the location where the package tree is to be downloaded from, can be - # set to a local location. - # - # <b>PARAM</b> <i>String</i> - the location of the package tree. - # - # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise - # false. - ## - def setPackageTreeLocation( location ) - end + ## + # Sets the location where the package tree is to be downloaded from, can be + # set to a local location. + # + # <b>PARAM</b> <i>String</i> - the location of the package tree. + # + # <b>RETURN</b> <i>boolean</i> - True if the package tree location is set, otherwise + # false. + ## + def setPackageTreeLocation( location ) + end -end +end \ No newline at end of file Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-24 13:34:47 UTC (rev 125) @@ -145,8 +145,8 @@ <div id="M000036_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-keyword kw">end</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-05-24 13:34:47 UTC (rev 125) @@ -151,8 +151,8 @@ <div id="M000011_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-keyword kw">end</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -176,8 +176,8 @@ <div id="M000014_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 74</span> -74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> -75: <span class="ruby-keyword kw">end</span> +74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> +75: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -204,8 +204,8 @@ <div id="M000012_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 54</span> -54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) -55: <span class="ruby-keyword kw">end</span> +54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) +55: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -232,8 +232,8 @@ <div id="M000013_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 65</span> -65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) -66: <span class="ruby-keyword kw">end</span> +65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) +66: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -259,8 +259,8 @@ <div id="M000015_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 85</span> -85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> -86: <span class="ruby-keyword kw">end</span> +85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> +86: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -283,8 +283,8 @@ <div id="M000016_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> -95: <span class="ruby-keyword kw">end</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> +95: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/doc/classes/AbtLogManager.html 2006-05-24 13:34:47 UTC (rev 125) @@ -147,9 +147,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> <div id="M000031_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 59</span> -59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -60: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 56</span> +56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +57: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -176,9 +176,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> <div id="M000034_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 95</span> -95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) -96: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 92</span> +92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) +93: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -204,9 +204,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> <div id="M000033_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 83</span> -83: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) -84: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 80</span> +80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) +81: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -232,9 +232,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> <div id="M000032_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 71</span> -71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) -72: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 68</span> +68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) +69: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -260,9 +260,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> <div id="M000035_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 107</span> -107: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) -108: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 104</span> +104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) +105: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/doc/classes/AbtPackage.html 2006-05-24 13:34:47 UTC (rev 125) @@ -270,26 +270,26 @@ <div id="M000017_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 49</span> -49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) -50: -51: <span class="ruby-ivar">@NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] -52: <span class="ruby-ivar">@EXEC_NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] -53: <span class="ruby-ivar">@VERSION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] -54: <span class="ruby-ivar">@SRC_DIR</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] -55: <span class="ruby-ivar">@HOMEPAGE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] -56: <span class="ruby-ivar">@SRC_URL</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] -57: <span class="ruby-ivar">@DEPENDSON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependOn'</span>] -58: <span class="ruby-ivar">@RELIESON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] -59: <span class="ruby-ivar">@OPTIONAL_DO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] -60: <span class="ruby-ivar">@OPTIONAL_RO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] -61: <span class="ruby-ivar">@GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'gpgCheck'</span>] -62: <span class="ruby-ivar">@PATCHES</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] -63: <span class="ruby-ivar">@PATCHES_GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesGpgCheck'</span>] -64: <span class="ruby-ivar">@MIRROR_PATH</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] -65: <span class="ruby-ivar">@LICENSE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] -66: <span class="ruby-ivar">@DESCRIPTION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] -67: -68: <span class="ruby-keyword kw">end</span> +49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) +50: +51: <span class="ruby-ivar">@NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] +52: <span class="ruby-ivar">@EXEC_NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] +53: <span class="ruby-ivar">@VERSION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] +54: <span class="ruby-ivar">@SRC_DIR</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] +55: <span class="ruby-ivar">@HOMEPAGE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] +56: <span class="ruby-ivar">@SRC_URL</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] +57: <span class="ruby-ivar">@DEPENDSON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependOn'</span>] +58: <span class="ruby-ivar">@RELIESON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] +59: <span class="ruby-ivar">@OPTIONAL_DO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] +60: <span class="ruby-ivar">@OPTIONAL_RO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] +61: <span class="ruby-ivar">@GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'gpgCheck'</span>] +62: <span class="ruby-ivar">@PATCHES</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] +63: <span class="ruby-ivar">@PATCHES_GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesGpgCheck'</span>] +64: <span class="ruby-ivar">@MIRROR_PATH</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] +65: <span class="ruby-ivar">@LICENSE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] +66: <span class="ruby-ivar">@DESCRIPTION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] +67: +68: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -314,8 +314,8 @@ <div id="M000021_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 124</span> -124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -125: <span class="ruby-keyword kw">end</span> +124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +125: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -343,8 +343,8 @@ <div id="M000020_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 116</span> -116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -117: <span class="ruby-keyword kw">end</span> +116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +117: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -368,28 +368,28 @@ <div id="M000018_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 75</span> -75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -76: -77: <span class="ruby-keyword kw">return</span> { -78: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@NAME</span>, -79: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@EXEC_NAME</span>, -80: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@VERSION</span>, -81: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_DIR</span>, -82: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@HOMEPAGE</span>, -83: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_URL</span>, -84: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DEPENDSON</span>, -85: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@RELIESON</span>, -86: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_DO</span>, -87: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_RO</span>, -88: <span class="ruby-value str">'gpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@GPG_CHECK</span>, -89: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES</span>, -90: <span class="ruby-value str">'patchesGpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES_GPG_CHECK</span>, -91: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@MIRROR_PATH</span>, -92: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@LICENSE</span>, -93: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DESCRIPTION</span> -94: } -95: -96: <span class="ruby-keyword kw">end</span> +75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +76: +77: <span class="ruby-keyword kw">return</span> { +78: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@NAME</span>, +79: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@EXEC_NAME</span>, +80: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@VERSION</span>, +81: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_DIR</span>, +82: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@HOMEPAGE</span>, +83: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_URL</span>, +84: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DEPENDSON</span>, +85: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@RELIESON</span>, +86: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_DO</span>, +87: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_RO</span>, +88: <span class="ruby-value str">'gpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@GPG_CHECK</span>, +89: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES</span>, +90: <span class="ruby-value str">'patchesGpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES_GPG_CHECK</span>, +91: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@MIRROR_PATH</span>, +92: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@LICENSE</span>, +93: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DESCRIPTION</span> +94: } +95: +96: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -412,8 +412,8 @@ <div id="M000023_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 141</span> -141: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -142: <span class="ruby-keyword kw">end</span> +141: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +142: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -437,8 +437,8 @@ <div id="M000024_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 149</span> -149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -150: <span class="ruby-keyword kw">end</span> +149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +150: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -462,8 +462,8 @@ <div id="M000019_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 104</span> -104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -105: <span class="ruby-keyword kw">end</span> +104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +105: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -488,8 +488,8 @@ <div id="M000022_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 133</span> -133: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -134: <span class="ruby-keyword kw">end</span> +133: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +134: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtPackageManager.html =================================================================== --- src/trunk/doc/classes/AbtPackageManager.html 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-05-24 13:34:47 UTC (rev 125) @@ -151,8 +151,8 @@ <div id="M000025_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-keyword kw">end</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -182,8 +182,8 @@ <div id="M000029_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 88</span> -88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgradePackage</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">version</span> ) -89: <span class="ruby-keyword kw">end</span> +88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgradePackage</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">version</span> ) +89: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -210,8 +210,8 @@ <div id="M000030_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 100</span> -100: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) -101: <span class="ruby-keyword kw">end</span> +100: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) +101: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -237,8 +237,8 @@ <div id="M000026_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">installPackage</span>( <span class="ruby-identifier">package</span> ) -54: <span class="ruby-keyword kw">end</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">installPackage</span>( <span class="ruby-identifier">package</span> ) +54: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -264,8 +264,8 @@ <div id="M000027_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 64</span> -64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-identifier">package</span> ) -65: <span class="ruby-keyword kw">end</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-identifier">package</span> ) +65: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -291,8 +291,8 @@ <div id="M000028_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 75</span> -75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removePackage</span>( <span class="ruby-identifier">package</span> ) -76: <span class="ruby-keyword kw">end</span> +75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removePackage</span>( <span class="ruby-identifier">package</span> ) +76: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-24 13:20:22 UTC (rev 124) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-24 13:34:47 UTC (rev 125) @@ -145,8 +145,8 @@ <div id="M000037_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 41</span> -41: <span class="ruby-keyword kw">def<... [truncated message content] |
From: <esc...@us...> - 2006-05-24 15:16:37
|
Revision: 126 Author: eschabell Date: 2006-05-24 08:16:16 -0700 (Wed, 24 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=126&view=rev Log Message: ----------- Started writing test classes, started with TestAbtPackage to get a feel for ruby unit testing. Modified Paths: -------------- src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/created.rid src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh src/trunk/packages/AbtFortune.rb Added Paths: ----------- src/trunk/TestAbtPackage.rb src/trunk/doc/classes/TestAbtPacakge.html src/trunk/doc/dot/f_8.dot src/trunk/doc/dot/f_8.png src/trunk/doc/files/TestAbtPackage_rb.html Added: src/trunk/TestAbtPackage.rb =================================================================== --- src/trunk/TestAbtPackage.rb (rev 0) +++ src/trunk/TestAbtPackage.rb 2006-05-24 15:16:16 UTC (rev 126) @@ -0,0 +1,66 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtPackage' + +## +# TestAbtPackage.rb +# +# Unit testing for AbtPackage class. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + + +class TestAbtPacakge < Test::Unit::TestCase + + @name = "Fortune" + @version = "mod-9708" + @srcDir = "#{@name.downcase}-#{@version}" + + $data = { + 'name' => "Fortune", + 'execName' => @name.downcase, + 'version' => @version, + 'srcDir' => @srcDir, + 'homepage' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@name.downcase}/", + 'srcUrl' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@srcDir}.tar.gz", + 'dependsOn' => "", + 'reliesOn' => "", + 'optionalDO' => "", + 'optionalRO' => "", + 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", + 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", + 'patcheshashCheck' => "", + 'mirrorPath' => "http://mirror.abtlinux.org/#{@srcDir}.tar.gz", + 'license' => "GPL", + 'description' => "Prints a random, hopefully interesting, adage." + } + + def setup + @fortune = AbtPackage.new( $data ) + end + + def testDetails + assert( $data['name'] == @fortune.details['name'] ) + end + +end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-24 15:16:16 UTC (rev 126) @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000036">new</a></li> + <li><a href="#M000038">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000036"></a><b>new</b>() + <a name="M000038"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> - <div id="M000036_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-24 15:16:16 UTC (rev 126) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000037">new</a></li> + <li><a href="#M000039">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000037"></a><b>new</b>() + <a name="M000039"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> - <div id="M000037_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 41</span> 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-24 15:16:16 UTC (rev 126) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000050">generateHTMLPackageListing</a></li> - <li><a href="#M000038">new</a></li> - <li><a href="#M000047">searchPackageDescriptions</a></li> - <li><a href="#M000046">showFileOwner</a></li> - <li><a href="#M000042">showFrozenPackages</a></li> - <li><a href="#M000040">showInstalledPackages</a></li> - <li><a href="#M000045">showJournal</a></li> - <li><a href="#M000043">showPackageDependencies</a></li> - <li><a href="#M000039">showPackageDetails</a></li> - <li><a href="#M000041">showPackageLog</a></li> - <li><a href="#M000048">showQueue</a></li> - <li><a href="#M000044">showUntrackedFiles</a></li> - <li><a href="#M000049">showUpdates</a></li> + <li><a href="#M000052">generateHTMLPackageListing</a></li> + <li><a href="#M000040">new</a></li> + <li><a href="#M000049">searchPackageDescriptions</a></li> + <li><a href="#M000048">showFileOwner</a></li> + <li><a href="#M000044">showFrozenPackages</a></li> + <li><a href="#M000042">showInstalledPackages</a></li> + <li><a href="#M000047">showJournal</a></li> + <li><a href="#M000045">showPackageDependencies</a></li> + <li><a href="#M000041">showPackageDetails</a></li> + <li><a href="#M000043">showPackageLog</a></li> + <li><a href="#M000050">showQueue</a></li> + <li><a href="#M000046">showUntrackedFiles</a></li> + <li><a href="#M000051">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000038"></a><b>new</b>() + <a name="M000040"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> - <div id="M000038_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>generateHTMLPackageListing</b>() + <a name="M000052"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,8 +176,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> - <div id="M000050_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> + <div id="M000052_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 170</span> 170: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> @@ -188,7 +188,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000049"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 138</span> 138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) @@ -216,7 +216,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>showFileOwner</b>( file ) + <a name="M000048"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 126</span> 126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) @@ -242,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>showFrozenPackages</b>() + <a name="M000044"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,8 +253,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> @@ -265,7 +265,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000040"></a><b>showInstalledPackages</b>() + <a name="M000042"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,8 +276,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> - <div id="M000040_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 61</span> 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> @@ -288,7 +288,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>showJournal</b>() + <a name="M000047"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,8 +299,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 116</span> 116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> @@ -311,7 +311,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000043"></a><b>showPackageDependencies</b>( package ) + <a name="M000045"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,8 +328,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 98</span> 98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) @@ -340,7 +340,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000039"></a><b>showPackageDetails</b>( package ) + <a name="M000041"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,8 +355,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> - <div id="M000039_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) @@ -367,7 +367,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000041"></a><b>showPackageLog</b>( package, logType ) + <a name="M000043"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,8 +385,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> - <div id="M000041_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 74</span> 74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) @@ -400,7 +400,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>showQueue</b>( queueType ) + <a name="M000050"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,8 +415,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 149</span> 149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) @@ -427,7 +427,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>showUntrackedFiles</b>() + <a name="M000046"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,8 +439,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 108</span> 108: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> @@ -451,7 +451,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>showUpdates</b>( target ) + <a name="M000051"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,8 +468,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> - <div id="M000049_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> + <div id="M000051_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 162</span> 162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) Added: src/trunk/doc/classes/TestAbtPacakge.html =================================================================== --- src/trunk/doc/classes/TestAbtPacakge.html (rev 0) +++ src/trunk/doc/classes/TestAbtPacakge.html 2006-05-24 15:16:16 UTC (rev 126) @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: TestAbtPacakge</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />TestAbtPacakge</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/TestAbtPackage_rb.html">TestAbtPackage.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Test::Unit::TestCase + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,135,152" href="TestAbtPacakge.html" alt="TestAbtPacakge"> + <area shape="RECT" coords="19,8,145,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +TestAbtPackage.rb +</p> +<p> +Unit testing for <a href="AbtPackage.html">AbtPackage</a> class. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000036">setup</a></li> + <li><a href="#M000037">testDetails</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000036"></a><b>setup</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 58</span> +58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> +59: <span class="ruby-ivar">@fortune</span> = <span class="ruby-constant">AbtPackage</span>.<span class="ruby-identifier">new</span>( <span class="ruby-identifier">$data</span> ) +60: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000037"></a><b>testDetails</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 62</span> +62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testDetails</span> +63: <span class="ruby-identifier">assert</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'name'</span>] <span class="ruby-operator">==</span> <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'name'</span>] ) +64: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/doc/created.rid 2006-05-24 15:16:16 UTC (rev 126) @@ -1 +1 @@ -Wed May 24 15:33:30 CEST 2006 +Wed May 24 17:14:44 CEST 2006 Added: src/trunk/doc/dot/f_8.dot =================================================================== --- src/trunk/doc/dot/f_8.dot (rev 0) +++ src/trunk/doc/dot/f_8.dot 2006-05-24 15:16:16 UTC (rev 126) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "TestAbtPackage.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_9 { + fontname = Arial + color = red + label = "TestAbtPackage.rb" + TestAbtPacakge [ + fontcolor = black, + URL = "classes/TestAbtPacakge.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "TestAbtPacakge" + ] + + } + + Test__Unit__TestCase [ + URL = "classes/Test/Unit/TestCase.html", + label = "Test::Unit::TestCase" + ] + + Test__Unit__TestCase -> TestAbtPacakge [ + + ] + +} + Added: src/trunk/doc/dot/f_8.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_8.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: src/trunk/doc/files/TestAbtPackage_rb.html =================================================================== --- src/trunk/doc/files/TestAbtPackage_rb.html (rev 0) +++ src/trunk/doc/files/TestAbtPackage_rb.html 2006-05-24 15:16:16 UTC (rev 126) @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: TestAbtPackage.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />TestAbtPackage.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>TestAbtPackage.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Wed May 24 17:13:43 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="29,104,135,152" href="../classes/TestAbtPacakge.html" alt="TestAbtPacakge"> + <area shape="RECT" coords="19,8,145,56" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + + <div class="sectiontitle">Required Files</div> + <ul> + <li>test/unit/testcase</li> + <li>test/unit/autorunner</li> + <li><a href="../classes/AbtPackage.html">AbtPackage</a></li> + </ul> + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/doc/fr_class_index.html 2006-05-24 15:16:16 UTC (rev 126) @@ -49,5 +49,6 @@ <a href="classes/AbtQueueManager.html">AbtQueueManager</a><br> <a href="classes/AbtReportManager.html">AbtReportManager</a><br> <a href="classes/AbtSystemManager.html">AbtSystemManager</a><br> +<a href="classes/TestAbtPacakge.html">TestAbtPacakge</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/doc/fr_file_index.html 2006-05-24 15:16:16 UTC (rev 126) @@ -49,5 +49,6 @@ <a href="files/AbtQueueManager_rb.html">AbtQueueManager.rb</a><br> <a href="files/AbtReportManager_rb.html">AbtReportManager.rb</a><br> <a href="files/AbtSystemManager_rb.html">AbtSystemManager.rb</a><br> +<a href="files/TestAbtPackage_rb.html">TestAbtPackage.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/doc/fr_method_index.html 2006-05-24 15:16:16 UTC (rev 126) @@ -50,19 +50,19 @@ <a href="classes/AbtPackageManager.html#M000029">downgradePackage (AbtPackageManager)</a><br> <a href="classes/AbtSystemManager.html#M000008">fixPackage (AbtSystemManager)</a><br> <a href="classes/AbtPackageManager.html#M000030">freezePackage (AbtPackageManager)</a><br> -<a href="classes/AbtReportManager.html#M000050">generateHTMLPackageListing (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000052">generateHTMLPackageListing (AbtReportManager)</a><br> <a href="classes/AbtPackage.html#M000023">install (AbtPackage)</a><br> <a href="classes/AbtPackageManager.html#M000026">installPackage (AbtPackageManager)</a><br> <a href="classes/AbtLogManager.html#M000033">logPackageBuild (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000032">logPackageInstall (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000035">logToJournal (AbtLogManager)</a><br> -<a href="classes/AbtDepEngine.html#M000036">new (AbtDepEngine)</a><br> +<a href="classes/AbtDepEngine.html#M000038">new (AbtDepEngine)</a><br> <a href="classes/AbtPackage.html#M000017">new (AbtPackage)</a><br> -<a href="classes/AbtQueueManager.html#M000037">new (AbtQueueManager)</a><br> -<a href="classes/AbtReportManager.html#M000038">new (AbtReportManager)</a><br> +<a href="classes/AbtLogManager.html#M000031">new (AbtLogManager)</a><br> <a href="classes/AbtDownloadManager.html#M000011">new (AbtDownloadManager)</a><br> +<a href="classes/AbtQueueManager.html#M000039">new (AbtQueueManager)</a><br> +<a href="classes/AbtReportManager.html#M000040">new (AbtReportManager)</a><br> <a href="classes/AbtPackageManager.html#M000025">new (AbtPackageManager)</a><br> -<a href="classes/AbtLogManager.html#M000031">new (AbtLogManager)</a><br> <a href="classes/AbtSystemManager.html#M000001">new (AbtSystemManager)</a><br> <a href="classes/AbtPackage.html#M000024">post (AbtPackage)</a><br> <a href="classes/AbtPackage.html#M000019">pre (AbtPackage)</a><br> @@ -72,19 +72,21 @@ <a href="classes/AbtDownloadManager.html#M000014">retrieveNewsFeed (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000012">retrievePackageSource (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000013">retrievePackageTree (AbtDownloadManager)</a><br> -<a href="classes/AbtReportManager.html#M000047">searchPackageDescriptions (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000049">searchPackageDescriptions (AbtReportManager)</a><br> <a href="classes/AbtSystemManager.html#M000009">setCentralRepo (AbtSystemManager)</a><br> <a href="classes/AbtSystemManager.html#M000010">setPackageTreeLocation (AbtSystemManager)</a><br> -<a href="classes/AbtReportManager.html#M000046">showFileOwner (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000042">showFrozenPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000040">showInstalledPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000045">showJournal (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000043">showPackageDependencies (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000039">showPackageDetails (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000041">showPackageLog (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000048">showQueue (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000044">showUntrackedFiles (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000049">showUpdates (AbtReportManager)</a><br> +<a href="classes/TestAbtPacakge.html#M000036">setup (TestAbtPacakge)</a><br> +<a href="classes/AbtReportManager.html#M000048">showFileOwner (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000044">showFrozenPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000042">showInstalledPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000047">showJournal (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000045">showPackageDependencies (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000041">showPackageDetails (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000043">showPackageLog (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000050">showQueue (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000046">showUntrackedFiles (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000051">showUpdates (AbtReportManager)</a><br> +<a href="classes/TestAbtPacakge.html#M000037">testDetails (TestAbtPacakge)</a><br> <a href="classes/AbtDownloadManager.html#M000015">updatePackage (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000016">updatePackageTree (AbtDownloadManager)</a><br> <a href="classes/AbtSystemManager.html#M000004">verifyInstalledFiles (AbtSystemManager)</a><br> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/docGen.sh 2006-05-24 15:16:16 UTC (rev 126) @@ -23,7 +23,9 @@ AbtLogManager.rb AbtReportManager.rb AbtQueueManager.rb - AbtDepEngine.rb"; + AbtDepEngine.rb + TestAbtPackage.rb + "; # run the actual doc generation. rdoc --diagram \ Modified: src/trunk/packages/AbtFortune.rb =================================================================== --- src/trunk/packages/AbtFortune.rb 2006-05-24 13:34:47 UTC (rev 125) +++ src/trunk/packages/AbtFortune.rb 2006-05-24 15:16:16 UTC (rev 126) @@ -36,16 +36,16 @@ @srcDir = "#{@name.downcase}-#{@version}" @packageData = { - 'name' => "Fortune", + 'name' => @name, 'execName' => @name.downcase, 'version' => @version, 'srcDir' => @srcDir, 'homepage' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@name.downcase}/", 'srcUrl' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@srcDir}.tar.gz", - 'dependsOn' => [], - 'reliesOn' => [], - 'optionalDO' => [], - 'optionalRO' => [], + 'dependsOn' => "", + 'reliesOn' => "", + 'optionalDO' => "", + 'optionalRO' => "", 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", 'patcheshashCheck' => "", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-30 11:41:23
|
Revision: 127 Author: eschabell Date: 2006-05-30 04:40:52 -0700 (Tue, 30 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=127&view=rev Log Message: ----------- Added comments to the AbtPackage attributes and regenerated docs. Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtDownloadManager.html src/trunk/doc/classes/AbtLogManager.html src/trunk/doc/classes/AbtPackage.html src/trunk/doc/classes/AbtPackageManager.html src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/AbtSystemManager.html src/trunk/doc/classes/TestAbtPacakge.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.png src/trunk/doc/dot/f_1.png src/trunk/doc/dot/f_2.png src/trunk/doc/dot/f_3.png src/trunk/doc/dot/f_4.png src/trunk/doc/dot/f_5.png src/trunk/doc/dot/f_6.png src/trunk/doc/dot/f_7.png src/trunk/doc/dot/f_8.png src/trunk/doc/files/AbtDepEngine_rb.html src/trunk/doc/files/AbtDownloadManager_rb.html src/trunk/doc/files/AbtLogManager_rb.html src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/AbtQueueManager_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html src/trunk/doc/files/TestAbtPackage_rb.html src/trunk/doc/fr_method_index.html Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/AbtPackage.rb 2006-05-30 11:40:52 UTC (rev 127) @@ -36,10 +36,55 @@ public - attr_reader :NAME, :EXEC_NAME, :VERSION, :SRC_DIR, :HOMEPAGE, :SRC_URL - attr_reader :DEPENDSON, :RELIESON, :OPTIONAL_DO, :OPTIONAL_RO, :GPG_CHECK - attr_reader :PATCHES, :PATCHES_GPG_CHECK, :MIRROR_PATH, :LICENSE, :DESCRIPTION + # the name of the package. + attr_reader :NAME + + # the executable name for the package. + attr_reader :EXEC_NAME + + # the package version number. + attr_reader :VERSION + + # the source directory for the package. + attr_reader :SRC_DIR + + # the packages homepage. + attr_reader :HOMEPAGE + + # the URL where this packages sources can be obtained. + attr_reader :SRC_URL + + # list of dependsOn (DO) related package dependencies. + attr_reader :DEPENDSON + + # list of reliesOn (RO) related package dependencies. + attr_reader :RELIESON + + # list of optional reliesOn (oRO) related package dependencies. + attr_reader :OPTIONAL_DO + + # list of optional dependsOn (oDO) related package dependencies. + attr_reader :OPTIONAL_RO + + # security hash value of package sources. + attr_reader :HASH_CHECK + + # list of available patches for this package. + attr_reader :PATCHES + + # security hash value of this packages patches. + attr_reader :PATCHES_HASH_CHECK + + # available mirrors for this package. + attr_reader :MIRROR_PATH + + # type of license this package has. + attr_reader :LICENSE + + # the package description. + attr_reader :DESCRIPTION + ## # Constructor for an AbtPackage, requires all the packge details. # Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,127,100" href="AbtDepEngine.html" alt="AbtDepEngine"> + <area shape="RECT" coords="28,51,127,99" href="AbtDepEngine.html" alt="AbtDepEngine"> </map> <img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000038">new</a></li> + <li><a href="#M000039">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000038"></a><b>new</b>() + <a name="M000039"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> - <div id="M000038_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,162,100" href="AbtDownloadManager.html" alt="AbtDownloadManager"> + <area shape="RECT" coords="28,51,161,99" href="AbtDownloadManager.html" alt="AbtDownloadManager"> </map> <img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtLogManager.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,133,100" href="AbtLogManager.html" alt="AbtLogManager"> + <area shape="RECT" coords="28,51,132,99" href="AbtLogManager.html" alt="AbtLogManager"> </map> <img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,11 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000034">cachePackage</a></li> - <li><a href="#M000033">logPackageBuild</a></li> - <li><a href="#M000032">logPackageInstall</a></li> - <li><a href="#M000035">logToJournal</a></li> - <li><a href="#M000031">new</a></li> + <li><a href="#M000035">cachePackage</a></li> + <li><a href="#M000034">logPackageBuild</a></li> + <li><a href="#M000033">logPackageInstall</a></li> + <li><a href="#M000031">logPackageIntegrity</a></li> + <li><a href="#M000036">logToJournal</a></li> + <li><a href="#M000032">new</a></li> </ul> @@ -132,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000031"></a><b>new</b>() + <a name="M000032"></a><b>new</b>() </div> <div class="description"> <p> @@ -144,8 +145,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> - <div id="M000031_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> + <div id="M000032_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -157,7 +158,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000034"></a><b>cachePackage</b>( package ) + <a name="M000035"></a><b>cachePackage</b>( package ) </div> <div class="description"> <p> @@ -173,8 +174,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> - <div id="M000034_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 92</span> 92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) @@ -185,7 +186,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000033"></a><b>logPackageBuild</b>( package ) + <a name="M000034"></a><b>logPackageBuild</b>( package ) </div> <div class="description"> <p> @@ -201,8 +202,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> - <div id="M000033_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> + <div id="M000034_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 80</span> 80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) @@ -213,7 +214,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000032"></a><b>logPackageInstall</b>( package ) + <a name="M000033"></a><b>logPackageInstall</b>( package ) </div> <div class="description"> <p> @@ -229,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> - <div id="M000032_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> + <div id="M000033_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) @@ -241,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000035"></a><b>logToJournal</b>( message ) + <a name="M000036"></a><b>logToJournal</b>( message ) </div> <div class="description"> <p> @@ -257,8 +258,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> - <div id="M000035_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 104</span> 104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) @@ -267,7 +268,37 @@ </div> </div> </div> +<div class="sectiontitle">Protected Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000031"></a><b>logPackageIntegrity</b>( package ) + </div> + <div class="description"> + <p> +Provides logging of the integrity of all installed files for the given +package. Will be called as part of the logging done during the install +phase. +</p> +<p> +<b>PARAM</b> <em>String</em> - Package name. +</p> +<p> +<b>RETURN</b> <em>boolean</em> - True if integrity log created +successfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> + <div id="M000031_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 43</span> +43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageIntegrity</span>( <span class="ruby-identifier">package</span> ) +44: <span class="ruby-keyword kw">end</span> +</pre> + </div> </div> +</div> +</div> </div> Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtPackage.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,117,100" href="AbtPackage.html" alt="AbtPackage"> + <area shape="RECT" coords="28,51,116,99" href="AbtPackage.html" alt="AbtPackage"> </map> <img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -142,112 +142,160 @@ [R] </td> <td class='attr-name'>DEPENDSON</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +list of dependsOn (DO) related package dependencies. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>DESCRIPTION</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +the package description. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>EXEC_NAME</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +the executable name for the package. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>GPG_CHECK</td> - <td class='attr-desc'></td> + <td class='attr-name'>HASH_CHECK</td> + <td class='attr-desc'> +security hash value of package sources. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>HOMEPAGE</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +the packages homepage. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>LICENSE</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +type of license this package has. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>MIRROR_PATH</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +available mirrors for this package. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>NAME</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +the name of the package. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>OPTIONAL_DO</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +list of optional reliesOn (oRO) related package dependencies. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>OPTIONAL_RO</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +list of optional dependsOn (oDO) related package dependencies. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>PATCHES</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +list of available patches for this package. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> - <td class='attr-name'>PATCHES_GPG_CHECK</td> - <td class='attr-desc'></td> + <td class='attr-name'>PATCHES_HASH_CHECK</td> + <td class='attr-desc'> +security hash value of this packages patches. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>RELIESON</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +list of reliesOn (RO) related package dependencies. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>SRC_DIR</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +the source directory for the package. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>SRC_URL</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +the URL where this packages sources can be obtained. + +</td> </tr> <tr valign='top'> <td class='attr-rw'> [R] </td> <td class='attr-name'>VERSION</td> - <td class='attr-desc'></td> + <td class='attr-desc'> +the package version number. + +</td> </tr> </table> @@ -269,27 +317,27 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> <div id="M000017_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 49</span> -49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) -50: -51: <span class="ruby-ivar">@NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] -52: <span class="ruby-ivar">@EXEC_NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] -53: <span class="ruby-ivar">@VERSION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] -54: <span class="ruby-ivar">@SRC_DIR</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] -55: <span class="ruby-ivar">@HOMEPAGE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] -56: <span class="ruby-ivar">@SRC_URL</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] -57: <span class="ruby-ivar">@DEPENDSON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependOn'</span>] -58: <span class="ruby-ivar">@RELIESON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] -59: <span class="ruby-ivar">@OPTIONAL_DO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] -60: <span class="ruby-ivar">@OPTIONAL_RO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] -61: <span class="ruby-ivar">@GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'gpgCheck'</span>] -62: <span class="ruby-ivar">@PATCHES</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] -63: <span class="ruby-ivar">@PATCHES_GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesGpgCheck'</span>] -64: <span class="ruby-ivar">@MIRROR_PATH</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] -65: <span class="ruby-ivar">@LICENSE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] -66: <span class="ruby-ivar">@DESCRIPTION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] -67: -68: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 94</span> + 94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) + 95: + 96: <span class="ruby-ivar">@NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] + 97: <span class="ruby-ivar">@EXEC_NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] + 98: <span class="ruby-ivar">@VERSION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] + 99: <span class="ruby-ivar">@SRC_DIR</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] +100: <span class="ruby-ivar">@HOMEPAGE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] +101: <span class="ruby-ivar">@SRC_URL</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] +102: <span class="ruby-ivar">@DEPENDSON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependOn'</span>] +103: <span class="ruby-ivar">@RELIESON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] +104: <span class="ruby-ivar">@OPTIONAL_DO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] +105: <span class="ruby-ivar">@OPTIONAL_RO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] +106: <span class="ruby-ivar">@GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'gpgCheck'</span>] +107: <span class="ruby-ivar">@PATCHES</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] +108: <span class="ruby-ivar">@PATCHES_GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesGpgCheck'</span>] +109: <span class="ruby-ivar">@MIRROR_PATH</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] +110: <span class="ruby-ivar">@LICENSE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] +111: <span class="ruby-ivar">@DESCRIPTION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] +112: +113: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -313,9 +361,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> <div id="M000021_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 124</span> -124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -125: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 169</span> +169: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +170: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -342,9 +390,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> <div id="M000020_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 116</span> -116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -117: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 161</span> +161: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +162: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -367,29 +415,29 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> <div id="M000018_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 75</span> -75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -76: -77: <span class="ruby-keyword kw">return</span> { -78: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@NAME</span>, -79: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@EXEC_NAME</span>, -80: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@VERSION</span>, -81: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_DIR</span>, -82: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@HOMEPAGE</span>, -83: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_URL</span>, -84: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DEPENDSON</span>, -85: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@RELIESON</span>, -86: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_DO</span>, -87: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_RO</span>, -88: <span class="ruby-value str">'gpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@GPG_CHECK</span>, -89: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES</span>, -90: <span class="ruby-value str">'patchesGpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES_GPG_CHECK</span>, -91: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@MIRROR_PATH</span>, -92: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@LICENSE</span>, -93: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DESCRIPTION</span> -94: } -95: -96: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 120</span> +120: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +121: +122: <span class="ruby-keyword kw">return</span> { +123: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@NAME</span>, +124: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@EXEC_NAME</span>, +125: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@VERSION</span>, +126: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_DIR</span>, +127: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@HOMEPAGE</span>, +128: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_URL</span>, +129: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DEPENDSON</span>, +130: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@RELIESON</span>, +131: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_DO</span>, +132: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_RO</span>, +133: <span class="ruby-value str">'gpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@GPG_CHECK</span>, +134: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES</span>, +135: <span class="ruby-value str">'patchesGpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES_GPG_CHECK</span>, +136: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@MIRROR_PATH</span>, +137: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@LICENSE</span>, +138: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DESCRIPTION</span> +139: } +140: +141: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -411,9 +459,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> <div id="M000023_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 141</span> -141: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -142: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 186</span> +186: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +187: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -436,9 +484,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> <div id="M000024_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 149</span> -149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -150: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 194</span> +194: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +195: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -461,9 +509,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> <div id="M000019_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 104</span> -104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -105: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 149</span> +149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +150: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -487,9 +535,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> <div id="M000022_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 133</span> -133: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -134: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 178</span> +178: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +179: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtPackageManager.html =================================================================== --- src/trunk/doc/classes/AbtPackageManager.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,157,100" href="AbtPackageManager.html" alt="AbtPackageManager"> + <area shape="RECT" coords="28,51,156,99" href="AbtPackageManager.html" alt="AbtPackageManager"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,146,100" href="AbtQueueManager.html" alt="AbtQueueManager"> + <area shape="RECT" coords="28,51,145,99" href="AbtQueueManager.html" alt="AbtQueueManager"> </map> <img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000039">new</a></li> + <li><a href="#M000040">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000039"></a><b>new</b>() + <a name="M000040"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> - <div id="M000039_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 41</span> 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,146,100" href="AbtReportManager.html" alt="AbtReportManager"> + <area shape="RECT" coords="28,51,145,99" href="AbtReportManager.html" alt="AbtReportManager"> </map> <img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000052">generateHTMLPackageListing</a></li> - <li><a href="#M000040">new</a></li> - <li><a href="#M000049">searchPackageDescriptions</a></li> - <li><a href="#M000048">showFileOwner</a></li> - <li><a href="#M000044">showFrozenPackages</a></li> - <li><a href="#M000042">showInstalledPackages</a></li> - <li><a href="#M000047">showJournal</a></li> - <li><a href="#M000045">showPackageDependencies</a></li> - <li><a href="#M000041">showPackageDetails</a></li> - <li><a href="#M000043">showPackageLog</a></li> - <li><a href="#M000050">showQueue</a></li> - <li><a href="#M000046">showUntrackedFiles</a></li> - <li><a href="#M000051">showUpdates</a></li> + <li><a href="#M000053">generateHTMLPackageListing</a></li> + <li><a href="#M000041">new</a></li> + <li><a href="#M000050">searchPackageDescriptions</a></li> + <li><a href="#M000049">showFileOwner</a></li> + <li><a href="#M000045">showFrozenPackages</a></li> + <li><a href="#M000043">showInstalledPackages</a></li> + <li><a href="#M000048">showJournal</a></li> + <li><a href="#M000046">showPackageDependencies</a></li> + <li><a href="#M000042">showPackageDetails</a></li> + <li><a href="#M000044">showPackageLog</a></li> + <li><a href="#M000051">showQueue</a></li> + <li><a href="#M000047">showUntrackedFiles</a></li> + <li><a href="#M000052">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000040"></a><b>new</b>() + <a name="M000041"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> - <div id="M000040_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000052"></a><b>generateHTMLPackageListing</b>() + <a name="M000053"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,8 +176,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> - <div id="M000052_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> + <div id="M000053_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 170</span> 170: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> @@ -188,7 +188,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000050"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> - <div id="M000049_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 138</span> 138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) @@ -216,7 +216,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>showFileOwner</b>( file ) + <a name="M000049"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 126</span> 126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) @@ -242,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>showFrozenPackages</b>() + <a name="M000045"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,8 +253,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> @@ -265,7 +265,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>showInstalledPackages</b>() + <a name="M000043"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,8 +276,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 61</span> 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> @@ -288,7 +288,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>showJournal</b>() + <a name="M000048"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,8 +299,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 116</span> 116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> @@ -311,7 +311,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>showPackageDependencies</b>( package ) + <a name="M000046"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,8 +328,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 98</span> 98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) @@ -340,7 +340,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000041"></a><b>showPackageDetails</b>( package ) + <a name="M000042"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,8 +355,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> - <div id="M000041_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) @@ -367,7 +367,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000043"></a><b>showPackageLog</b>( package, logType ) + <a name="M000044"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,8 +385,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 74</span> 74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) @@ -400,7 +400,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>showQueue</b>( queueType ) + <a name="M000051"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,8 +415,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> - <div id="M000050_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> + <div id="M000051_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 149</span> 149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) @@ -427,7 +427,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>showUntrackedFiles</b>() + <a name="M000047"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,8 +439,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 108</span> 108: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> @@ -451,7 +451,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000051"></a><b>showUpdates</b>( target ) + <a name="M000052"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,8 +468,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> - <div id="M000051_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> + <div id="M000052_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 162</span> 162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) Modified: src/trunk/doc/classes/AbtSystemManager.html =================================================================== --- src/trunk/doc/classes/AbtSystemManager.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/AbtSystemManager.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,151,100" href="AbtSystemManager.html" alt="AbtSystemManager"> + <area shape="RECT" coords="28,51,151,99" href="AbtSystemManager.html" alt="AbtSystemManager"> </map> <img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/classes/TestAbtPacakge.html =================================================================== --- src/trunk/doc/classes/TestAbtPacakge.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/classes/TestAbtPacakge.html 2006-05-30 11:40:52 UTC (rev 127) @@ -76,8 +76,8 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,104,135,152" href="TestAbtPacakge.html" alt="TestAbtPacakge"> - <area shape="RECT" coords="19,8,145,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="28,103,135,151" href="TestAbtPacakge.html" alt="TestAbtPacakge"> + <area shape="RECT" coords="19,7,144,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> <img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000036">setup</a></li> - <li><a href="#M000037">testDetails</a></li> + <li><a href="#M000037">setup</a></li> + <li><a href="#M000038">testDetails</a></li> </ul> @@ -129,11 +129,11 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000036"></a><b>setup</b>() + <a name="M000037"></a><b>setup</b>() </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> - <div id="M000036_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 58</span> 58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> @@ -145,11 +145,11 @@ </div> <div class="method"> <div class="title"> - <a name="M000037"></a><b>testDetails</b>() + <a name="M000038"></a><b>testDetails</b>() </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> - <div id="M000037_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 62</span> 62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testDetails</span> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/created.rid 2006-05-30 11:40:52 UTC (rev 127) @@ -1 +1 @@ -Wed May 24 17:14:44 CEST 2006 +Tue May 30 13:38:58 CEST 2006 Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_2.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_3.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_4.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_5.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_6.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_7.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_8.png =================================================================== (Binary files differ) Modified: src/trunk/doc/files/AbtDepEngine_rb.html =================================================================== --- src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtDepEngine_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:24:39 CEST 2006</td> + <td>Wed May 24 15:34:47 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,127,100" href="../classes/AbtDepEngine.html" alt="AbtDepEngine"> + <area shape="RECT" coords="28,51,127,99" href="../classes/AbtDepEngine.html" alt="AbtDepEngine"> </map> <img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtDownloadManager_rb.html =================================================================== --- src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtDownloadManager_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:27:26 CEST 2006</td> + <td>Wed May 24 15:34:47 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,162,100" href="../classes/AbtDownloadManager.html" alt="AbtDownloadManager"> + <area shape="RECT" coords="28,51,161,99" href="../classes/AbtDownloadManager.html" alt="AbtDownloadManager"> </map> <img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/AbtLogManager_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtLogManager_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:27:20 CEST 2006</td> + <td>Wed May 24 15:34:47 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,133,100" href="../classes/AbtLogManager.html" alt="AbtLogManager"> + <area shape="RECT" coords="28,51,132,99" href="../classes/AbtLogManager.html" alt="AbtLogManager"> </map> <img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtPackageManager_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:28:18 CEST 2006</td> + <td>Wed May 24 15:34:47 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,157,100" href="../classes/AbtPackageManager.html" alt="AbtPackageManager"> + <area shape="RECT" coords="28,51,156,99" href="../classes/AbtPackageManager.html" alt="AbtPackageManager"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtPackage_rb.html =================================================================== --- src/trunk/doc/files/AbtPackage_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtPackage_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:27:32 CEST 2006</td> + <td>Tue May 30 13:37:32 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,117,100" href="../classes/AbtPackage.html" alt="AbtPackage"> + <area shape="RECT" coords="28,51,116,99" href="../classes/AbtPackage.html" alt="AbtPackage"> </map> <img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtQueueManager_rb.html =================================================================== --- src/trunk/doc/files/AbtQueueManager_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtQueueManager_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:28:33 CEST 2006</td> + <td>Wed May 24 15:34:47 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,146,100" href="../classes/AbtQueueManager.html" alt="AbtQueueManager"> + <area shape="RECT" coords="28,51,145,99" href="../classes/AbtQueueManager.html" alt="AbtQueueManager"> </map> <img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtReportManager_rb.html =================================================================== --- src/trunk/doc/files/AbtReportManager_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtReportManager_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:29:56 CEST 2006</td> + <td>Wed May 24 15:34:47 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="29,52,146,100" href="../classes/AbtReportManager.html" alt="AbtReportManager"> + <area shape="RECT" coords="28,51,145,99" href="../classes/AbtReportManager.html" alt="AbtReportManager"> </map> <img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/AbtSystemManager_rb.html =================================================================== --- src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-24 15:16:16 UTC (rev 126) +++ src/trunk/doc/files/AbtSystemManager_rb.html 2006-05-30 11:40:52 UTC (rev 127) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 15:31:04 CEST 2006</td> + <td>Wed May 24 15:34:47 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="R... [truncated message content] |
From: <esc...@us...> - 2006-05-31 11:56:59
|
Revision: 128 Author: eschabell Date: 2006-05-31 04:56:44 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=128&view=rev Log Message: ----------- Completed the TestAbtPackage Unit Test class. Filled with one completed test and the rest as failing placeholders. These we will slowly need complete by implementing the methods being tested. Regenerated docs. Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/TestAbtPackage.rb src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtLogManager.html src/trunk/doc/classes/AbtPackage.html src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/TestAbtPacakge.html src/trunk/doc/created.rid src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/TestAbtPackage_rb.html src/trunk/doc/fr_method_index.html Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/AbtPackage.rb 2006-05-31 11:56:44 UTC (rev 128) @@ -37,52 +37,52 @@ public # the name of the package. - attr_reader :NAME + attr_reader :name # the executable name for the package. - attr_reader :EXEC_NAME + attr_reader :execName # the package version number. - attr_reader :VERSION + attr_reader :version # the source directory for the package. - attr_reader :SRC_DIR + attr_reader :srcDir # the packages homepage. - attr_reader :HOMEPAGE + attr_reader :homepage # the URL where this packages sources can be obtained. - attr_reader :SRC_URL + attr_reader :srcUrl # list of dependsOn (DO) related package dependencies. - attr_reader :DEPENDSON + attr_reader :dependsOn # list of reliesOn (RO) related package dependencies. - attr_reader :RELIESON + attr_reader :reliesOn # list of optional reliesOn (oRO) related package dependencies. - attr_reader :OPTIONAL_DO + attr_reader :optionalDO # list of optional dependsOn (oDO) related package dependencies. - attr_reader :OPTIONAL_RO + attr_reader :optionalRO # security hash value of package sources. - attr_reader :HASH_CHECK + attr_reader :hashCheck # list of available patches for this package. - attr_reader :PATCHES + attr_reader :patches # security hash value of this packages patches. - attr_reader :PATCHES_HASH_CHECK + attr_reader :patchesHashCheck # available mirrors for this package. - attr_reader :MIRROR_PATH + attr_reader :mirrorPath # type of license this package has. - attr_reader :LICENSE + attr_reader :licence # the package description. - attr_reader :DESCRIPTION + attr_reader :description ## @@ -93,22 +93,22 @@ ## def initialize( data ) - @NAME = data['name'] - @EXEC_NAME = data['execName'] - @VERSION = data['version'] - @SRC_DIR = data['srcDir'] - @HOMEPAGE = data['homepage'] - @SRC_URL = data['srcUrl'] - @DEPENDSON = data['dependOn'] - @RELIESON = data['reliesOn'] - @OPTIONAL_DO = data['optionalDO'] - @OPTIONAL_RO = data['optionalRO'] - @GPG_CHECK = data['gpgCheck'] - @PATCHES = data['patches'] - @PATCHES_GPG_CHECK = data['patchesGpgCheck'] - @MIRROR_PATH = data['mirrorPath'] - @LICENSE = data['license'] - @DESCRIPTION = data['description'] + @name = data['name'] + @execName = data['execName'] + @version = data['version'] + @srcDir = data['srcDir'] + @homepage = data['homepage'] + @srcUrl = data['srcUrl'] + @dependsOn = data['dependsOn'] + @reliesOn = data['reliesOn'] + @optionalDO = data['optionalDO'] + @optionalRO = data['optionalRO'] + @hashCheck = data['hashCheck'] + @patches = data['patches'] + @patchesHashCheck = data['patchesHashCheck'] + @mirrorPath = data['mirrorPath'] + @license = data['license'] + @description = data['description'] end @@ -120,22 +120,22 @@ def details return { - 'name' => @NAME, - 'execName' => @EXEC_NAME, - 'version' => @VERSION, - 'srcDir' => @SRC_DIR, - 'homepage' => @HOMEPAGE, - 'srcUrl' => @SRC_URL, - 'dependsOn' => @DEPENDSON, - 'reliesOn' => @RELIESON, - 'optionalDO' => @OPTIONAL_DO, - 'optionalRO' => @OPTIONAL_RO, - 'gpgCheck' => @GPG_CHECK, - 'patches' => @PATCHES, - 'patchesGpgCheck' => @PATCHES_GPG_CHECK, - 'mirrorPath' => @MIRROR_PATH, - 'license' => @LICENSE, - 'description' => @DESCRIPTION + 'name' => @name, + 'execName' => @execName, + 'version' => @version, + 'srcDir' => @srcDir, + 'homepage' => @homepage, + 'srcUrl' => @srcUrl, + 'dependsOn' => @dependsOn, + 'reliesOn' => @reliesOn, + 'optionalDO' => @optionalDO, + 'optionalRO' => @optionalRO, + 'hashCheck' => @hashCheck, + 'patches' => @patches, + 'patchesHashCheck' => @patchesHashCheck, + 'mirrorPath' => @mirrorPath, + 'license' => @license, + 'description' => @description } end Modified: src/trunk/TestAbtPackage.rb =================================================================== --- src/trunk/TestAbtPackage.rb 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/TestAbtPackage.rb 2006-05-31 11:56:44 UTC (rev 128) @@ -43,13 +43,13 @@ 'srcDir' => @srcDir, 'homepage' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@name.downcase}/", 'srcUrl' => "http://www.ibiblio.org/pub/Linux/games/amusements/#{@srcDir}.tar.gz", - 'dependsOn' => "", - 'reliesOn' => "", - 'optionalDO' => "", - 'optionalRO' => "", + 'dependsOn' => "none", + 'reliesOn' => "none", + 'optionalDO' => "none", + 'optionalRO' => "none", 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", - 'patcheshashCheck' => "", + 'patchesHashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42", 'mirrorPath' => "http://mirror.abtlinux.org/#{@srcDir}.tar.gz", 'license' => "GPL", 'description' => "Prints a random, hopefully interesting, adage." @@ -60,7 +60,46 @@ end def testDetails - assert( $data['name'] == @fortune.details['name'] ) + assert_equal( $data['name'], @fortune.details['name'], "testDetails()" ) + assert_equal( $data['execName'], @fortune.details['execName'], "testDetails()" ) + assert_equal( $data['version'], @fortune.details['version'], "testDetails()" ) + assert_equal( $data['srcDir'], @fortune.details['srcDir'], "testDetails()" ) + assert_equal( $data['homepage'], @fortune.details['homepage'], "testDetails()" ) + assert_equal( $data['srcUrl'], @fortune.details['srcUrl'], "testDetails()" ) + assert_equal( $data['dependsOn'], @fortune.details['dependsOn'], "testDetails()" ) + assert_equal( $data['reliesOn'], @fortune.details['reliesOn'], "testDetails()" ) + assert_equal( $data['optionalDO'], @fortune.details['optionalDO'], "testDetails()" ) + assert_equal( $data['optionalRO'], @fortune.details['optionalRO'], "testDetails()" ) + assert_equal( $data['hashCheck'], @fortune.details['hashCheck'], "testDetails()" ) + assert_equal( $data['patches'], @fortune.details['patches'], "testDetails()" ) + assert_equal( $data['patchesHashCheck'], @fortune.details['patchesHashCheck'], "testDetails()" ) + assert_equal( $data['mirrorPath'], @fortune.details['mirrorPath'], "testDetails()" ) + assert_equal( $data['license'], @fortune.details['license'], "testDetails()" ) + assert_equal( $data['description'], @fortune.details['description'], "testDetails()" ) end + + def testPre + assert_equal( false, true, "testPre()" ) + end + def testConfigure + assert_equal( false, true, "testConfigure()" ) + end + + def testBuild + assert_equal( false, true, "testBuild()" ) + end + + def testPreinstall + assert_equal( false, true, "testPreinstall()" ) + end + + def testInstall + assert_equal( false, true, "testInstall()" ) + end + + def testPost + assert_equal( false, true, "testPost()" ) + end + end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 11:56:44 UTC (rev 128) @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000039">new</a></li> + <li><a href="#M000044">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000039"></a><b>new</b>() + <a name="M000044"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> - <div id="M000039_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/classes/AbtLogManager.html 2006-05-31 11:56:44 UTC (rev 128) @@ -117,12 +117,11 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000035">cachePackage</a></li> - <li><a href="#M000034">logPackageBuild</a></li> - <li><a href="#M000033">logPackageInstall</a></li> - <li><a href="#M000031">logPackageIntegrity</a></li> - <li><a href="#M000036">logToJournal</a></li> - <li><a href="#M000032">new</a></li> + <li><a href="#M000034">cachePackage</a></li> + <li><a href="#M000033">logPackageBuild</a></li> + <li><a href="#M000032">logPackageInstall</a></li> + <li><a href="#M000035">logToJournal</a></li> + <li><a href="#M000031">new</a></li> </ul> @@ -133,7 +132,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000032"></a><b>new</b>() + <a name="M000031"></a><b>new</b>() </div> <div class="description"> <p> @@ -145,8 +144,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> - <div id="M000032_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> + <div id="M000031_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 56</span> 56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -158,7 +157,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000035"></a><b>cachePackage</b>( package ) + <a name="M000034"></a><b>cachePackage</b>( package ) </div> <div class="description"> <p> @@ -174,8 +173,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> - <div id="M000035_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> + <div id="M000034_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 92</span> 92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) @@ -186,7 +185,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000034"></a><b>logPackageBuild</b>( package ) + <a name="M000033"></a><b>logPackageBuild</b>( package ) </div> <div class="description"> <p> @@ -202,8 +201,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> - <div id="M000034_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> + <div id="M000033_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 80</span> 80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) @@ -214,7 +213,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000033"></a><b>logPackageInstall</b>( package ) + <a name="M000032"></a><b>logPackageInstall</b>( package ) </div> <div class="description"> <p> @@ -230,8 +229,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> - <div id="M000033_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> + <div id="M000032_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 68</span> 68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) @@ -242,7 +241,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000036"></a><b>logToJournal</b>( message ) + <a name="M000035"></a><b>logToJournal</b>( message ) </div> <div class="description"> <p> @@ -258,8 +257,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> - <div id="M000036_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtLogManager.rb, line 104</span> 104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) @@ -268,37 +267,7 @@ </div> </div> </div> -<div class="sectiontitle">Protected Instance methods</div> -<div class="method"> - <div class="title"> - <a name="M000031"></a><b>logPackageIntegrity</b>( package ) - </div> - <div class="description"> - <p> -Provides logging of the integrity of all installed files for the given -package. Will be called as part of the logging done during the install -phase. -</p> -<p> -<b>PARAM</b> <em>String</em> - Package name. -</p> -<p> -<b>RETURN</b> <em>boolean</em> - True if integrity log created -successfully, otherwise false. -</p> - </div> -<div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> - <div id="M000031_source" class="dyn-source"> -<pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 43</span> -43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageIntegrity</span>( <span class="ruby-identifier">package</span> ) -44: <span class="ruby-keyword kw">end</span> -</pre> - </div> </div> -</div> -</div> </div> Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/classes/AbtPackage.html 2006-05-31 11:56:44 UTC (rev 128) @@ -141,7 +141,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>DEPENDSON</td> + <td class='attr-name'>dependsOn</td> <td class='attr-desc'> list of dependsOn (DO) related package dependencies. @@ -151,7 +151,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>DESCRIPTION</td> + <td class='attr-name'>description</td> <td class='attr-desc'> the package description. @@ -161,7 +161,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>EXEC_NAME</td> + <td class='attr-name'>execName</td> <td class='attr-desc'> the executable name for the package. @@ -171,7 +171,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>HASH_CHECK</td> + <td class='attr-name'>hashCheck</td> <td class='attr-desc'> security hash value of package sources. @@ -181,7 +181,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>HOMEPAGE</td> + <td class='attr-name'>homepage</td> <td class='attr-desc'> the packages homepage. @@ -191,7 +191,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>LICENSE</td> + <td class='attr-name'>licence</td> <td class='attr-desc'> type of license this package has. @@ -201,7 +201,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>MIRROR_PATH</td> + <td class='attr-name'>mirrorPath</td> <td class='attr-desc'> available mirrors for this package. @@ -211,7 +211,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>NAME</td> + <td class='attr-name'>name</td> <td class='attr-desc'> the name of the package. @@ -221,7 +221,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>OPTIONAL_DO</td> + <td class='attr-name'>optionalDO</td> <td class='attr-desc'> list of optional reliesOn (oRO) related package dependencies. @@ -231,7 +231,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>OPTIONAL_RO</td> + <td class='attr-name'>optionalRO</td> <td class='attr-desc'> list of optional dependsOn (oDO) related package dependencies. @@ -241,7 +241,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>PATCHES</td> + <td class='attr-name'>patches</td> <td class='attr-desc'> list of available patches for this package. @@ -251,7 +251,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>PATCHES_HASH_CHECK</td> + <td class='attr-name'>patchesHashCheck</td> <td class='attr-desc'> security hash value of this packages patches. @@ -261,7 +261,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>RELIESON</td> + <td class='attr-name'>reliesOn</td> <td class='attr-desc'> list of reliesOn (RO) related package dependencies. @@ -271,7 +271,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>SRC_DIR</td> + <td class='attr-name'>srcDir</td> <td class='attr-desc'> the source directory for the package. @@ -281,7 +281,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>SRC_URL</td> + <td class='attr-name'>srcUrl</td> <td class='attr-desc'> the URL where this packages sources can be obtained. @@ -291,7 +291,7 @@ <td class='attr-rw'> [R] </td> - <td class='attr-name'>VERSION</td> + <td class='attr-name'>version</td> <td class='attr-desc'> the package version number. @@ -320,22 +320,22 @@ <span class="ruby-comment cmt"># File AbtPackage.rb, line 94</span> 94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) 95: - 96: <span class="ruby-ivar">@NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] - 97: <span class="ruby-ivar">@EXEC_NAME</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] - 98: <span class="ruby-ivar">@VERSION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] - 99: <span class="ruby-ivar">@SRC_DIR</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] -100: <span class="ruby-ivar">@HOMEPAGE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] -101: <span class="ruby-ivar">@SRC_URL</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] -102: <span class="ruby-ivar">@DEPENDSON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependOn'</span>] -103: <span class="ruby-ivar">@RELIESON</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] -104: <span class="ruby-ivar">@OPTIONAL_DO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] -105: <span class="ruby-ivar">@OPTIONAL_RO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] -106: <span class="ruby-ivar">@GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'gpgCheck'</span>] -107: <span class="ruby-ivar">@PATCHES</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] -108: <span class="ruby-ivar">@PATCHES_GPG_CHECK</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesGpgCheck'</span>] -109: <span class="ruby-ivar">@MIRROR_PATH</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] -110: <span class="ruby-ivar">@LICENSE</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] -111: <span class="ruby-ivar">@DESCRIPTION</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] + 96: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] + 97: <span class="ruby-ivar">@execName</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] + 98: <span class="ruby-ivar">@version</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] + 99: <span class="ruby-ivar">@srcDir</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] +100: <span class="ruby-ivar">@homepage</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] +101: <span class="ruby-ivar">@srcUrl</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] +102: <span class="ruby-ivar">@dependsOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependsOn'</span>] +103: <span class="ruby-ivar">@reliesOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] +104: <span class="ruby-ivar">@optionalDO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] +105: <span class="ruby-ivar">@optionalRO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] +106: <span class="ruby-ivar">@hashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'hashCheck'</span>] +107: <span class="ruby-ivar">@patches</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] +108: <span class="ruby-ivar">@patchesHashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesHashCheck'</span>] +109: <span class="ruby-ivar">@mirrorPath</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] +110: <span class="ruby-ivar">@license</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] +111: <span class="ruby-ivar">@description</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] 112: 113: <span class="ruby-keyword kw">end</span> </pre> @@ -419,22 +419,22 @@ 120: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> 121: 122: <span class="ruby-keyword kw">return</span> { -123: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@NAME</span>, -124: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@EXEC_NAME</span>, -125: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@VERSION</span>, -126: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_DIR</span>, -127: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@HOMEPAGE</span>, -128: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@SRC_URL</span>, -129: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DEPENDSON</span>, -130: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@RELIESON</span>, -131: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_DO</span>, -132: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@OPTIONAL_RO</span>, -133: <span class="ruby-value str">'gpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@GPG_CHECK</span>, -134: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES</span>, -135: <span class="ruby-value str">'patchesGpgCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@PATCHES_GPG_CHECK</span>, -136: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@MIRROR_PATH</span>, -137: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@LICENSE</span>, -138: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@DESCRIPTION</span> +123: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@name</span>, +124: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@execName</span>, +125: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@version</span>, +126: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcDir</span>, +127: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@homepage</span>, +128: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcUrl</span>, +129: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@dependsOn</span>, +130: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@reliesOn</span>, +131: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalDO</span>, +132: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalRO</span>, +133: <span class="ruby-value str">'hashCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@hashCheck</span>, +134: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patches</span>, +135: <span class="ruby-value str">'patchesHashCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patchesHashCheck</span>, +136: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@mirrorPath</span>, +137: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@license</span>, +138: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@description</span> 139: } 140: 141: <span class="ruby-keyword kw">end</span> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 11:56:44 UTC (rev 128) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000040">new</a></li> + <li><a href="#M000045">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000040"></a><b>new</b>() + <a name="M000045"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> - <div id="M000040_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 41</span> 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 11:56:44 UTC (rev 128) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000053">generateHTMLPackageListing</a></li> - <li><a href="#M000041">new</a></li> - <li><a href="#M000050">searchPackageDescriptions</a></li> - <li><a href="#M000049">showFileOwner</a></li> - <li><a href="#M000045">showFrozenPackages</a></li> - <li><a href="#M000043">showInstalledPackages</a></li> - <li><a href="#M000048">showJournal</a></li> - <li><a href="#M000046">showPackageDependencies</a></li> - <li><a href="#M000042">showPackageDetails</a></li> - <li><a href="#M000044">showPackageLog</a></li> - <li><a href="#M000051">showQueue</a></li> - <li><a href="#M000047">showUntrackedFiles</a></li> - <li><a href="#M000052">showUpdates</a></li> + <li><a href="#M000058">generateHTMLPackageListing</a></li> + <li><a href="#M000046">new</a></li> + <li><a href="#M000055">searchPackageDescriptions</a></li> + <li><a href="#M000054">showFileOwner</a></li> + <li><a href="#M000050">showFrozenPackages</a></li> + <li><a href="#M000048">showInstalledPackages</a></li> + <li><a href="#M000053">showJournal</a></li> + <li><a href="#M000051">showPackageDependencies</a></li> + <li><a href="#M000047">showPackageDetails</a></li> + <li><a href="#M000049">showPackageLog</a></li> + <li><a href="#M000056">showQueue</a></li> + <li><a href="#M000052">showUntrackedFiles</a></li> + <li><a href="#M000057">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000041"></a><b>new</b>() + <a name="M000046"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> - <div id="M000041_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 42</span> 42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000053"></a><b>generateHTMLPackageListing</b>() + <a name="M000058"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,8 +176,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> - <div id="M000053_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> + <div id="M000058_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 170</span> 170: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> @@ -188,7 +188,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000055"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> - <div id="M000050_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> + <div id="M000055_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 138</span> 138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) @@ -216,7 +216,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>showFileOwner</b>( file ) + <a name="M000054"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> - <div id="M000049_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> + <div id="M000054_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 126</span> 126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) @@ -242,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>showFrozenPackages</b>() + <a name="M000050"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,8 +253,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 85</span> 85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> @@ -265,7 +265,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000043"></a><b>showInstalledPackages</b>() + <a name="M000048"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,8 +276,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 61</span> 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> @@ -288,7 +288,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>showJournal</b>() + <a name="M000053"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,8 +299,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> + <div id="M000053_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 116</span> 116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> @@ -311,7 +311,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>showPackageDependencies</b>( package ) + <a name="M000051"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,8 +328,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> + <div id="M000051_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 98</span> 98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) @@ -340,7 +340,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>showPackageDetails</b>( package ) + <a name="M000047"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,8 +355,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 53</span> 53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) @@ -367,7 +367,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>showPackageLog</b>( package, logType ) + <a name="M000049"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,8 +385,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 74</span> 74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) @@ -400,7 +400,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000051"></a><b>showQueue</b>( queueType ) + <a name="M000056"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,8 +415,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> - <div id="M000051_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> + <div id="M000056_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 149</span> 149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) @@ -427,7 +427,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>showUntrackedFiles</b>() + <a name="M000052"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,8 +439,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> + <div id="M000052_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 108</span> 108: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> @@ -451,7 +451,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000052"></a><b>showUpdates</b>( target ) + <a name="M000057"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,8 +468,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> - <div id="M000052_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> + <div id="M000057_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 162</span> 162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) Modified: src/trunk/doc/classes/TestAbtPacakge.html =================================================================== --- src/trunk/doc/classes/TestAbtPacakge.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/classes/TestAbtPacakge.html 2006-05-31 11:56:44 UTC (rev 128) @@ -117,8 +117,14 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000037">setup</a></li> - <li><a href="#M000038">testDetails</a></li> + <li><a href="#M000036">setup</a></li> + <li><a href="#M000040">testBuild</a></li> + <li><a href="#M000039">testConfigure</a></li> + <li><a href="#M000037">testDetails</a></li> + <li><a href="#M000042">testInstall</a></li> + <li><a href="#M000043">testPost</a></li> + <li><a href="#M000038">testPre</a></li> + <li><a href="#M000041">testPreinstall</a></li> </ul> @@ -129,11 +135,11 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000037"></a><b>setup</b>() + <a name="M000036"></a><b>setup</b>() </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> - <div id="M000037_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 58</span> 58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> @@ -145,21 +151,132 @@ </div> <div class="method"> <div class="title"> - <a name="M000038"></a><b>testDetails</b>() + <a name="M000040"></a><b>testBuild</b>() </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> - <div id="M000038_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 89</span> +89: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testBuild</span> +90: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-value str">"testBuild()"</span> ) +91: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000039"></a><b>testConfigure</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 85</span> +85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testConfigure</span> +86: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-value str">"testConfigure()"</span> ) +87: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000037"></a><b>testDetails</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> +<pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 62</span> 62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testDetails</span> -63: <span class="ruby-identifier">assert</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'name'</span>] <span class="ruby-operator">==</span> <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'name'</span>] ) -64: <span class="ruby-keyword kw">end</span> +63: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'name'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'name'</span>], <span class="ruby-value str">"testDetails()"</span> ) +64: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'execName'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'execName'</span>], <span class="ruby-value str">"testDetails()"</span> ) +65: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'version'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'version'</span>], <span class="ruby-value str">"testDetails()"</span> ) +66: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'srcDir'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'srcDir'</span>], <span class="ruby-value str">"testDetails()"</span> ) +67: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'homepage'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'homepage'</span>], <span class="ruby-value str">"testDetails()"</span> ) +68: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'srcUrl'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'srcUrl'</span>], <span class="ruby-value str">"testDetails()"</span> ) +69: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'dependsOn'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'dependsOn'</span>], <span class="ruby-value str">"testDetails()"</span> ) +70: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'reliesOn'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'reliesOn'</span>], <span class="ruby-value str">"testDetails()"</span> ) +71: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'optionalDO'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'optionalDO'</span>], <span class="ruby-value str">"testDetails()"</span> ) +72: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'optionalRO'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'optionalRO'</span>], <span class="ruby-value str">"testDetails()"</span> ) +73: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'hashCheck'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'hashCheck'</span>], <span class="ruby-value str">"testDetails()"</span> ) +74: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'patches'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'patches'</span>], <span class="ruby-value str">"testDetails()"</span> ) +75: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'patchesHashCheck'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'patchesHashCheck'</span>], <span class="ruby-value str">"testDetails()"</span> ) +76: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'mirrorPath'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'mirrorPath'</span>], <span class="ruby-value str">"testDetails()"</span> ) +77: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'license'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'license'</span>], <span class="ruby-value str">"testDetails()"</span> ) +78: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-identifier">$data</span>[<span class="ruby-value str">'description'</span>], <span class="ruby-ivar">@fortune</span>.<span class="ruby-identifier">details</span>[<span class="ruby-value str">'description'</span>], <span class="ruby-value str">"testDetails()"</span> ) +79: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> +<div class="method"> + <div class="title"> + <a name="M000042"></a><b>testInstall</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 97</span> +97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testInstall</span> +98: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-value str">"testInstall()"</span> ) +99: <span class="ruby-keyword kw">end</span> +</pre> + </div> </div> +</div> +<div class="method"> + <div class="title"> + <a name="M000043"></a><b>testPost</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 101</span> +101: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testPost</span> +102: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-value str">"testPost()"</span> ) +103: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000038"></a><b>testPre</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 81</span> +81: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testPre</span> +82: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-value str">"testPre()"</span> ) +83: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000041"></a><b>testPreinstall</b>() + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 93</span> +93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testPreinstall</span> +94: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-value str">"testPreinstall()"</span> ) +95: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/created.rid 2006-05-31 11:56:44 UTC (rev 128) @@ -1 +1 @@ -Tue May 30 13:38:58 CEST 2006 +Wed May 31 13:54:02 CEST 2006 Modified: src/trunk/doc/files/AbtPackage_rb.html =================================================================== --- src/trunk/doc/files/AbtPackage_rb.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/files/AbtPackage_rb.html 2006-05-31 11:56:44 UTC (rev 128) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Tue May 30 13:37:32 CEST 2006</td> + <td>Wed May 31 13:44:12 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/TestAbtPackage_rb.html =================================================================== --- src/trunk/doc/files/TestAbtPackage_rb.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/files/TestAbtPackage_rb.html 2006-05-31 11:56:44 UTC (rev 128) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 24 17:16:16 CEST 2006</td> + <td>Wed May 31 13:53:01 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-30 11:40:52 UTC (rev 127) +++ src/trunk/doc/fr_method_index.html 2006-05-31 11:56:44 UTC (rev 128) @@ -42,7 +42,7 @@ <div class="banner">Methods</div> <div class="entries"> <a href="classes/AbtPackage.html#M000021">build (AbtPackage)</a><br> -<a href="classes/AbtLogManager.html#M000035">cachePackage (AbtLogManager)</a><br> +<a href="classes/AbtLogManager.html#M000034">cachePackage (AbtLogManager)</a><br> <a href="classes/AbtSystemManager.html#M000003">cleanupLogs (AbtSystemManager)</a><br> <a href="classes/AbtSystemManager.html#M000002">cleanupPackageSources (AbtSystemManager)</a><br> <a href="classes/AbtPackage.html#M000020">configure (AbtPackage)</a><br> @@ -50,20 +50,19 @@ <a href="classes/AbtPackageManager.html#M000029">downgradePackage (AbtPackageManager)</a><br> <a href="classes/AbtSystemManager.html#M000008">fixPackage (AbtSystemManager)</a><br> <a href="classes/AbtPackageManager.html#M000030">freezePackage (AbtPackageManager)</a><br> -<a href="classes/AbtReportManager.html#M000053">generateHTMLPackageListing (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000058">generateHTMLPackageListing (AbtReportManager)</a><br> <a href="classes/AbtPackage.html#M000023">install (AbtPackage)</a><br> <a href="classes/AbtPackageManager.html#M000026">installPackage (AbtPackageManager)</a><br> -<a href="classes/AbtLogManager.html#M000034">logPackageBuild (AbtLogManager)</a><br> -<a href="classes/AbtLogManager.html#M000033">logPackageInstall (AbtLogManager)</a><br> -<a href="classes/AbtLogManager.html#M000031">logPackageIntegrity (AbtLogManager)</a><br> -<a href="classes/AbtLogManager.html#M000036">logToJournal (AbtLogManager)</a><br> -<a href="classes/AbtDepEngine.html#M000039">new (AbtDepEngine)</a><br> +<a href="classes/AbtLogManager.html#M000033">logPackageBuild (AbtLogManager)</a><br> +<a href="classes/AbtLogManager.html#M000032">logPacka... [truncated message content] |
From: <esc...@us...> - 2006-05-31 13:13:13
|
Revision: 129 Author: eschabell Date: 2006-05-31 06:12:38 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=129&view=rev Log Message: ----------- Added new test class for AbtDepEngine, added testSuiteAbt.rb file for running all tests from a single point of entry with 'ruby testSuiteAbt.rb'. Documented existing test methods for rdoc and regenerated all docs. Modified Paths: -------------- src/trunk/AbtDepEngine.rb src/trunk/AbtDownloadManager.rb src/trunk/AbtLogManager.rb src/trunk/AbtPackage.rb src/trunk/AbtPackageManager.rb src/trunk/AbtQueueManager.rb src/trunk/AbtReportManager.rb src/trunk/AbtSystemManager.rb src/trunk/TestAbtPackage.rb src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtDownloadManager.html src/trunk/doc/classes/AbtLogManager.html src/trunk/doc/classes/AbtPackage.html src/trunk/doc/classes/AbtPackageManager.html src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/AbtSystemManager.html src/trunk/doc/classes/TestAbtPacakge.html src/trunk/doc/created.rid src/trunk/doc/dot/f_8.dot src/trunk/doc/dot/f_8.png src/trunk/doc/files/AbtDepEngine_rb.html src/trunk/doc/files/AbtDownloadManager_rb.html src/trunk/doc/files/AbtLogManager_rb.html src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/doc/files/AbtQueueManager_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html src/trunk/doc/files/TestAbtPackage_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/TestAbtDepEngine.rb src/trunk/doc/classes/TestAbtDepEngine.html src/trunk/doc/dot/f_9.dot src/trunk/doc/dot/f_9.png src/trunk/doc/files/TestAbtDepEngine_rb.html src/trunk/testSuiteAbt.rb Modified: src/trunk/AbtDepEngine.rb =================================================================== --- src/trunk/AbtDepEngine.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtDepEngine.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -25,7 +25,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtDepEngine protected Modified: src/trunk/AbtDownloadManager.rb =================================================================== --- src/trunk/AbtDownloadManager.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtDownloadManager.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -25,7 +25,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtDownloadManager protected Modified: src/trunk/AbtLogManager.rb =================================================================== --- src/trunk/AbtLogManager.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtLogManager.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -25,7 +25,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtLogManager protected Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtPackage.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -27,7 +27,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtPackage protected Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtPackageManager.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -25,7 +25,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtPackageManager protected Modified: src/trunk/AbtQueueManager.rb =================================================================== --- src/trunk/AbtQueueManager.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtQueueManager.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -24,7 +24,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtQueueManager protected Modified: src/trunk/AbtReportManager.rb =================================================================== --- src/trunk/AbtReportManager.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtReportManager.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -25,7 +25,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtReportManager protected Modified: src/trunk/AbtSystemManager.rb =================================================================== --- src/trunk/AbtSystemManager.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/AbtSystemManager.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -26,7 +26,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - class AbtSystemManager protected Copied: src/trunk/TestAbtDepEngine.rb (from rev 128, src/trunk/TestAbtPackage.rb) =================================================================== --- src/trunk/TestAbtDepEngine.rb (rev 0) +++ src/trunk/TestAbtDepEngine.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -0,0 +1,47 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtDepEngine' + +## +# TestAbtDepEngine.rb +# +# Unit testing for AbtDepEngine class. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## +class TestAbtDepEngine < Test::Unit::TestCase + + ## + # setup method for testing AbtDepEngine. + ## + def setup + @depEngine = AbtDepEngine.new() + end + + ## + # Test method for 'AbtDepEngine.testDepEngine()' + ## + def testDepEngine + assert_equal( false, true, "testDepEngine()" ) + end + +end Modified: src/trunk/TestAbtPackage.rb =================================================================== --- src/trunk/TestAbtPackage.rb 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/TestAbtPackage.rb 2006-05-31 13:12:38 UTC (rev 129) @@ -28,8 +28,6 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## - - class TestAbtPacakge < Test::Unit::TestCase @name = "Fortune" @@ -55,10 +53,16 @@ 'description' => "Prints a random, hopefully interesting, adage." } + ## + # setup method for testing AbtPackage. + ## def setup @fortune = AbtPackage.new( $data ) end + ## + # Test method for 'AbtPackage.testDetails()' + ## def testDetails assert_equal( $data['name'], @fortune.details['name'], "testDetails()" ) assert_equal( $data['execName'], @fortune.details['execName'], "testDetails()" ) @@ -78,26 +82,44 @@ assert_equal( $data['description'], @fortune.details['description'], "testDetails()" ) end + ## + # Test method for 'AbtPackage.testPre()' + ## def testPre assert_equal( false, true, "testPre()" ) end + ## + # Test method for 'AbtPackage.testConfigure()' + ## def testConfigure assert_equal( false, true, "testConfigure()" ) end + ## + # Test method for 'AbtPackage.testBuild()' + ## def testBuild assert_equal( false, true, "testBuild()" ) end + ## + # Test method for 'AbtPackage.testPreinstall()' + ## def testPreinstall assert_equal( false, true, "testPreinstall()" ) end + ## + # Test method for 'AbtPackage.testInstall()' + ## def testInstall assert_equal( false, true, "testInstall()" ) end + ## + # Test method for 'AbtPackage.testPost()' + ## def testPost assert_equal( false, true, "testPost()" ) end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 13:12:38 UTC (rev 129) @@ -144,9 +144,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> <div id="M000044_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 41</span> +41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +42: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-05-31 13:12:38 UTC (rev 129) @@ -150,9 +150,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000011_source')" id="l_M000011_source">show source</a> ]</p> <div id="M000011_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 41</span> +41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +42: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -175,9 +175,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000014_source')" id="l_M000014_source">show source</a> ]</p> <div id="M000014_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 74</span> -74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> -75: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 73</span> +73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> +74: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -203,9 +203,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000012_source')" id="l_M000012_source">show source</a> ]</p> <div id="M000012_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 54</span> -54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) -55: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 53</span> +53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span> ) +54: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -231,9 +231,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000013_source')" id="l_M000013_source">show source</a> ]</p> <div id="M000013_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 65</span> -65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) -66: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 64</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) +65: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -258,9 +258,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000015_source')" id="l_M000015_source">show source</a> ]</p> <div id="M000015_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 85</span> -85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> -86: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 84</span> +84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> +85: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -282,9 +282,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000016_source')" id="l_M000016_source">show source</a> ]</p> <div id="M000016_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> -95: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 93</span> +93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> +94: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtLogManager.html 2006-05-31 13:12:38 UTC (rev 129) @@ -147,9 +147,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> <div id="M000031_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 56</span> -56: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -57: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 55</span> +55: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +56: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -176,9 +176,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p> <div id="M000034_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 92</span> -92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) -93: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 91</span> +91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachePackage</span>( <span class="ruby-identifier">package</span> ) +92: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -204,9 +204,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000033_source')" id="l_M000033_source">show source</a> ]</p> <div id="M000033_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 80</span> -80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) -81: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 79</span> +79: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-identifier">package</span> ) +80: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -232,9 +232,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000032_source')" id="l_M000032_source">show source</a> ]</p> <div id="M000032_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 68</span> -68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) -69: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 67</span> +67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-identifier">package</span> ) +68: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -260,9 +260,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p> <div id="M000035_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtLogManager.rb, line 104</span> -104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) -105: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 103</span> +103: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logToJournal</span>( <span class="ruby-identifier">message</span> ) +104: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtPackage.html 2006-05-31 13:12:38 UTC (rev 129) @@ -317,27 +317,27 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000017_source')" id="l_M000017_source">show source</a> ]</p> <div id="M000017_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 94</span> - 94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) - 95: - 96: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] - 97: <span class="ruby-ivar">@execName</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] - 98: <span class="ruby-ivar">@version</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] - 99: <span class="ruby-ivar">@srcDir</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] -100: <span class="ruby-ivar">@homepage</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] -101: <span class="ruby-ivar">@srcUrl</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] -102: <span class="ruby-ivar">@dependsOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependsOn'</span>] -103: <span class="ruby-ivar">@reliesOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] -104: <span class="ruby-ivar">@optionalDO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] -105: <span class="ruby-ivar">@optionalRO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] -106: <span class="ruby-ivar">@hashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'hashCheck'</span>] -107: <span class="ruby-ivar">@patches</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] -108: <span class="ruby-ivar">@patchesHashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesHashCheck'</span>] -109: <span class="ruby-ivar">@mirrorPath</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] -110: <span class="ruby-ivar">@license</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] -111: <span class="ruby-ivar">@description</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] -112: -113: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 93</span> + 93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>( <span class="ruby-identifier">data</span> ) + 94: + 95: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] + 96: <span class="ruby-ivar">@execName</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] + 97: <span class="ruby-ivar">@version</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] + 98: <span class="ruby-ivar">@srcDir</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] + 99: <span class="ruby-ivar">@homepage</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] +100: <span class="ruby-ivar">@srcUrl</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] +101: <span class="ruby-ivar">@dependsOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependsOn'</span>] +102: <span class="ruby-ivar">@reliesOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] +103: <span class="ruby-ivar">@optionalDO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] +104: <span class="ruby-ivar">@optionalRO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] +105: <span class="ruby-ivar">@hashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'hashCheck'</span>] +106: <span class="ruby-ivar">@patches</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] +107: <span class="ruby-ivar">@patchesHashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesHashCheck'</span>] +108: <span class="ruby-ivar">@mirrorPath</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] +109: <span class="ruby-ivar">@license</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] +110: <span class="ruby-ivar">@description</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] +111: +112: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -361,9 +361,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000021_source')" id="l_M000021_source">show source</a> ]</p> <div id="M000021_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 169</span> -169: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -170: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 168</span> +168: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +169: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -390,9 +390,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000020_source')" id="l_M000020_source">show source</a> ]</p> <div id="M000020_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 161</span> -161: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -162: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 160</span> +160: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +161: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -415,29 +415,29 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000018_source')" id="l_M000018_source">show source</a> ]</p> <div id="M000018_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 120</span> -120: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -121: -122: <span class="ruby-keyword kw">return</span> { -123: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@name</span>, -124: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@execName</span>, -125: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@version</span>, -126: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcDir</span>, -127: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@homepage</span>, -128: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcUrl</span>, -129: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@dependsOn</span>, -130: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@reliesOn</span>, -131: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalDO</span>, -132: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalRO</span>, -133: <span class="ruby-value str">'hashCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@hashCheck</span>, -134: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patches</span>, -135: <span class="ruby-value str">'patchesHashCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patchesHashCheck</span>, -136: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@mirrorPath</span>, -137: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@license</span>, -138: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@description</span> -139: } -140: -141: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 119</span> +119: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +120: +121: <span class="ruby-keyword kw">return</span> { +122: <span class="ruby-value str">'name'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@name</span>, +123: <span class="ruby-value str">'execName'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@execName</span>, +124: <span class="ruby-value str">'version'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@version</span>, +125: <span class="ruby-value str">'srcDir'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcDir</span>, +126: <span class="ruby-value str">'homepage'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@homepage</span>, +127: <span class="ruby-value str">'srcUrl'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcUrl</span>, +128: <span class="ruby-value str">'dependsOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@dependsOn</span>, +129: <span class="ruby-value str">'reliesOn'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@reliesOn</span>, +130: <span class="ruby-value str">'optionalDO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalDO</span>, +131: <span class="ruby-value str">'optionalRO'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalRO</span>, +132: <span class="ruby-value str">'hashCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@hashCheck</span>, +133: <span class="ruby-value str">'patches'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patches</span>, +134: <span class="ruby-value str">'patchesHashCheck'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patchesHashCheck</span>, +135: <span class="ruby-value str">'mirrorPath'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@mirrorPath</span>, +136: <span class="ruby-value str">'license'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@license</span>, +137: <span class="ruby-value str">'description'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@description</span> +138: } +139: +140: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -459,9 +459,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000023_source')" id="l_M000023_source">show source</a> ]</p> <div id="M000023_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 186</span> -186: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -187: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 185</span> +185: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +186: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -484,9 +484,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000024_source')" id="l_M000024_source">show source</a> ]</p> <div id="M000024_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 194</span> -194: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -195: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 193</span> +193: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +194: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -509,9 +509,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000019_source')" id="l_M000019_source">show source</a> ]</p> <div id="M000019_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 149</span> -149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -150: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 148</span> +148: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +149: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -535,9 +535,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000022_source')" id="l_M000022_source">show source</a> ]</p> <div id="M000022_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 178</span> -178: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -179: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 177</span> +177: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +178: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtPackageManager.html =================================================================== --- src/trunk/doc/classes/AbtPackageManager.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-05-31 13:12:38 UTC (rev 129) @@ -150,9 +150,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000025_source')" id="l_M000025_source">show source</a> ]</p> <div id="M000025_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 41</span> +41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +42: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -181,9 +181,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p> <div id="M000029_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 88</span> -88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgradePackage</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">version</span> ) -89: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 87</span> +87: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">downgradePackage</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">version</span> ) +88: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -209,9 +209,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000030_source')" id="l_M000030_source">show source</a> ]</p> <div id="M000030_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 100</span> -100: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) -101: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 99</span> + 99: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) +100: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -236,9 +236,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000026_source')" id="l_M000026_source">show source</a> ]</p> <div id="M000026_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">installPackage</span>( <span class="ruby-identifier">package</span> ) -54: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 52</span> +52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">installPackage</span>( <span class="ruby-identifier">package</span> ) +53: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -263,9 +263,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000027_source')" id="l_M000027_source">show source</a> ]</p> <div id="M000027_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 64</span> -64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-identifier">package</span> ) -65: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 63</span> +63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-identifier">package</span> ) +64: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -290,9 +290,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000028_source')" id="l_M000028_source">show source</a> ]</p> <div id="M000028_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 75</span> -75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removePackage</span>( <span class="ruby-identifier">package</span> ) -76: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 74</span> +74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removePackage</span>( <span class="ruby-identifier">package</span> ) +75: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 13:12:38 UTC (rev 129) @@ -144,9 +144,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> <div id="M000045_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 41</span> -41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -42: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 40</span> +40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +41: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 13:12:38 UTC (rev 129) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000058">generateHTMLPackageListing</a></li> - <li><a href="#M000046">new</a></li> - <li><a href="#M000055">searchPackageDescriptions</a></li> - <li><a href="#M000054">showFileOwner</a></li> - <li><a href="#M000050">showFrozenPackages</a></li> - <li><a href="#M000048">showInstalledPackages</a></li> - <li><a href="#M000053">showJournal</a></li> - <li><a href="#M000051">showPackageDependencies</a></li> - <li><a href="#M000047">showPackageDetails</a></li> - <li><a href="#M000049">showPackageLog</a></li> - <li><a href="#M000056">showQueue</a></li> - <li><a href="#M000052">showUntrackedFiles</a></li> - <li><a href="#M000057">showUpdates</a></li> + <li><a href="#M000060">generateHTMLPackageListing</a></li> + <li><a href="#M000048">new</a></li> + <li><a href="#M000057">searchPackageDescriptions</a></li> + <li><a href="#M000056">showFileOwner</a></li> + <li><a href="#M000052">showFrozenPackages</a></li> + <li><a href="#M000050">showInstalledPackages</a></li> + <li><a href="#M000055">showJournal</a></li> + <li><a href="#M000053">showPackageDependencies</a></li> + <li><a href="#M000049">showPackageDetails</a></li> + <li><a href="#M000051">showPackageLog</a></li> + <li><a href="#M000058">showQueue</a></li> + <li><a href="#M000054">showUntrackedFiles</a></li> + <li><a href="#M000059">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>new</b>() + <a name="M000048"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,12 +152,12 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -43: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 41</span> +41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +42: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000058"></a><b>generateHTMLPackageListing</b>() + <a name="M000060"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,19 +176,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> - <div id="M000058_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show source</a> ]</p> + <div id="M000060_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 170</span> -170: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> -171: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 169</span> +169: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> +170: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000055"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000057"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,19 +204,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> - <div id="M000055_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> + <div id="M000057_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 138</span> -138: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) -139: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 137</span> +137: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) +138: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000054"></a><b>showFileOwner</b>( file ) + <a name="M000056"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,19 +230,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> - <div id="M000054_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> + <div id="M000056_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 126</span> -126: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) -127: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 125</span> +125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) +126: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>showFrozenPackages</b>() + <a name="M000052"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,19 +253,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> - <div id="M000050_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> + <div id="M000052_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 85</span> -85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> -86: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 84</span> +84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> +85: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>showInstalledPackages</b>() + <a name="M000050"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,19 +276,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 61</span> -61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> -62: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 60</span> +60: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> +61: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000053"></a><b>showJournal</b>() + <a name="M000055"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,19 +299,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> - <div id="M000053_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> + <div id="M000055_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 116</span> -116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> -117: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 115</span> +115: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> +116: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000051"></a><b>showPackageDependencies</b>( package ) + <a name="M000053"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,19 +328,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> - <div id="M000051_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> + <div id="M000053_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 98</span> -98: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) -99: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 97</span> +97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) +98: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>showPackageDetails</b>( package ) + <a name="M000049"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,19 +355,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) -54: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 52</span> +52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) +53: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>showPackageLog</b>( package, logType ) + <a name="M000051"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,22 +385,22 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> - <div id="M000049_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> + <div id="M000051_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 74</span> -74: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) -75: <span class="ruby-comment cmt"># install log</span> -76: <span class="ruby-comment cmt"># build log</span> -77: <span class="ruby-comment cmt"># integrity log</span> -78: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 73</span> +73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) +74: <span class="ruby-comment cmt"># install log</span> +75: <span class="ruby-comment cmt"># build log</span> +76: <span class="ruby-comment cmt"># integrity log</span> +77: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000056"></a><b>showQueue</b>( queueType ) + <a name="M000058"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,19 +415,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> - <div id="M000056_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> + <div id="M000058_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 149</span> -149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) -150: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 148</span> +148: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) +149: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000052"></a><b>showUntrackedFiles</b>() + <a name="M000054"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,19 +439,19 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> - <div id="M000052_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> + <div id="M000054_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 108</span> -108: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> -109: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 107</span> +107: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> +108: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000057"></a><b>showUpdates</b>( target ) + <a name="M000059"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,12 +468,12 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> - <div id="M000057_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p> + <div id="M000059_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtReportManager.rb, line 162</span> -162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) -163: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtReportManager.rb, line 161</span> +161: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) +162: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtSystemManager.html =================================================================== --- src/trunk/doc/classes/AbtSystemManager.html 2006-05-31 11:56:44 UTC (rev 128) +++ src/trunk/doc/classes/AbtSystemManager.html 2006-05-31 13:12:38 UTC (rev 129) @@ -154,9 +154,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> <div id="M000001_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 43</span> -43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> -44: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> +43: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -179,9 +179,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 62</span> -62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanupLogs</span> -63: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 61</span> +61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanupLogs</span> +62: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -204,9 +204,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 53</span> -53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanupPackageSources</span> -54: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 52</span> +52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanupPackageSources</span> +53: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -231,9 +231,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000008_source')" id="l_M000008_source">show source</a> ]</p> <div id="M000008_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 118</span> -118: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fixPackage</span>( <span class="ruby-identifier">package</span> ) -119: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 117</span> +117: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fixPackage</span>( <span class="ruby-identifier">package</span> ) +118: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -258,9 +258,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000009_source')" id="l_M000009_source">show source</a> ]</p> <div id="M000009_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtSystemManager.rb, line 129</span> -129: <span ... [truncated message content] |
From: <esc...@us...> - 2006-05-31 13:48:20
|
Revision: 130 Author: eschabell Date: 2006-05-31 06:47:55 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=130&view=rev Log Message: ----------- Added test cases for AbtDownloadManager, added to testSuiteAbt, added to docGen and updated docs. Modified Paths: -------------- src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtQueueManager.html src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/TestAbtDepEngine.html src/trunk/doc/classes/TestAbtPacakge.html src/trunk/doc/created.rid src/trunk/doc/dot/f_9.dot src/trunk/doc/dot/f_9.png src/trunk/doc/files/TestAbtPackage_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh src/trunk/testSuiteAbt.rb Added Paths: ----------- src/trunk/TestAbtDownloadManager.rb src/trunk/doc/classes/TestAbtDownloadManager.html src/trunk/doc/dot/f_10.dot src/trunk/doc/dot/f_10.png src/trunk/doc/files/TestAbtDownloadManager_rb.html Added: src/trunk/TestAbtDownloadManager.rb =================================================================== --- src/trunk/TestAbtDownloadManager.rb (rev 0) +++ src/trunk/TestAbtDownloadManager.rb 2006-05-31 13:47:55 UTC (rev 130) @@ -0,0 +1,76 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtDownloadManager' + +## +# TestAbtDownloadManager.rb +# +# Unit testing for AbtDownloadManager class. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## +class TestAbtDownloadManager < Test::Unit::TestCase + + ## + # setup method for testing AbtDownloadManager. + ## + def setup + @download = AbtDownloadManager.new() + end + + ## + # Test method for 'AbtDownloadManager.testRetrievePackageSource()' + ## + def testRetrievePackageSource() + assert( @download.retrievePackageSource( "Fortune" ), "testRetrievePackageSource()" ) + end + + ## + # Test method for 'AbtDownloadManager.testRetrievePackageTree()' + ## + def testRetrievePackageTree() + assert( @download.retrievePackageTree( "dummy" ), "testRetrievePackageTree()" ) + end + + ## + # Test method for 'AbtDownloadManager.testRetrieveNewsFeed()' + ## + def testRetrieveNewsFeed() + assert( @download.retrieveNewsFeed(), "testRetrieveNewsFeed()" ) + end + + ## + # Test method for 'AbtDownloadManager.testUpdatePackage()' + ## + def testUpdatePackage() + assert( @download.updatePackage(), "testUpdatePackage()" ) + end + + ## + # Test method for 'AbtDownloadManager.testUpdatePackageTree()' + ## + def testUpdatePackageTree() + assert( @download.updatePackageTree(), "testUpdatePackageTree()" ) + end + + +end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 13:47:55 UTC (rev 130) @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000044">new</a></li> + <li><a href="#M000050">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>new</b>() + <a name="M000050"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtDepEngine.rb, line 41</span> 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 13:47:55 UTC (rev 130) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000045">new</a></li> + <li><a href="#M000051">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>new</b>() + <a name="M000051"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> + <div id="M000051_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtQueueManager.rb, line 40</span> 40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 13:47:55 UTC (rev 130) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000060">generateHTMLPackageListing</a></li> - <li><a href="#M000048">new</a></li> - <li><a href="#M000057">searchPackageDescriptions</a></li> - <li><a href="#M000056">showFileOwner</a></li> - <li><a href="#M000052">showFrozenPackages</a></li> - <li><a href="#M000050">showInstalledPackages</a></li> - <li><a href="#M000055">showJournal</a></li> - <li><a href="#M000053">showPackageDependencies</a></li> - <li><a href="#M000049">showPackageDetails</a></li> - <li><a href="#M000051">showPackageLog</a></li> - <li><a href="#M000058">showQueue</a></li> - <li><a href="#M000054">showUntrackedFiles</a></li> - <li><a href="#M000059">showUpdates</a></li> + <li><a href="#M000066">generateHTMLPackageListing</a></li> + <li><a href="#M000054">new</a></li> + <li><a href="#M000063">searchPackageDescriptions</a></li> + <li><a href="#M000062">showFileOwner</a></li> + <li><a href="#M000058">showFrozenPackages</a></li> + <li><a href="#M000056">showInstalledPackages</a></li> + <li><a href="#M000061">showJournal</a></li> + <li><a href="#M000059">showPackageDependencies</a></li> + <li><a href="#M000055">showPackageDetails</a></li> + <li><a href="#M000057">showPackageLog</a></li> + <li><a href="#M000064">showQueue</a></li> + <li><a href="#M000060">showUntrackedFiles</a></li> + <li><a href="#M000065">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>new</b>() + <a name="M000054"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> + <div id="M000054_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 41</span> 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000060"></a><b>generateHTMLPackageListing</b>() + <a name="M000066"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,8 +176,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show source</a> ]</p> - <div id="M000060_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show source</a> ]</p> + <div id="M000066_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 169</span> 169: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> @@ -188,7 +188,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000057"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000063"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> - <div id="M000057_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show source</a> ]</p> + <div id="M000063_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 137</span> 137: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) @@ -216,7 +216,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000056"></a><b>showFileOwner</b>( file ) + <a name="M000062"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> - <div id="M000056_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show source</a> ]</p> + <div id="M000062_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 125</span> 125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) @@ -242,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000052"></a><b>showFrozenPackages</b>() + <a name="M000058"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,8 +253,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> - <div id="M000052_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> + <div id="M000058_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 84</span> 84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> @@ -265,7 +265,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>showInstalledPackages</b>() + <a name="M000056"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,8 +276,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> - <div id="M000050_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> + <div id="M000056_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 60</span> 60: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> @@ -288,7 +288,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000055"></a><b>showJournal</b>() + <a name="M000061"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,8 +299,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> - <div id="M000055_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show source</a> ]</p> + <div id="M000061_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 115</span> 115: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> @@ -311,7 +311,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000053"></a><b>showPackageDependencies</b>( package ) + <a name="M000059"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,8 +328,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> - <div id="M000053_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p> + <div id="M000059_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 97</span> 97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) @@ -340,7 +340,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>showPackageDetails</b>( package ) + <a name="M000055"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,8 +355,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> - <div id="M000049_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> + <div id="M000055_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 52</span> 52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) @@ -367,7 +367,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000051"></a><b>showPackageLog</b>( package, logType ) + <a name="M000057"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,8 +385,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> - <div id="M000051_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> + <div id="M000057_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 73</span> 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) @@ -400,7 +400,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000058"></a><b>showQueue</b>( queueType ) + <a name="M000064"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,8 +415,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> - <div id="M000058_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show source</a> ]</p> + <div id="M000064_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 148</span> 148: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) @@ -427,7 +427,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000054"></a><b>showUntrackedFiles</b>() + <a name="M000060"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,8 +439,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> - <div id="M000054_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show source</a> ]</p> + <div id="M000060_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 107</span> 107: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> @@ -451,7 +451,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000059"></a><b>showUpdates</b>( target ) + <a name="M000065"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,8 +468,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p> - <div id="M000059_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show source</a> ]</p> + <div id="M000065_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 161</span> 161: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) Modified: src/trunk/doc/classes/TestAbtDepEngine.html =================================================================== --- src/trunk/doc/classes/TestAbtDepEngine.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/classes/TestAbtDepEngine.html 2006-05-31 13:47:55 UTC (rev 130) @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000046">setup</a></li> - <li><a href="#M000047">testDepEngine</a></li> + <li><a href="#M000052">setup</a></li> + <li><a href="#M000053">testDepEngine</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>setup</b>() + <a name="M000052"></a><b>setup</b>() </div> <div class="description"> <p> @@ -137,8 +137,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> + <div id="M000052_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtDepEngine.rb, line 36</span> 36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> @@ -150,7 +150,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>testDepEngine</b>() + <a name="M000053"></a><b>testDepEngine</b>() </div> <div class="description"> <p> @@ -158,8 +158,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> + <div id="M000053_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtDepEngine.rb, line 43</span> 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testDepEngine</span> Added: src/trunk/doc/classes/TestAbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/TestAbtDownloadManager.html (rev 0) +++ src/trunk/doc/classes/TestAbtDownloadManager.html 2006-05-31 13:47:55 UTC (rev 130) @@ -0,0 +1,268 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: TestAbtDownloadManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />TestAbtDownloadManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/TestAbtDownloadManager_rb.html">TestAbtDownloadManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Test::Unit::TestCase + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="28,103,180,151" href="TestAbtDownloadManager.html" alt="TestAbtDownloadManager"> + <area shape="RECT" coords="41,7,167,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_9.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +TestAbtDownloadManager.rb +</p> +<p> +Unit testing for <a href="AbtDownloadManager.html">AbtDownloadManager</a> +class. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000044">setup</a></li> + <li><a href="#M000047">testRetrieveNewsFeed</a></li> + <li><a href="#M000045">testRetrievePackageSource</a></li> + <li><a href="#M000046">testRetrievePackageTree</a></li> + <li><a href="#M000048">testUpdatePackage</a></li> + <li><a href="#M000049">testUpdatePackageTree</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000044"></a><b>setup</b>() + </div> + <div class="description"> + <p> +setup method for testing <a +href="AbtDownloadManager.html">AbtDownloadManager</a>. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtDownloadManager.rb, line 36</span> +36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> +37: <span class="ruby-ivar">@download</span> = <span class="ruby-constant">AbtDownloadManager</span>.<span class="ruby-identifier">new</span>() +38: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000047"></a><b>testRetrieveNewsFeed</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtDownloadManager.testRetrieveNewsFeed()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtDownloadManager.rb, line 57</span> +57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testRetrieveNewsFeed</span>() +58: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@download</span>.<span class="ruby-identifier">retrieveNewsFeed</span>(), <span class="ruby-value str">"testRetrieveNewsFeed()"</span> ) +59: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000045"></a><b>testRetrievePackageSource</b>() + </div> + <div class="description"> + <p> +Test method for +‘AbtDownloadManager.testRetrievePackageSource()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtDownloadManager.rb, line 43</span> +43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testRetrievePackageSource</span>() +44: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@download</span>.<span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-value str">"Fortune"</span> ), <span class="ruby-value str">"testRetrievePackageSource()"</span> ) +45: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000046"></a><b>testRetrievePackageTree</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtDownloadManager.testRetrievePackageTree()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtDownloadManager.rb, line 50</span> +50: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testRetrievePackageTree</span>() +51: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@download</span>.<span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testRetrievePackageTree()"</span> ) +52: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000048"></a><b>testUpdatePackage</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtDownloadManager.testUpdatePackage()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtDownloadManager.rb, line 64</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testUpdatePackage</span>() +65: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@download</span>.<span class="ruby-identifier">updatePackage</span>(), <span class="ruby-value str">"testUpdatePackage()"</span> ) +66: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000049"></a><b>testUpdatePackageTree</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtDownloadManager.testUpdatePackageTree()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtDownloadManager.rb, line 71</span> +71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testUpdatePackageTree</span>() +72: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@download</span>.<span class="ruby-identifier">updatePackageTree</span>(), <span class="ruby-value str">"testUpdatePackageTree()"</span> ) +73: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/classes/TestAbtPacakge.html =================================================================== --- src/trunk/doc/classes/TestAbtPacakge.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/classes/TestAbtPacakge.html 2006-05-31 13:47:55 UTC (rev 130) @@ -79,7 +79,7 @@ <area shape="RECT" coords="28,103,135,151" href="TestAbtPacakge.html" alt="TestAbtPacakge"> <area shape="RECT" coords="19,7,144,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_9.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_10.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/created.rid 2006-05-31 13:47:55 UTC (rev 130) @@ -1 +1 @@ -Wed May 31 15:03:44 CEST 2006 +Wed May 31 15:44:57 CEST 2006 Added: src/trunk/doc/dot/f_10.dot =================================================================== --- src/trunk/doc/dot/f_10.dot (rev 0) +++ src/trunk/doc/dot/f_10.dot 2006-05-31 13:47:55 UTC (rev 130) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "TestAbtPackage.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_11 { + fontname = Arial + color = red + label = "TestAbtPackage.rb" + TestAbtPacakge [ + fontcolor = black, + URL = "classes/TestAbtPacakge.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "TestAbtPacakge" + ] + + } + + Test__Unit__TestCase [ + URL = "classes/Test/Unit/TestCase.html", + label = "Test::Unit::TestCase" + ] + + Test__Unit__TestCase -> TestAbtPacakge [ + + ] + +} + Added: src/trunk/doc/dot/f_10.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_10.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/dot/f_9.dot =================================================================== --- src/trunk/doc/dot/f_9.dot 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/dot/f_9.dot 2006-05-31 13:47:55 UTC (rev 130) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtPackage.rb" + label = "TestAbtDownloadManager.rb" node [ fontname = Arial, fontsize = 8, @@ -13,14 +13,14 @@ subgraph cluster_10 { fontname = Arial color = red - label = "TestAbtPackage.rb" - TestAbtPacakge [ + label = "TestAbtDownloadManager.rb" + TestAbtDownloadManager [ fontcolor = black, - URL = "classes/TestAbtPacakge.html", + URL = "classes/TestAbtDownloadManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtPacakge" + label = "TestAbtDownloadManager" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtPacakge [ + Test__Unit__TestCase -> TestAbtDownloadManager [ ] Modified: src/trunk/doc/dot/f_9.png =================================================================== (Binary files differ) Added: src/trunk/doc/files/TestAbtDownloadManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtDownloadManager_rb.html (rev 0) +++ src/trunk/doc/files/TestAbtDownloadManager_rb.html 2006-05-31 13:47:55 UTC (rev 130) @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: TestAbtDownloadManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />TestAbtDownloadManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>TestAbtDownloadManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Wed May 31 15:43:16 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="28,103,180,151" href="../classes/TestAbtDownloadManager.html" alt="TestAbtDownloadManager"> + <area shape="RECT" coords="41,7,167,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_9.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + + <div class="sectiontitle">Required Files</div> + <ul> + <li>test/unit/testcase</li> + <li>test/unit/autorunner</li> + <li><a href="../classes/AbtDownloadManager.html">AbtDownloadManager</a></li> + </ul> + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/files/TestAbtPackage_rb.html =================================================================== --- src/trunk/doc/files/TestAbtPackage_rb.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/files/TestAbtPackage_rb.html 2006-05-31 13:47:55 UTC (rev 130) @@ -79,7 +79,7 @@ <area shape="RECT" coords="28,103,135,151" href="../classes/TestAbtPacakge.html" alt="TestAbtPacakge"> <area shape="RECT" coords="19,7,144,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_9.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_10.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/fr_class_index.html 2006-05-31 13:47:55 UTC (rev 130) @@ -50,6 +50,7 @@ <a href="classes/AbtReportManager.html">AbtReportManager</a><br> <a href="classes/AbtSystemManager.html">AbtSystemManager</a><br> <a href="classes/TestAbtDepEngine.html">TestAbtDepEngine</a><br> +<a href="classes/TestAbtDownloadManager.html">TestAbtDownloadManager</a><br> <a href="classes/TestAbtPacakge.html">TestAbtPacakge</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/fr_file_index.html 2006-05-31 13:47:55 UTC (rev 130) @@ -50,6 +50,7 @@ <a href="files/AbtReportManager_rb.html">AbtReportManager.rb</a><br> <a href="files/AbtSystemManager_rb.html">AbtSystemManager.rb</a><br> <a href="files/TestAbtDepEngine_rb.html">TestAbtDepEngine.rb</a><br> +<a href="files/TestAbtDownloadManager_rb.html">TestAbtDownloadManager.rb</a><br> <a href="files/TestAbtPackage_rb.html">TestAbtPackage.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/doc/fr_method_index.html 2006-05-31 13:47:55 UTC (rev 130) @@ -50,19 +50,19 @@ <a href="classes/AbtPackageManager.html#M000029">downgradePackage (AbtPackageManager)</a><br> <a href="classes/AbtSystemManager.html#M000008">fixPackage (AbtSystemManager)</a><br> <a href="classes/AbtPackageManager.html#M000030">freezePackage (AbtPackageManager)</a><br> -<a href="classes/AbtReportManager.html#M000060">generateHTMLPackageListing (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000066">generateHTMLPackageListing (AbtReportManager)</a><br> <a href="classes/AbtPackage.html#M000023">install (AbtPackage)</a><br> <a href="classes/AbtPackageManager.html#M000026">installPackage (AbtPackageManager)</a><br> <a href="classes/AbtLogManager.html#M000033">logPackageBuild (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000032">logPackageInstall (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000035">logToJournal (AbtLogManager)</a><br> +<a href="classes/AbtDepEngine.html#M000050">new (AbtDepEngine)</a><br> +<a href="classes/AbtPackage.html#M000017">new (AbtPackage)</a><br> +<a href="classes/AbtReportManager.html#M000054">new (AbtReportManager)</a><br> +<a href="classes/AbtQueueManager.html#M000051">new (AbtQueueManager)</a><br> +<a href="classes/AbtPackageManager.html#M000025">new (AbtPackageManager)</a><br> <a href="classes/AbtLogManager.html#M000031">new (AbtLogManager)</a><br> -<a href="classes/AbtPackage.html#M000017">new (AbtPackage)</a><br> <a href="classes/AbtDownloadManager.html#M000011">new (AbtDownloadManager)</a><br> -<a href="classes/AbtDepEngine.html#M000044">new (AbtDepEngine)</a><br> -<a href="classes/AbtQueueManager.html#M000045">new (AbtQueueManager)</a><br> -<a href="classes/AbtReportManager.html#M000048">new (AbtReportManager)</a><br> -<a href="classes/AbtPackageManager.html#M000025">new (AbtPackageManager)</a><br> <a href="classes/AbtSystemManager.html#M000001">new (AbtSystemManager)</a><br> <a href="classes/AbtPackage.html#M000024">post (AbtPackage)</a><br> <a href="classes/AbtPackage.html#M000019">pre (AbtPackage)</a><br> @@ -72,29 +72,35 @@ <a href="classes/AbtDownloadManager.html#M000014">retrieveNewsFeed (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000012">retrievePackageSource (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000013">retrievePackageTree (AbtDownloadManager)</a><br> -<a href="classes/AbtReportManager.html#M000057">searchPackageDescriptions (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000063">searchPackageDescriptions (AbtReportManager)</a><br> <a href="classes/AbtSystemManager.html#M000009">setCentralRepo (AbtSystemManager)</a><br> <a href="classes/AbtSystemManager.html#M000010">setPackageTreeLocation (AbtSystemManager)</a><br> +<a href="classes/TestAbtDepEngine.html#M000052">setup (TestAbtDepEngine)</a><br> <a href="classes/TestAbtPacakge.html#M000036">setup (TestAbtPacakge)</a><br> -<a href="classes/TestAbtDepEngine.html#M000046">setup (TestAbtDepEngine)</a><br> -<a href="classes/AbtReportManager.html#M000056">showFileOwner (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000052">showFrozenPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000050">showInstalledPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000055">showJournal (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000053">showPackageDependencies (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000049">showPackageDetails (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000051">showPackageLog (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000058">showQueue (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000054">showUntrackedFiles (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000059">showUpdates (AbtReportManager)</a><br> +<a href="classes/TestAbtDownloadManager.html#M000044">setup (TestAbtDownloadManager)</a><br> +<a href="classes/AbtReportManager.html#M000062">showFileOwner (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000058">showFrozenPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000056">showInstalledPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000061">showJournal (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000059">showPackageDependencies (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000055">showPackageDetails (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000057">showPackageLog (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000064">showQueue (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000060">showUntrackedFiles (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000065">showUpdates (AbtReportManager)</a><br> <a href="classes/TestAbtPacakge.html#M000040">testBuild (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000039">testConfigure (TestAbtPacakge)</a><br> -<a href="classes/TestAbtDepEngine.html#M000047">testDepEngine (TestAbtDepEngine)</a><br> +<a href="classes/TestAbtDepEngine.html#M000053">testDepEngine (TestAbtDepEngine)</a><br> <a href="classes/TestAbtPacakge.html#M000037">testDetails (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000042">testInstall (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000043">testPost (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000038">testPre (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000041">testPreinstall (TestAbtPacakge)</a><br> +<a href="classes/TestAbtDownloadManager.html#M000047">testRetrieveNewsFeed (TestAbtDownloadManager)</a><br> +<a href="classes/TestAbtDownloadManager.html#M000045">testRetrievePackageSource (TestAbtDownloadManager)</a><br> +<a href="classes/TestAbtDownloadManager.html#M000046">testRetrievePackageTree (TestAbtDownloadManager)</a><br> +<a href="classes/TestAbtDownloadManager.html#M000048">testUpdatePackage (TestAbtDownloadManager)</a><br> +<a href="classes/TestAbtDownloadManager.html#M000049">testUpdatePackageTree (TestAbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000015">updatePackage (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000016">updatePackageTree (AbtDownloadManager)</a><br> <a href="classes/AbtSystemManager.html#M000004">verifyInstalledFiles (AbtSystemManager)</a><br> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/docGen.sh 2006-05-31 13:47:55 UTC (rev 130) @@ -25,6 +25,7 @@ AbtQueueManager.rb AbtDepEngine.rb TestAbtDepEngine.rb + TestAbtDownloadManager.rb TestAbtPackage.rb "; Modified: src/trunk/testSuiteAbt.rb =================================================================== --- src/trunk/testSuiteAbt.rb 2006-05-31 13:12:38 UTC (rev 129) +++ src/trunk/testSuiteAbt.rb 2006-05-31 13:47:55 UTC (rev 130) @@ -2,4 +2,5 @@ require 'test/unit' require 'TestAbtDepEngine' +require 'TestAbtDownloadManager' require 'TestAbtPackage' \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-31 14:20:54
|
Revision: 131 Author: eschabell Date: 2006-05-31 07:20:31 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=131&view=rev Log Message: ----------- Added test cases for AbtLogMananger to suite, generated docs. Modified Paths: -------------- src/trunk/doc/classes/AbtReportManager.html src/trunk/doc/classes/TestAbtPacakge.html src/trunk/doc/created.rid src/trunk/doc/dot/f_10.dot src/trunk/doc/dot/f_10.png src/trunk/doc/files/TestAbtPackage_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/docGen.sh src/trunk/testSuiteAbt.rb Added Paths: ----------- src/trunk/TestAbtLogManager.rb src/trunk/doc/classes/TestAbtLogManager.html src/trunk/doc/dot/f_11.dot src/trunk/doc/dot/f_11.png src/trunk/doc/files/TestAbtLogManager_rb.html Added: src/trunk/TestAbtLogManager.rb =================================================================== --- src/trunk/TestAbtLogManager.rb (rev 0) +++ src/trunk/TestAbtLogManager.rb 2006-05-31 14:20:31 UTC (rev 131) @@ -0,0 +1,75 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtLogManager' + +## +# TestAbtLogManager.rb +# +# Unit testing for AbtLogManager class. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## +class TestAbtLogManager < Test::Unit::TestCase + + ## + # setup method for testing AbtLogManager. + ## + def setup + @log = AbtLogManager.new() + end + + ## + # Test method for 'AbtLogManager.testLogPackageIntegrity()' + ## + def testLogPackageIntegrity() + assert( @log.logPackageIntegrity( "Fortune" ), "testLogPackageIntegrity()" ) + end + + ## + # Test method for 'AbtLogManager.testLogPackageInstall()' + ## + def testLogPackageInstall() + assert( @log.logPackageInstall( "Fortune" ), "testLogPackageInstall()" ) + end + + ## + # Test method for 'AbtLogManager.testLogPackageBuild()' + ## + def testLogPackageBuild() + assert( @log.logPackageBuild( "Fortune" ), "testLogPackageBuild()" ) + end + + ## + # Test method for 'AbtLogManager.testCachePackage()' + ## + def testCachePackage() + assert( @log.cachePackage( "Fortune" ), "testCachePackage()" ) + end + + ## + # Test method for 'AbtLogManager.testLogToJournal()' + ## + def testLogToJournal() + assert( @log.updatePackageTree( "Test message." ), "testLogToJournal()" ) + end + +end Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 14:20:31 UTC (rev 131) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000066">generateHTMLPackageListing</a></li> - <li><a href="#M000054">new</a></li> - <li><a href="#M000063">searchPackageDescriptions</a></li> - <li><a href="#M000062">showFileOwner</a></li> - <li><a href="#M000058">showFrozenPackages</a></li> - <li><a href="#M000056">showInstalledPackages</a></li> - <li><a href="#M000061">showJournal</a></li> - <li><a href="#M000059">showPackageDependencies</a></li> - <li><a href="#M000055">showPackageDetails</a></li> - <li><a href="#M000057">showPackageLog</a></li> - <li><a href="#M000064">showQueue</a></li> - <li><a href="#M000060">showUntrackedFiles</a></li> - <li><a href="#M000065">showUpdates</a></li> + <li><a href="#M000072">generateHTMLPackageListing</a></li> + <li><a href="#M000060">new</a></li> + <li><a href="#M000069">searchPackageDescriptions</a></li> + <li><a href="#M000068">showFileOwner</a></li> + <li><a href="#M000064">showFrozenPackages</a></li> + <li><a href="#M000062">showInstalledPackages</a></li> + <li><a href="#M000067">showJournal</a></li> + <li><a href="#M000065">showPackageDependencies</a></li> + <li><a href="#M000061">showPackageDetails</a></li> + <li><a href="#M000063">showPackageLog</a></li> + <li><a href="#M000070">showQueue</a></li> + <li><a href="#M000066">showUntrackedFiles</a></li> + <li><a href="#M000071">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000054"></a><b>new</b>() + <a name="M000060"></a><b>new</b>() </div> <div class="description"> <p> @@ -152,8 +152,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> - <div id="M000054_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show source</a> ]</p> + <div id="M000060_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 41</span> 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> @@ -165,7 +165,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000066"></a><b>generateHTMLPackageListing</b>() + <a name="M000072"></a><b>generateHTMLPackageListing</b>() </div> <div class="description"> <p> @@ -176,8 +176,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show source</a> ]</p> - <div id="M000066_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show source</a> ]</p> + <div id="M000072_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 169</span> 169: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generateHTMLPackageListing</span> @@ -188,7 +188,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000063"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000069"></a><b>searchPackageDescriptions</b>( searchText ) </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show source</a> ]</p> - <div id="M000063_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000069_source')" id="l_M000069_source">show source</a> ]</p> + <div id="M000069_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 137</span> 137: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-identifier">searchText</span> ) @@ -216,7 +216,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000062"></a><b>showFileOwner</b>( file ) + <a name="M000068"></a><b>showFileOwner</b>( file ) </div> <div class="description"> <p> @@ -230,8 +230,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show source</a> ]</p> - <div id="M000062_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000068_source')" id="l_M000068_source">show source</a> ]</p> + <div id="M000068_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 125</span> 125: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFileOwner</span>( <span class="ruby-identifier">file</span> ) @@ -242,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000058"></a><b>showFrozenPackages</b>() + <a name="M000064"></a><b>showFrozenPackages</b>() </div> <div class="description"> <p> @@ -253,8 +253,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> - <div id="M000058_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show source</a> ]</p> + <div id="M000064_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 84</span> 84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showFrozenPackages</span> @@ -265,7 +265,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000056"></a><b>showInstalledPackages</b>() + <a name="M000062"></a><b>showInstalledPackages</b>() </div> <div class="description"> <p> @@ -276,8 +276,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> - <div id="M000056_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000062_source')" id="l_M000062_source">show source</a> ]</p> + <div id="M000062_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 60</span> 60: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showInstalledPackages</span> @@ -288,7 +288,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000061"></a><b>showJournal</b>() + <a name="M000067"></a><b>showJournal</b>() </div> <div class="description"> <p> @@ -299,8 +299,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show source</a> ]</p> - <div id="M000061_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000067_source')" id="l_M000067_source">show source</a> ]</p> + <div id="M000067_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 115</span> 115: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showJournal</span> @@ -311,7 +311,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000059"></a><b>showPackageDependencies</b>( package ) + <a name="M000065"></a><b>showPackageDependencies</b>( package ) </div> <div class="description"> <p> @@ -328,8 +328,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p> - <div id="M000059_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show source</a> ]</p> + <div id="M000065_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 97</span> 97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDependencies</span>( <span class="ruby-identifier">package</span> ) @@ -340,7 +340,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000055"></a><b>showPackageDetails</b>( package ) + <a name="M000061"></a><b>showPackageDetails</b>( package ) </div> <div class="description"> <p> @@ -355,8 +355,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> - <div id="M000055_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show source</a> ]</p> + <div id="M000061_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 52</span> 52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageDetails</span>( <span class="ruby-identifier">package</span> ) @@ -367,7 +367,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000057"></a><b>showPackageLog</b>( package, logType ) + <a name="M000063"></a><b>showPackageLog</b>( package, logType ) </div> <div class="description"> <p> @@ -385,8 +385,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> - <div id="M000057_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000063_source')" id="l_M000063_source">show source</a> ]</p> + <div id="M000063_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 73</span> 73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showPackageLog</span>( <span class="ruby-identifier">package</span>, <span class="ruby-identifier">logType</span> ) @@ -400,7 +400,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000064"></a><b>showQueue</b>( queueType ) + <a name="M000070"></a><b>showQueue</b>( queueType ) </div> <div class="description"> <p> @@ -415,8 +415,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000064_source')" id="l_M000064_source">show source</a> ]</p> - <div id="M000064_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000070_source')" id="l_M000070_source">show source</a> ]</p> + <div id="M000070_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 148</span> 148: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showQueue</span>( <span class="ruby-identifier">queueType</span> ) @@ -427,7 +427,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000060"></a><b>showUntrackedFiles</b>() + <a name="M000066"></a><b>showUntrackedFiles</b>() </div> <div class="description"> <p> @@ -439,8 +439,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show source</a> ]</p> - <div id="M000060_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000066_source')" id="l_M000066_source">show source</a> ]</p> + <div id="M000066_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 107</span> 107: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUntrackedFiles</span> @@ -451,7 +451,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000065"></a><b>showUpdates</b>( target ) + <a name="M000071"></a><b>showUpdates</b>( target ) </div> <div class="description"> <p> @@ -468,8 +468,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000065_source')" id="l_M000065_source">show source</a> ]</p> - <div id="M000065_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000071_source')" id="l_M000071_source">show source</a> ]</p> + <div id="M000071_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File AbtReportManager.rb, line 161</span> 161: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">showUpdates</span>( <span class="ruby-identifier">target</span> ) Added: src/trunk/doc/classes/TestAbtLogManager.html =================================================================== --- src/trunk/doc/classes/TestAbtLogManager.html (rev 0) +++ src/trunk/doc/classes/TestAbtLogManager.html 2006-05-31 14:20:31 UTC (rev 131) @@ -0,0 +1,265 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>Class: TestAbtLogManager</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">Class</span><br />TestAbtLogManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/TestAbtLogManager_rb.html">TestAbtLogManager.rb</a> + </td> + </tr> + <tr> + <td>Parent:</td> + <td> +Test::Unit::TestCase + </td> + </tr> + </table> + </td> + </tr> + </table> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="28,103,151,151" href="TestAbtLogManager.html" alt="TestAbtLogManager"> + <area shape="RECT" coords="27,7,152,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_10.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +TestAbtLogManager.rb +</p> +<p> +Unit testing for <a href="AbtLogManager.html">AbtLogManager</a> class. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + <div class="sectiontitle">Methods</div> + <ul> + <li><a href="#M000054">setup</a></li> + <li><a href="#M000058">testCachePackage</a></li> + <li><a href="#M000057">testLogPackageBuild</a></li> + <li><a href="#M000056">testLogPackageInstall</a></li> + <li><a href="#M000055">testLogPackageIntegrity</a></li> + <li><a href="#M000059">testLogToJournal</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000054"></a><b>setup</b>() + </div> + <div class="description"> + <p> +setup method for testing <a href="AbtLogManager.html">AbtLogManager</a>. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> + <div id="M000054_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 36</span> +36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> +37: <span class="ruby-ivar">@log</span> = <span class="ruby-constant">AbtLogManager</span>.<span class="ruby-identifier">new</span>() +38: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000058"></a><b>testCachePackage</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtLogManager.testCachePackage()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> + <div id="M000058_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 64</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testCachePackage</span>() +65: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">cachePackage</span>( <span class="ruby-value str">"Fortune"</span> ), <span class="ruby-value str">"testCachePackage()"</span> ) +66: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000057"></a><b>testLogPackageBuild</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtLogManager.testLogPackageBuild()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> + <div id="M000057_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 57</span> +57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogPackageBuild</span>() +58: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-value str">"Fortune"</span> ), <span class="ruby-value str">"testLogPackageBuild()"</span> ) +59: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000056"></a><b>testLogPackageInstall</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtLogManager.testLogPackageInstall()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> + <div id="M000056_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 50</span> +50: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogPackageInstall</span>() +51: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-value str">"Fortune"</span> ), <span class="ruby-value str">"testLogPackageInstall()"</span> ) +52: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000055"></a><b>testLogPackageIntegrity</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtLogManager.testLogPackageIntegrity()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> + <div id="M000055_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 43</span> +43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogPackageIntegrity</span>() +44: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">logPackageIntegrity</span>( <span class="ruby-value str">"Fortune"</span> ), <span class="ruby-value str">"testLogPackageIntegrity()"</span> ) +45: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000059"></a><b>testLogToJournal</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtLogManager.testLogToJournal()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p> + <div id="M000059_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 71</span> +71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogToJournal</span>() +72: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">updatePackageTree</span>( <span class="ruby-value str">"Test message."</span> ), <span class="ruby-value str">"testLogToJournal()"</span> ) +73: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/classes/TestAbtPacakge.html =================================================================== --- src/trunk/doc/classes/TestAbtPacakge.html 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/classes/TestAbtPacakge.html 2006-05-31 14:20:31 UTC (rev 131) @@ -79,7 +79,7 @@ <area shape="RECT" coords="28,103,135,151" href="TestAbtPacakge.html" alt="TestAbtPacakge"> <area shape="RECT" coords="19,7,144,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_10.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_11.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/created.rid 2006-05-31 14:20:31 UTC (rev 131) @@ -1 +1 @@ -Wed May 31 15:44:57 CEST 2006 +Wed May 31 16:18:32 CEST 2006 Modified: src/trunk/doc/dot/f_10.dot =================================================================== --- src/trunk/doc/dot/f_10.dot 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/dot/f_10.dot 2006-05-31 14:20:31 UTC (rev 131) @@ -3,7 +3,7 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtPackage.rb" + label = "TestAbtLogManager.rb" node [ fontname = Arial, fontsize = 8, @@ -13,14 +13,14 @@ subgraph cluster_11 { fontname = Arial color = red - label = "TestAbtPackage.rb" - TestAbtPacakge [ + label = "TestAbtLogManager.rb" + TestAbtLogManager [ fontcolor = black, - URL = "classes/TestAbtPacakge.html", + URL = "classes/TestAbtLogManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtPacakge" + label = "TestAbtLogManager" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtPacakge [ + Test__Unit__TestCase -> TestAbtLogManager [ ] Modified: src/trunk/doc/dot/f_10.png =================================================================== (Binary files differ) Added: src/trunk/doc/dot/f_11.dot =================================================================== --- src/trunk/doc/dot/f_11.dot (rev 0) +++ src/trunk/doc/dot/f_11.dot 2006-05-31 14:20:31 UTC (rev 131) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "TestAbtPackage.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_12 { + fontname = Arial + color = red + label = "TestAbtPackage.rb" + TestAbtPacakge [ + fontcolor = black, + URL = "classes/TestAbtPacakge.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "TestAbtPacakge" + ] + + } + + Test__Unit__TestCase [ + URL = "classes/Test/Unit/TestCase.html", + label = "Test::Unit::TestCase" + ] + + Test__Unit__TestCase -> TestAbtPacakge [ + + ] + +} + Added: src/trunk/doc/dot/f_11.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_11.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: src/trunk/doc/files/TestAbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtLogManager_rb.html (rev 0) +++ src/trunk/doc/files/TestAbtLogManager_rb.html 2006-05-31 14:20:31 UTC (rev 131) @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: TestAbtLogManager.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />TestAbtLogManager.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>TestAbtLogManager.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Wed May 31 16:17:41 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="28,103,151,151" href="../classes/TestAbtLogManager.html" alt="TestAbtLogManager"> + <area shape="RECT" coords="27,7,152,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_10.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + + <div class="sectiontitle">Required Files</div> + <ul> + <li>test/unit/testcase</li> + <li>test/unit/autorunner</li> + <li><a href="../classes/AbtLogManager.html">AbtLogManager</a></li> + </ul> + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Modified: src/trunk/doc/files/TestAbtPackage_rb.html =================================================================== --- src/trunk/doc/files/TestAbtPackage_rb.html 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/files/TestAbtPackage_rb.html 2006-05-31 14:20:31 UTC (rev 131) @@ -79,7 +79,7 @@ <area shape="RECT" coords="28,103,135,151" href="../classes/TestAbtPacakge.html" alt="TestAbtPacakge"> <area shape="RECT" coords="19,7,144,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_10.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_11.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/fr_class_index.html 2006-05-31 14:20:31 UTC (rev 131) @@ -51,6 +51,7 @@ <a href="classes/AbtSystemManager.html">AbtSystemManager</a><br> <a href="classes/TestAbtDepEngine.html">TestAbtDepEngine</a><br> <a href="classes/TestAbtDownloadManager.html">TestAbtDownloadManager</a><br> +<a href="classes/TestAbtLogManager.html">TestAbtLogManager</a><br> <a href="classes/TestAbtPacakge.html">TestAbtPacakge</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/fr_file_index.html 2006-05-31 14:20:31 UTC (rev 131) @@ -51,6 +51,7 @@ <a href="files/AbtSystemManager_rb.html">AbtSystemManager.rb</a><br> <a href="files/TestAbtDepEngine_rb.html">TestAbtDepEngine.rb</a><br> <a href="files/TestAbtDownloadManager_rb.html">TestAbtDownloadManager.rb</a><br> +<a href="files/TestAbtLogManager_rb.html">TestAbtLogManager.rb</a><br> <a href="files/TestAbtPackage_rb.html">TestAbtPackage.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/doc/fr_method_index.html 2006-05-31 14:20:31 UTC (rev 131) @@ -50,19 +50,19 @@ <a href="classes/AbtPackageManager.html#M000029">downgradePackage (AbtPackageManager)</a><br> <a href="classes/AbtSystemManager.html#M000008">fixPackage (AbtSystemManager)</a><br> <a href="classes/AbtPackageManager.html#M000030">freezePackage (AbtPackageManager)</a><br> -<a href="classes/AbtReportManager.html#M000066">generateHTMLPackageListing (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000072">generateHTMLPackageListing (AbtReportManager)</a><br> <a href="classes/AbtPackage.html#M000023">install (AbtPackage)</a><br> <a href="classes/AbtPackageManager.html#M000026">installPackage (AbtPackageManager)</a><br> <a href="classes/AbtLogManager.html#M000033">logPackageBuild (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000032">logPackageInstall (AbtLogManager)</a><br> <a href="classes/AbtLogManager.html#M000035">logToJournal (AbtLogManager)</a><br> +<a href="classes/AbtLogManager.html#M000031">new (AbtLogManager)</a><br> +<a href="classes/AbtPackage.html#M000017">new (AbtPackage)</a><br> +<a href="classes/AbtDownloadManager.html#M000011">new (AbtDownloadManager)</a><br> <a href="classes/AbtDepEngine.html#M000050">new (AbtDepEngine)</a><br> -<a href="classes/AbtPackage.html#M000017">new (AbtPackage)</a><br> -<a href="classes/AbtReportManager.html#M000054">new (AbtReportManager)</a><br> <a href="classes/AbtQueueManager.html#M000051">new (AbtQueueManager)</a><br> +<a href="classes/AbtReportManager.html#M000060">new (AbtReportManager)</a><br> <a href="classes/AbtPackageManager.html#M000025">new (AbtPackageManager)</a><br> -<a href="classes/AbtLogManager.html#M000031">new (AbtLogManager)</a><br> -<a href="classes/AbtDownloadManager.html#M000011">new (AbtDownloadManager)</a><br> <a href="classes/AbtSystemManager.html#M000001">new (AbtSystemManager)</a><br> <a href="classes/AbtPackage.html#M000024">post (AbtPackage)</a><br> <a href="classes/AbtPackage.html#M000019">pre (AbtPackage)</a><br> @@ -72,27 +72,33 @@ <a href="classes/AbtDownloadManager.html#M000014">retrieveNewsFeed (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000012">retrievePackageSource (AbtDownloadManager)</a><br> <a href="classes/AbtDownloadManager.html#M000013">retrievePackageTree (AbtDownloadManager)</a><br> -<a href="classes/AbtReportManager.html#M000063">searchPackageDescriptions (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000069">searchPackageDescriptions (AbtReportManager)</a><br> <a href="classes/AbtSystemManager.html#M000009">setCentralRepo (AbtSystemManager)</a><br> <a href="classes/AbtSystemManager.html#M000010">setPackageTreeLocation (AbtSystemManager)</a><br> -<a href="classes/TestAbtDepEngine.html#M000052">setup (TestAbtDepEngine)</a><br> +<a href="classes/TestAbtLogManager.html#M000054">setup (TestAbtLogManager)</a><br> <a href="classes/TestAbtPacakge.html#M000036">setup (TestAbtPacakge)</a><br> <a href="classes/TestAbtDownloadManager.html#M000044">setup (TestAbtDownloadManager)</a><br> -<a href="classes/AbtReportManager.html#M000062">showFileOwner (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000058">showFrozenPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000056">showInstalledPackages (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000061">showJournal (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000059">showPackageDependencies (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000055">showPackageDetails (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000057">showPackageLog (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000064">showQueue (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000060">showUntrackedFiles (AbtReportManager)</a><br> -<a href="classes/AbtReportManager.html#M000065">showUpdates (AbtReportManager)</a><br> +<a href="classes/TestAbtDepEngine.html#M000052">setup (TestAbtDepEngine)</a><br> +<a href="classes/AbtReportManager.html#M000068">showFileOwner (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000064">showFrozenPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000062">showInstalledPackages (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000067">showJournal (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000065">showPackageDependencies (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000061">showPackageDetails (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000063">showPackageLog (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000070">showQueue (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000066">showUntrackedFiles (AbtReportManager)</a><br> +<a href="classes/AbtReportManager.html#M000071">showUpdates (AbtReportManager)</a><br> <a href="classes/TestAbtPacakge.html#M000040">testBuild (TestAbtPacakge)</a><br> +<a href="classes/TestAbtLogManager.html#M000058">testCachePackage (TestAbtLogManager)</a><br> <a href="classes/TestAbtPacakge.html#M000039">testConfigure (TestAbtPacakge)</a><br> <a href="classes/TestAbtDepEngine.html#M000053">testDepEngine (TestAbtDepEngine)</a><br> <a href="classes/TestAbtPacakge.html#M000037">testDetails (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000042">testInstall (TestAbtPacakge)</a><br> +<a href="classes/TestAbtLogManager.html#M000057">testLogPackageBuild (TestAbtLogManager)</a><br> +<a href="classes/TestAbtLogManager.html#M000056">testLogPackageInstall (TestAbtLogManager)</a><br> +<a href="classes/TestAbtLogManager.html#M000055">testLogPackageIntegrity (TestAbtLogManager)</a><br> +<a href="classes/TestAbtLogManager.html#M000059">testLogToJournal (TestAbtLogManager)</a><br> <a href="classes/TestAbtPacakge.html#M000043">testPost (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000038">testPre (TestAbtPacakge)</a><br> <a href="classes/TestAbtPacakge.html#M000041">testPreinstall (TestAbtPacakge)</a><br> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/docGen.sh 2006-05-31 14:20:31 UTC (rev 131) @@ -16,28 +16,29 @@ #=============================================================================== TEMPLATE="./abtTemplate.rb"; -FILES="AbtPackageManager.rb - AbtPackage.rb - AbtDownloadManager.rb - AbtSystemManager.rb - AbtLogManager.rb - AbtReportManager.rb - AbtQueueManager.rb - AbtDepEngine.rb - TestAbtDepEngine.rb - TestAbtDownloadManager.rb - TestAbtPackage.rb - "; +FILES="AbtPackageManager.rb + AbtPackage.rb + AbtDownloadManager.rb + AbtSystemManager.rb + AbtLogManager.rb + AbtReportManager.rb + AbtQueueManager.rb + AbtDepEngine.rb + TestAbtDepEngine.rb + TestAbtDownloadManager.rb + TestAbtLogManager.rb + TestAbtPackage.rb + "; # run the actual doc generation. -rdoc --diagram \ - --template $TEMPLATE \ - --fileboxes \ - --inline-source \ - --line-numbers \ - --main AbtPackageManager \ - --title "AbTLinux Package Manager API" \ - $FILES +rdoc --diagram \ + --template $TEMPLATE \ + --fileboxes \ + --inline-source \ + --line-numbers \ + --main AbtPackageManager \ + --title "AbTLinux Package Manager API" \ + $FILES # remove old tarball and refresh with new docs. #rm ./doc.tar.bz2 Modified: src/trunk/testSuiteAbt.rb =================================================================== --- src/trunk/testSuiteAbt.rb 2006-05-31 13:47:55 UTC (rev 130) +++ src/trunk/testSuiteAbt.rb 2006-05-31 14:20:31 UTC (rev 131) @@ -3,4 +3,5 @@ require 'test/unit' require 'TestAbtDepEngine' require 'TestAbtDownloadManager' +require 'TestAbtLogManager' require 'TestAbtPackage' \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |