Thread: [Abtlinux-svn] SF.net SVN: abtlinux: [132] src/trunk (Page 3)
Status: Alpha
Brought to you by:
eschabell
From: <esc...@us...> - 2006-05-31 14:40:25
|
Revision: 132 Author: eschabell Date: 2006-05-31 07:39:39 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=132&view=rev Log Message: ----------- Added test cases for AbtPackageMananger to suite, generated docs. Modified Paths: -------------- src/trunk/TestAbtDownloadManager.rb src/trunk/TestAbtLogManager.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/TestAbtDepEngine.html src/trunk/doc/classes/TestAbtDownloadManager.html src/trunk/doc/classes/TestAbtLogManager.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_11.dot src/trunk/doc/dot/f_11.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/dot/f_7.dot 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/AbtQueueManager_rb.html src/trunk/doc/files/AbtReportManager_rb.html src/trunk/doc/files/AbtSystemManager_rb.html src/trunk/doc/files/TestAbtDownloadManager_rb.html src/trunk/doc/files/TestAbtLogManager_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 src/trunk/testSuiteAbt.rb Added Paths: ----------- src/trunk/TestAbtPackageManager.rb src/trunk/doc/classes/TestAbtPackage.html src/trunk/doc/classes/TestAbtPackageManager.html src/trunk/doc/dot/f_12.dot src/trunk/doc/dot/f_12.png src/trunk/doc/files/TestAbtPackageManager_rb.html Modified: src/trunk/TestAbtDownloadManager.rb =================================================================== --- src/trunk/TestAbtDownloadManager.rb 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/TestAbtDownloadManager.rb 2006-05-31 14:39:39 UTC (rev 132) @@ -41,7 +41,7 @@ # Test method for 'AbtDownloadManager.testRetrievePackageSource()' ## def testRetrievePackageSource() - assert( @download.retrievePackageSource( "Fortune" ), "testRetrievePackageSource()" ) + assert( @download.retrievePackageSource( "dummy" ), "testRetrievePackageSource()" ) end ## Modified: src/trunk/TestAbtLogManager.rb =================================================================== --- src/trunk/TestAbtLogManager.rb 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/TestAbtLogManager.rb 2006-05-31 14:39:39 UTC (rev 132) @@ -41,28 +41,28 @@ # Test method for 'AbtLogManager.testLogPackageIntegrity()' ## def testLogPackageIntegrity() - assert( @log.logPackageIntegrity( "Fortune" ), "testLogPackageIntegrity()" ) + assert( @log.logPackageIntegrity( "dummy" ), "testLogPackageIntegrity()" ) end ## # Test method for 'AbtLogManager.testLogPackageInstall()' ## def testLogPackageInstall() - assert( @log.logPackageInstall( "Fortune" ), "testLogPackageInstall()" ) + assert( @log.logPackageInstall( "dummy" ), "testLogPackageInstall()" ) end ## # Test method for 'AbtLogManager.testLogPackageBuild()' ## def testLogPackageBuild() - assert( @log.logPackageBuild( "Fortune" ), "testLogPackageBuild()" ) + assert( @log.logPackageBuild( "dummy" ), "testLogPackageBuild()" ) end ## # Test method for 'AbtLogManager.testCachePackage()' ## def testCachePackage() - assert( @log.cachePackage( "Fortune" ), "testCachePackage()" ) + assert( @log.cachePackage( "dummy" ), "testCachePackage()" ) end ## Modified: src/trunk/TestAbtPackage.rb =================================================================== --- src/trunk/TestAbtPackage.rb 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/TestAbtPackage.rb 2006-05-31 14:39:39 UTC (rev 132) @@ -28,7 +28,7 @@ # 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 +class TestAbtPackage < Test::Unit::TestCase @name = "Fortune" @version = "mod-9708" Added: src/trunk/TestAbtPackageManager.rb =================================================================== --- src/trunk/TestAbtPackageManager.rb (rev 0) +++ src/trunk/TestAbtPackageManager.rb 2006-05-31 14:39:39 UTC (rev 132) @@ -0,0 +1,75 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtPackageManager' + +## +# TestAbtPackageManager.rb +# +# Unit testing for AbtPackageManager 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 TestAbtPackageManager < Test::Unit::TestCase + + ## + # setup method for testing AbtPackageManager. + ## + def setup + @pkgMgr = AbtPackageManager.new() + end + + ## + # Test method for 'AbtPackageManager.testInstallPackage()' + ## + def testInstallPackage + assert( @pkgMgr.installPacakge( "dummy" ), "testInstallPackage()" ) + end + + ## + # Test method for 'AbtPackageManager.testReinstallPackage()' + ## + def testReinstallPackage + assert( @pkgMgr.reinstallPacakge( "dummy" ), "testReinstallPackage()" ) + end + + ## + # Test method for 'AbtPackageManager.testRemovePackage()' + ## + def testRemovePackage + assert( @pkgMgr.removePacakge( "dummy" ), "testRemovePackage()" ) + end + + ## + # Test method for 'AbtPackageManager.testDowngradePackage()' + ## + def testDowngradePackage + assert( @pkgMgr.downgradePacakge( "dummy", "1.2" ), "testDowngradePackage()" ) + end + + ## + # Test method for 'AbtPackageManager.testFreezePackage()' + ## + def testFreezePackage + assert( @pkgMgr.freezePacakge( "dummy" ), "testFreezePackage()" ) + end + +end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_0.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="#M000050">new</a></li> + <li><a href="#M000049">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>new</b>() + <a name="M000049"></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('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('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_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/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtLogManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -117,11 +117,11 @@ <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="#M000040">cachePackage</a></li> + <li><a href="#M000039">logPackageBuild</a></li> + <li><a href="#M000038">logPackageInstall</a></li> + <li><a href="#M000041">logToJournal</a></li> + <li><a href="#M000037">new</a></li> </ul> @@ -132,7 +132,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000031"></a><b>new</b>() + <a name="M000037"></a><b>new</b>() </div> <div class="description"> <p> @@ -144,8 +144,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('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> <pre> <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> @@ -157,7 +157,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000034"></a><b>cachePackage</b>( package ) + <a name="M000040"></a><b>cachePackage</b>( package ) </div> <div class="description"> <p> @@ -173,8 +173,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('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <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> ) @@ -185,7 +185,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000033"></a><b>logPackageBuild</b>( package ) + <a name="M000039"></a><b>logPackageBuild</b>( package ) </div> <div class="description"> <p> @@ -201,8 +201,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('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <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> ) @@ -213,7 +213,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000032"></a><b>logPackageInstall</b>( package ) + <a name="M000038"></a><b>logPackageInstall</b>( package ) </div> <div class="description"> <p> @@ -229,8 +229,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('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <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> ) @@ -241,7 +241,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000035"></a><b>logToJournal</b>( message ) + <a name="M000041"></a><b>logToJournal</b>( message ) </div> <div class="description"> <p> @@ -257,8 +257,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('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <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> ) Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtPackage.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -121,14 +121,14 @@ <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="#M000017">new</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="#M000027">build</a></li> + <li><a href="#M000026">configure</a></li> + <li><a href="#M000024">details</a></li> + <li><a href="#M000029">install</a></li> + <li><a href="#M000023">new</a></li> + <li><a href="#M000030">post</a></li> + <li><a href="#M000025">pre</a></li> + <li><a href="#M000028">preinstall</a></li> </ul> @@ -302,7 +302,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000017"></a><b>new</b>( data ) + <a name="M000023"></a><b>new</b>( data ) </div> <div class="description"> <p> @@ -314,8 +314,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 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> ) @@ -345,7 +345,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000021"></a><b>build</b>() + <a name="M000027"></a><b>build</b>() </div> <div class="description"> <p> @@ -358,8 +358,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('M000027_source')" id="l_M000027_source">show source</a> ]</p> + <div id="M000027_source" class="dyn-source"> <pre> <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> @@ -370,7 +370,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000020"></a><b>configure</b>() + <a name="M000026"></a><b>configure</b>() </div> <div class="description"> <p> @@ -387,8 +387,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('M000026_source')" id="l_M000026_source">show source</a> ]</p> + <div id="M000026_source" class="dyn-source"> <pre> <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> @@ -399,7 +399,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000018"></a><b>details</b>() + <a name="M000024"></a><b>details</b>() </div> <div class="description"> <p> @@ -412,8 +412,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('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 119</span> 119: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> @@ -444,7 +444,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000023"></a><b>install</b>() + <a name="M000029"></a><b>install</b>() </div> <div class="description"> <p> @@ -456,8 +456,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('M000029_source')" id="l_M000029_source">show source</a> ]</p> + <div id="M000029_source" class="dyn-source"> <pre> <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> @@ -468,7 +468,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000024"></a><b>post</b>() + <a name="M000030"></a><b>post</b>() </div> <div class="description"> <p> @@ -481,8 +481,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('M000030_source')" id="l_M000030_source">show source</a> ]</p> + <div id="M000030_source" class="dyn-source"> <pre> <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> @@ -493,7 +493,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000019"></a><b>pre</b>() + <a name="M000025"></a><b>pre</b>() </div> <div class="description"> <p> @@ -506,8 +506,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('M000025_source')" id="l_M000025_source">show source</a> ]</p> + <div id="M000025_source" class="dyn-source"> <pre> <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> @@ -518,7 +518,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000022"></a><b>preinstall</b>() + <a name="M000028"></a><b>preinstall</b>() </div> <div class="description"> <p> @@ -532,8 +532,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('M000028_source')" id="l_M000028_source">show source</a> ]</p> + <div id="M000028_source" class="dyn-source"> <pre> <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> Modified: src/trunk/doc/classes/AbtPackageManager.html =================================================================== --- src/trunk/doc/classes/AbtPackageManager.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -118,12 +118,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000029">downgradePackage</a></li> - <li><a href="#M000030">freezePackage</a></li> - <li><a href="#M000026">installPackage</a></li> - <li><a href="#M000025">new</a></li> - <li><a href="#M000027">reinstallPackage</a></li> - <li><a href="#M000028">removePackage</a></li> + <li><a href="#M000035">downgradePackage</a></li> + <li><a href="#M000036">freezePackage</a></li> + <li><a href="#M000032">installPackage</a></li> + <li><a href="#M000031">new</a></li> + <li><a href="#M000033">reinstallPackage</a></li> + <li><a href="#M000034">removePackage</a></li> </ul> @@ -134,7 +134,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000025"></a><b>new</b>() + <a name="M000031"></a><b>new</b>() </div> <div class="description"> <p> @@ -147,8 +147,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('M000031_source')" id="l_M000031_source">show source</a> ]</p> + <div id="M000031_source" class="dyn-source"> <pre> <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> @@ -160,7 +160,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000029"></a><b>downgradePackage</b>( package, version ) + <a name="M000035"></a><b>downgradePackage</b>( package, version ) </div> <div class="description"> <p> @@ -178,8 +178,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('M000035_source')" id="l_M000035_source">show source</a> ]</p> + <div id="M000035_source" class="dyn-source"> <pre> <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> ) @@ -190,7 +190,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000030"></a><b>freezePackage</b>( package ) + <a name="M000036"></a><b>freezePackage</b>( package ) </div> <div class="description"> <p> @@ -206,8 +206,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('M000036_source')" id="l_M000036_source">show source</a> ]</p> + <div id="M000036_source" class="dyn-source"> <pre> <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> ) @@ -218,7 +218,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000026"></a><b>installPackage</b>( package ) + <a name="M000032"></a><b>installPackage</b>( package ) </div> <div class="description"> <p> @@ -233,8 +233,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('M000032_source')" id="l_M000032_source">show source</a> ]</p> + <div id="M000032_source" class="dyn-source"> <pre> <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> ) @@ -245,7 +245,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000027"></a><b>reinstallPackage</b>( package ) + <a name="M000033"></a><b>reinstallPackage</b>( package ) </div> <div class="description"> <p> @@ -260,8 +260,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('M000033_source')" id="l_M000033_source">show source</a> ]</p> + <div id="M000033_source" class="dyn-source"> <pre> <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> ) @@ -272,7 +272,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000028"></a><b>removePackage</b>( package ) + <a name="M000034"></a><b>removePackage</b>( package ) </div> <div class="description"> <p> @@ -287,8 +287,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('M000034_source')" id="l_M000034_source">show source</a> ]</p> + <div id="M000034_source" class="dyn-source"> <pre> <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> ) Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000051">new</a></li> + <li><a href="#M000048">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000051"></a><b>new</b>() + <a name="M000048"></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('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('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_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 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <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> + <li><a href="#M000078">generateHTMLPackageListing</a></li> + <li><a href="#M000066">new</a></li> + <li><a href="#M000075">searchPackageDescriptions</a></li> + <li><a href="#M000074">showFileOwner</a></li> + <li><a href="#M000070">showFrozenPackages</a></li> + <li><a href="#M000068">showInstalledPackages</a></li> + <li><a href="#M000073">showJournal</a></li> + <li><a href="#M000071">showPackageDependencies</a></li> + <li><a href="#M000067">showPackageDetails</a></li> + <li><a href="#M000069">showPackageLog</a></li> + <li><a href="#M000076">showQueue</a></li> + <li><a href="#M000072">showUntrackedFiles</a></li> + <li><a href="#M000077">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000060"></a><b>new</b>() + <a name="M000066"></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('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 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="M000072"></a><b>generateHTMLPackageListing</b>() + <a name="M000078"></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('M000072_source')" id="l_M000072_source">show source</a> ]</p> - <div id="M000072_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show source</a> ]</p> + <div id="M000078_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="M000069"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000075"></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('M000069_source')" id="l_M000069_source">show source</a> ]</p> - <div id="M000069_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show source</a> ]</p> + <div id="M000075_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="M000068"></a><b>showFileOwner</b>( file ) + <a name="M000074"></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('M000068_source')" id="l_M000068_source">show source</a> ]</p> - <div id="M000068_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show source</a> ]</p> + <div id="M000074_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="M000064"></a><b>showFrozenPackages</b>() + <a name="M000070"></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('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 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="M000062"></a><b>showInstalledPackages</b>() + <a name="M000068"></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('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 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="M000067"></a><b>showJournal</b>() + <a name="M000073"></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('M000067_source')" id="l_M000067_source">show source</a> ]</p> - <div id="M000067_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show source</a> ]</p> + <div id="M000073_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="M000065"></a><b>showPackageDependencies</b>( package ) + <a name="M000071"></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('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 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="M000061"></a><b>showPackageDetails</b>( package ) + <a name="M000067"></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('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 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="M000063"></a><b>showPackageLog</b>( package, logType ) + <a name="M000069"></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('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 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="M000070"></a><b>showQueue</b>( queueType ) + <a name="M000076"></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('M000070_source')" id="l_M000070_source">show source</a> ]</p> - <div id="M000070_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show source</a> ]</p> + <div id="M000076_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="M000066"></a><b>showUntrackedFiles</b>() + <a name="M000072"></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('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 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="M000071"></a><b>showUpdates</b>( target ) + <a name="M000077"></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('M000071_source')" id="l_M000071_source">show source</a> ]</p> - <div id="M000071_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show source</a> ]</p> + <div id="M000077_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/AbtSystemManager.html =================================================================== --- src/trunk/doc/classes/AbtSystemManager.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/AbtSystemManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -78,7 +78,7 @@ <map id="map" name="map"> <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"> +<img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/TestAbtDepEngine.html =================================================================== --- src/trunk/doc/classes/TestAbtDepEngine.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/TestAbtDepEngine.html 2006-05-31 14:39:39 UTC (rev 132) @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000052">setup</a></li> - <li><a href="#M000053">testDepEngine</a></li> + <li><a href="#M000058">setup</a></li> + <li><a href="#M000059">testDepEngine</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000052"></a><b>setup</b>() + <a name="M000058"></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('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 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="M000053"></a><b>testDepEngine</b>() + <a name="M000059"></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('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 TestAbtDepEngine.rb, line 43</span> 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testDepEngine</span> Modified: src/trunk/doc/classes/TestAbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/TestAbtDownloadManager.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/TestAbtDownloadManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -118,12 +118,12 @@ <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> + <li><a href="#M000042">setup</a></li> + <li><a href="#M000045">testRetrieveNewsFeed</a></li> + <li><a href="#M000043">testRetrievePackageSource</a></li> + <li><a href="#M000044">testRetrievePackageTree</a></li> + <li><a href="#M000046">testUpdatePackage</a></li> + <li><a href="#M000047">testUpdatePackageTree</a></li> </ul> @@ -134,7 +134,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000044"></a><b>setup</b>() + <a name="M000042"></a><b>setup</b>() </div> <div class="description"> <p> @@ -143,8 +143,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('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_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> @@ -156,7 +156,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000047"></a><b>testRetrieveNewsFeed</b>() + <a name="M000045"></a><b>testRetrieveNewsFeed</b>() </div> <div class="description"> <p> @@ -164,8 +164,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('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 57</span> 57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testRetrieveNewsFeed</span>() @@ -177,7 +177,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000045"></a><b>testRetrievePackageSource</b>() + <a name="M000043"></a><b>testRetrievePackageSource</b>() </div> <div class="description"> <p> @@ -186,12 +186,12 @@ </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('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_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> ) +44: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@download</span>.<span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testRetrievePackageSource()"</span> ) 45: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -199,7 +199,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000046"></a><b>testRetrievePackageTree</b>() + <a name="M000044"></a><b>testRetrievePackageTree</b>() </div> <div class="description"> <p> @@ -207,8 +207,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('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 50</span> 50: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testRetrievePackageTree</span>() @@ -220,7 +220,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>testUpdatePackage</b>() + <a name="M000046"></a><b>testUpdatePackage</b>() </div> <div class="description"> <p> @@ -228,8 +228,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('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 64</span> 64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testUpdatePackage</span>() @@ -241,7 +241,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>testUpdatePackageTree</b>() + <a name="M000047"></a><b>testUpdatePackageTree</b>() </div> <div class="description"> <p> @@ -249,8 +249,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('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 71</span> 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testUpdatePackageTree</span>() Modified: src/trunk/doc/classes/TestAbtLogManager.html =================================================================== --- src/trunk/doc/classes/TestAbtLogManager.html 2006-05-31 14:20:31 UTC (rev 131) +++ src/trunk/doc/classes/TestAbtLogManager.html 2006-05-31 14:39:39 UTC (rev 132) @@ -117,12 +117,12 @@ <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> + <li><a href="#M000060">setup</a></li> + <li><a href="#M000064">testCachePackage</a></li> + <li><a href="#M000063">testLogPackageBuild</a></li> + <li><a href="#M000062">testLogPackageInstall</a></li> + <li><a href="#M000061">testLogPackageIntegrity</a></li> + <li><a href="#M000065">testLogToJournal</a></li> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000054"></a><b>setup</b>() + <a name="M000060"></a><b>setup</b>() </div> <div class="description"> <p> @@ -141,8 +141,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 TestAbtLogManager.rb, line 36</span> 36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> @@ -154,7 +154,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000058"></a><b>testCachePackage</b>() + <a name="M000064"></a><b>testCachePackage</b>() </div> <div class="description"> <p> @@ -162,12 +162,12 @@ </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 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> ) +65: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">cachePackage</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testCachePackage()"</span> ) 66: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -175,7 +175,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000057"></a><b>testLogPackageBuild</b>() + <a name="M000063"></a><b>testLogPackageBuild</b>() </div> <div class="description"> <p> @@ -183,12 +183,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('M000063_source')" id="l_M000063_source">show source</a> ]</p> + <div id="M000063_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> ) +58: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">logPackageBuild</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testLogPackageBuild()"</span> ) 59: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -196,7 +196,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000056"></a><b>testLogPackageInstall</b>() + <a name="M000062"></a><b>testLogPackageInstall</b>() </div> <div class="description"> <p> @@ -204,12 +204,12 @@ </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 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> ) +51: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">logPackageInstall</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testLogPackageInstall()"</span> ) 52: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -217,7 +217,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000055"></a><b>testLogPackageIntegrity</b>() + <a name="M000061"></a><b>testLogPackageIntegrity</b>() </div> <div class="description"> <p> @@ -225,12 +225,12 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a hre... [truncated message content] |
From: <esc...@us...> - 2006-05-31 15:29:04
|
Revision: 135 Author: eschabell Date: 2006-05-31 08:28:41 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=135&view=rev Log Message: ----------- Added last test cases for AbtSystemMananger to suite, generated docs. Totals: 45 tests, 60 assertions, 44 failures, 0 errors Modified Paths: -------------- src/trunk/TestAbtQueueManager.rb 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/TestAbtDownloadManager.html src/trunk/doc/classes/TestAbtLogManager.html src/trunk/doc/classes/TestAbtPackage.html src/trunk/doc/classes/TestAbtQueueManager.html src/trunk/doc/created.rid src/trunk/doc/files/TestAbtQueueManager_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/TestAbtSystemManager.rb src/trunk/doc/classes/TestAbtSystemManager.html src/trunk/doc/dot/f_15.dot src/trunk/doc/dot/f_15.png src/trunk/doc/files/TestAbtSystemManager_rb.html Modified: src/trunk/TestAbtQueueManager.rb =================================================================== --- src/trunk/TestAbtQueueManager.rb 2006-05-31 15:14:21 UTC (rev 134) +++ src/trunk/TestAbtQueueManager.rb 2006-05-31 15:28:41 UTC (rev 135) @@ -38,7 +38,7 @@ end ## - # Test method for _AbtQueueManager.testQueueMananger()_ + # Test method for 'AbtQueueManager.testQueueMananger()' ## def testQueueManager assert_equal( false, true, "testQueueManager()" ) Added: src/trunk/TestAbtSystemManager.rb =================================================================== --- src/trunk/TestAbtSystemManager.rb (rev 0) +++ src/trunk/TestAbtSystemManager.rb 2006-05-31 15:28:41 UTC (rev 135) @@ -0,0 +1,103 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtSystemManager' + +## +# TestAbtSystemManager.rb +# +# Unit testing for AbtSystemManager 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 TestAbtSystemManager < Test::Unit::TestCase + + ## + # setup method for testing AbtSystemManager. + ## + def setup + @sys = AbtSystemManager.new() + end + + ## + # Test method for 'AbtSystemManager.testCleanupPackageSources()' + ## + def testCleanupPackageSources + assert( @sys.cleanupPackageSources(), "testCleanupPackageSources()" ) + end + + ## + # Test method for 'AbtSystemManager.testCleanupLogs()' + ## + def testCleanupLogs + assert( @sys.cleanupLogs(), "testCleanupLogs()" ) + end + + ## + # Test method for 'AbtSystemManager.testVerifyInstalledFiles()' + ## + def testVerifyInstalledFiles + assert( @sys.verifyInstalledFiles( "dummy" ), "testVerifyInstalledFiles()" ) + end + + ## + # Test method for 'AbtSystemManager.testVerifySymlinks()' + ## + def testVerifySymlinks + assert( @sys.verifySymlinks( "dummy" ), "testVerifySymlinks()" ) + end + + ## + # Test method for 'AbtSystemManager.testVerifyPackageDepends()' + ## + def testVerifyPackageDepends + assert( @sys.verifyPackageDepends( "dummy" ), "testVerifyPackageDepends()" ) + end + + ## + # Test method for 'AbtSystemManager.testVerifyPackageIntegrity()' + ## + def testVerifyPackageIntegrity + assert( @sys.verifyPackageIntegrity( "dummy" ), "testVerifyPackageIntegrity()" ) + end + + ## + # Test method for 'AbtSystemManager.testFixPackage()' + ## + def testFixPackage + assert( @sys.fixPackage( "dummy" ), "testFixPackage()" ) + end + + ## + # Test method for 'AbtSystemManager.testSetCentralRepo()' + ## + def testSetCentralRepo + assert( @sys.setCentralRepo( "http://localhost" ), "testSetCentralRepo()" ) + end + + ## + # Test method for 'AbtSystemManager.testSetPackageTreeLocation()' + ## + def testSetPackageTreeLocation + assert( @sys.setPackageTreeLocation( "/var/lib/ericsPackages" ), "testSetPackageTreeLocation()" ) + end + +end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 15:28:41 UTC (rev 135) @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000064">new</a></li> + <li><a href="#M000074">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000064"></a><b>new</b>() + <a name="M000074"></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('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('M000074_source')" id="l_M000074_source">show source</a> ]</p> + <div id="M000074_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 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 15:28:41 UTC (rev 135) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000063">new</a></li> + <li><a href="#M000073">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000063"></a><b>new</b>() + <a name="M000073"></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('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('M000073_source')" id="l_M000073_source">show source</a> ]</p> + <div id="M000073_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 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 15:28:41 UTC (rev 135) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000093">generateHTMLPackageListing</a></li> - <li><a href="#M000081">new</a></li> - <li><a href="#M000090">searchPackageDescriptions</a></li> - <li><a href="#M000089">showFileOwner</a></li> - <li><a href="#M000085">showFrozenPackages</a></li> - <li><a href="#M000083">showInstalledPackages</a></li> - <li><a href="#M000088">showJournal</a></li> - <li><a href="#M000086">showPackageDependencies</a></li> - <li><a href="#M000082">showPackageDetails</a></li> - <li><a href="#M000084">showPackageLog</a></li> - <li><a href="#M000091">showQueue</a></li> - <li><a href="#M000087">showUntrackedFiles</a></li> - <li><a href="#M000092">showUpdates</a></li> + <li><a href="#M000103">generateHTMLPackageListing</a></li> + <li><a href="#M000091">new</a></li> + <li><a href="#M000100">searchPackageDescriptions</a></li> + <li><a href="#M000099">showFileOwner</a></li> + <li><a href="#M000095">showFrozenPackages</a></li> + <li><a href="#M000093">showInstalledPackages</a></li> + <li><a href="#M000098">showJournal</a></li> + <li><a href="#M000096">showPackageDependencies</a></li> + <li><a href="#M000092">showPackageDetails</a></li> + <li><a href="#M000094">showPackageLog</a></li> + <li><a href="#M000101">showQueue</a></li> + <li><a href="#M000097">showUntrackedFiles</a></li> + <li><a href="#M000102">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000081"></a><b>new</b>() + <a name="M000091"></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('M000081_source')" id="l_M000081_source">show source</a> ]</p> - <div id="M000081_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000091_source')" id="l_M000091_source">show source</a> ]</p> + <div id="M000091_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="M000093"></a><b>generateHTMLPackageListing</b>() + <a name="M000103"></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('M000093_source')" id="l_M000093_source">show source</a> ]</p> - <div id="M000093_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show source</a> ]</p> + <div id="M000103_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="M000090"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000100"></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('M000090_source')" id="l_M000090_source">show source</a> ]</p> - <div id="M000090_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show source</a> ]</p> + <div id="M000100_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="M000089"></a><b>showFileOwner</b>( file ) + <a name="M000099"></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('M000089_source')" id="l_M000089_source">show source</a> ]</p> - <div id="M000089_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show source</a> ]</p> + <div id="M000099_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="M000085"></a><b>showFrozenPackages</b>() + <a name="M000095"></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('M000085_source')" id="l_M000085_source">show source</a> ]</p> - <div id="M000085_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000095_source')" id="l_M000095_source">show source</a> ]</p> + <div id="M000095_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="M000083"></a><b>showInstalledPackages</b>() + <a name="M000093"></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('M000083_source')" id="l_M000083_source">show source</a> ]</p> - <div id="M000083_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000093_source')" id="l_M000093_source">show source</a> ]</p> + <div id="M000093_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="M000088"></a><b>showJournal</b>() + <a name="M000098"></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('M000088_source')" id="l_M000088_source">show source</a> ]</p> - <div id="M000088_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000098_source')" id="l_M000098_source">show source</a> ]</p> + <div id="M000098_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="M000086"></a><b>showPackageDependencies</b>( package ) + <a name="M000096"></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('M000086_source')" id="l_M000086_source">show source</a> ]</p> - <div id="M000086_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000096_source')" id="l_M000096_source">show source</a> ]</p> + <div id="M000096_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="M000082"></a><b>showPackageDetails</b>( package ) + <a name="M000092"></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('M000082_source')" id="l_M000082_source">show source</a> ]</p> - <div id="M000082_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000092_source')" id="l_M000092_source">show source</a> ]</p> + <div id="M000092_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="M000084"></a><b>showPackageLog</b>( package, logType ) + <a name="M000094"></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('M000084_source')" id="l_M000084_source">show source</a> ]</p> - <div id="M000084_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000094_source')" id="l_M000094_source">show source</a> ]</p> + <div id="M000094_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="M000091"></a><b>showQueue</b>( queueType ) + <a name="M000101"></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('M000091_source')" id="l_M000091_source">show source</a> ]</p> - <div id="M000091_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000101_source')" id="l_M000101_source">show source</a> ]</p> + <div id="M000101_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="M000087"></a><b>showUntrackedFiles</b>() + <a name="M000097"></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('M000087_source')" id="l_M000087_source">show source</a> ]</p> - <div id="M000087_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000097_source')" id="l_M000097_source">show source</a> ]</p> + <div id="M000097_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="M000092"></a><b>showUpdates</b>( target ) + <a name="M000102"></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('M000092_source')" id="l_M000092_source">show source</a> ]</p> - <div id="M000092_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show source</a> ]</p> + <div id="M000102_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 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/TestAbtDepEngine.html 2006-05-31 15:28:41 UTC (rev 135) @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000073">setup</a></li> - <li><a href="#M000074">testDepEngine</a></li> + <li><a href="#M000083">setup</a></li> + <li><a href="#M000084">testDepEngine</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000073"></a><b>setup</b>() + <a name="M000083"></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('M000073_source')" id="l_M000073_source">show source</a> ]</p> - <div id="M000073_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000083_source')" id="l_M000083_source">show source</a> ]</p> + <div id="M000083_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="M000074"></a><b>testDepEngine</b>() + <a name="M000084"></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('M000074_source')" id="l_M000074_source">show source</a> ]</p> - <div id="M000074_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000084_source')" id="l_M000084_source">show source</a> ]</p> + <div id="M000084_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> Modified: src/trunk/doc/classes/TestAbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/TestAbtDownloadManager.html 2006-05-31 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/TestAbtDownloadManager.html 2006-05-31 15:28:41 UTC (rev 135) @@ -118,12 +118,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000057">setup</a></li> - <li><a href="#M000060">testRetrieveNewsFeed</a></li> - <li><a href="#M000058">testRetrievePackageSource</a></li> - <li><a href="#M000059">testRetrievePackageTree</a></li> - <li><a href="#M000061">testUpdatePackage</a></li> - <li><a href="#M000062">testUpdatePackageTree</a></li> + <li><a href="#M000067">setup</a></li> + <li><a href="#M000070">testRetrieveNewsFeed</a></li> + <li><a href="#M000068">testRetrievePackageSource</a></li> + <li><a href="#M000069">testRetrievePackageTree</a></li> + <li><a href="#M000071">testUpdatePackage</a></li> + <li><a href="#M000072">testUpdatePackageTree</a></li> </ul> @@ -134,7 +134,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000057"></a><b>setup</b>() + <a name="M000067"></a><b>setup</b>() </div> <div class="description"> <p> @@ -143,8 +143,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('M000067_source')" id="l_M000067_source">show source</a> ]</p> + <div id="M000067_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> @@ -156,7 +156,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000060"></a><b>testRetrieveNewsFeed</b>() + <a name="M000070"></a><b>testRetrieveNewsFeed</b>() </div> <div class="description"> <p> @@ -164,8 +164,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('M000070_source')" id="l_M000070_source">show source</a> ]</p> + <div id="M000070_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>() @@ -177,7 +177,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000058"></a><b>testRetrievePackageSource</b>() + <a name="M000068"></a><b>testRetrievePackageSource</b>() </div> <div class="description"> <p> @@ -186,8 +186,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('M000068_source')" id="l_M000068_source">show source</a> ]</p> + <div id="M000068_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>() @@ -199,7 +199,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000059"></a><b>testRetrievePackageTree</b>() + <a name="M000069"></a><b>testRetrievePackageTree</b>() </div> <div class="description"> <p> @@ -207,8 +207,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('M000069_source')" id="l_M000069_source">show source</a> ]</p> + <div id="M000069_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>() @@ -220,7 +220,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000061"></a><b>testUpdatePackage</b>() + <a name="M000071"></a><b>testUpdatePackage</b>() </div> <div class="description"> <p> @@ -228,8 +228,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('M000071_source')" id="l_M000071_source">show source</a> ]</p> + <div id="M000071_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>() @@ -241,7 +241,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000062"></a><b>testUpdatePackageTree</b>() + <a name="M000072"></a><b>testUpdatePackageTree</b>() </div> <div class="description"> <p> @@ -249,8 +249,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('M000072_source')" id="l_M000072_source">show source</a> ]</p> + <div id="M000072_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>() Modified: src/trunk/doc/classes/TestAbtLogManager.html =================================================================== --- src/trunk/doc/classes/TestAbtLogManager.html 2006-05-31 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/TestAbtLogManager.html 2006-05-31 15:28:41 UTC (rev 135) @@ -117,12 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000075">setup</a></li> - <li><a href="#M000079">testCachePackage</a></li> - <li><a href="#M000078">testLogPackageBuild</a></li> - <li><a href="#M000077">testLogPackageInstall</a></li> - <li><a href="#M000076">testLogPackageIntegrity</a></li> - <li><a href="#M000080">testLogToJournal</a></li> + <li><a href="#M000085">setup</a></li> + <li><a href="#M000089">testCachePackage</a></li> + <li><a href="#M000088">testLogPackageBuild</a></li> + <li><a href="#M000087">testLogPackageInstall</a></li> + <li><a href="#M000086">testLogPackageIntegrity</a></li> + <li><a href="#M000090">testLogToJournal</a></li> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000075"></a><b>setup</b>() + <a name="M000085"></a><b>setup</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show source</a> ]</p> - <div id="M000075_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000085_source')" id="l_M000085_source">show source</a> ]</p> + <div id="M000085_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> @@ -154,7 +154,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000079"></a><b>testCachePackage</b>() + <a name="M000089"></a><b>testCachePackage</b>() </div> <div class="description"> <p> @@ -162,8 +162,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show source</a> ]</p> - <div id="M000079_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000089_source')" id="l_M000089_source">show source</a> ]</p> + <div id="M000089_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 65</span> 65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testCachePackage</span>() @@ -175,7 +175,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000078"></a><b>testLogPackageBuild</b>() + <a name="M000088"></a><b>testLogPackageBuild</b>() </div> <div class="description"> <p> @@ -183,8 +183,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show source</a> ]</p> - <div id="M000078_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show source</a> ]</p> + <div id="M000088_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 58</span> 58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogPackageBuild</span>() @@ -196,7 +196,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000077"></a><b>testLogPackageInstall</b>() + <a name="M000087"></a><b>testLogPackageInstall</b>() </div> <div class="description"> <p> @@ -204,8 +204,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show source</a> ]</p> - <div id="M000077_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show source</a> ]</p> + <div id="M000087_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 51</span> 51: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogPackageInstall</span>() @@ -217,7 +217,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000076"></a><b>testLogPackageIntegrity</b>() + <a name="M000086"></a><b>testLogPackageIntegrity</b>() </div> <div class="description"> <p> @@ -225,8 +225,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show source</a> ]</p> - <div id="M000076_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000086_source')" id="l_M000086_source">show source</a> ]</p> + <div id="M000086_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>() @@ -239,7 +239,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000080"></a><b>testLogToJournal</b>() + <a name="M000090"></a><b>testLogToJournal</b>() </div> <div class="description"> <p> @@ -247,8 +247,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show source</a> ]</p> - <div id="M000080_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show source</a> ]</p> + <div id="M000090_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 72</span> 72: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogToJournal</span>() Modified: src/trunk/doc/classes/TestAbtPackage.html =================================================================== --- src/trunk/doc/classes/TestAbtPackage.html 2006-05-31 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/TestAbtPackage.html 2006-05-31 15:28:41 UTC (rev 135) @@ -117,14 +117,14 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000065">setup</a></li> - <li><a href="#M000069">testBuild</a></li> - <li><a href="#M000068">testConfigure</a></li> - <li><a href="#M000066">testDetails</a></li> - <li><a href="#M000071">testInstall</a></li> - <li><a href="#M000072">testPost</a></li> - <li><a href="#M000067">testPre</a></li> - <li><a href="#M000070">testPreinstall</a></li> + <li><a href="#M000075">setup</a></li> + <li><a href="#M000079">testBuild</a></li> + <li><a href="#M000078">testConfigure</a></li> + <li><a href="#M000076">testDetails</a></li> + <li><a href="#M000081">testInstall</a></li> + <li><a href="#M000082">testPost</a></li> + <li><a href="#M000077">testPre</a></li> + <li><a href="#M000080">testPreinstall</a></li> </ul> @@ -135,7 +135,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000065"></a><b>setup</b>() + <a name="M000075"></a><b>setup</b>() </div> <div class="description"> <p> @@ -143,8 +143,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('M000075_source')" id="l_M000075_source">show source</a> ]</p> + <div id="M000075_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 59</span> 59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> @@ -156,7 +156,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000069"></a><b>testBuild</b>() + <a name="M000079"></a><b>testBuild</b>() </div> <div class="description"> <p> @@ -164,8 +164,8 @@ </p> </div> <div class="sourcecode"> - <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"> + <p class="source-link">[ <a href="javascript:toggleSource('M000079_source')" id="l_M000079_source">show source</a> ]</p> + <div id="M000079_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 102</span> 102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testBuild</span> @@ -177,7 +177,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000068"></a><b>testConfigure</b>() + <a name="M000078"></a><b>testConfigure</b>() </div> <div class="description"> <p> @@ -185,8 +185,8 @@ </p> </div> <div class="sourcecode"> - <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"> + <p class="source-link">[ <a href="javascript:toggleSource('M000078_source')" id="l_M000078_source">show source</a> ]</p> + <div id="M000078_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 95</span> 95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testConfigure</span> @@ -198,7 +198,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000066"></a><b>testDetails</b>() + <a name="M000076"></a><b>testDetails</b>() </div> <div class="description"> <p> @@ -206,8 +206,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('M000076_source')" id="l_M000076_source">show source</a> ]</p> + <div id="M000076_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 66</span> 66: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testDetails</span> @@ -234,7 +234,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000071"></a><b>testInstall</b>() + <a name="M000081"></a><b>testInstall</b>() </div> <div class="description"> <p> @@ -242,8 +242,8 @@ </p> </div> <div class="sourcecode"> - <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"> + <p class="source-link">[ <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">show source</a> ]</p> + <div id="M000081_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 116</span> 116: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testInstall</span> @@ -255,7 +255,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000072"></a><b>testPost</b>() + <a name="M000082"></a><b>testPost</b>() </div> <div class="description"> <p> @@ -263,8 +263,8 @@ </p> </div> <div class="sourcecode"> - <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"> + <p class="source-link">[ <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show source</a> ]</p> + <div id="M000082_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 123</span> 123: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testPost</span> @@ -276,7 +276,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000067"></a><b>testPre</b>() + <a name="M000077"></a><b>testPre</b>() </div> <div class="description"> <p> @@ -284,8 +284,8 @@ </p> </div> <div class="sourcecode"> - <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"> + <p class="source-link">[ <a href="javascript:toggleSource('M000077_source')" id="l_M000077_source">show source</a> ]</p> + <div id="M000077_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 88</span> 88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testPre</span> @@ -297,7 +297,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000070"></a><b>testPreinstall</b>() + <a name="M000080"></a><b>testPreinstall</b>() </div> <div class="description"> <p> @@ -305,8 +305,8 @@ </p> </div> <div class="sourcecode"> - <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"> + <p class="source-link">[ <a href="javascript:toggleSource('M000080_source')" id="l_M000080_source">show source</a> ]</p> + <div id="M000080_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 109</span> 109: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testPreinstall</span> Modified: src/trunk/doc/classes/TestAbtQueueManager.html =================================================================== --- src/trunk/doc/classes/TestAbtQueueManager.html 2006-05-31 15:14:21 UTC (rev 134) +++ src/trunk/doc/classes/TestAbtQueueManager.html 2006-05-31 15:28:41 UTC (rev 135) @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000055">setup</a></li> - <li><a href="#M000056">testQueueManager</a></li> + <li><a href="#M000065">setup</a></li> + <li><a href="#M000066">testQueueManager</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000055"></a><b>setup</b>() + <a name="M000065"></a><b>setup</b>() </div> <div class="description"> <p> @@ -138,8 +138,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('M000065_source')" id="l_M000065_source">show source</a> ]</p> + <div id="M000065_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtQueueManager.rb, line 36</span> 36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> @@ -151,16 +151,16 @@ </div> <div class="method"> <div class="title"> - <a name="M000056"></a><b>testQueueManager</b>() + <a name="M000066"></a><b>testQueueManager</b>() </div> <div class="description"> <p> -Test method for _AbtQueueManager.testQueueMananger()_ +Test method for ‘AbtQueueManager.testQueueMananger()’ </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('M000066_source')" id="l_M000066_source">show source</a> ]</p> + <div id="M000066_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtQueueManager.rb, line 43</span> 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testQueueManager</span> Added: src/trunk/doc/classes/TestAbtSystemManager.html =================================================================== --- src/trunk/doc/classes/TestAbtSystemManager.html (rev 0) +++ src/trunk/doc/classes/TestAbtSystemManager.html 2006-05-31 15:28:41 UTC (rev 135) @@ -0,0 +1,355 @@ +<?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: TestAbtSystemManager</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 />TestAbtSystemManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/TestAbtSystemManager_rb.html">TestAbtSystemManager.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,169,151" href="TestAbtSystemManager.html" alt="TestAbtSystemManager"> + <area shape="RECT" coords="36,7,161,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_15.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +TestAbtSystemManager.rb +</p> +<p> +Unit testing for <a href="AbtSystemManager.html">AbtSystemManager</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="#M000055">setup</a></li> + <li><a href="#M000057">testCleanupLogs</a></li> + <li><a href="#M000056">testCleanupPackageSources</a></li> + <li><a href="#M000062">testFixPackage</a></li> + <li><a href="#M000063">testSetCentralRepo</a></li> + <li><a href="#M000064">testSetPackageTreeLocation</a></li> + <li><a href="#M000058">testVerifyInstalledFiles</a></li> + <li><a href="#M000060">testVerifyPackageDepends</a></li> + <li><a href="#M000061">testVerifyPackageIntegrity</a></li> + <li><a href="#M000059">testVerifySymlinks</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000055"></a><b>setup</b>() + </div> + <div class="description"> + <p> +setup method for testing <a +href="AbtSystemManager.html">AbtSystemManager</a>. +</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 TestAbtSystemManager.rb, line 36</span> +36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> +37: <span class="ruby-ivar">@sys</span> = <span class="ruby-constant">AbtSystemManager</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="M000057"></a><b>testCleanupLogs</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testCleanupLogs()’ +</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 TestAbtSystemManager.rb, line 50</span> +50: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testCleanupLogs</span> +51: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">cleanupLogs</span>(), <span class="ruby-value str">"testCleanupLogs()"</span> ) +52: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000056"></a><b>testCleanupPackageSources</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testCleanupPackageSources()’ +</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 TestAbtSystemManager.rb, line 43</span> +43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testCleanupPackageSources</span> +44: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">cleanupPackageSources</span>(), <span class="ruby-value str">"testCleanupPackageSources()"</span> ) +45: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000062"></a><b>testFixPackage</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testFixPackage()’ +</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"> +<pre> + <span class="ruby-comment cmt"># File TestAbtSystemManager.rb, line 85</span> +85: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testFixPackage</span> +86: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">fixPackage</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testFixPackage()"</span> ) +87: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000063"></a><b>testSetCentralRepo</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testSetCentralRepo()’ +</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"> +<pre> + <span class="ruby-comment cmt"># File TestAbtSystemManager.rb, line 92</span> +92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testSetCentralRepo</span> +93: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">setCentralRepo</span>( <span class="ruby-value str">"http://localhost"</span> ), <span class="ruby-value str">"testSetCentralRepo()"</span> ) +94: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000064"></a><b>testSetPackageTreeLocation</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testSetPackageTreeLocation()’ +</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"> +<pre> + <span class="ruby-comment cmt"># File TestAbtSystemManager.rb, line 99</span> + 99: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testSetPackageTreeLocation</span> +100: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">setPackageTreeLocation</span>( <span class="ruby-value str">"/var/lib/ericsPackages"</span> ), <span class="ruby-value str">"testSetPackageTreeLocation()"</span> ) +101: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000058"></a><b>testVerifyInstalledFiles</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testVerifyInstalledFiles()’ +</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 TestAbtSystemManager.rb, line 57</span> +57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testVerifyInstalledFiles</span> +58: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">verifyInstalledFiles</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testVerifyInstalledFiles()"</span> ) +59: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000060"></a><b>testVerifyPackageDepends</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testVerifyPackageDepends()’ +</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"> +<pre> + <span class="ruby-comment cmt"># File TestAbtSystemManager.rb, line 71</span> +71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testVerifyPackageDepends</span> +72: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">verifyPackageDepends</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testVerifyPackageDepends()"</span> ) +73: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000061"></a><b>testVerifyPackageIntegrity</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testVerifyPackageIntegrity()’ +</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"> +<pre> + <span class="ruby-comment cmt"># File TestAbtSystemManager.rb, line 78</span> +78: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testVerifyPackageIntegrity</span> +79: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">verifyPackageIntegrity</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testVerifyPackageIntegrity()"</span> ) +80: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000059"></a><b>testVerifySymlinks</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtSystemManager.testVerifySymlinks()’ +</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 TestAbtSystemManager.rb, line 64</span> +64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testVerifySymlinks</span> +65: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@sys</span>.<span class="ruby-identifier">verifySymlinks</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testVerifySymlinks()"</span> ) +66: <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-31 15:14:21 UTC (rev 134) +++ src/trunk/doc/created.rid 2006-05-31 15:28:41 UTC (rev 135) @@ -1 +1 @@ -Wed May 31 17:12:20 CEST 2006 +Wed May 31 17:26:50 CEST 2006 Added: src/trunk/doc/dot/f_15.dot =================================================================== --- src/trunk/doc/dot/f_15.dot (rev 0) +++ src/trunk/doc/dot/f_15.dot 2006-05-31 15:28:41 UTC (rev 135) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "TestAbtSystemManager.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_16 { + fontname = Arial + color = red + label = "TestAbtSystemManager.rb" + TestAbtSystemManager [ + fontcolor = black, + URL = "classes/TestAbtSystemManager.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "TestAbtSystemManager" + ] + + } + + Test__Unit__TestCase [ + URL = "classes/Test/Unit/TestCase.html", + label = "Test::Unit::TestCase" + ] + + Test__Unit__TestCase -> TestAbtSystemManager [ + + ] + +} + Added: src/trunk/doc/dot/f_15.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_15.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/f... [truncated message content] |
From: <esc...@us...> - 2006-10-08 11:44:56
|
Revision: 142 http://svn.sourceforge.net/abtlinux/?rev=142&view=rev Author: eschabell Date: 2006-10-08 04:43:55 -0700 (Sun, 08 Oct 2006) Log Message: ----------- Added abt script file, placeholder for central entry point to our package management system. Updated online docs. Modified Paths: -------------- 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/TestAbtDepEngine.html src/trunk/doc/classes/TestAbtDownloadManager.html src/trunk/doc/classes/TestAbtLogManager.html src/trunk/doc/classes/TestAbtPackage.html src/trunk/doc/classes/TestAbtPackageManager.html src/trunk/doc/classes/TestAbtQueueManager.html src/trunk/doc/classes/TestAbtReportManager.html src/trunk/doc/classes/TestAbtSystemManager.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_10.dot src/trunk/doc/dot/f_10.png src/trunk/doc/dot/f_11.dot src/trunk/doc/dot/f_11.png src/trunk/doc/dot/f_12.dot src/trunk/doc/dot/f_12.png src/trunk/doc/dot/f_13.dot src/trunk/doc/dot/f_13.png src/trunk/doc/dot/f_14.dot src/trunk/doc/dot/f_14.png src/trunk/doc/dot/f_15.dot src/trunk/doc/dot/f_15.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/dot/f_7.dot src/trunk/doc/dot/f_7.png src/trunk/doc/dot/f_8.dot src/trunk/doc/dot/f_8.png src/trunk/doc/dot/f_9.dot src/trunk/doc/dot/f_9.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/TestAbtDepEngine_rb.html src/trunk/doc/files/TestAbtDownloadManager_rb.html src/trunk/doc/files/TestAbtLogManager_rb.html src/trunk/doc/files/TestAbtPackageManager_rb.html src/trunk/doc/files/TestAbtPackage_rb.html src/trunk/doc/files/TestAbtQueueManager_rb.html src/trunk/doc/files/TestAbtReportManager_rb.html src/trunk/doc/files/TestAbtSystemManager_rb.html src/trunk/doc/fr_file_index.html src/trunk/docGen.sh Added Paths: ----------- src/trunk/abt.rb Added: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb (rev 0) +++ src/trunk/abt.rb 2006-10-08 11:43:55 UTC (rev 142) @@ -0,0 +1,30 @@ +#!/usr/bin/ruby -w + +## +# abt.rb +# +# The central package manager script to run all ABout Time Linux tasks. +# +# 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 +## +require "AbtPackageManager" +require "AbtLogManager" +require "AbtReportManager" + Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,127,99" href="AbtDepEngine.html" alt="AbtDepEngine"> + <area shape="RECT" coords="29,52,127,100" href="AbtDepEngine.html" alt="AbtDepEngine"> </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/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,161,99" href="AbtDownloadManager.html" alt="AbtDownloadManager"> + <area shape="RECT" coords="29,52,162,100" href="AbtDownloadManager.html" alt="AbtDownloadManager"> </map> -<img src="../dot/f_1.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> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtLogManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,132,99" href="AbtLogManager.html" alt="AbtLogManager"> + <area shape="RECT" coords="29,52,133,100" href="AbtLogManager.html" alt="AbtLogManager"> </map> -<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtPackage.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,116,99" href="AbtPackage.html" alt="AbtPackage"> + <area shape="RECT" coords="29,52,117,100" href="AbtPackage.html" alt="AbtPackage"> </map> -<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/AbtPackageManager.html =================================================================== --- src/trunk/doc/classes/AbtPackageManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,156,99" href="AbtPackageManager.html" alt="AbtPackageManager"> + <area shape="RECT" coords="29,52,157,100" href="AbtPackageManager.html" alt="AbtPackageManager"> </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> Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,145,99" href="AbtQueueManager.html" alt="AbtQueueManager"> + <area shape="RECT" coords="29,52,146,100" href="AbtQueueManager.html" alt="AbtQueueManager"> </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> Modified: src/trunk/doc/classes/AbtReportManager.html =================================================================== --- src/trunk/doc/classes/AbtReportManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtReportManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,145,99" href="AbtReportManager.html" alt="AbtReportManager"> + <area shape="RECT" coords="29,52,146,100" href="AbtReportManager.html" alt="AbtReportManager"> </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/classes/AbtSystemManager.html =================================================================== --- src/trunk/doc/classes/AbtSystemManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/AbtSystemManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,9 +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="28,51,151,99" href="AbtSystemManager.html" alt="AbtSystemManager"> + <area shape="RECT" coords="29,52,151,100" href="AbtSystemManager.html" alt="AbtSystemManager"> </map> -<img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/TestAbtDepEngine.html =================================================================== --- src/trunk/doc/classes/TestAbtDepEngine.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtDepEngine.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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,145,151" href="TestAbtDepEngine.html" alt="TestAbtDepEngine"> - <area shape="RECT" coords="24,7,149,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,146,152" href="TestAbtDepEngine.html" alt="TestAbtDepEngine"> + <area shape="RECT" coords="25,8,150,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_9.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/TestAbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/TestAbtDownloadManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtDownloadManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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"> + <area shape="RECT" coords="29,104,181,152" href="TestAbtDownloadManager.html" alt="TestAbtDownloadManager"> + <area shape="RECT" coords="42,8,167,56" 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/classes/TestAbtLogManager.html =================================================================== --- src/trunk/doc/classes/TestAbtLogManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtLogManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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"> + <area shape="RECT" coords="29,104,151,152" href="TestAbtLogManager.html" alt="TestAbtLogManager"> + <area shape="RECT" coords="27,8,153,56" 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/classes/TestAbtPackage.html =================================================================== --- src/trunk/doc/classes/TestAbtPackage.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtPackage.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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,135,151" href="TestAbtPackage.html" alt="TestAbtPackage"> - <area shape="RECT" coords="19,7,144,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,135,152" href="TestAbtPackage.html" alt="TestAbtPackage"> + <area shape="RECT" coords="19,8,145,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_11.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_12.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/TestAbtPackageManager.html =================================================================== --- src/trunk/doc/classes/TestAbtPackageManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtPackageManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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,175,151" href="TestAbtPackageManager.html" alt="TestAbtPackageManager"> - <area shape="RECT" coords="39,7,164,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,175,152" href="TestAbtPackageManager.html" alt="TestAbtPackageManager"> + <area shape="RECT" coords="39,8,165,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_12.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_13.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/TestAbtQueueManager.html =================================================================== --- src/trunk/doc/classes/TestAbtQueueManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtQueueManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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,167,151" href="TestAbtQueueManager.html" alt="TestAbtQueueManager"> - <area shape="RECT" coords="35,7,160,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,167,152" href="TestAbtQueueManager.html" alt="TestAbtQueueManager"> + <area shape="RECT" coords="35,8,161,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_13.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_14.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/TestAbtReportManager.html =================================================================== --- src/trunk/doc/classes/TestAbtReportManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtReportManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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,167,151" href="TestAbtReportManager.html" alt="TestAbtReportManager"> - <area shape="RECT" coords="35,7,160,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,167,152" href="TestAbtReportManager.html" alt="TestAbtReportManager"> + <area shape="RECT" coords="35,8,161,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_14.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_15.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/classes/TestAbtSystemManager.html =================================================================== --- src/trunk/doc/classes/TestAbtSystemManager.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/classes/TestAbtSystemManager.html 2006-10-08 11:43:55 UTC (rev 142) @@ -76,10 +76,10 @@ <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,169,151" href="TestAbtSystemManager.html" alt="TestAbtSystemManager"> - <area shape="RECT" coords="36,7,161,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,170,152" href="TestAbtSystemManager.html" alt="TestAbtSystemManager"> + <area shape="RECT" coords="37,8,162,56" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_15.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_16.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-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/created.rid 2006-10-08 11:43:55 UTC (rev 142) @@ -1 +1 @@ -Wed May 31 17:26:50 CEST 2006 +Sun Oct 08 13:29:10 CEST 2006 Modified: src/trunk/doc/dot/f_0.dot =================================================================== --- src/trunk/doc/dot/f_0.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_0.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,27 +3,12 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtDepEngine.rb" + label = "abt.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_1 { - fontname = Arial - color = red - label = "AbtDepEngine.rb" - AbtDepEngine [ - fontcolor = black, - URL = "classes/AbtDepEngine.html", - shape = ellipse, - color = palegoldenrod, - style = filled, - label = "AbtDepEngine" - ] - - } - } 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-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_1.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtDownloadManager.rb" + label = "AbtDepEngine.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_2 { + subgraph cluster_1 { fontname = Arial color = red - label = "AbtDownloadManager.rb" - AbtDownloadManager [ + label = "AbtDepEngine.rb" + AbtDepEngine [ fontcolor = black, - URL = "classes/AbtDownloadManager.html", + URL = "classes/AbtDepEngine.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtDownloadManager" + label = "AbtDepEngine" ] } Modified: src/trunk/doc/dot/f_1.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_10.dot =================================================================== --- src/trunk/doc/dot/f_10.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_10.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtLogManager.rb" + label = "TestAbtDownloadManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_11 { + subgraph cluster_10 { fontname = Arial color = red - label = "TestAbtLogManager.rb" - TestAbtLogManager [ + label = "TestAbtDownloadManager.rb" + TestAbtDownloadManager [ fontcolor = black, - URL = "classes/TestAbtLogManager.html", + URL = "classes/TestAbtDownloadManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtLogManager" + label = "TestAbtDownloadManager" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtLogManager [ + Test__Unit__TestCase -> TestAbtDownloadManager [ ] Modified: src/trunk/doc/dot/f_10.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_11.dot =================================================================== --- src/trunk/doc/dot/f_11.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_11.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtPackage.rb" + label = "TestAbtLogManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_12 { + subgraph cluster_11 { fontname = Arial color = red - label = "TestAbtPackage.rb" - TestAbtPackage [ + label = "TestAbtLogManager.rb" + TestAbtLogManager [ fontcolor = black, - URL = "classes/TestAbtPackage.html", + URL = "classes/TestAbtLogManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtPackage" + label = "TestAbtLogManager" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtPackage [ + Test__Unit__TestCase -> TestAbtLogManager [ ] Modified: src/trunk/doc/dot/f_11.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_12.dot =================================================================== --- src/trunk/doc/dot/f_12.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_12.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtPackageManager.rb" + label = "TestAbtPackage.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_13 { + subgraph cluster_12 { fontname = Arial color = red - label = "TestAbtPackageManager.rb" - TestAbtPackageManager [ + label = "TestAbtPackage.rb" + TestAbtPackage [ fontcolor = black, - URL = "classes/TestAbtPackageManager.html", + URL = "classes/TestAbtPackage.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtPackageManager" + label = "TestAbtPackage" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtPackageManager [ + Test__Unit__TestCase -> TestAbtPackage [ ] Modified: src/trunk/doc/dot/f_12.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_13.dot =================================================================== --- src/trunk/doc/dot/f_13.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_13.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtQueueManager.rb" + label = "TestAbtPackageManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_14 { + subgraph cluster_13 { fontname = Arial color = red - label = "TestAbtQueueManager.rb" - TestAbtQueueManager [ + label = "TestAbtPackageManager.rb" + TestAbtPackageManager [ fontcolor = black, - URL = "classes/TestAbtQueueManager.html", + URL = "classes/TestAbtPackageManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtQueueManager" + label = "TestAbtPackageManager" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtQueueManager [ + Test__Unit__TestCase -> TestAbtPackageManager [ ] Modified: src/trunk/doc/dot/f_13.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_14.dot =================================================================== --- src/trunk/doc/dot/f_14.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_14.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtReportManager.rb" + label = "TestAbtQueueManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_15 { + subgraph cluster_14 { fontname = Arial color = red - label = "TestAbtReportManager.rb" - TestAbtReportManager [ + label = "TestAbtQueueManager.rb" + TestAbtQueueManager [ fontcolor = black, - URL = "classes/TestAbtReportManager.html", + URL = "classes/TestAbtQueueManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtReportManager" + label = "TestAbtQueueManager" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtReportManager [ + Test__Unit__TestCase -> TestAbtQueueManager [ ] Modified: src/trunk/doc/dot/f_14.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_15.dot =================================================================== --- src/trunk/doc/dot/f_15.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_15.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtSystemManager.rb" + label = "TestAbtReportManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_16 { + subgraph cluster_15 { fontname = Arial color = red - label = "TestAbtSystemManager.rb" - TestAbtSystemManager [ + label = "TestAbtReportManager.rb" + TestAbtReportManager [ fontcolor = black, - URL = "classes/TestAbtSystemManager.html", + URL = "classes/TestAbtReportManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtSystemManager" + label = "TestAbtReportManager" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtSystemManager [ + Test__Unit__TestCase -> TestAbtReportManager [ ] Modified: src/trunk/doc/dot/f_15.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_2.dot =================================================================== --- src/trunk/doc/dot/f_2.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_2.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtLogManager.rb" + label = "AbtDownloadManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_3 { + subgraph cluster_2 { fontname = Arial color = red - label = "AbtLogManager.rb" - AbtLogManager [ + label = "AbtDownloadManager.rb" + AbtDownloadManager [ fontcolor = black, - URL = "classes/AbtLogManager.html", + URL = "classes/AbtDownloadManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtLogManager" + label = "AbtDownloadManager" ] } Modified: src/trunk/doc/dot/f_2.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_3.dot =================================================================== --- src/trunk/doc/dot/f_3.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_3.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtPackage.rb" + label = "AbtLogManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_4 { + subgraph cluster_3 { fontname = Arial color = red - label = "AbtPackage.rb" - AbtPackage [ + label = "AbtLogManager.rb" + AbtLogManager [ fontcolor = black, - URL = "classes/AbtPackage.html", + URL = "classes/AbtLogManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtPackage" + label = "AbtLogManager" ] } Modified: src/trunk/doc/dot/f_3.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_4.dot =================================================================== --- src/trunk/doc/dot/f_4.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_4.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtPackageManager.rb" + label = "AbtPackage.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_5 { + subgraph cluster_4 { fontname = Arial color = red - label = "AbtPackageManager.rb" - AbtPackageManager [ + label = "AbtPackage.rb" + AbtPackage [ fontcolor = black, - URL = "classes/AbtPackageManager.html", + URL = "classes/AbtPackage.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtPackageManager" + label = "AbtPackage" ] } Modified: src/trunk/doc/dot/f_4.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_5.dot =================================================================== --- src/trunk/doc/dot/f_5.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_5.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtQueueManager.rb" + label = "AbtPackageManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_6 { + subgraph cluster_5 { fontname = Arial color = red - label = "AbtQueueManager.rb" - AbtQueueManager [ + label = "AbtPackageManager.rb" + AbtPackageManager [ fontcolor = black, - URL = "classes/AbtQueueManager.html", + URL = "classes/AbtPackageManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtQueueManager" + label = "AbtPackageManager" ] } Modified: src/trunk/doc/dot/f_5.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_6.dot =================================================================== --- src/trunk/doc/dot/f_6.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_6.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtReportManager.rb" + label = "AbtQueueManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_7 { + subgraph cluster_6 { fontname = Arial color = red - label = "AbtReportManager.rb" - AbtReportManager [ + label = "AbtQueueManager.rb" + AbtQueueManager [ fontcolor = black, - URL = "classes/AbtReportManager.html", + URL = "classes/AbtQueueManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtReportManager" + label = "AbtQueueManager" ] } Modified: src/trunk/doc/dot/f_6.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_7.dot =================================================================== --- src/trunk/doc/dot/f_7.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_7.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "AbtSystemManager.rb" + label = "AbtReportManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_8 { + subgraph cluster_7 { fontname = Arial color = red - label = "AbtSystemManager.rb" - AbtSystemManager [ + label = "AbtReportManager.rb" + AbtReportManager [ fontcolor = black, - URL = "classes/AbtSystemManager.html", + URL = "classes/AbtReportManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "AbtSystemManager" + label = "AbtReportManager" ] } Modified: src/trunk/doc/dot/f_7.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_8.dot =================================================================== --- src/trunk/doc/dot/f_8.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_8.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,36 +3,27 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtDepEngine.rb" + label = "AbtSystemManager.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_9 { + subgraph cluster_8 { fontname = Arial color = red - label = "TestAbtDepEngine.rb" - TestAbtDepEngine [ + label = "AbtSystemManager.rb" + AbtSystemManager [ fontcolor = black, - URL = "classes/TestAbtDepEngine.html", + URL = "classes/AbtSystemManager.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtDepEngine" + label = "AbtSystemManager" ] } - Test__Unit__TestCase [ - URL = "classes/Test/Unit/TestCase.html", - label = "Test::Unit::TestCase" - ] - - Test__Unit__TestCase -> TestAbtDepEngine [ - - ] - } Modified: src/trunk/doc/dot/f_8.png =================================================================== (Binary files differ) Modified: src/trunk/doc/dot/f_9.dot =================================================================== --- src/trunk/doc/dot/f_9.dot 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/dot/f_9.dot 2006-10-08 11:43:55 UTC (rev 142) @@ -3,24 +3,24 @@ bgcolor = lightcyan1 fontname = Arial fontsize = 8 - label = "TestAbtDownloadManager.rb" + label = "TestAbtDepEngine.rb" node [ fontname = Arial, fontsize = 8, color = black ] - subgraph cluster_10 { + subgraph cluster_9 { fontname = Arial color = red - label = "TestAbtDownloadManager.rb" - TestAbtDownloadManager [ + label = "TestAbtDepEngine.rb" + TestAbtDepEngine [ fontcolor = black, - URL = "classes/TestAbtDownloadManager.html", + URL = "classes/TestAbtDepEngine.html", shape = ellipse, color = palegoldenrod, style = filled, - label = "TestAbtDownloadManager" + label = "TestAbtDepEngine" ] } @@ -30,7 +30,7 @@ label = "Test::Unit::TestCase" ] - Test__Unit__TestCase -> TestAbtDownloadManager [ + Test__Unit__TestCase -> TestAbtDepEngine [ ] Modified: src/trunk/doc/dot/f_9.png =================================================================== (Binary files differ) Modified: src/trunk/doc/files/AbtDepEngine_rb.html =================================================================== --- src/trunk/doc/files/AbtDepEngine_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtDepEngine_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:35:21 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,127,99" href="../classes/AbtDepEngine.html" alt="AbtDepEngine"> + <area shape="RECT" coords="29,52,127,100" href="../classes/AbtDepEngine.html" alt="AbtDepEngine"> </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/AbtDownloadManager_rb.html =================================================================== --- src/trunk/doc/files/AbtDownloadManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtDownloadManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:35:29 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,161,99" href="../classes/AbtDownloadManager.html" alt="AbtDownloadManager"> + <area shape="RECT" coords="29,52,162,100" href="../classes/AbtDownloadManager.html" alt="AbtDownloadManager"> </map> -<img src="../dot/f_1.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> Modified: src/trunk/doc/files/AbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/AbtLogManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtLogManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:35:35 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,132,99" href="../classes/AbtLogManager.html" alt="AbtLogManager"> + <area shape="RECT" coords="29,52,133,100" href="../classes/AbtLogManager.html" alt="AbtLogManager"> </map> -<img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/files/AbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/AbtPackageManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtPackageManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:35:45 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,156,99" href="../classes/AbtPackageManager.html" alt="AbtPackageManager"> + <area shape="RECT" coords="29,52,157,100" href="../classes/AbtPackageManager.html" alt="AbtPackageManager"> </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> Modified: src/trunk/doc/files/AbtPackage_rb.html =================================================================== --- src/trunk/doc/files/AbtPackage_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtPackage_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:35:14 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,116,99" href="../classes/AbtPackage.html" alt="AbtPackage"> + <area shape="RECT" coords="29,52,117,100" href="../classes/AbtPackage.html" alt="AbtPackage"> </map> -<img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/files/AbtQueueManager_rb.html =================================================================== --- src/trunk/doc/files/AbtQueueManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtQueueManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:35:52 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,145,99" href="../classes/AbtQueueManager.html" alt="AbtQueueManager"> + <area shape="RECT" coords="29,52,146,100" href="../classes/AbtQueueManager.html" alt="AbtQueueManager"> </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> Modified: src/trunk/doc/files/AbtReportManager_rb.html =================================================================== --- src/trunk/doc/files/AbtReportManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtReportManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:35:58 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,145,99" href="../classes/AbtReportManager.html" alt="AbtReportManager"> + <area shape="RECT" coords="29,52,146,100" href="../classes/AbtReportManager.html" alt="AbtReportManager"> </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/AbtSystemManager_rb.html =================================================================== --- src/trunk/doc/files/AbtSystemManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/AbtSystemManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 14:36:03 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,9 +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="28,51,151,99" href="../classes/AbtSystemManager.html" alt="AbtSystemManager"> + <area shape="RECT" coords="29,52,151,100" href="../classes/AbtSystemManager.html" alt="AbtSystemManager"> </map> -<img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> <div class="description"><p> Modified: src/trunk/doc/files/TestAbtDepEngine_rb.html =================================================================== --- src/trunk/doc/files/TestAbtDepEngine_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtDepEngine_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 15:02:26 CEST 2006</td> + <td>Wed May 31 15:12:38 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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,145,151" href="../classes/TestAbtDepEngine.html" alt="TestAbtDepEngine"> - <area shape="RECT" coords="24,7,149,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,146,152" href="../classes/TestAbtDepEngine.html" alt="TestAbtDepEngine"> + <area shape="RECT" coords="25,8,150,56" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_9.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/TestAbtDownloadManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtDownloadManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtDownloadManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 16:33:36 CEST 2006</td> + <td>Wed May 31 16:39:39 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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"> + <area shape="RECT" coords="29,104,181,152" href="../classes/TestAbtDownloadManager.html" alt="TestAbtDownloadManager"> + <area shape="RECT" coords="42,8,167,56" 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/files/TestAbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtLogManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtLogManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 16:49:58 CEST 2006</td> + <td>Wed May 31 16:53:29 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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"> + <area shape="RECT" coords="29,104,151,152" href="../classes/TestAbtLogManager.html" alt="TestAbtLogManager"> + <area shape="RECT" coords="27,8,153,56" 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/files/TestAbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtPackageManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtPackageManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 16:46:31 CEST 2006</td> + <td>Wed May 31 16:53:29 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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,175,151" href="../classes/TestAbtPackageManager.html" alt="TestAbtPackageManager"> - <area shape="RECT" coords="39,7,164,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,175,152" href="../classes/TestAbtPackageManager.html" alt="TestAbtPackageManager"> + <area shape="RECT" coords="39,8,165,56" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_12.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_13.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/TestAbtPackage_rb.html =================================================================== --- src/trunk/doc/files/TestAbtPackage_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtPackage_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 16:21:59 CEST 2006</td> + <td>Wed May 31 16:39:39 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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,135,151" href="../classes/TestAbtPackage.html" alt="TestAbtPackage"> - <area shape="RECT" coords="19,7,144,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,135,152" href="../classes/TestAbtPackage.html" alt="TestAbtPackage"> + <area shape="RECT" coords="19,8,145,56" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_11.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_12.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/TestAbtQueueManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtQueueManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtQueueManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 17:21:38 CEST 2006</td> + <td>Wed May 31 17:28:41 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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,167,151" href="../classes/TestAbtQueueManager.html" alt="TestAbtQueueManager"> - <area shape="RECT" coords="35,7,160,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,167,152" href="../classes/TestAbtQueueManager.html" alt="TestAbtQueueManager"> + <area shape="RECT" coords="35,8,161,56" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_13.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_14.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/TestAbtReportManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtReportManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtReportManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 17:11:18 CEST 2006</td> + <td>Wed May 31 17:14:21 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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,167,151" href="../classes/TestAbtReportManager.html" alt="TestAbtReportManager"> - <area shape="RECT" coords="35,7,160,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,167,152" href="../classes/TestAbtReportManager.html" alt="TestAbtReportManager"> + <area shape="RECT" coords="35,8,161,56" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_14.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_15.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/files/TestAbtSystemManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtSystemManager_rb.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/files/TestAbtSystemManager_rb.html 2006-10-08 11:43:55 UTC (rev 142) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 17:24:11 CEST 2006</td> + <td>Wed May 31 17:28:41 CEST 2006</td> </tr> </table> </td></tr> @@ -76,10 +76,10 @@ <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,169,151" href="../classes/TestAbtSystemManager.html" alt="TestAbtSystemManager"> - <area shape="RECT" coords="36,7,161,55" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> + <area shape="RECT" coords="29,104,170,152" href="../classes/TestAbtSystemManager.html" alt="TestAbtSystemManager"> + <area shape="RECT" coords="37,8,162,56" href="../classes/Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> </map> -<img src="../dot/f_15.png" usemap="#map" border=0 alt="TopLevel"> +<img src="../dot/f_16.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/doc/fr_file_index.html 2006-10-08 11:43:55 UTC (rev 142) @@ -57,5 +57,6 @@ <a href="files/TestAbtQueueManager_rb.html">TestAbtQueueManager.rb</a><br> <a href="files/TestAbtReportManager_rb.html">TestAbtReportManager.rb</a><br> <a href="files/TestAbtSystemManager_rb.html">TestAbtSystemManager.rb</a><br> +<a href="files/abt_rb.html">abt.rb</a><br> </div> </body></html> \ No newline at end of file Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-10-05 08:56:52 UTC (rev 141) +++ src/trunk/docGen.sh 2006-10-08 11:43:55 UTC (rev 142) @@ -16,7 +16,8 @@ #========================================... [truncated message content] |
From: <esc...@us...> - 2006-10-08 12:27:57
|
Revision: 145 http://svn.sourceforge.net/abtlinux/?rev=145&view=rev Author: eschabell Date: 2006-10-08 05:27:49 -0700 (Sun, 08 Oct 2006) Log Message: ----------- Removed the .rb from abt, should be just abt. Added Paths: ----------- src/trunk/abt Removed Paths: ------------- src/trunk/abt.rb Copied: src/trunk/abt (from rev 144, src/trunk/abt.rb) =================================================================== --- src/trunk/abt (rev 0) +++ src/trunk/abt 2006-10-08 12:27:49 UTC (rev 145) @@ -0,0 +1,44 @@ +#!/usr/bin/ruby -w + +## +# abt.rb +# +# The central package manager script to run all ABout Time Linux tasks. +# +# 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 +## +require "AbtPackageManager" +require "AbtLogManager" +require "AbtReportManager" +require 'optparse' + +## +# Parsing our options. +## +options = {} +ARGV.options do |options| + options.on_tail('-h', '--help', 'Print this help information'){puts options; exit} + options.on('-q', '--quiet', 'be verry quiet') do + puts "OK, I'm being very, very, very quiet... can't you tell?" + end + options.on('-v', '--verbose', 'Run verbosely'){|v| puts "Option to be verbose passed"} + + options.parse! +end \ No newline at end of file Deleted: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-10-08 12:27:25 UTC (rev 144) +++ src/trunk/abt.rb 2006-10-08 12:27:49 UTC (rev 145) @@ -1,44 +0,0 @@ -#!/usr/bin/ruby -w - -## -# abt.rb -# -# The central package manager script to run all ABout Time Linux tasks. -# -# 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 -## -require "AbtPackageManager" -require "AbtLogManager" -require "AbtReportManager" -require 'optparse' - -## -# Parsing our options. -## -options = {} -ARGV.options do |options| - options.on_tail('-h', '--help', 'Print this help information'){puts options; exit} - options.on('-q', '--quiet', 'be verry quiet') do - puts "OK, I'm being very, very, very quiet... can't you tell?" - end - options.on('-v', '--verbose', 'Run verbosely'){|v| puts "Option to be verbose passed"} - - options.parse! -end \ 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-10-12 19:03:15
|
Revision: 148 http://svn.sourceforge.net/abtlinux/?rev=148&view=rev Author: eschabell Date: 2006-10-12 12:03:02 -0700 (Thu, 12 Oct 2006) Log Message: ----------- Moved back to rb file, keeps the editors happy and working with ruby. Added Paths: ----------- src/trunk/abt.rb Removed Paths: ------------- src/trunk/abt Deleted: src/trunk/abt =================================================================== --- src/trunk/abt 2006-10-08 12:32:19 UTC (rev 147) +++ src/trunk/abt 2006-10-12 19:03:02 UTC (rev 148) @@ -1,44 +0,0 @@ -#!/usr/bin/ruby -w - -## -# abt.rb -# -# The central package manager script to run all ABout Time Linux tasks. -# -# 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 -## -require "AbtPackageManager" -require "AbtLogManager" -require "AbtReportManager" -require 'optparse' - -## -# Parsing our options. -## -options = {} -ARGV.options do |options| - options.on_tail('-h', '--help', 'Print this help information'){puts options; exit} - options.on('-q', '--quiet', 'be verry quiet') do - puts "OK, I'm being very, very, very quiet... can't you tell?" - end - options.on('-v', '--verbose', 'Run verbosely'){|v| puts "Option to be verbose passed"} - - options.parse! -end \ No newline at end of file Copied: src/trunk/abt.rb (from rev 147, src/trunk/abt) =================================================================== --- src/trunk/abt.rb (rev 0) +++ src/trunk/abt.rb 2006-10-12 19:03:02 UTC (rev 148) @@ -0,0 +1,44 @@ +#!/usr/bin/ruby -w + +## +# abt.rb +# +# The central package manager script to run all ABout Time Linux tasks. +# +# 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 +## +require "AbtPackageManager" +require "AbtLogManager" +require "AbtReportManager" +require 'optparse' + +## +# Parsing our options. +## +options = {} +ARGV.options do |options| + options.on_tail('-h', '--help', 'Print this help information'){puts options; exit} + options.on('-q', '--quiet', 'be verry quiet') do + puts "OK, I'm being very, very, very quiet... can't you tell?" + end + options.on('-v', '--verbose', 'Run verbosely'){|v| puts "Option to be verbose passed"} + + options.parse! +end \ 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-11-13 21:48:48
|
Revision: 162 http://svn.sourceforge.net/abtlinux/?rev=162&view=rev Author: eschabell Date: 2006-11-13 00:31:15 -0800 (Mon, 13 Nov 2006) Log Message: ----------- Implemented show-details for our test package fortune. I am getting a trailing 'nil' in the output, not sure why yet but it works. Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/abt.rb src/trunk/packages/fortune.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-11-13 07:59:57 UTC (rev 161) +++ src/trunk/AbtPackage.rb 2006-11-13 08:31:15 UTC (rev 162) @@ -117,26 +117,24 @@ # <b>RETURNS:</b> <i>hash</i> - Contains all AbtPackage attributes (constants). ## def details - - return { - '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 - } - + puts "**************************************" + puts "Package name : " + @name + puts "Executable : " + @execName + puts "Version : " + @version + puts "Source directory : " + @srcDir + puts "Homepage : " + @homepage + puts "Source location : " + @srcUrl + puts "Depends On : " + @dependsOn + puts "Relies On : " + @reliesOn + puts "Optional DO : " + @optionalDO + puts "Optional RO : " + @optionalRO + puts "Security hash : " + @hashCheck + puts "Patches : " + @patches + puts "Patches hash : " + @patchesHashCheck + puts "Mirror : " + @mirrorPath + puts "License : " + @license + puts "Description : " + @description + puts "**************************************" end ## @@ -193,4 +191,4 @@ def post end -end \ No newline at end of file +end Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-13 07:59:57 UTC (rev 161) +++ src/trunk/abt.rb 2006-11-13 08:31:15 UTC (rev 162) @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -wI/home/erics/workspace/abtapi/packages +#!/usr/bin/ruby -I/home/erics/workspace/abtapi/packages ## # abt.rb @@ -152,13 +152,10 @@ when "show-details" if ( ARGV.length == 2 ) options['package'] = ARGV[1] - puts "Display details for package : " + options['package'] - # TODO: make this work! - #require options['package'] - #package = Fortune.new - #puts package.details - #exit + require options['package'] + package = Fortune.new + puts package.details else show.usage exit Modified: src/trunk/packages/fortune.rb =================================================================== --- src/trunk/packages/fortune.rb 2006-11-13 07:59:57 UTC (rev 161) +++ src/trunk/packages/fortune.rb 2006-11-13 08:31:15 UTC (rev 162) @@ -1,6 +1,7 @@ #!/usr/bin/ruby -w require "AbtPackage" + ## # fortune.rb # @@ -32,25 +33,25 @@ private - @name = "Fortune" - @version = "mod-9708" - @srcDir = "#{@name.downcase}-#{@version}" + $name = "Fortune" + $version = "mod-9708" + $srcDir = "#{$name.downcase}-#{$version}" - @packageData = { - '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", + $packageData = { + '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' => "", - 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", - 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", - 'patcheshashCheck' => "", - 'mirrorPath' => "http://mirror.abtlinux.org/#{@srcDir}.tar.gz", + 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c2", + '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." } @@ -65,9 +66,6 @@ # ## def initialize() - - super( @packageData ) - + 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-11-14 15:02:02
|
Revision: 167 http://svn.sourceforge.net/abtlinux/?rev=167&view=rev Author: eschabell Date: 2006-11-14 07:01:50 -0800 (Tue, 14 Nov 2006) Log Message: ----------- Split out usage stuff into own class file. Also adjusted show-details to make use of hash returned from method called, this cleared up the 'nil' we were getting in the output. Modified Paths: -------------- src/trunk/abt.rb Added Paths: ----------- src/trunk/AbtUsage.rb Added: src/trunk/AbtUsage.rb =================================================================== --- src/trunk/AbtUsage.rb (rev 0) +++ src/trunk/AbtUsage.rb 2006-11-14 15:01:50 UTC (rev 167) @@ -0,0 +1,120 @@ +#!/usr/bin/ruby -I./packages + +## +# AbtUsage.rb +# +# The usage reporting class for AbTLinux. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright November 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 AbtUsage + + def usage( section ) + puts "Usage: abt.rb [options]\n\n" + + case section + + when "packages" + usagePackages + + when "queries" + usageQueries + + when "generation" + usageGeneration + + when "downloads" + usageDownloads + + when "fix" + usageFix + + when "maintenance" + usageMaintenance + + else + usagePackages + usageQueries + usageGeneration + usageDownloads + usageFix + usageMaintenance + end + end + + def usagePackages + puts "\npackages:" + puts " -i, install [package]\t\tInstall given package." + puts " -ri, reinstall [package]\t\tReinstall given package." + puts " -r, remove [package]\t\tRemove given package." + puts " -dg, downgrade [version] [package]\tDowngrade given package to given version." + puts " -f, freeze [package]\t\tHolds given package at current version, prevents upgrades.\n" + end + + def usageQueries + puts "\nqueries:" + puts " -s, search [string | regexp ]\tSearch package descriptions for given input." + puts " show-details [package]\t\tShow give package details." + puts " show-build [package]\t\tShow build log of given package." + puts " show-depends [package]\t\tShow the dependency tree of given package." + puts " show-files [package]\t\tShow all installed files from given package." + puts " show-owner [file]\t\tShow the package owning given file." + puts " show-installed\t\t\tShow list of all installed packages." + puts " show-frozen\t\t\t\tShow list of all frozen packages." + puts " show-untracked\t\t\tShow all files on system not tracked by AbTLinux." + puts " show-journal\t\t\t\tShow the system journal." + puts " show-iqueue\t\t\t\tShow the contents of the install queue." + puts " show-patches\t\t\t\tShow the current available patches for installed package tree.\n" + end + + def usageGeneration + puts "\ngeneration:" + puts " show-updates\t\tShow a package listing with available update versions." + puts " html\t\t\tGenerate HTML page from installed packages:" + puts " \t\t\t\t(package name with hyperlink to package website and version installed)\n" + end + + def usageDownloads + puts "\ndownloads:" + puts " -d, download [package]\t\tRetrieve given package sources." + puts " -u, update [package]|[tree]\tUpdate given package or tree from AbTLinux repository." + puts " -n, news\t\t\t\tDisplays newsfeed from AbTLinux website.\n" + end + + def usageFix + puts "\nfix:" + puts " purge-src\t\t\t\tRemove source caches for packages no longer installed." + puts " purge-logs\t\t\t\tRemove log files for packages no longer installed." + puts " verify-files [package]\t\tInstalled files are verified for given package." + puts " verify-symlinks [package]\t\tSymlinks verified for given package." + puts " verify-deps [package]\t\tDependency tree is verified for given package." + puts " verify-integrity [package]\t\tVerify integrity of installed files for given package." + puts " fix [package]\t\tGiven package is verified and fixed if needed.\n" + end + + def usageMaintenance + puts "\nmaintenance:" + puts " build-location [host]\t\tSets global location (default: localhost) for retrieving cached package builds." + puts " package-repo [add|remove|list] [URI]" + puts " add - add package repository to list." + puts " remove - remove a package repository from list." + puts " list - display current repository list.\n" + end +end Property changes on: src/trunk/AbtUsage.rb ___________________________________________________________________ Name: svn:executable + * Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-14 15:00:32 UTC (rev 166) +++ src/trunk/abt.rb 2006-11-14 15:01:50 UTC (rev 167) @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -I/home/erics/workspace/abtapi/packages +#!/usr/bin/ruby -I./packages ## # abt.rb @@ -27,105 +27,13 @@ require 'AbtPackageManager' require 'AbtLogManager' require 'AbtReportManager' +require 'AbtDownloadManager' +require 'AbtUsage' require 'optparse' -class AbtUsage +$PACKAGE_PATH = "./packages/" +$SOURCES_REPOSITORY = "/var/spool/abt/sources" - $PACKAGE_PATH = "./packages/" - - def usage( section ) - puts "Usage: abt.rb [options]\n\n" - - case section - - when "packages" - usagePackages - - when "queries" - usageQueries - - when "generation" - usageGeneration - - when "downloads" - usageDownloads - - when "fix" - usageFix - - when "maintenance" - usageMaintenance - - else - usagePackages - usageQueries - usageGeneration - usageDownloads - usageFix - usageMaintenance - end - end - - def usagePackages - puts "\npackages:" - puts " -i, install [package]\t\tInstall given package." - puts " -ri, reinstall [package]\t\tReinstall given package." - puts " -r, remove [package]\t\tRemove given package." - puts " -dg, downgrade [version] [package]\tDowngrade given package to given version." - puts " -f, freeze [package]\t\tHolds given package at current version, prevents upgrades.\n" - end - - def usageQueries - puts "\nqueries:" - puts " -s, search [string | regexp ]\tSearch package descriptions for given input." - puts " show-details [package]\t\tShow give package details." - puts " show-build [package]\t\tShow build log of given package." - puts " show-depends [package]\t\tShow the dependency tree of given package." - puts " show-files [package]\t\tShow all installed files from given package." - puts " show-owner [file]\t\tShow the package owning given file." - puts " show-installed\t\t\tShow list of all installed packages." - puts " show-frozen\t\t\t\tShow list of all frozen packages." - puts " show-untracked\t\t\tShow all files on system not tracked by AbTLinux." - puts " show-journal\t\t\t\tShow the system journal." - puts " show-iqueue\t\t\t\tShow the contents of the install queue." - puts " show-patches\t\t\t\tShow the current available patches for installed package tree.\n" - end - - def usageGeneration - puts "\ngeneration:" - puts " show-updates\t\tShow a package listing with available update versions." - puts " html\t\t\tGenerate HTML page from installed packages:" - puts " \t\t\t\t(package name with hyperlink to package website and version installed)\n" - end - - def usageDownloads - puts "\ndownloads:" - puts " -d, download [package]\t\tRetrieve given package sources." - puts " -u, update [package]|[tree]\tUpdate given package or tree from AbTLinux repository." - puts " -n, news\t\t\t\tDisplays newsfeed from AbTLinux website.\n" - end - - def usageFix - puts "\nfix:" - puts " purge-src\t\t\t\tRemove source caches for packages no longer installed." - puts " purge-logs\t\t\t\tRemove log files for packages no longer installed." - puts " verify-files [package]\t\tInstalled files are verified for given package." - puts " verify-symlinks [package]\t\tSymlinks verified for given package." - puts " verify-deps [package]\t\tDependency tree is verified for given package." - puts " verify-integrity [package]\t\tVerify integrity of installed files for given package." - puts " fix [package]\t\tGiven package is verified and fixed if needed.\n" - end - - def usageMaintenance - puts "\nmaintenance:" - puts " build-location [host]\t\tSets global location (default: localhost) for retrieving cached package builds." - puts " package-repo [add|remove|list] [URI]" - puts " add - add package repository to list." - puts " remove - remove a package repository from list." - puts " list - display current repository list.\n" - end -end - ## # Parsing our options. ## @@ -194,15 +102,33 @@ end when "show-details" - if ( ARGV.length == 2 && FileTest.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) + if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) options['package'] = ARGV[1] + + require options['package'] # pickup the package data. + package = Fortune.new # TODO: change this to dynamic naming. + details = package.details - require options['package'] - package = Fortune.new - puts package.details + puts "**************************************" + puts "Package name : " + details['name'] + puts "Executable : " + details['execName'] + puts "Version : " + details['version'] + puts "Source directory : " + details['srcDir'] + puts "Homepage : " + details['homepage'] + puts "Source location : " + details['srcUrl'] + puts "Depends On : " + details['dependsOn'] + puts "Relies On : " + details['reliesOn'] + puts "Optional DO : " + details['optionalDO'] + puts "Optional RO : " + details['optionalRO'] + puts "Security hash : " + details['hashCheck'] + puts "Patches : " + details['patches'] + puts "Patches hash : " + details['patchesHashCheck'] + puts "Mirror : " + details['mirrorPath'] + puts "License : " + details['license'] + puts "Description : " + details['description'] + puts "**************************************" else show.usage( "queries" ) - exit end when "show-build" @@ -280,9 +206,18 @@ show.usage( "downloads" ) when "download", "-d" - if ( ARGV.length == 2 ) + if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) options['package'] = ARGV[1] puts "Retrieve sources for package : " + options['package'] + if ( !File.directory?( $SOURCES_REPOSITORY ) ) + FileUtils.mkdir_p $SOURCES_REPOSITORY # initialize directory. + end + manager = AbtDownloadManager.new() + if ( manager.retrievePackageSource( options['package'] ) ) + puts "\nDownloading of package " + options['package'] + " sources completed, see " + $SOURCES_REPOSITORY + else + puts "\nDOWNLOADING - failed to download source for " + options['package'] + end else show.usage( "downloads" ) exit This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-14 17:56:09
|
Revision: 171 http://svn.sourceforge.net/abtlinux/?rev=171&view=rev Author: eschabell Date: 2006-11-14 09:56:07 -0800 (Tue, 14 Nov 2006) Log Message: ----------- Completed download of a package source. Modified Paths: -------------- src/trunk/AbtDownloadManager.rb src/trunk/abt.rb Modified: src/trunk/AbtDownloadManager.rb =================================================================== --- src/trunk/AbtDownloadManager.rb 2006-11-14 17:53:57 UTC (rev 170) +++ src/trunk/AbtDownloadManager.rb 2006-11-14 17:56:07 UTC (rev 171) @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -w +#!/usr/bin/ruby ## # AbtDownloadManager.rb @@ -42,15 +42,30 @@ end ## - # Downloads a given package source. + # Downloads a given package source. If the file already exists, returns + # true as if download completed. # # <b>PARAM</b> <i>String</i> - the name of the package for which the source # is to be downloaded. + # <b>PARAM</b> <i>String</i> - the path to the download destination. # # <b>RETURN</b> <i>boolean</i> - True if the package source has been # downloaded, otherwise false. ## - def retrievePackageSource( packageName ) + def retrievePackageSource( packageName, destination ) + + require packageName + package = eval( packageName.capitalize + '.new' ) + + if ( File.exist?( destination + "/" + File.basename( package.srcUrl ) ) ) + return true + end + + if ( system( "cd " + destination + "; wget " + package.srcUrl ) ) # TODO: rm system call? + return true + end + + return false # download failed. end ## @@ -93,4 +108,4 @@ def updatePackageTree end -end \ No newline at end of file +end Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-14 17:53:57 UTC (rev 170) +++ src/trunk/abt.rb 2006-11-14 17:56:07 UTC (rev 171) @@ -29,6 +29,7 @@ require 'AbtReportManager' require 'AbtDownloadManager' require 'AbtUsage' +require 'fileutils' require 'optparse' $PACKAGE_PATH = "./packages/" @@ -208,16 +209,19 @@ when "download", "-d" if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) options['package'] = ARGV[1] - puts "Retrieve sources for package : " + options['package'] + if ( !File.directory?( $SOURCES_REPOSITORY ) ) - FileUtils.mkdir_p $SOURCES_REPOSITORY # initialize directory. + FileUtils.mkdir_p( $SOURCES_REPOSITORY ) # initialize directory. end + manager = AbtDownloadManager.new - if ( manager.retrievePackageSource( options['package'] ) ) - puts "\nDownloading of package " + options['package'] + " sources completed, see " + $SOURCES_REPOSITORY + + if ( manager.retrievePackageSource( options['package'], $SOURCES_REPOSITORY ) ) + puts "\nDownloading of " + options['package'] + " to " + $SOURCES_REPOSITORY + " completed.\n\n" else - puts "\nDOWNLOADING - failed to download source for " + options['package'] + puts "\nDOWNLOADING - failed to download source for " + options['package'] + "\n\n" end + else show.usage( "downloads" ) exit This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-14 17:59:23
|
Revision: 172 http://svn.sourceforge.net/abtlinux/?rev=172&view=rev Author: eschabell Date: 2006-11-14 09:59:16 -0800 (Tue, 14 Nov 2006) Log Message: ----------- Added usage to doc generation and reran docs. Modified Paths: -------------- 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/TestAbtDepEngine.html src/trunk/doc/classes/TestAbtDownloadManager.html src/trunk/doc/classes/TestAbtLogManager.html src/trunk/doc/classes/TestAbtPackage.html src/trunk/doc/classes/TestAbtPackageManager.html src/trunk/doc/classes/TestAbtQueueManager.html src/trunk/doc/classes/TestAbtReportManager.html src/trunk/doc/classes/TestAbtSystemManager.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_10.dot src/trunk/doc/dot/f_10.png src/trunk/doc/dot/f_11.dot src/trunk/doc/dot/f_11.png src/trunk/doc/dot/f_12.dot src/trunk/doc/dot/f_12.png src/trunk/doc/dot/f_13.dot src/trunk/doc/dot/f_13.png src/trunk/doc/dot/f_14.dot src/trunk/doc/dot/f_14.png src/trunk/doc/dot/f_15.dot src/trunk/doc/dot/f_15.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.dot src/trunk/doc/dot/f_8.png src/trunk/doc/dot/f_9.dot src/trunk/doc/dot/f_9.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/TestAbtDepEngine_rb.html src/trunk/doc/files/TestAbtDownloadManager_rb.html src/trunk/doc/files/TestAbtLogManager_rb.html src/trunk/doc/files/TestAbtPackageManager_rb.html src/trunk/doc/files/TestAbtPackage_rb.html src/trunk/doc/files/TestAbtQueueManager_rb.html src/trunk/doc/files/TestAbtReportManager_rb.html src/trunk/doc/files/TestAbtSystemManager_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/doc/classes/AbtUsage.html src/trunk/doc/dot/f_16.dot src/trunk/doc/dot/f_16.png src/trunk/doc/files/AbtUsage_rb.html Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,128,98" href="AbtDepEngine.html" alt="AbtDepEngine"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000074">new</a></li> + <li><a href="#M000082">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000074"></a><b>new</b>() + <a name="M000082"></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('M000074_source')" id="l_M000074_source">show source</a> ]</p> - <div id="M000074_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000082_source')" id="l_M000082_source">show source</a> ]</p> + <div id="M000082_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/AbtDownloadManager.html =================================================================== --- src/trunk/doc/classes/AbtDownloadManager.html 2006-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtDownloadManager.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,163,98" href="AbtDownloadManager.html" alt="AbtDownloadManager"> </map> <img src="../dot/f_1.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -175,24 +175,26 @@ <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 73</span> -73: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> -74: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 88</span> +88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrieveNewsFeed</span> +89: <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 ) + <a name="M000012"></a><b>retrievePackageSource</b>( packageName, destination ) </div> <div class="description"> <p> -Downloads a given package source. +Downloads a given package source. If the file already exists, returns true +as if download completed. </p> <p> <b>PARAM</b> <em>String</em> - the name of the package for which the source -is to be downloaded. +is to be downloaded. <b>PARAM</b> <em>String</em> - the path to the +download destination. </p> <p> <b>RETURN</b> <em>boolean</em> - True if the package source has been @@ -203,9 +205,22 @@ <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 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 AbtDownloadManager.rb, line 55</span> +55: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageSource</span>( <span class="ruby-identifier">packageName</span>, <span class="ruby-identifier">destination</span> ) +56: +57: <span class="ruby-identifier">require</span> <span class="ruby-identifier">packageName</span> +58: <span class="ruby-identifier">package</span> = <span class="ruby-identifier">eval</span>( <span class="ruby-identifier">packageName</span>.<span class="ruby-identifier">capitalize</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'.new'</span> ) +59: +60: <span class="ruby-keyword kw">if</span> ( <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>( <span class="ruby-identifier">destination</span> <span class="ruby-operator">+</span> <span class="ruby-value str">"/"</span> <span class="ruby-operator">+</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>( <span class="ruby-identifier">package</span>.<span class="ruby-identifier">srcUrl</span> ) ) ) +61: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> +62: <span class="ruby-keyword kw">end</span> +63: +64: <span class="ruby-keyword kw">if</span> ( <span class="ruby-identifier">system</span>( <span class="ruby-value str">"cd "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">destination</span> <span class="ruby-operator">+</span> <span class="ruby-value str">"; wget "</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">package</span>.<span class="ruby-identifier">srcUrl</span> ) ) <span class="ruby-comment cmt"># TODO: rm system call?</span> +65: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> +66: <span class="ruby-keyword kw">end</span> +67: +68: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-comment cmt"># download failed.</span> +69: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -231,9 +246,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 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> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 79</span> +79: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">retrievePackageTree</span>( <span class="ruby-identifier">packageTreeName</span> ) +80: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -258,9 +273,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 84</span> -84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> -85: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 99</span> + 99: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackage</span> +100: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -282,9 +297,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 93</span> -93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> -94: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtDownloadManager.rb, line 108</span> +108: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">updatePackageTree</span> +109: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtLogManager.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,133,98" href="AbtLogManager.html" alt="AbtLogManager"> </map> <img src="../dot/f_2.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,11 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000053">cachePackage</a></li> - <li><a href="#M000052">logPackageBuild</a></li> - <li><a href="#M000051">logPackageInstall</a></li> - <li><a href="#M000054">logToJournal</a></li> - <li><a href="#M000050">new</a></li> + <li><a href="#M000061">cachePackage</a></li> + <li><a href="#M000060">logPackageBuild</a></li> + <li><a href="#M000059">logPackageInstall</a></li> + <li><a href="#M000057">logPackageIntegrity</a></li> + <li><a href="#M000062">logToJournal</a></li> + <li><a href="#M000058">new</a></li> </ul> @@ -132,7 +133,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>new</b>() + <a name="M000058"></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('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('M000058_source')" id="l_M000058_source">show source</a> ]</p> + <div id="M000058_source" class="dyn-source"> <pre> <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> @@ -157,7 +158,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000053"></a><b>cachePackage</b>( package ) + <a name="M000061"></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('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('M000061_source')" id="l_M000061_source">show source</a> ]</p> + <div id="M000061_source" class="dyn-source"> <pre> <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> ) @@ -185,7 +186,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000052"></a><b>logPackageBuild</b>( package ) + <a name="M000060"></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('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('M000060_source')" id="l_M000060_source">show source</a> ]</p> + <div id="M000060_source" class="dyn-source"> <pre> <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> ) @@ -213,7 +214,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000051"></a><b>logPackageInstall</b>( package ) + <a name="M000059"></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('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('M000059_source')" id="l_M000059_source">show source</a> ]</p> + <div id="M000059_source" class="dyn-source"> <pre> <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> ) @@ -241,7 +242,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000054"></a><b>logToJournal</b>( message ) + <a name="M000062"></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('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('M000062_source')" id="l_M000062_source">show source</a> ]</p> + <div id="M000062_source" class="dyn-source"> <pre> <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> ) @@ -267,7 +268,37 @@ </div> </div> </div> +<div class="sectiontitle">Protected Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000057"></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('M000057_source')" id="l_M000057_source">show source</a> ]</p> + <div id="M000057_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File AbtLogManager.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">logPackageIntegrity</span>( <span class="ruby-identifier">package</span> ) +43: <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-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtPackage.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,115,98" href="AbtPackage.html" alt="AbtPackage"> </map> <img src="../dot/f_3.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -319,25 +319,23 @@ <pre> <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> + 94: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'name'</span>] + 95: <span class="ruby-ivar">@execName</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'execName'</span>] + 96: <span class="ruby-ivar">@version</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'version'</span>] + 97: <span class="ruby-ivar">@srcDir</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcDir'</span>] + 98: <span class="ruby-ivar">@homepage</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'homepage'</span>] + 99: <span class="ruby-ivar">@srcUrl</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'srcUrl'</span>] +100: <span class="ruby-ivar">@dependsOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'dependsOn'</span>] +101: <span class="ruby-ivar">@reliesOn</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'reliesOn'</span>] +102: <span class="ruby-ivar">@optionalDO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalDO'</span>] +103: <span class="ruby-ivar">@optionalRO</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'optionalRO'</span>] +104: <span class="ruby-ivar">@hashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'hashCheck'</span>] +105: <span class="ruby-ivar">@patches</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patches'</span>] +106: <span class="ruby-ivar">@patchesHashCheck</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'patchesHashCheck'</span>] +107: <span class="ruby-ivar">@mirrorPath</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'mirrorPath'</span>] +108: <span class="ruby-ivar">@license</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'license'</span>] +109: <span class="ruby-ivar">@description</span> = <span class="ruby-identifier">data</span>[<span class="ruby-value str">'description'</span>] +110: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -361,9 +359,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 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> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 164</span> +164: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +165: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -390,9 +388,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 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> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 156</span> +156: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +157: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -415,29 +413,27 @@ <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 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> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 117</span> +117: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +118: <span class="ruby-keyword kw">return</span> { +119: <span class="ruby-value str">"name"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@name</span>, +120: <span class="ruby-value str">"execName"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@execName</span>, +121: <span class="ruby-value str">"version"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@version</span>, +122: <span class="ruby-value str">"srcDir"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcDir</span>, +123: <span class="ruby-value str">"homepage"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@homepage</span>, +124: <span class="ruby-value str">"srcUrl"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@srcUrl</span>, +125: <span class="ruby-value str">"dependsOn"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@dependsOn</span>, +126: <span class="ruby-value str">"reliesOn"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@reliesOn</span>, +127: <span class="ruby-value str">"optionalDO"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalDO</span>, +128: <span class="ruby-value str">"optionalRO"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@optionalRO</span>, +129: <span class="ruby-value str">"hashCheck"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@hashCheck</span>, +130: <span class="ruby-value str">"patches"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patches</span>, +131: <span class="ruby-value str">"patchesHashCheck"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@patchesHashCheck</span>, +132: <span class="ruby-value str">"mirrorPath"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@mirrorPath</span>, +133: <span class="ruby-value str">"license"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@license</span>, +134: <span class="ruby-value str">"description"</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@description</span> +135: } +136: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -459,9 +455,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 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> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 181</span> +181: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +182: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -484,9 +480,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 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> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 189</span> +189: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +190: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -509,9 +505,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 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> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 144</span> +144: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +145: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -535,9 +531,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 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> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 173</span> +173: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +174: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/AbtPackageManager.html =================================================================== --- src/trunk/doc/classes/AbtPackageManager.html 2006-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,157,98" href="AbtPackageManager.html" alt="AbtPackageManager"> </map> <img src="../dot/f_4.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -118,12 +118,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000035">downgradePackage</a></li> - <li><a href="#M000036">freezePackage</a></li> - <li><a href="#M000032">installPackage</a></li> - <li><a href="#M000031">new</a></li> - <li><a href="#M000033">reinstallPackage</a></li> - <li><a href="#M000034">removePackage</a></li> + <li><a href="#M000042">downgradePackage</a></li> + <li><a href="#M000043">freezePackage</a></li> + <li><a href="#M000039">installPackage</a></li> + <li><a href="#M000038">new</a></li> + <li><a href="#M000040">reinstallPackage</a></li> + <li><a href="#M000041">removePackage</a></li> </ul> @@ -134,7 +134,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000031"></a><b>new</b>() + <a name="M000038"></a><b>new</b>() </div> <div class="description"> <p> @@ -147,8 +147,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('M000038_source')" id="l_M000038_source">show source</a> ]</p> + <div id="M000038_source" class="dyn-source"> <pre> <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> @@ -160,7 +160,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000035"></a><b>downgradePackage</b>( package, version ) + <a name="M000042"></a><b>downgradePackage</b>( package, version ) </div> <div class="description"> <p> @@ -178,8 +178,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('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> <pre> <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> ) @@ -190,7 +190,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000036"></a><b>freezePackage</b>( package ) + <a name="M000043"></a><b>freezePackage</b>( package ) </div> <div class="description"> <p> @@ -206,8 +206,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('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> <pre> <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> ) @@ -218,7 +218,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000032"></a><b>installPackage</b>( package ) + <a name="M000039"></a><b>installPackage</b>( package ) </div> <div class="description"> <p> @@ -233,8 +233,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('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> <pre> <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> ) @@ -245,7 +245,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000033"></a><b>reinstallPackage</b>( package ) + <a name="M000040"></a><b>reinstallPackage</b>( package ) </div> <div class="description"> <p> @@ -260,8 +260,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('M000040_source')" id="l_M000040_source">show source</a> ]</p> + <div id="M000040_source" class="dyn-source"> <pre> <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> ) @@ -272,7 +272,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000034"></a><b>removePackage</b>( package ) + <a name="M000041"></a><b>removePackage</b>( package ) </div> <div class="description"> <p> @@ -287,8 +287,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('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> <pre> <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> ) Modified: src/trunk/doc/classes/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,147,98" href="AbtQueueManager.html" alt="AbtQueueManager"> </map> <img src="../dot/f_5.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000073">new</a></li> + <li><a href="#M000081">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000073"></a><b>new</b>() + <a name="M000081"></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('M000073_source')" id="l_M000073_source">show source</a> ]</p> - <div id="M000073_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000081_source')" id="l_M000081_source">show source</a> ]</p> + <div id="M000081_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-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtReportManager.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,147,98" href="AbtReportManager.html" alt="AbtReportManager"> </map> <img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000103">generateHTMLPackageListing</a></li> - <li><a href="#M000091">new</a></li> - <li><a href="#M000100">searchPackageDescriptions</a></li> - <li><a href="#M000099">showFileOwner</a></li> - <li><a href="#M000095">showFrozenPackages</a></li> - <li><a href="#M000093">showInstalledPackages</a></li> - <li><a href="#M000098">showJournal</a></li> - <li><a href="#M000096">showPackageDependencies</a></li> - <li><a href="#M000092">showPackageDetails</a></li> - <li><a href="#M000094">showPackageLog</a></li> - <li><a href="#M000101">showQueue</a></li> - <li><a href="#M000097">showUntrackedFiles</a></li> - <li><a href="#M000102">showUpdates</a></li> + <li><a href="#M000111">generateHTMLPackageListing</a></li> + <li><a href="#M000099">new</a></li> + <li><a href="#M000108">searchPackageDescriptions</a></li> + <li><a href="#M000107">showFileOwner</a></li> + <li><a href="#M000103">showFrozenPackages</a></li> + <li><a href="#M000101">showInstalledPackages</a></li> + <li><a href="#M000106">showJournal</a></li> + <li><a href="#M000104">showPackageDependencies</a></li> + <li><a href="#M000100">showPackageDetails</a></li> + <li><a href="#M000102">showPackageLog</a></li> + <li><a href="#M000109">showQueue</a></li> + <li><a href="#M000105">showUntrackedFiles</a></li> + <li><a href="#M000110">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000091"></a><b>new</b>() + <a name="M000099"></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('M000091_source')" id="l_M000091_source">show source</a> ]</p> - <div id="M000091_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000099_source')" id="l_M000099_source">show source</a> ]</p> + <div id="M000099_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="M000103"></a><b>generateHTMLPackageListing</b>() + <a name="M000111"></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('M000103_source')" id="l_M000103_source">show source</a> ]</p> - <div id="M000103_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000111_source')" id="l_M000111_source">show source</a> ]</p> + <div id="M000111_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="M000100"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000108"></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('M000100_source')" id="l_M000100_source">show source</a> ]</p> - <div id="M000100_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000108_source')" id="l_M000108_source">show source</a> ]</p> + <div id="M000108_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="M000099"></a><b>showFileOwner</b>( file ) + <a name="M000107"></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('M000099_source')" id="l_M000099_source">show source</a> ]</p> - <div id="M000099_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000107_source')" id="l_M000107_source">show source</a> ]</p> + <div id="M000107_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="M000095"></a><b>showFrozenPackages</b>() + <a name="M000103"></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('M000095_source')" id="l_M000095_source">show source</a> ]</p> - <div id="M000095_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show source</a> ]</p> + <div id="M000103_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="M000093"></a><b>showInstalledPackages</b>() + <a name="M000101"></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('M000093_source')" id="l_M000093_source">show source</a> ]</p> - <div id="M000093_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000101_source')" id="l_M000101_source">show source</a> ]</p> + <div id="M000101_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="M000098"></a><b>showJournal</b>() + <a name="M000106"></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('M000098_source')" id="l_M000098_source">show source</a> ]</p> - <div id="M000098_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000106_source')" id="l_M000106_source">show source</a> ]</p> + <div id="M000106_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="M000096"></a><b>showPackageDependencies</b>( package ) + <a name="M000104"></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('M000096_source')" id="l_M000096_source">show source</a> ]</p> - <div id="M000096_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show source</a> ]</p> + <div id="M000104_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="M000092"></a><b>showPackageDetails</b>( package ) + <a name="M000100"></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('M000092_source')" id="l_M000092_source">show source</a> ]</p> - <div id="M000092_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000100_source')" id="l_M000100_source">show source</a> ]</p> + <div id="M000100_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="M000094"></a><b>showPackageLog</b>( package, logType ) + <a name="M000102"></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('M000094_source')" id="l_M000094_source">show source</a> ]</p> - <div id="M000094_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show source</a> ]</p> + <div id="M000102_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="M000101"></a><b>showQueue</b>( queueType ) + <a name="M000109"></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('M000101_source')" id="l_M000101_source">show source</a> ]</p> - <div id="M000101_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000109_source')" id="l_M000109_source">show source</a> ]</p> + <div id="M000109_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="M000097"></a><b>showUntrackedFiles</b>() + <a name="M000105"></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('M000097_source')" id="l_M000097_source">show source</a> ]</p> - <div id="M000097_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000105_source')" id="l_M000105_source">show source</a> ]</p> + <div id="M000105_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="M000102"></a><b>showUpdates</b>( target ) + <a name="M000110"></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('M000102_source')" id="l_M000102_source">show source</a> ]</p> - <div id="M000102_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000110_source')" id="l_M000110_source">show source</a> ]</p> + <div id="M000110_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/AbtSystemManager.html =================================================================== --- src/trunk/doc/classes/AbtSystemManager.html 2006-11-14 17:56:07 UTC (rev 171) +++ src/trunk/doc/classes/AbtSystemManager.html 2006-11-14 17:59:16 UTC (rev 172) @@ -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="27,50,152,98" href="AbtSystemManager.html" alt="AbtSystemManager"> </map> <img src="../dot/f_7.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Added: src/trunk/doc/classes/AbtUsage.html =================================================================== --- src/trunk/doc/classes/AbtUsage.html (rev 0) +++ src/trunk/doc/classes/AbtUsage.html 2006-11-14 17:59:16 UTC (rev 172) @@ -0,0 +1,316 @@ +<?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: AbtUsage</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 />AbtUsage</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/AbtUsage_rb.html">AbtUsage.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="27,50,107,98" href="AbtUsage.html" alt="AbtUsage"> +</map> +<img src="../dot/f_8.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +AbtUsage.rb +</p> +<p> +The usage reporting class for AbTLinux. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright November +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 optio... [truncated message content] |
From: <esc...@us...> - 2006-11-15 12:01:36
|
Revision: 177 http://svn.sourceforge.net/abtlinux/?rev=177&view=rev Author: eschabell Date: 2006-11-15 04:01:34 -0800 (Wed, 15 Nov 2006) Log Message: ----------- Methodized the root login. Modified Paths: -------------- src/trunk/AbtPackageManager.rb src/trunk/abt.rb Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2006-11-15 11:50:23 UTC (rev 176) +++ src/trunk/AbtPackageManager.rb 2006-11-15 12:01:34 UTC (rev 177) @@ -98,5 +98,26 @@ ## def freezePackage( package ) end - -end \ No newline at end of file + + ## + # Provides for a log through for root access using su. + # + # <b>PARAM</b> <i>Array</i> - the arguments passed to abt. + # + # <b>RETURN</b> <i>void</i> + ## + def rootLogin( arguments ) + if ( Process.uid != 0 ) + args = "" + puts "\nEnter root password:" + + for i in 0...ARGV.length + args = args + " " + ARGV[i] + end + + # TODO: remove the ./abt call on deployment. + system( 'su -c "./abt ' + args + '" root' ) + exit + end + end +end Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-15 11:50:23 UTC (rev 176) +++ src/trunk/abt.rb 2006-11-15 12:01:34 UTC (rev 177) @@ -37,31 +37,21 @@ $SOURCES_REPOSITORY = "/var/spool/abt/sources" ## -# Parsing our options. +# Setup for parsing arguments. ## +manager = AbtPackageManager.new options = Hash.new() show = AbtUsage.new(); +# deal with usage request. if ( ARGV.length == 0 ) show.usage( "all" ) end -# from here on out, need root access. -if ( Process.uid != 0 ) - args = "" - - puts "\nEnter root password:" - - for i in 0...ARGV.length - args = args + " " + ARGV[i] - end +# login as root for the rest. +manager.rootLogin( ARGV ) - # TODO: remove the ./abt call on deployment. - system( 'su -c "./abt ' + args + '" root' ) - exit -end - - +# parse arguments. case ARGV[0] when "install", "-i" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-15 14:13:46
|
Revision: 180 http://svn.sourceforge.net/abtlinux/?rev=180&view=rev Author: eschabell Date: 2006-11-15 06:13:36 -0800 (Wed, 15 Nov 2006) Log Message: ----------- Adjusted download manager test to run with real package now that we have one. Modified Paths: -------------- src/trunk/AbtDownloadManager.rb src/trunk/AbtLogManager.rb src/trunk/TestAbtDownloadManager.rb src/trunk/abt.rb Modified: src/trunk/AbtDownloadManager.rb =================================================================== --- src/trunk/AbtDownloadManager.rb 2006-11-15 14:12:50 UTC (rev 179) +++ src/trunk/AbtDownloadManager.rb 2006-11-15 14:13:36 UTC (rev 180) @@ -55,13 +55,16 @@ def retrievePackageSource( packageName, destination ) require packageName + logger = AbtLogManager.new package = eval( packageName.capitalize + '.new' ) if ( File.exist?( destination + "/" + File.basename( package.srcUrl ) ) ) + logger.logToJournal( "Download not needed, existing source found for " + packageName ) return true end if ( system( "cd " + destination + "; wget " + package.srcUrl ) ) # TODO: rm system call? + logger.logToJournal( "Download completed for " + packageName ) return true end Modified: src/trunk/AbtLogManager.rb =================================================================== --- src/trunk/AbtLogManager.rb 2006-11-15 14:12:50 UTC (rev 179) +++ src/trunk/AbtLogManager.rb 2006-11-15 14:13:36 UTC (rev 180) @@ -27,6 +27,9 @@ ## class AbtLogManager + $LOG_PATH = "/var/log/abt" + $JOURNAL = "/var/log/abt/journal.log" + protected ## @@ -53,6 +56,7 @@ # <b>RETURN</b> <i>AbtLogManager</i> - an initialized AbtLogManager object. ## def initialize + end ## @@ -97,10 +101,16 @@ # # <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. + # <b>RETURN</b> <i>void</i> ## def logToJournal( message ) + require 'date' + + if ( !File.directory?( $LOG_PATH ) ) + FileUtils.mkdir_p( $LOG_PATH ) # initialize logs. + end + + log = File.new($JOURNAL, File::WRONLY|File::APPEND|File::CREAT, 0644) + log.puts DateTime::now.to_s + ' : ' + message end - -end \ No newline at end of file +end Modified: src/trunk/TestAbtDownloadManager.rb =================================================================== --- src/trunk/TestAbtDownloadManager.rb 2006-11-15 14:12:50 UTC (rev 179) +++ src/trunk/TestAbtDownloadManager.rb 2006-11-15 14:13:36 UTC (rev 180) @@ -41,7 +41,7 @@ # Test method for 'AbtDownloadManager.testRetrievePackageSource()' ## def testRetrievePackageSource() - assert( @download.retrievePackageSource( "dummy" ), "testRetrievePackageSource()" ) + assert( @download.retrievePackageSource( "fortune", "/tmp" ), "testRetrievePackageSource()" ) end ## Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-15 14:12:50 UTC (rev 179) +++ src/trunk/abt.rb 2006-11-15 14:13:36 UTC (rev 180) @@ -40,8 +40,9 @@ # Setup for parsing arguments. ## manager = AbtPackageManager.new +logger = AbtLogManager.new options = Hash.new() -show = AbtUsage.new(); +show = AbtUsage.new(); # deal with usage request. if ( ARGV.length == 0 ) @@ -112,6 +113,7 @@ when "show-details" if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) options['package'] = ARGV[1] + logger.logToJournal( "Starting to show details for " + options['package'] ) require options['package'] # pickup called package class. package = eval( options['package'].capitalize + '.new' ) # evaluates package.new methode dynamically. @@ -135,6 +137,7 @@ puts "License : " + details['license'] puts "Description : " + details['description'] puts "**************************************" + logger.logToJournal( "Completed show details for " + options['package'] ) else show.usage( "queries" ) end @@ -216,17 +219,21 @@ when "download", "-d" if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) options['package'] = ARGV[1] + logger.logToJournal( "Starting to download " + options['package'] ) if ( !File.directory?( $SOURCES_REPOSITORY ) ) FileUtils.mkdir_p( $SOURCES_REPOSITORY ) # initialize directory. + logger.logToJournal( "Had to initialize directory - " + $SOURCES_REPOSITORY ) end manager = AbtDownloadManager.new if ( manager.retrievePackageSource( options['package'], $SOURCES_REPOSITORY ) ) - puts "\nDownloading of " + options['package'] + " to " + $SOURCES_REPOSITORY + " completed.\n\n" + logger.logToJournal( "Finished download for " + options['package'] ) + puts "\nDownloading of " + options['package'] + " to " + $SOURCES_REPOSITORY + " completed.\n\n" else - puts "\nDOWNLOADING - failed to download source for " + options['package'] + "\n\n" + logger.logToJournal( "FAILURE to download " + options['package'] ) + puts "\nDOWNLOADING - failed to download source for " + options['package'] + "\n\n" end else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-16 14:00:43
|
Revision: 187 http://svn.sourceforge.net/abtlinux/?rev=187&view=rev Author: eschabell Date: 2006-11-16 06:00:42 -0800 (Thu, 16 Nov 2006) Log Message: ----------- Moved global var for logging path info to abt.rb (main script) as these should all be in the front. Added logging of news retrieval. Modified Paths: -------------- src/trunk/AbtLogManager.rb src/trunk/abt.rb Modified: src/trunk/AbtLogManager.rb =================================================================== --- src/trunk/AbtLogManager.rb 2006-11-16 10:46:57 UTC (rev 186) +++ src/trunk/AbtLogManager.rb 2006-11-16 14:00:42 UTC (rev 187) @@ -27,9 +27,6 @@ ## class AbtLogManager - $LOG_PATH = "/var/log/abt" - $JOURNAL = "/var/log/abt/journal.log" - protected ## @@ -106,8 +103,8 @@ def logToJournal( message ) require 'date' - if ( !File.directory?( $LOG_PATH ) ) - FileUtils.mkdir_p( $LOG_PATH ) # initialize logs. + if ( !File.directory?( $JOURNAL_PATH ) ) + FileUtils.mkdir_p( $JOURNAL_PATH ) # initialize logs. end log = File.new($JOURNAL, File::WRONLY|File::APPEND|File::CREAT, 0644) Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-16 10:46:57 UTC (rev 186) +++ src/trunk/abt.rb 2006-11-16 14:00:42 UTC (rev 187) @@ -40,7 +40,10 @@ $PACKAGE_PATH = "./packages/" $SOURCES_REPOSITORY = "/var/spool/abt/sources" $ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" +$JOURNAL_PATH = "/var/log/abt" +$JOURNAL = "#{$JOURNAL_PATH}/journal.log" + ## # Setup for parsing arguments. ## @@ -224,7 +227,10 @@ puts " (package name with hyperlink to package website and version installed)" show.usage( "generation" ) + # abt news | -n when "news", "-n" + logger.logToJournal( "Starting to retrieve AbTLinux news." ) + # pick up the abtlinux.org news feed. news = Net::HTTP.get( URI.parse( $ABTNEWS ) ) @@ -233,7 +239,7 @@ begin rss = RSS::Parser.parse(news, false) rescue RSS::Error - end + end if ( rss.nil? ) puts $ABTNEWS + " is not RSS 1.0/2.0." @@ -249,7 +255,9 @@ puts "SUBJECT: #{item.description}\n" end end + logger.logToJournal( "Completed the retrieval of AbTLinux news." ) + # abt [-d | download ] <package> when "download", "-d" if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) options['package'] = ARGV[1] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-16 14:37:56
|
Revision: 188 http://svn.sourceforge.net/abtlinux/?rev=188&view=rev Author: eschabell Date: 2006-11-16 06:13:01 -0800 (Thu, 16 Nov 2006) Log Message: ----------- Adjusted logging test message for clarity. Added abtConfig file for system config variables for abt package manager. Adjusted test suite and abt to use new config file. Modified Paths: -------------- src/trunk/TestAbtLogManager.rb src/trunk/abt.rb src/trunk/testSuiteAbt.rb Added Paths: ----------- src/trunk/abtConfig.rb Modified: src/trunk/TestAbtLogManager.rb =================================================================== --- src/trunk/TestAbtLogManager.rb 2006-11-16 14:00:42 UTC (rev 187) +++ src/trunk/TestAbtLogManager.rb 2006-11-16 14:13:01 UTC (rev 188) @@ -70,7 +70,7 @@ # Test method for 'AbtLogManager.testLogToJournal()' ## def testLogToJournal() - assert( @log.logToJournal( "Test message." ), "testLogToJournal()" ) + assert( @log.logToJournal( "Test message from AbtTestSuite." ), "testLogToJournal()" ) end end Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-16 14:00:42 UTC (rev 187) +++ src/trunk/abt.rb 2006-11-16 14:13:01 UTC (rev 188) @@ -24,6 +24,7 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## +require 'abtConfig' require 'AbtPackageManager' require 'AbtLogManager' require 'AbtReportManager' @@ -37,13 +38,7 @@ require 'optparse' -$PACKAGE_PATH = "./packages/" -$SOURCES_REPOSITORY = "/var/spool/abt/sources" -$ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" -$JOURNAL_PATH = "/var/log/abt" -$JOURNAL = "#{$JOURNAL_PATH}/journal.log" - ## # Setup for parsing arguments. ## Added: src/trunk/abtConfig.rb =================================================================== --- src/trunk/abtConfig.rb (rev 0) +++ src/trunk/abtConfig.rb 2006-11-16 14:13:01 UTC (rev 188) @@ -0,0 +1,31 @@ +#!/usr/bin/ruby -w + +## +# abtConfig.rb +# +# The system configuration for the abt package manager. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright July 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 +## +$PACKAGE_PATH = "./packages/" +$SOURCES_REPOSITORY = "/var/spool/abt/sources" +$ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" +$JOURNAL_PATH = "/var/log/abt" +$JOURNAL = "#{$JOURNAL_PATH}/journal.log" Property changes on: src/trunk/abtConfig.rb ___________________________________________________________________ Name: svn:executable + * Modified: src/trunk/testSuiteAbt.rb =================================================================== --- src/trunk/testSuiteAbt.rb 2006-11-16 14:00:42 UTC (rev 187) +++ src/trunk/testSuiteAbt.rb 2006-11-16 14:13:01 UTC (rev 188) @@ -7,6 +7,7 @@ end require 'test/unit' +require 'abtConfig' require 'TestAbtDepEngine' require 'TestAbtDownloadManager' require 'TestAbtLogManager' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-17 14:15:39
|
Revision: 192 http://svn.sourceforge.net/abtlinux/?rev=192&view=rev Author: eschabell Date: 2006-11-17 06:15:32 -0800 (Fri, 17 Nov 2006) Log Message: ----------- Cleaned up new command to print more information per item and to limit the list to the three most recent news items only (fit in a console easily that way). Modified Paths: -------------- src/trunk/abt.rb src/trunk/abtConfig.rb Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-16 20:47:21 UTC (rev 191) +++ src/trunk/abt.rb 2006-11-17 14:15:32 UTC (rev 192) @@ -43,10 +43,10 @@ # Setup needed classes and get ready # to parse arguments. ## -manager = AbtPackageManager.new -logger = AbtLogManager.new -options = Hash.new() -show = AbtUsage.new(); +manager = AbtPackageManager.new +logger = AbtLogManager.new +options = Hash.new() +show = AbtUsage.new() # deal with usage request. if ( ARGV.length == 0 ) @@ -240,20 +240,28 @@ if ( rss.nil? ) puts $ABTNEWS + " is not RSS 1.0/2.0." else - puts "\n\nThe latest and greatest news from AbTLinux:" - puts "===========================================" + puts "\n\n" + puts "=======================" + puts "= News from AbTLinux: =" + puts "=======================" + puts "\n" - rss.items.reverse.each do |item| - title = "News item : #{item.title}" - puts "\n#{title}" - - for i in 0...title.length - print "=" + itemCount = 0 # only printing three items. + rss.items.each do |item| + itemCount += 1 + if ( itemCount <= $MAX_NEWS_ITEMS ) + # format some of the item data. + author = item.author.split( '<' ) + description = item.description.sub( '[/html]', '' ) + + puts "************************************" + puts "Date : #{item.date}" + puts "Author : #{author[0]}" + puts "Link : #{item.link}" + puts "Title : #{item.title}" + puts "\n#{description}" + puts "************************************\n\n" end - - stripped = item.description.sub( '[/html]', '' ) - stripped = stripped.sub( '[click here]', ' ' ) - puts "\n#{stripped}\n\n" end end logger.logToJournal( "Completed the retrieval of AbTLinux news." ) Modified: src/trunk/abtConfig.rb =================================================================== --- src/trunk/abtConfig.rb 2006-11-16 20:47:21 UTC (rev 191) +++ src/trunk/abtConfig.rb 2006-11-17 14:15:32 UTC (rev 192) @@ -29,3 +29,4 @@ $ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" $JOURNAL_PATH = "/var/log/abt" $JOURNAL = "#{$JOURNAL_PATH}/journal.log" +$MAX_NEWS_ITEMS = 3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-17 15:26:26
|
Revision: 193 http://svn.sourceforge.net/abtlinux/?rev=193&view=rev Author: eschabell Date: 2006-11-17 07:17:16 -0800 (Fri, 17 Nov 2006) Log Message: ----------- Renamed the keys to simplify presentation of the details, now a dynamic presentation of all keys except the top six things we present per package. Future extra keys added to the AbtPackage::details will just apprear here. Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/abt.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-11-17 14:15:32 UTC (rev 192) +++ src/trunk/AbtPackage.rb 2006-11-17 15:17:16 UTC (rev 193) @@ -116,22 +116,22 @@ ## def details return { - "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 + "Package name" => @name, + "Executable" => @execName, + "Version" => @version, + "Source location" => @srcDir, + "Homepage" => @homepage, + "Source uri" => @srcUrl, + "Depends On" => @dependsOn, + "Relies On" => @reliesOn, + "Optional DO" => @optionalDO, + "Optional RO" => @optionalRO, + "Security hash" => @hashCheck, + "Patches" => @patches, + "Patches hash" => @patchesHashCheck, + "Mirror" => @mirrorPath, + "License" => @license, + "Description" => @description } end Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-17 14:15:32 UTC (rev 192) +++ src/trunk/abt.rb 2006-11-17 15:17:16 UTC (rev 193) @@ -123,24 +123,31 @@ package = eval( options['package'].capitalize + '.new' ) # evaluates package.new methode dynamically. details = package.details - puts "**************************************" - puts "Package name : " + details['name'] - puts "Executable : " + details['execName'] - puts "Version : " + details['version'] - puts "Source directory : " + details['srcDir'] - puts "Homepage : " + details['homepage'] - puts "Source location : " + details['srcUrl'] - puts "Depends On : " + details['dependsOn'] - puts "Relies On : " + details['reliesOn'] - puts "Optional DO : " + details['optionalDO'] - puts "Optional RO : " + details['optionalRO'] - puts "Security hash : " + details['hashCheck'] - puts "Patches : " + details['patches'] - puts "Patches hash : " + details['patchesHashCheck'] - puts "Mirror : " + details['mirrorPath'] - puts "License : " + details['license'] - puts "Description : " + details['description'] - puts "**************************************" + puts "|=====================================" + puts "| Package name\t:#{details['Package name']}" + details.delete( "Package name" ) + puts "| Version\t: #{details['Version']}" + details.delete( "Version" ) + puts "| Homepage\t: #{details['Homepage']}" + details.delete( "Homepage" ) + puts "| Executable\t: #{details['Executable']}" + details.delete( "Executable" ) + puts "| Source uri\t: #{details['Source uri']}" + details.delete( "Source uri" ) + puts "| Description\t: #{details['Description']}" + details.delete( "Description" ) + puts "|=====================================" + puts "|=====================================" + + details.each do |name, value| + print "| #{name}\t" + if ( name.length < 14 ) + print "\t" + end + puts ": #{value}" + end + + puts "|=====================================" logger.logToJournal( "Completed show details for " + options['package'] ) else show.usage( "queries" ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-18 11:12:20
|
Revision: 197 http://svn.sourceforge.net/abtlinux/?rev=197&view=rev Author: eschabell Date: 2006-11-18 03:12:18 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Adjusted abt news to report the last 10 of our new, forum threads and posts off the rss feeds. Modified Paths: -------------- src/trunk/abt.rb src/trunk/abtConfig.rb Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-18 10:30:38 UTC (rev 196) +++ src/trunk/abt.rb 2006-11-18 11:12:18 UTC (rev 197) @@ -235,42 +235,39 @@ logger.logToJournal( "Starting to retrieve AbTLinux news." ) # pick up the abtlinux.org news feed. - news = Net::HTTP.get( URI.parse( $ABTNEWS ) ) + news = Net::HTTP.get( URI.parse( $ABTNEWS ) ) + threads = Net::HTTP.get( URI.parse( $ABTNEWS_THREADS ) ) + posts = Net::HTTP.get( URI.parse( $ABTNEWS_POSTS ) ) - # display the feed neatly. - rss = nil - begin - rss = RSS::Parser.parse(news, false) + newsArray = [ news, threads, posts ] + + # display the feeds. + newsArray.each_with_index do |feed, i| + rss = nil + begin + rss = RSS::Parser.parse(feed, false) rescue RSS::Error - end + end - if ( rss.nil? ) - puts $ABTNEWS + " is not RSS 1.0/2.0." - else - puts "\n\n" - puts "=======================" - puts "= News from AbTLinux: =" - puts "=======================" - puts "\n" + + if ( rss.nil? ) + puts "Feed #{i} is not RSS 1.0/2.0." + logger.logToJournal( "Failed to display news feed as feed #{i} is not RSS 1.0/2.0." ) + else + puts "\n\n" + puts "*** #{rss.channel.title} ***" - itemCount = 0 # only printing three items. - rss.items.each do |item| - itemCount += 1 - if ( itemCount <= $MAX_NEWS_ITEMS ) - # format some of the item data. - author = item.author.split( '<' ) - description = item.description.sub( '[/html]', '' ) - - puts "************************************" - puts "Date : #{item.date}" - puts "Author : #{author[0]}" - puts "Link : #{item.link}" - puts "Title : #{item.title}" - puts "\n#{description}" - puts "************************************\n\n" + rss.items.each_with_index do |item, itemCount| + itemCount += 1 + if ( itemCount <= $MAX_NEWS_ITEMS ) + # format some of the item data. + description = item.description.sub( '[/html]', '' ) + puts "#{itemCount} #{item.link} #{item.title}" + end end end end + logger.logToJournal( "Completed the retrieval of AbTLinux news." ) # abt [-d | download ] <package> Modified: src/trunk/abtConfig.rb =================================================================== --- src/trunk/abtConfig.rb 2006-11-18 10:30:38 UTC (rev 196) +++ src/trunk/abtConfig.rb 2006-11-18 11:12:18 UTC (rev 197) @@ -26,7 +26,11 @@ ## $PACKAGE_PATH = "./packages/" $SOURCES_REPOSITORY = "/var/spool/abt/sources" + $ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" +$ABTNEWS_THREADS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?6.2" +$ABTNEWS_POSTS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?7.2" +$MAX_NEWS_ITEMS = 10 # shows last 10 items + $JOURNAL_PATH = "/var/log/abt" $JOURNAL = "#{$JOURNAL_PATH}/journal.log" -$MAX_NEWS_ITEMS = 3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-18 11:57:34
|
Revision: 199 http://svn.sourceforge.net/abtlinux/?rev=199&view=rev Author: eschabell Date: 2006-11-18 03:57:33 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Removed max number of items for news feeds, feed is limited to 9 items already. Adjusted usage to show multiple feeds instead of one. Modified Paths: -------------- src/trunk/AbtUsage.rb src/trunk/abt.rb src/trunk/abtConfig.rb Modified: src/trunk/AbtUsage.rb =================================================================== --- src/trunk/AbtUsage.rb 2006-11-18 11:13:19 UTC (rev 198) +++ src/trunk/AbtUsage.rb 2006-11-18 11:57:33 UTC (rev 199) @@ -122,7 +122,7 @@ puts "\ndownloads:" puts " -d, download [package]\t\tRetrieve given package sources." puts " -u, update [package]|[tree]\tUpdate given package or tree from AbTLinux repository." - puts " -n, news\t\t\t\tDisplays newsfeed from AbTLinux website.\n" + puts " -n, news\t\t\t\tDisplays newsfeeds from AbTLinux website.\n" end ## Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-18 11:13:19 UTC (rev 198) +++ src/trunk/abt.rb 2006-11-18 11:57:33 UTC (rev 199) @@ -259,11 +259,7 @@ rss.items.each_with_index do |item, itemCount| itemCount += 1 - if ( itemCount <= $MAX_NEWS_ITEMS ) - # format some of the item data. - description = item.description.sub( '[/html]', '' ) - puts "#{itemCount} #{item.link} #{item.title}" - end + puts "#{itemCount} #{item.link} #{item.title}" end end end Modified: src/trunk/abtConfig.rb =================================================================== --- src/trunk/abtConfig.rb 2006-11-18 11:13:19 UTC (rev 198) +++ src/trunk/abtConfig.rb 2006-11-18 11:57:33 UTC (rev 199) @@ -30,7 +30,6 @@ $ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" $ABTNEWS_THREADS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?6.2" $ABTNEWS_POSTS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?7.2" -$MAX_NEWS_ITEMS = 10 # shows last 10 items $JOURNAL_PATH = "/var/log/abt" $JOURNAL = "#{$JOURNAL_PATH}/journal.log" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-18 15:25:43
|
Revision: 204 http://svn.sourceforge.net/abtlinux/?rev=204&view=rev Author: eschabell Date: 2006-11-18 07:25:35 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Migrated the show-journal, show-details off to the reporting class. Made start on install package functionality, up to and including placing package in install queue (current code shows this with an install queue dump). Modified Paths: -------------- src/trunk/abt.rb src/trunk/abtConfig.rb Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-18 15:23:11 UTC (rev 203) +++ src/trunk/abt.rb 2006-11-18 15:25:35 UTC (rev 204) @@ -29,6 +29,7 @@ require 'AbtLogManager' require 'AbtReportManager' require 'AbtDownloadManager' +require 'AbtQueueManager' require 'AbtUsage' require 'fileutils' require 'net/http' @@ -43,10 +44,12 @@ # Setup needed classes and get ready # to parse arguments. ## -manager = AbtPackageManager.new -logger = AbtLogManager.new -options = Hash.new() -show = AbtUsage.new() +manager = AbtPackageManager.new +logger = AbtLogManager.new +queuer = AbtQueueManager.new +reporter = AbtReportManager.new +options = Hash.new +show = AbtUsage.new # deal with usage request. if ( ARGV.length == 0 ) @@ -60,9 +63,43 @@ case ARGV[0] when "install", "-i" - if ( ARGV.length == 2 ) + if ( ARGV.length == 2 && File.exist?( "#{$PACKAGE_PATH}#{ARGV[1]}.rb" ) ) options['package'] = ARGV[1] - puts "Installing package : " + options['package'] + logger.logToJournal( "Starting to install #{options['package']}" ) + + require options['package'] # pickup called package class. + package = eval( "#{options['package'].capitalize}.new" ) # evaluates package.new methode dynamically. + details = package.details + + queuer.addPackageToQueue( options['package'], "install" ) + + # Reached point where pkg in install queue + reporter.showQueue( "install" ); + + # TODO: finish up the following steps per install scenario: + # + # check deps + # add missing deps to install queue + # get details + # pre section + # download + # unpack + # configure section + # set install location + # ./configure + # save package.configure + # build section + # make + # save package.build + # pre install section + # install section + # make install + # save pacakge.install + # save package.integrity + # post section + # clean source build directory + # notify user + else show.usage( "packages" ) exit @@ -119,36 +156,11 @@ options['package'] = ARGV[1] logger.logToJournal( "Starting to show details for " + options['package'] ) - require options['package'] # pickup called package class. - package = eval( options['package'].capitalize + '.new' ) # evaluates package.new methode dynamically. - details = package.details - - puts "|=====================================" - puts "| Package name\t: #{details['Package name']}" - details.delete( "Package name" ) - puts "| Version\t: #{details['Version']}" - details.delete( "Version" ) - puts "| Homepage\t: #{details['Homepage']}" - details.delete( "Homepage" ) - puts "| Executable\t: #{details['Executable']}" - details.delete( "Executable" ) - puts "| Source uri\t: #{details['Source uri']}" - details.delete( "Source uri" ) - puts "| Description\t: #{details['Description']}" - details.delete( "Description" ) - puts "|=====================================" - puts "|=====================================" - - details.each do |name, value| - print "| #{name}\t" - if ( name.length < 14 ) - print "\t" - end - puts ": #{value}" + if ( reporter.showPackageDetails( options['package'] ) ) + logger.logToJournal( "Completed show details for " + options['package'] ) + else + puts "Problems processing the details for #{options['package']}." end - - puts "|=====================================" - logger.logToJournal( "Completed show details for " + options['package'] ) else show.usage( "queries" ) end @@ -203,15 +215,7 @@ show.usage( "queries" ) when "show-journal" - if ( File.exist?( $JOURNAL ) ) - puts "\n\nAbTLinux journal:" - puts "=================" - log = IO.readlines( $JOURNAL ) - log.each{ |line| puts line } - puts "\n\n" - else - puts "AbTLinux journal is empty at this time." - end + reporter.showJournal when "show-iqueue" puts "Display contents of install queue." Modified: src/trunk/abtConfig.rb =================================================================== --- src/trunk/abtConfig.rb 2006-11-18 15:23:11 UTC (rev 203) +++ src/trunk/abtConfig.rb 2006-11-18 15:25:35 UTC (rev 204) @@ -31,5 +31,7 @@ $ABTNEWS_THREADS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?6.2" $ABTNEWS_POSTS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?7.2" -$JOURNAL_PATH = "/var/log/abt" -$JOURNAL = "#{$JOURNAL_PATH}/journal.log" +$ABT_LOGS = "/var/log/abt" +$JOURNAL = "#{$ABT_LOGS}/journal.log" + +$TIMESTAMP = Time.now.strftime( "%Y-%m-%d %H:%M:%S (%Z)" ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-18 18:01:28
|
Revision: 207 http://svn.sourceforge.net/abtlinux/?rev=207&view=rev Author: eschabell Date: 2006-11-18 10:01:24 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Moved install package code over to class where it needs to be. Modified Paths: -------------- src/trunk/AbtPackageManager.rb src/trunk/abt.rb Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2006-11-18 17:38:57 UTC (rev 206) +++ src/trunk/AbtPackageManager.rb 2006-11-18 18:01:24 UTC (rev 207) @@ -28,9 +28,9 @@ class AbtPackageManager protected - + private - + public ## @@ -50,6 +50,34 @@ # false. ## def installPackage( package ) + require package + packager = eval( "#{package.capitalize}.new" ) + + queuer = AbtQueueManager.new + logger = AbtLogManager.new + + # get package details. + details = packager.details + + # add to install queue. + if ( !queuer.addPackageToQueue( package, "install" ) ) + logger.logToJournal( "Failed to add #{package} to install queue." ) + return false + end + + return true + # TODO: finish up the following steps per install scenario: + # + # check deps + # add missing deps to install queue + # get details + # pre section + # configure section + # build section + # pre install section + # install section + # post section + # clean source build directory end ## Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-18 17:38:57 UTC (rev 206) +++ src/trunk/abt.rb 2006-11-18 18:01:24 UTC (rev 207) @@ -46,7 +46,6 @@ ## manager = AbtPackageManager.new logger = AbtLogManager.new -queuer = AbtQueueManager.new reporter = AbtReportManager.new options = Hash.new show = AbtUsage.new @@ -67,39 +66,14 @@ options['package'] = ARGV[1] logger.logToJournal( "Starting to install #{options['package']}" ) - require options['package'] # pickup called package class. - package = eval( "#{options['package'].capitalize}.new" ) # evaluates package.new methode dynamically. - details = package.details + if ( manager.installPackage( options['package'] ) ) + puts "Completed install of #{options['package']}." + logger.logToJournal( "Completed install of #{options['package']}." ) + else + puts "#{options['package'].capitalize} install failed, see journal for possible reasons." + end - queuer.addPackageToQueue( options['package'], "install" ) - - # Reached point where pkg in install queue - reporter.showQueue( "install" ); - - # TODO: finish up the following steps per install scenario: - # - # check deps - # add missing deps to install queue - # get details - # pre section - # download - # unpack - # configure section - # set install location - # ./configure - # save package.configure - # build section - # make - # save package.build - # pre install section - # install section - # make install - # save pacakge.install - # save package.integrity - # post section - # clean source build directory - # notify user - + reporter.showQueue( "install" ); # DEBUG. else show.usage( "packages" ) exit @@ -406,4 +380,7 @@ show.usage( "maintenance" ) exit end # case repoAction. + + else + show.usage( "all" ) end # case ARGV[0]. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-18 18:16:17
|
Revision: 208 http://svn.sourceforge.net/abtlinux/?rev=208&view=rev Author: eschabell Date: 2006-11-18 10:16:14 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Updated unit tests to make use of fortune where package name is needed. Modified Paths: -------------- src/trunk/TestAbtLogManager.rb src/trunk/TestAbtPackageManager.rb src/trunk/TestAbtReportManager.rb Modified: src/trunk/TestAbtLogManager.rb =================================================================== --- src/trunk/TestAbtLogManager.rb 2006-11-18 18:01:24 UTC (rev 207) +++ src/trunk/TestAbtLogManager.rb 2006-11-18 18:16:14 UTC (rev 208) @@ -41,7 +41,7 @@ # Test method for 'AbtLogManager.testLogPackageIntegrity()' ## def testLogPackageIntegrity() - #assert( @log.logPackageIntegrity( "dummy" ), "testLogPackageIntegrity()" ) + #assert( @log.logPackageIntegrity( "fortune" ), "testLogPackageIntegrity()" ) assert( false, "testLogPackageIntegrity()" ) end @@ -49,21 +49,21 @@ # Test method for 'AbtLogManager.testLogPackageInstall()' ## def testLogPackageInstall() - assert( @log.logPackageInstall( "dummy" ), "testLogPackageInstall()" ) + assert( @log.logPackageInstall( "fortune" ), "testLogPackageInstall()" ) end ## # Test method for 'AbtLogManager.testLogPackageBuild()' ## def testLogPackageBuild() - assert( @log.logPackageBuild( "dummy" ), "testLogPackageBuild()" ) + assert( @log.logPackageBuild( "fortune" ), "testLogPackageBuild()" ) end ## # Test method for 'AbtLogManager.testCachePackage()' ## def testCachePackage() - assert( @log.cachePackage( "dummy" ), "testCachePackage()" ) + assert( @log.cachePackage( "fortune" ), "testCachePackage()" ) end ## Modified: src/trunk/TestAbtPackageManager.rb =================================================================== --- src/trunk/TestAbtPackageManager.rb 2006-11-18 18:01:24 UTC (rev 207) +++ src/trunk/TestAbtPackageManager.rb 2006-11-18 18:16:14 UTC (rev 208) @@ -41,35 +41,35 @@ # Test method for 'AbtPackageManager.testInstallPackage()' ## def testInstallPackage - assert( @pkgMgr.installPackage( "dummy" ), "testInstallPackage()" ) + assert( @pkgMgr.installPackage( "fortune" ), "testInstallPackage()" ) end ## # Test method for 'AbtPackageManager.testReinstallPackage()' ## def testReinstallPackage - assert( @pkgMgr.reinstallPackage( "dummy" ), "testReinstallPackage()" ) + assert( @pkgMgr.reinstallPackage( "fortune" ), "testReinstallPackage()" ) end ## # Test method for 'AbtPackageManager.testRemovePackage()' ## def testRemovePackage - assert( @pkgMgr.removePackage( "dummy" ), "testRemovePackage()" ) + assert( @pkgMgr.removePackage( "fortune" ), "testRemovePackage()" ) end ## # Test method for 'AbtPackageManager.testDowngradePackage()' ## def testDowngradePackage - assert( @pkgMgr.downgradePackage( "dummy", "1.2" ), "testDowngradePackage()" ) + assert( @pkgMgr.downgradePackage( "fortune", "1.2" ), "testDowngradePackage()" ) end ## # Test method for 'AbtPackageManager.testFreezePackage()' ## def testFreezePackage - assert( @pkgMgr.freezePackage( "dummy" ), "testFreezePackage()" ) + assert( @pkgMgr.freezePackage( "fortune" ), "testFreezePackage()" ) end end Modified: src/trunk/TestAbtReportManager.rb =================================================================== --- src/trunk/TestAbtReportManager.rb 2006-11-18 18:01:24 UTC (rev 207) +++ src/trunk/TestAbtReportManager.rb 2006-11-18 18:16:14 UTC (rev 208) @@ -41,7 +41,7 @@ # Test method for 'AbtReportManager.testShowPackageDetails()' ## def testShowPackageDetails - assert( @report.showPackageDetails( "dummy" ), "testShowPackageDetails()" ) + assert( @report.showPackageDetails( "fortune" ), "testShowPackageDetails()" ) end ## @@ -55,9 +55,9 @@ # Test method for 'AbtReportManager.testShowPackageLog()' ## def testShowPackageLog - assert( @report.showPackageLog( "dummy", "install" ), "testShowPackageLog()" ) - assert( @report.showPackageLog( "dummy", "build" ), "testShowPackageLog()" ) - assert( @report.showPackageLog( "dummy", "integrity" ), "testShowPackageLog()" ) + assert( @report.showPackageLog( "fortune", "install" ), "testShowPackageLog()" ) + assert( @report.showPackageLog( "fortune", "build" ), "testShowPackageLog()" ) + assert( @report.showPackageLog( "fortune", "integrity" ), "testShowPackageLog()" ) end ## @@ -71,7 +71,7 @@ # Test method for 'AbtReportManager.testShowPackageDependencies()' ## def testShowPackageDependencies - #assert( @report.showPackageDependencies( "dummy" ), "testShowPackageDependencies()" ) + #assert( @report.showPackageDependencies( "fortune" ), "testShowPackageDependencies()" ) assert( false, "testShowPackageDependencies()" ) end @@ -93,7 +93,7 @@ # Test method for 'AbtReportManager.testShowFileOwner()' ## def testShowFileOwner - assert( @report.showFileOwner( "dummyFile" ), "testShowFileOwner()" ) + assert( @report.showFileOwner( "fortuneFile" ), "testShowFileOwner()" ) end ## @@ -114,7 +114,7 @@ # Test method for 'AbtReportManager.testShowUpdates()' ## def testShowUpdates - assert( @report.showUpdates( "dummy" ), "testShowUpdates()" ) + assert( @report.showUpdates( "fortune" ), "testShowUpdates()" ) end ## This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-19 10:20:56
|
Revision: 215 http://svn.sourceforge.net/abtlinux/?rev=215&view=rev Author: eschabell Date: 2006-11-19 02:20:52 -0800 (Sun, 19 Nov 2006) Log Message: ----------- General cleanup for column width of 80 chars in code where possible. Moved retrieval of news feed to download manager. Renamed abtConfig file to abtconfig and propogated to abt and testSuite. Modified Paths: -------------- src/trunk/AbtDownloadManager.rb src/trunk/abt.rb src/trunk/testSuiteAbt.rb Added Paths: ----------- src/trunk/abtconfig.rb Removed Paths: ------------- src/trunk/abtConfig.rb Modified: src/trunk/AbtDownloadManager.rb =================================================================== --- src/trunk/AbtDownloadManager.rb 2006-11-19 10:19:03 UTC (rev 214) +++ src/trunk/AbtDownloadManager.rb 2006-11-19 10:20:52 UTC (rev 215) @@ -83,12 +83,44 @@ end ## - # Retrieves the AbTLinux news feed. + # Retrieves the given feed and displays the news items. # + # <b>PARAM</b> <i>String</i> - the uri of the rss news feed to be retrieved. # <b>RETURN</b> <i>boolean</i> - True if the AbTLinux news feed has been # retrieved, otherwise false. ## - def retrieveNewsFeed + def retrieveNewsFeed( uri ) + require 'net/http' + require 'uri' + require 'rss/1.0' + require 'rss/2.0' + + # pick up the abtlinux.org news feed. + if ( !news = Net::HTTP.get( URI.parse( uri ) ) ) + logger.logToJournal( "Failed to retrieve news feed #{uri}." ) + return false + end + + # display the feeds. + rss = nil + begin + rss = RSS::Parser.parse(news, false) + rescue RSS::Error + end + + if ( rss.nil? ) + logger.logToJournal( "Failed to display news feed as feed #{uri} is not RSS 1.0/2.0." ) + return false + else + puts "*** #{rss.channel.title} ***" + + rss.items.each_with_index do |item, itemCount| + itemCount += 1 + puts "#{itemCount} #{item.link} #{item.title}" + end + end + + return true end ## Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-19 10:19:03 UTC (rev 214) +++ src/trunk/abt.rb 2006-11-19 10:20:52 UTC (rev 215) @@ -24,7 +24,7 @@ # AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin # St, Fifth Floor, Boston, MA 02110-1301 USA ## -require 'abtConfig' +require 'abtconfig' require 'AbtPackageManager' require 'AbtLogManager' require 'AbtReportManager' @@ -32,23 +32,17 @@ require 'AbtQueueManager' require 'AbtUsage' require 'fileutils' -require 'net/http' -require 'uri' -require 'rss/1.0' -require 'rss/2.0' -require 'optparse' - ## -# Setup needed classes and get ready -# to parse arguments. +# Setup needed classes and get ready to parse arguments. ## -manager = AbtPackageManager.new -logger = AbtLogManager.new -reporter = AbtReportManager.new -options = Hash.new -show = AbtUsage.new +manager = AbtPackageManager.new +logger = AbtLogManager.new +reporter = AbtReportManager.new +downloader = AbtDownloadManager.new +options = Hash.new +show = AbtUsage.new # deal with usage request. if ( ARGV.length == 0 ) @@ -61,6 +55,7 @@ # parse arguments. case ARGV[0] + # abt [ -i | install ] <package> when "install", "-i" if ( ARGV.length == 2 && File.exist?( "#{$PACKAGE_PATH}#{ARGV[1]}.rb" ) ) options['package'] = ARGV[1] @@ -70,10 +65,10 @@ puts "Completed install of #{options['package']}." logger.logToJournal( "Completed install of #{options['package']}." ) else - puts "#{options['package'].capitalize} install failed, see journal for possible reasons." + puts "#{options['package'].capitalize} install failed, see journal." end - reporter.showQueue( "install" ); # DEBUG. + #reporter.showQueue( "install" ); # DEBUG. else show.usage( "packages" ) exit @@ -101,7 +96,8 @@ if ( ARGV.length == 3 ) options['version'] = ARGV[1] options['package'] = ARGV[2] - puts "Downgradinging package : " + options['package'] + " to version : " + options['version'] + print "Downgradinging package : #{options['package']} " + puts "to version : #{options['version']}" else show.usage( "packages" ) exit @@ -110,7 +106,7 @@ when "freeze", "-f" if ( ARGV.length == 2 ) options['package'] = ARGV[1] - puts "Holdinging package : " + options['package'] + " at the current version." + puts "Holdinging package : #{options['package']} at current version." else show.usage( "packages" ) exit @@ -119,21 +115,22 @@ when "search", "-s" if ( ARGV.length == 2 ) options['searchString'] = ARGV[1] - puts "Searching package descriptions for : " + options['searchString'] + puts "Searching package descriptions for : #{options['searchString']}" else show.usage( "queries" ) exit end + # abt show-details <package> when "show-details" if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) - options['package'] = ARGV[1] - logger.logToJournal( "Starting to show details for " + options['package'] ) + options['pkg'] = ARGV[1] + logger.logToJournal( "Starting show details for #{options['pkg']}" ) - if ( reporter.showPackageDetails( options['package'] ) ) - logger.logToJournal( "Completed show details for " + options['package'] ) + if ( reporter.showPackageDetails( options['pkg'] ) ) + logger.logToJournal( "Completed show details for #{options['pkg']}" ) else - puts "Problems processing the details for #{options['package']}." + puts "Problems processing the details for #{options['pkg']}." end else show.usage( "queries" ) @@ -188,6 +185,7 @@ puts "Display all files on system not tracked by AbTLinux." show.usage( "queries" ) + # abt show-journal when "show-journal" reporter.showJournal @@ -205,41 +203,27 @@ when "html" puts "Generate HTML page from installed packages:" - puts " (package name with hyperlink to package website and version installed)" + puts " (package name with link to package website/version installed)" show.usage( "generation" ) # abt news | -n when "news", "-n" logger.logToJournal( "Starting to retrieve AbTLinux news." ) - # pick up the abtlinux.org news feed. - news = Net::HTTP.get( URI.parse( $ABTNEWS ) ) - threads = Net::HTTP.get( URI.parse( $ABTNEWS_THREADS ) ) - posts = Net::HTTP.get( URI.parse( $ABTNEWS_POSTS ) ) + # abtlinux.org news feeds. + puts "\n" + if ( !downloader.retrieveNewsFeed( $ABTNEWS ) ) + puts "Failed to retrieve the AbTLinux news feed." + end - newsArray = [ news, threads, posts ] - - # display the feeds. - newsArray.each_with_index do |feed, i| - rss = nil - begin - rss = RSS::Parser.parse(feed, false) - rescue RSS::Error - end - + puts "\n" + if ( !downloader.retrieveNewsFeed( $ABTNEWS_THREADS ) ) + puts "Failed to retrieve the AbTLinux forum threads news feed." + end - if ( rss.nil? ) - puts "Feed #{i} is not RSS 1.0/2.0." - logger.logToJournal( "Failed to display news feed as feed #{i} is not RSS 1.0/2.0." ) - else - puts "\n\n" - puts "*** #{rss.channel.title} ***" - - rss.items.each_with_index do |item, itemCount| - itemCount += 1 - puts "#{itemCount} #{item.link} #{item.title}" - end - end + puts "\n" + if ( !downloader.retrieveNewsFeed( $ABTNEWS_POSTS ) ) + puts "Failed to retrieve the AbTLinux new posts news feed." end logger.logToJournal( "Completed the retrieval of AbTLinux news." ) @@ -247,24 +231,28 @@ # abt [-d | download ] <package> when "download", "-d" if ( ARGV.length == 2 && File.exist?( $PACKAGE_PATH + ARGV[1] + ".rb" ) ) - options['package'] = ARGV[1] - logger.logToJournal( "Starting to download " + options['package'] ) + options['pkg'] = ARGV[1] + logger.logToJournal( "Starting to download " + options['pkg'] ) if ( !File.directory?( $SOURCES_REPOSITORY ) ) FileUtils.mkdir_p( $SOURCES_REPOSITORY ) # initialize directory. - logger.logToJournal( "Had to initialize directory - " + $SOURCES_REPOSITORY ) + logger.logToJournal( "Created directory - " + $SOURCES_REPOSITORY ) end manager = AbtDownloadManager.new - if ( manager.retrievePackageSource( options['package'], $SOURCES_REPOSITORY ) ) - logger.logToJournal( "Finished download for " + options['package'] ) - puts "\nDownloading of " + options['package'] + " to " + $SOURCES_REPOSITORY + " completed.\n\n" + if ( manager.retrievePackageSource( options['pkg'], $SOURCES_REPOSITORY ) ) + logger.logToJournal( "Finished download for " + options['pkg'] ) + puts "\n"; + print "Downloading of #{options['pkg']} to #{$SOURCES_REPOSITORY} " + puts "completed." + puts "\n\n" else - logger.logToJournal( "FAILURE to download " + options['package'] ) - puts "\nDOWNLOADING - failed to download source for " + options['package'] + "\n\n" + logger.logToJournal( "FAILURE to download " + options['pkg'] ) + puts "\n" + puts "DOWNLOADING - failed to download source for #{options['pkg']}" + puts "\n\n" end - else show.usage( "downloads" ) exit @@ -273,7 +261,7 @@ when "update", "-u" if ( ARGV.length == 2 ) options['updateItem'] = ARGV[1] - puts "Updating this item (either package or a package tree : " + options['updateItem'] + puts "Updating item : #{options['updateItem']}" else show.usage( "downloads" ) exit @@ -316,8 +304,9 @@ when "verify-integrity" if ( ARGV.length == 2 ) - options['package'] = ARGV[1] - puts "Verifiy the integrity of installed files for package : " + options['package'] + options['pkg'] = ARGV[1] + print "Verifiy integrity of installed files for " + puts "package : #{options['pkg']}" else show.usage( "fix" ) exit @@ -325,8 +314,8 @@ when "fix" if ( ARGV.length == 2 ) - options['package'] = ARGV[1] - puts "Package : " + options['package'] + " is verified and checked if needed." + options['pkg'] = ARGV[1] + puts "Package : #{options['pkg']} is verified and checked if needed." else show.usage( "fix" ) exit @@ -335,7 +324,8 @@ when "build-location" if ( ARGV.length == 2 ) options['buildHost'] = ARGV[1] - puts "Sets global location for retrieving cached build packages to : " + options['buildHost'] + print "Sets global location for retrieving cached build packages " + puts "to : #{options['buildHost']}" else show.usage( "maintenance" ) exit Deleted: src/trunk/abtConfig.rb =================================================================== --- src/trunk/abtConfig.rb 2006-11-19 10:19:03 UTC (rev 214) +++ src/trunk/abtConfig.rb 2006-11-19 10:20:52 UTC (rev 215) @@ -1,38 +0,0 @@ -#!/usr/bin/ruby -w - -## -# abtConfig.rb -# -# The system configuration for the abt package manager. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright July 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 -## -$PACKAGE_PATH = "./packages/" -$SOURCES_REPOSITORY = "/var/spool/abt/sources" -$BUILD_LOCATION = "/usr/src" - -$ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" -$ABTNEWS_THREADS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?6.2" -$ABTNEWS_POSTS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?7.2" - -$ABT_LOGS = "/var/log/abt" -$JOURNAL = "#{$ABT_LOGS}/journal.log" - -$TIMESTAMP = Time.now.strftime( "%Y-%m-%d %H:%M:%S (%Z)" ) Copied: src/trunk/abtconfig.rb (from rev 213, src/trunk/abtConfig.rb) =================================================================== --- src/trunk/abtconfig.rb (rev 0) +++ src/trunk/abtconfig.rb 2006-11-19 10:20:52 UTC (rev 215) @@ -0,0 +1,38 @@ +#!/usr/bin/ruby -w + +## +# abtconfig.rb +# +# The system configuration for the abt package manager. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright July 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 +## +$PACKAGE_PATH = "./packages/" +$SOURCES_REPOSITORY = "/var/spool/abt/sources" +$BUILD_LOCATION = "/usr/src" + +$ABTNEWS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?1.2" +$ABTNEWS_THREADS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?6.2" +$ABTNEWS_POSTS = "http://abtlinux.org/e107_plugins/rss_menu/rss.php?7.2" + +$ABT_LOGS = "/var/log/abt" +$JOURNAL = "#{$ABT_LOGS}/journal.log" + +$TIMESTAMP = Time.now.strftime( "%Y-%m-%d %H:%M:%S (%Z)" ) Modified: src/trunk/testSuiteAbt.rb =================================================================== --- src/trunk/testSuiteAbt.rb 2006-11-19 10:19:03 UTC (rev 214) +++ src/trunk/testSuiteAbt.rb 2006-11-19 10:20:52 UTC (rev 215) @@ -7,7 +7,7 @@ end require 'test/unit' -require 'abtConfig' +require 'abtconfig' require 'fileutils' require 'TestAbtDepEngine' require 'TestAbtDownloadManager' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-19 12:47:42
|
Revision: 218 http://svn.sourceforge.net/abtlinux/?rev=218&view=rev Author: eschabell Date: 2006-11-19 04:47:38 -0800 (Sun, 19 Nov 2006) Log Message: ----------- Moved unpackSources to protected status. Added check for config setting whether to remove build sources or not and a check for existing directory (already in BUILD_DIRECTORY). Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/abtconfig.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-11-19 10:57:29 UTC (rev 217) +++ src/trunk/AbtPackage.rb 2006-11-19 12:47:38 UTC (rev 218) @@ -30,7 +30,64 @@ class AbtPackage protected - + + ## + # Unpacks this packages source file into the standard build location. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def unpackSources + srcFile = File.basename( srcUrl ) + sourcesToUnpack = "#{$SOURCES_REPOSITORY}/#{srcFile}" + unpackTool = "" + + # check for existing file in source repo. + if ( !File.exist?( sourcesToUnpack ) ) + return false + end + + # check if possible existing sources in build directory. + if ( File.directory?( "#{$BUILD_LOCATION}/#{@srcDir}" ) ) + return true + end + + # determine which supported compression used [gz, tar, tgz, bz2, zip]. + compressionType = srcFile.split( '.' ) + + case compressionType.last + + when "gz" + unpackTool = "tar xzvf" + + when "tar" + unpackTool = "tar xvf" + + when "bz2" + unpackTool = "tar xjvf" + + when "tgz" + unpackTool = "tar xzvf" + + when "zip" + unpackTool = "unizp" + + else + # unsupported format. + return false + end + + # DEBUG: + #logger = AbtLogManager.new + #logger.logToJournal( "DEBUG: unpack tool will be '#{unpackTool}'." ) + + # TODO: system call removal? + if ( !system( "cd #{$BUILD_LOCATION}; #{unpackTool} #{sourcesToUnpack}" ) ) + return false + end + + return true + end + private public @@ -206,70 +263,24 @@ end ## - # Unpacks this packages source file into the standard build location. + # Cleans up this packages source build directory. # # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## - def unpackSources - srcFile = File.basename( srcUrl ) - sourcesToUnpack = "#{$SOURCES_REPOSITORY}/#{srcFile}" - unpackTool = "" - logger = AbtLogManager.new + def removeBuildSources + if ( $removeBuildSources ) + buildSourcesLocation = "#{$BUILD_LOCATION}/#{srcDir}" - if ( !File.exist?( sourcesToUnpack ) ) - return false - end + if ( !File.directory?( buildSourcesLocation ) ) + return true + end - # determine which supported compression used [gz, tar, tgz, bz2, zip]. - compressionType = srcFile.split( '.' ) - - case compressionType.last - - when "gz" - unpackTool = "tar xzvf" - - when "tar" - unpackTool = "tar xvf" - - when "bz2" - unpackTool = "tar xjvf" - - when "tgz" - unpackTool = "tar xzvf" - - when "zip" - unpackTool = "unizp" - - else - # unsupported format. - return false + # TODO: system call removal? + if ( !FileUtils.rm_rf buildSourcesLocation, :verbose => true ) + return false + end end - - #logger.logToJournal( "DEBUG: unpack tool will be '#{unpackTool}'." ) - # TODO: system call removal? - if ( !system( "cd #{$BUILD_LOCATION}; #{unpackTool} #{sourcesToUnpack}" ) ) - return false - end - return true end - - ## - # Cleans up this packages source build directory. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def removeBuildSources - buildSourcesLocation = "#{$BUILD_LOCATION}/#{srcDir}" - - if ( !File.directory?( buildSourcesLocation ) ) - return true - end - - # TODO: system call removal? - if ( !FileUtils.rm_rf buildSourcesLocation, :verbose => true ) - return false - end - end end Modified: src/trunk/abtconfig.rb =================================================================== --- src/trunk/abtconfig.rb 2006-11-19 10:57:29 UTC (rev 217) +++ src/trunk/abtconfig.rb 2006-11-19 12:47:38 UTC (rev 218) @@ -36,3 +36,7 @@ $JOURNAL = "#{$ABT_LOGS}/journal.log" $TIMESTAMP = Time.now.strftime( "%Y-%m-%d %H:%M:%S (%Z)" ) + +# default config options. +# +$removeBuildSources = false This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-25 15:19:03
|
Revision: 238 http://svn.sourceforge.net/abtlinux/?rev=238&view=rev Author: eschabell Date: 2006-11-25 07:19:01 -0800 (Sat, 25 Nov 2006) Log Message: ----------- Updated name change for global vars where used. Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/AbtPackageManager.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-11-25 15:18:21 UTC (rev 237) +++ src/trunk/AbtPackage.rb 2006-11-25 15:19:01 UTC (rev 238) @@ -231,10 +231,10 @@ def configure #logger = AbtLogManager.new buildSite = "#{$BUILD_LOCATION}/#{@srcDir}" - #logger.logToJournal( "DEBUG: calling system - cd #{buildSite}; ./configure --prefix=#{$defaultPrefix}" ) + #logger.logToJournal( "DEBUG: calling system - cd #{buildSite}; ./configure --prefix=#{$DEFAULT_PREFIX}" ) # TODO: system call removal? - if ( !system( "cd #{buildSite}; ./configure --prefix=#{$defaultPrefix}" ) ) + if ( !system( "cd #{buildSite}; ./configure --prefix=#{$DEFAULT_PREFEX}" ) ) return false end @@ -279,8 +279,8 @@ # # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## - def removeBuildSources - if ( $removeBuildSources ) + def removeBuild + if ( $REMOVE_BUILD_SOURCES ) buildSourcesLocation = "#{$BUILD_LOCATION}/#{srcDir}" if ( !File.directory?( buildSourcesLocation ) ) Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2006-11-25 15:18:21 UTC (rev 237) +++ src/trunk/AbtPackageManager.rb 2006-11-25 15:19:01 UTC (rev 238) @@ -91,7 +91,7 @@ # post section # remove build sources. # - if ( !sw.removeBuildSources ) + if ( !sw.removeBuild ) logger.logToJournal( "Failed to remove the build sources for #{package}." ) #return false # commented out as this is not a reason to fail. end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-12-03 11:15:02
|
Revision: 247 http://svn.sourceforge.net/abtlinux/?rev=247&view=rev Author: eschabell Date: 2006-12-03 03:15:01 -0800 (Sun, 03 Dec 2006) Log Message: ----------- Adjusted abt framework to make use of wrapped system call. Also fixed bug in test call for showJournal (missing file name). Modified Paths: -------------- src/trunk/AbtDownloadManager.rb src/trunk/AbtPackage.rb src/trunk/AbtPackageManager.rb src/trunk/AbtReportManager.rb src/trunk/TestAbtReportManager.rb src/trunk/abt.rb Modified: src/trunk/AbtDownloadManager.rb =================================================================== --- src/trunk/AbtDownloadManager.rb 2006-12-03 11:04:41 UTC (rev 246) +++ src/trunk/AbtDownloadManager.rb 2006-12-03 11:15:01 UTC (rev 247) @@ -53,17 +53,17 @@ # downloaded, otherwise false. ## def retrievePackageSource( packageName, destination ) - require packageName - logger = AbtLogManager.new - package = eval( packageName.capitalize + '.new' ) + logger = AbtLogManager.new + systemMgr = AbtSystemManager.new + package = eval( packageName.capitalize + '.new' ) if ( File.exist?( destination + "/" + File.basename( package.srcUrl ) ) ) logger.logToJournal( "Download not needed, existing source found for " + packageName ) return true end - if ( system( "cd " + destination + "; wget " + package.srcUrl ) ) # TODO: rm system call? + if ( systemMgr.runSystemCall( "cd " + destination + "; wget " + package.srcUrl ) ) logger.logToJournal( "Download completed for " + packageName ) return true end Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-12-03 11:04:41 UTC (rev 246) +++ src/trunk/AbtPackage.rb 2006-12-03 11:15:01 UTC (rev 247) @@ -37,9 +37,10 @@ # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def unpackSources - srcFile = File.basename( srcUrl ) + systemMgr = AbtSystemManager.new + srcFile = File.basename( srcUrl ) sourcesToUnpack = "#{$SOURCES_REPOSITORY}/#{srcFile}" - unpackTool = "" + unpackTool = "" # check for existing file in source repo. if ( !File.exist?( sourcesToUnpack ) ) @@ -80,8 +81,7 @@ #logger = AbtLogManager.new #logger.logToJournal( "DEBUG: unpack tool will be '#{unpackTool}'." ) - # TODO: system call removal? - if ( !system( "cd #{$BUILD_LOCATION}; #{unpackTool} #{sourcesToUnpack}" ) ) + if ( !systemMgr.runSystemCall( "cd #{$BUILD_LOCATION}; #{unpackTool} #{sourcesToUnpack}" ) ) return false end @@ -287,7 +287,6 @@ return true end - # TODO: system call removal? if ( !FileUtils.rm_rf buildSourcesLocation, :verbose => true ) return false end Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2006-12-03 11:04:41 UTC (rev 246) +++ src/trunk/AbtPackageManager.rb 2006-12-03 11:15:01 UTC (rev 247) @@ -154,6 +154,8 @@ # <b>RETURN</b> <i>void</i> ## def rootLogin( arguments ) + systemMgr = AbtSystemManager.new + if ( Process.uid != 0 ) args = "" puts "\nEnter root password:" @@ -162,7 +164,7 @@ args = args + " " + ARGV[i] end - system( 'su -c "./abt ' + args + '" root' ) # TODO: replace system call? + systemMgr.runSystemCall( 'su -c "./abt ' + args + '" root' ) exit end end Modified: src/trunk/AbtReportManager.rb =================================================================== --- src/trunk/AbtReportManager.rb 2006-12-03 11:04:41 UTC (rev 246) +++ src/trunk/AbtReportManager.rb 2006-12-03 11:15:01 UTC (rev 247) @@ -149,7 +149,7 @@ # # <b> PARAM</b> <i>string</i> The complete path of the file to display. # - # <b>RETURN</b> <i>void.</i> + # <b>RETURN</b> <i>iboolean</i> True if journal shown, otherwise false. ## def showJournal( fileName ) if ( File.exist?( fileName ) ) @@ -164,6 +164,8 @@ puts "AbtLinux log ( #{File.basename( fileName )} ) is empty at this time." puts "\n\n" end + + return true end ## Modified: src/trunk/TestAbtReportManager.rb =================================================================== --- src/trunk/TestAbtReportManager.rb 2006-12-03 11:04:41 UTC (rev 246) +++ src/trunk/TestAbtReportManager.rb 2006-12-03 11:15:01 UTC (rev 247) @@ -86,7 +86,7 @@ # Test method for 'AbtReportManager.testShowJournal()' ## def testShowJournal - assert( @report.showJournal(), "testShowJournal()" ) + assert( @report.showJournal( $JOURNAL ), "testShowJournal()" ) end ## Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-12-03 11:04:41 UTC (rev 246) +++ src/trunk/abt.rb 2006-12-03 11:15:01 UTC (rev 247) @@ -25,11 +25,12 @@ # St, Fifth Floor, Boston, MA 02110-1301 USA ## require 'abtconfig' +require 'AbtDownloadManager' +require 'AbtLogManager' require 'AbtPackageManager' -require 'AbtLogManager' +require 'AbtQueueManager' require 'AbtReportManager' -require 'AbtDownloadManager' -require 'AbtQueueManager' +require 'AbtSystemManager' require 'AbtUsage' require 'fileutils' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-12-03 13:00:36
|
Revision: 254 http://svn.sourceforge.net/abtlinux/?rev=254&view=rev Author: eschabell Date: 2006-12-03 05:00:30 -0800 (Sun, 03 Dec 2006) Log Message: ----------- Removed some path checking and directory creation that is no longer needed, is in log manager constructor. Modified Paths: -------------- src/trunk/AbtQueueManager.rb src/trunk/AbtSystemManager.rb src/trunk/abt.rb Modified: src/trunk/AbtQueueManager.rb =================================================================== --- src/trunk/AbtQueueManager.rb 2006-12-03 12:52:04 UTC (rev 253) +++ src/trunk/AbtQueueManager.rb 2006-12-03 13:00:30 UTC (rev 254) @@ -38,9 +38,6 @@ # <b>RETURN</b> <i>AbtQueueManager</i> - an initialized AbtQueueManager object. ## def initialize - if ( !File.directory?( $ABT_LOGS ) ) - FileUtils.mkdir_p( $ABT_LOGS ) # initialize logs. - end end ## Modified: src/trunk/AbtSystemManager.rb =================================================================== --- src/trunk/AbtSystemManager.rb 2006-12-03 12:52:04 UTC (rev 253) +++ src/trunk/AbtSystemManager.rb 2006-12-03 13:00:30 UTC (rev 254) @@ -140,21 +140,21 @@ def setPackageTreeLocation( location ) end - ## + ## # Our in house system call wrapper. Used to control any system calls made in - # abt. Need to sort out tracking of stderr, stdout, stdin with open3? - # Eventually replace any need for system here. + # abt. Need to sort out tracking of stderr, stdout, stdin with open3? + # Eventually replace any need for system here. # # <b>PARAM</b> <i>String</i> - the call to pass to system. # # <b>RETURN</b> <i>boolean</i> - True if system call successful, otherwise - # false. + # false. ## def runSystemCall( command ) - if ( !system( command ) ) - return false - end - - return true + if ( !system( command ) ) + return false + end + + return true end end Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-12-03 12:52:04 UTC (rev 253) +++ src/trunk/abt.rb 2006-12-03 13:00:30 UTC (rev 254) @@ -39,7 +39,7 @@ # Setup needed classes and get ready to parse arguments. ## manager = AbtPackageManager.new -logger = AbtLogManager.new +logger = AbtLogManager.new # initialized all needed paths. reporter = AbtReportManager.new downloader = AbtDownloadManager.new options = Hash.new @@ -249,11 +249,6 @@ options['pkg'] = ARGV[1] logger.logToJournal( "Starting to download " + options['pkg'] ) - if ( !File.directory?( $SOURCES_REPOSITORY ) ) - FileUtils.mkdir_p( $SOURCES_REPOSITORY ) # initialize directory. - logger.logToJournal( "Created directory - " + $SOURCES_REPOSITORY ) - end - manager = AbtDownloadManager.new if ( manager.retrievePackageSource( options['pkg'], $SOURCES_REPOSITORY ) ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |