Thread: [Abtlinux-svn] SF.net SVN: abtlinux: [78] src/trunk
Status: Alpha
Brought to you by:
eschabell
From: <esc...@us...> - 2006-04-29 12:36:22
|
Revision: 78 Author: eschabell Date: 2006-04-29 05:36:02 -0700 (Sat, 29 Apr 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=78&view=rev Log Message: ----------- Added a project file for FreeRide, a ruby IDE I am trying out. Also added placeholder for install method in Package class. Modified Paths: -------------- src/trunk/Package.rb Added Paths: ----------- src/trunk/abt.frproj Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-04-02 20:20:33 UTC (rev 77) +++ src/trunk/Package.rb 2006-04-29 12:36:02 UTC (rev 78) @@ -37,5 +37,8 @@ def pre end + + def install + end end Added: src/trunk/abt.frproj =================================================================== --- src/trunk/abt.frproj (rev 0) +++ src/trunk/abt.frproj 2006-04-29 12:36:02 UTC (rev 78) @@ -0,0 +1,19 @@ +#### Properties: rubyide_project-project - Version: 1.0 +--- +"|": +- basedirectory: /home/erics/work/abt +- cmd_line_options: "" +- default_script: "" +- name: abt +- required_directories: [] + +- run_in_terminal: false +- save_before_running: false +- source_directories: + - /home/erics/work/abt +- "|": + - open_files: + - /home/erics/work/abt/Package.rb + state: +- working_dir: "" +properties: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-01 19:28:02
|
Revision: 81 Author: eschabell Date: 2006-05-01 12:27:48 -0700 (Mon, 01 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=81&view=rev Log Message: ----------- Added our first attempt at rdoc tools. Packages now provides an example of the online api documentation. Packaged this in a tarball to save space. Modified Paths: -------------- src/trunk/Package.rb Added Paths: ----------- src/trunk/doc.tar.bz2 Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-01 18:47:55 UTC (rev 80) +++ src/trunk/Package.rb 2006-05-01 19:27:48 UTC (rev 81) @@ -30,8 +30,11 @@ class Package - protected - + ## + # Provides all the data needed for this package. + # + # RETURNS: array containing the package details. + ## def details end Added: src/trunk/doc.tar.bz2 =================================================================== (Binary files differ) Property changes on: src/trunk/doc.tar.bz2 ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-14 08:38:08
|
Revision: 82 Author: eschabell Date: 2006-05-14 01:38:01 -0700 (Sun, 14 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=82&view=rev Log Message: ----------- Added script to generate ruby docs for the API. Updated doc tarball. Modified Paths: -------------- src/trunk/doc.tar.bz2 Added Paths: ----------- src/trunk/docGen.sh Modified: src/trunk/doc.tar.bz2 =================================================================== (Binary files differ) Added: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh (rev 0) +++ src/trunk/docGen.sh 2006-05-14 08:38:01 UTC (rev 82) @@ -0,0 +1,20 @@ +#!/bin/bash +#=============================================================================== +# +# FILE: docGen.sh +# +# USAGE: ./docGen.sh +# +# DESCRIPTION: Generates AbTLinux Package Manager API documentation. +# +# BUGS: --- +# NOTES: --- +# AUTHOR: Eric D. Schabell <er...@ab...> +# VERSION: 1.0 +# CREATED: 05/14/2006 10:31:24 AM CEST +# REVISION: --- +#=============================================================================== + +FILES=Package.rb + +rdoc --diagram --inline-source --line-numbers --title "AbTLinux Package Manager API" $FILES Property changes on: src/trunk/docGen.sh ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-14 08:49:08
|
Revision: 83 Author: eschabell Date: 2006-05-14 01:48:59 -0700 (Sun, 14 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=83&view=rev Log Message: ----------- Completed framework design for Package class. Docs generated and tarball updated. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc.tar.bz2 src/trunk/docGen.sh Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-14 08:38:01 UTC (rev 82) +++ src/trunk/Package.rb 2006-05-14 08:48:59 UTC (rev 83) @@ -38,21 +38,57 @@ def details end + ## + # PREliminary work will happen here such as downloading the tarball, + # unpacking it, downloading and applying patches. + # + # RETURNS: boolean True if completes sucessfully, otherwise false. + ## def pre end + ## + # Here we manage the ./configure step (or equivalent). We need to give ./configure + # (or autogen.sh, or whatever) the correct options so files are to be placed later in the + # right directories, so doc files and man pages are all in the same common location, etc. + # Don't forget too that it's here where we interact with the user in case there are optionnal + # dependencies. + # + # RETURNS: boolean True if the completes sucessfully, otherwise false. + ## def configure end + ## + # Here is where the actual builing of the software starts, for example running 'make'. + # + # RETURNS: boolean True if the completes sucessfully, otherwise false. + ## def build end + ## + # Any actions needed before the installation can occur will happen here, such as creating + # new user accounts, dealing with existing configuration files, etc. + # + # RETURNS: boolean True if the completes sucessfully, otherwise false. + ## def preinstall end - + + ## + # All files to be installed are installed here. + # + # RETURNS: boolean True if the completes sucessfully, otherwise false. + ## def install end - + + ## + # Last bits of installation. adding the service for automatic start in init.d for example. + # + # RETURNS: boolean True if the completes sucessfully, otherwise false. + ## def post end Modified: src/trunk/doc.tar.bz2 =================================================================== (Binary files differ) Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-14 08:38:01 UTC (rev 82) +++ src/trunk/docGen.sh 2006-05-14 08:48:59 UTC (rev 83) @@ -17,4 +17,15 @@ FILES=Package.rb +# clean out existing docs directory. +rm -rf ./doc + +# run the actual doc generation. rdoc --diagram --inline-source --line-numbers --title "AbTLinux Package Manager API" $FILES + +# remove old tarball and refresh with new docs. +rm ./doc.tar.bz2 +tar cf doc.tar ./doc +bzip2 doc.tar + +# end docGen.sh This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-14 08:49:57
|
Revision: 84 Author: eschabell Date: 2006-05-14 01:49:44 -0700 (Sun, 14 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=84&view=rev Log Message: ----------- Adding the actual untarred docs directory to see if we can make them browsable online via the site. Added Paths: ----------- src/trunk/doc/ src/trunk/doc/classes/ src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/ src/trunk/doc/dot/f_0.dot src/trunk/doc/dot/f_0.png src/trunk/doc/files/ src/trunk/doc/files/Package_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/doc/index.html src/trunk/doc/rdoc-style.css Added: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html (rev 0) +++ src/trunk/doc/classes/Package.html 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,376 @@ +<?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Class: Package</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="classHeader"> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Class</strong></td> + <td class="class-name-in-header">Package</td> + </tr> + <tr class="top-aligned-row"> + <td><strong>In:</strong></td> + <td> + <a href="../files/Package_rb.html"> + Package.rb + </a> + <br /> + </td> + </tr> + + <tr class="top-aligned-row"> + <td><strong>Parent:</strong></td> + <td> + Object + </td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + <div id="diagram"> + <map id="map" name="map"> + <area shape="RECT" coords="9,7,81,55" href="Package.html" alt="Package"> +</map> +<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> + </div> + + <div id="description"> + <p> +Package.rb +</p> +<p> +<a href="Package.html">Package</a> class provides an interface to package +creation within AbTLinux. By inheriting from this class (class Fortune < +<a href="Package.html">Package</a>) one picks up all supported standard +functions for the abt package manager to make use of the new package. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> + + </div> + + + </div> + + <div id="method-list"> + <h3 class="section-bar">Methods</h3> + + <div class="name-list"> + <a href="#M000004">build</a> + <a href="#M000003">configure</a> + <a href="#M000001">details</a> + <a href="#M000006">install</a> + <a href="#M000007">post</a> + <a href="#M000002">pre</a> + <a href="#M000005">preinstall</a> + </div> + </div> + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + <div id="methods"> + <h3 class="section-bar">Public Instance methods</h3> + + <div id="method-M000004" class="method-detail"> + <a name="M000004"></a> + + <div class="method-heading"> + <a href="#M000004" class="method-signature"> + <span class="method-name">build</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Here is where the actual builing of the software starts, for example +running ‘make’. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000004-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000004-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 67</span> +67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +68: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000003" class="method-detail"> + <a name="M000003"></a> + + <div class="method-heading"> + <a href="#M000003" class="method-signature"> + <span class="method-name">configure</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Here we manage the ./configure step (or equivalent). We need to give +./configure (or autogen.sh, or whatever) the correct options so files are +to be placed later in the right directories, so doc files and man pages are +all in the same common location, etc. Don‘t forget too that +it’s here where we interact with the user in case there are optionnal +dependencies. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000003-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000003-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 59</span> +59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +60: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000001" class="method-detail"> + <a name="M000001"></a> + + <div class="method-heading"> + <a href="#M000001" class="method-signature"> + <span class="method-name">details</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Provides all the data needed for this package. +</p> +<p> +RETURNS: array containing the package details. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000001-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000001-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 38</span> +38: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +39: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000006" class="method-detail"> + <a name="M000006"></a> + + <div class="method-heading"> + <a href="#M000006" class="method-signature"> + <span class="method-name">install</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +All files to be installed are installed here. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000006-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000006-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 84</span> +84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +85: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000007" class="method-detail"> + <a name="M000007"></a> + + <div class="method-heading"> + <a href="#M000007" class="method-signature"> + <span class="method-name">post</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Last bits of installation. adding the service for automatic start in init.d +for example. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000007-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000007-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 92</span> +92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +93: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000002" class="method-detail"> + <a name="M000002"></a> + + <div class="method-heading"> + <a href="#M000002" class="method-signature"> + <span class="method-name">pre</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +PREliminary work will happen here such as downloading the tarball, +unpacking it, downloading and applying patches. +</p> +<p> +RETURNS: boolean True if completes sucessfully, otherwise false. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000002-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000002-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 47</span> +47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +48: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + <div id="method-M000005" class="method-detail"> + <a name="M000005"></a> + + <div class="method-heading"> + <a href="#M000005" class="method-signature"> + <span class="method-name">preinstall</span><span class="method-args">()</span> + </a> + </div> + + <div class="method-description"> + <p> +Any actions needed before the installation can occur will happen here, such +as creating new user accounts, dealing with existing configuration files, +etc. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + <p><a class="source-toggle" href="#" + onclick="toggleCode('M000005-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000005-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 76</span> +76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +77: <span class="ruby-keyword kw">end</span> +</pre> + </div> + </div> + </div> + + + </div> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html> \ No newline at end of file Added: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid (rev 0) +++ src/trunk/doc/created.rid 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1 @@ +Sun May 14 10:49:53 CEST 2006 Added: src/trunk/doc/dot/f_0.dot =================================================================== --- src/trunk/doc/dot/f_0.dot (rev 0) +++ src/trunk/doc/dot/f_0.dot 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,23 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "Package.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + Package [ + fontcolor = black, + URL = "classes/Package.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "Package" + ] + +} + Added: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_0.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html (rev 0) +++ src/trunk/doc/files/Package_rb.html 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,143 @@ +<?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>File: Package.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <meta http-equiv="Content-Script-Type" content="text/javascript" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + <script type="text/javascript"> + // <![CDATA[ + + function popupCode( url ) { + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") + } + + function toggleCode( id ) { + if ( document.getElementById ) + elem = document.getElementById( id ); + else if ( document.all ) + elem = eval( "document.all." + id ); + else + return false; + + elemStyle = elem.style; + + if ( elemStyle.display != "block" ) { + elemStyle.display = "block" + } else { + elemStyle.display = "none" + } + + return true; + } + + // Make codeblocks hidden by default + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) + + // ]]> + </script> + +</head> +<body> + + + + <div id="fileHeader"> + <h1>Package.rb</h1> + <table class="header-table"> + <tr class="top-aligned-row"> + <td><strong>Path:</strong></td> + <td>Package.rb + </td> + </tr> + <tr class="top-aligned-row"> + <td><strong>Last Update:</strong></td> + <td>Sun May 14 10:47:31 CEST 2006</td> + </tr> + </table> + </div> + <!-- banner header --> + + <div id="bodyContent"> + + + + <div id="contextContent"> + <div id="diagram"> + <map id="map" name="map"> + <area shape="RECT" coords="9,7,81,55" href="../classes/Package.html" alt="Package"> +</map> +<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> + </div> + + <div id="description"> + <p> +Package.rb +</p> +<p> +<a href="../classes/Package.html">Package</a> class provides an interface +to package creation within AbTLinux. By inheriting from this class (class +Fortune < <a href="../classes/Package.html">Package</a>) one picks up +all supported standard functions for the abt package manager to make use of +the new package. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> + + </div> + + + </div> + + + </div> + + + <!-- if includes --> + + <div id="section"> + + + + + + + + + <!-- if method_list --> + + + </div> + + +<div id="validator-badges"> + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> +</div> + +</body> +</html> \ No newline at end of file Added: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html (rev 0) +++ src/trunk/doc/fr_class_index.html 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,27 @@ + +<?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"> + +<!-- + + Classes + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Classes</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href="rdoc-style.css" type="text/css" /> + <base target="docwin" /> +</head> +<body> +<div id="index"> + <h1 class="section-bar">Classes</h1> + <div id="index-entries"> + <a href="classes/Package.html">Package</a><br /> + </div> +</div> +</body> +</html> \ No newline at end of file Added: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html (rev 0) +++ src/trunk/doc/fr_file_index.html 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,27 @@ + +<?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"> + +<!-- + + Files + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Files</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href="rdoc-style.css" type="text/css" /> + <base target="docwin" /> +</head> +<body> +<div id="index"> + <h1 class="section-bar">Files</h1> + <div id="index-entries"> + <a href="files/Package_rb.html">Package.rb</a><br /> + </div> +</div> +</body> +</html> \ No newline at end of file Added: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html (rev 0) +++ src/trunk/doc/fr_method_index.html 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,33 @@ + +<?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"> + +<!-- + + Methods + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Methods</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href="rdoc-style.css" type="text/css" /> + <base target="docwin" /> +</head> +<body> +<div id="index"> + <h1 class="section-bar">Methods</h1> + <div id="index-entries"> + <a href="classes/Package.html#M000004">build (Package)</a><br /> + <a href="classes/Package.html#M000003">configure (Package)</a><br /> + <a href="classes/Package.html#M000001">details (Package)</a><br /> + <a href="classes/Package.html#M000006">install (Package)</a><br /> + <a href="classes/Package.html#M000007">post (Package)</a><br /> + <a href="classes/Package.html#M000002">pre (Package)</a><br /> + <a href="classes/Package.html#M000005">preinstall (Package)</a><br /> + </div> +</div> +</body> +</html> \ No newline at end of file Added: src/trunk/doc/index.html =================================================================== --- src/trunk/doc/index.html (rev 0) +++ src/trunk/doc/index.html 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> + +<!-- + + AbTLinux Package Manager API + + --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>AbTLinux Package Manager API</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> +</head> +<frameset rows="20%, 80%"> + <frameset cols="25%,35%,45%"> + <frame src="fr_file_index.html" title="Files" name="Files" /> + <frame src="fr_class_index.html" name="Classes" /> + <frame src="fr_method_index.html" name="Methods" /> + </frameset> + <frame src="files/Package_rb.html" name="docwin" /> +</frameset> +</html> \ No newline at end of file Added: src/trunk/doc/rdoc-style.css =================================================================== --- src/trunk/doc/rdoc-style.css (rev 0) +++ src/trunk/doc/rdoc-style.css 2006-05-14 08:49:44 UTC (rev 84) @@ -0,0 +1,208 @@ + +body { + font-family: Verdana,Arial,Helvetica,sans-serif; + font-size: 90%; + margin: 0; + margin-left: 40px; + padding: 0; + background: white; +} + +h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; } +h1 { font-size: 150%; } +h2,h3,h4 { margin-top: 1em; } + +a { background: #eef; color: #039; text-decoration: none; } +a:hover { background: #039; color: #eef; } + +/* Override the base stylesheet's Anchor inside a table cell */ +td > a { + background: transparent; + color: #039; + text-decoration: none; +} + +/* and inside a section title */ +.section-title > a { + background: transparent; + color: #eee; + text-decoration: none; +} + +/* === Structural elements =================================== */ + +div#index { + margin: 0; + margin-left: -40px; + padding: 0; + font-size: 90%; +} + + +div#index a { + margin-left: 0.7em; +} + +div#index .section-bar { + margin-left: 0px; + padding-left: 0.7em; + background: #ccc; + font-size: small; +} + + +div#classHeader, div#fileHeader { + width: auto; + color: white; + padding: 0.5em 1.5em 0.5em 1.5em; + margin: 0; + margin-left: -40px; + border-bottom: 3px solid #006; +} + +div#classHeader a, div#fileHeader a { + background: inherit; + color: white; +} + +div#classHeader td, div#fileHeader td { + background: inherit; + color: white; +} + + +div#fileHeader { + background: #057; +} + +div#classHeader { + background: #048; +} + + +.class-name-in-header { + font-size: 180%; + font-weight: bold; +} + + +div#bodyContent { + padding: 0 1.5em 0 1.5em; +} + +div#description { + padding: 0.5em 1.5em; + background: #efefef; + border: 1px dotted #999; +} + +div#description h1,h2,h3,h4,h5,h6 { + color: #125;; + background: transparent; +} + +div#validator-badges { + text-align: center; +} +div#validator-badges img { border: 0; } + +div#copyright { + color: #333; + background: #efefef; + font: 0.75em sans-serif; + margin-top: 5em; + margin-bottom: 0; + padding: 0.5em 2em; +} + + +/* === Classes =================================== */ + +table.header-table { + color: white; + font-size: small; +} + +.type-note { + font-size: small; + color: #DEDEDE; +} + +.xxsection-bar { + background: #eee; + color: #333; + padding: 3px; +} + +.section-bar { + color: #333; + border-bottom: 1px solid #999; + margin-left: -20px; +} + + +.section-title { + background: #79a; + color: #eee; + padding: 3px; + margin-top: 2em; + margin-left: -30px; + border: 1px solid #999; +} + +.top-aligned-row { vertical-align: top } +.bottom-aligned-row { vertical-align: bottom } + +/* --- Context section classes ----------------------- */ + +.context-row { } +.context-item-name { font-family: monospace; font-weight: bold; color: black; } +.context-item-value { font-size: small; color: #448; } +.context-item-desc { color: #333; padding-left: 2em; } + +/* --- Method classes -------------------------- */ +.method-detail { + background: #efefef; + padding: 0; + margin-top: 0.5em; + margin-bottom: 1em; + border: 1px dotted #ccc; +} +.method-heading { + color: black; + background: #ccc; + border-bottom: 1px solid #666; + padding: 0.2em 0.5em 0 0.5em; +} +.method-signature { color: black; background: inherit; } +.method-name { font-weight: bold; } +.method-args { font-style: italic; } +.method-description { padding: 0 0.5em 0 0.5em; } + +/* --- Source code sections -------------------- */ + +a.source-toggle { font-size: 90%; } +div.method-source-code { + background: #262626; + color: #ffdead; + margin: 1em; + padding: 0.5em; + border: 1px dashed #999; + overflow: hidden; +} + +div.method-source-code pre { color: #ffdead; overflow: hidden; } + +/* --- Ruby keyword styles --------------------- */ + +.standalone-code { background: #221111; color: #ffdead; overflow: hidden; } + +.ruby-constant { color: #7fffd4; background: transparent; } +.ruby-keyword { color: #00ffff; background: transparent; } +.ruby-ivar { color: #eedd82; background: transparent; } +.ruby-operator { color: #00ffee; background: transparent; } +.ruby-identifier { color: #ffdead; background: transparent; } +.ruby-node { color: #ffa07a; background: transparent; } +.ruby-comment { color: #b22222; font-weight: bold; background: transparent; } +.ruby-regexp { color: #ffa07a; background: transparent; } +.ruby-value { color: #7fffd4; background: transparent; } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-14 08:52:04
|
Revision: 85 Author: eschabell Date: 2006-05-14 01:51:58 -0700 (Sun, 14 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=85&view=rev Log Message: ----------- Removing the tarball docs and leaving the complete tree for online presentation. Adding link to site for the api docs. Modified Paths: -------------- src/trunk/docGen.sh Removed Paths: ------------- src/trunk/doc.tar.bz2 Deleted: src/trunk/doc.tar.bz2 =================================================================== (Binary files differ) Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-14 08:49:44 UTC (rev 84) +++ src/trunk/docGen.sh 2006-05-14 08:51:58 UTC (rev 85) @@ -24,8 +24,8 @@ rdoc --diagram --inline-source --line-numbers --title "AbTLinux Package Manager API" $FILES # remove old tarball and refresh with new docs. -rm ./doc.tar.bz2 -tar cf doc.tar ./doc -bzip2 doc.tar +#rm ./doc.tar.bz2 +#tar cf doc.tar ./doc +#bzip2 doc.tar # end docGen.sh This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-15 18:24:37
|
Revision: 88 Author: eschabell Date: 2006-05-15 11:24:26 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=88&view=rev Log Message: ----------- Regenerated docs. Modified Paths: -------------- src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.dot src/trunk/doc/dot/f_0.png src/trunk/doc/files/Package_rb.html src/trunk/docGen.sh Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-15 17:50:40 UTC (rev 87) +++ src/trunk/doc/classes/Package.html 2006-05-15 18:24:26 UTC (rev 88) @@ -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="9,8,81,56" href="Package.html" alt="Package"> + <area shape="RECT" coords="28,51,100,99" href="Package.html" alt="Package"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-15 17:50:40 UTC (rev 87) +++ src/trunk/doc/created.rid 2006-05-15 18:24:26 UTC (rev 88) @@ -1 +1 @@ -Mon May 15 19:45:11 CEST 2006 +Mon May 15 20:22:56 CEST 2006 Modified: src/trunk/doc/dot/f_0.dot =================================================================== --- src/trunk/doc/dot/f_0.dot 2006-05-15 17:50:40 UTC (rev 87) +++ src/trunk/doc/dot/f_0.dot 2006-05-15 18:24:26 UTC (rev 88) @@ -10,14 +10,20 @@ color = black ] - Package [ - fontcolor = black, - URL = "classes/Package.html", - shape = ellipse, - color = palegoldenrod, - style = filled, - label = "Package" - ] + subgraph cluster_1 { + fontname = Arial + color = red + label = "Package.rb" + Package [ + fontcolor = black, + URL = "classes/Package.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "Package" + ] + } + } Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-15 17:50:40 UTC (rev 87) +++ src/trunk/doc/files/Package_rb.html 2006-05-15 18:24:26 UTC (rev 88) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 15 19:41:08 CEST 2006</td> + <td>Mon May 15 19:58:57 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="9,8,81,56" href="../classes/Package.html" alt="Package"> + <area shape="RECT" coords="28,51,100,99" href="../classes/Package.html" alt="Package"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-15 17:50:40 UTC (rev 87) +++ src/trunk/docGen.sh 2006-05-15 18:24:26 UTC (rev 88) @@ -18,12 +18,10 @@ FILES=Package.rb TEMPLATE=./abtTemplate.rb -# clean out existing docs directory. -rm -rf ./doc - # run the actual doc generation. rdoc --diagram \ --template $TEMPLATE \ + --fileboxes \ --inline-source \ --line-numbers \ --title "AbTLinux Package Manager API" \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-15 17:50:55
|
Revision: 87 Author: eschabell Date: 2006-05-15 10:50:40 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=87&view=rev Log Message: ----------- Added a template for prettier docs. Updated docGen.sh to use template. Reran doc generation and added to repo so it can be easily hosted. Modified Paths: -------------- src/trunk/docGen.sh Added Paths: ----------- src/trunk/abtTemplate.rb src/trunk/doc/ src/trunk/doc/classes/ src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/ src/trunk/doc/dot/f_0.dot src/trunk/doc/dot/f_0.png src/trunk/doc/files/ src/trunk/doc/files/Package_rb.html src/trunk/doc/fr_class_index.html src/trunk/doc/fr_file_index.html src/trunk/doc/fr_method_index.html src/trunk/doc/index.html src/trunk/doc/rdoc-style.css Added: src/trunk/abtTemplate.rb =================================================================== --- src/trunk/abtTemplate.rb (rev 0) +++ src/trunk/abtTemplate.rb 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,590 @@ +module RDoc +module Page + +FONTS = "\"Bitstream Vera Sans\", Verdana, Arial, Helvetica, sans-serif" + +STYLE = <<CSS +a { + color: #00F; + text-decoration: none; +} + +a:hover { + color: #77F; + text-decoration: underline; +} + +body, td, p { + font-family: %fonts%; + background: #FFF; + color: #000; + margin: 0px; + font-size: small; +} + +#content { + margin: 2em; +} + +#description p { + margin-bottom: 0.5em; +} + +.sectiontitle { + margin-top: 1em; + margin-bottom: 1em; + padding: 0.5em; + padding-left: 2em; + background: #005; + color: #FFF; + font-weight: bold; + border: 1px dotted black; +} + +.attr-rw { + padding-left: 1em; + padding-right: 1em; + text-align: center; + color: #055; +} + +.attr-name { + font-weight: bold; +} + +.attr-desc { +} + +.attr-value { + font-family: monospace; +} + +.file-title-prefix { + font-size: large; +} + +.file-title { + font-size: large; + font-weight: bold; + background: #005; + color: #FFF; +} + +.banner { + background: #005; + color: #FFF; + border: 1px solid black; + padding: 1em; +} + +.banner td { + background: transparent; + color: #FFF; +} + +h1 a, h2 a, .sectiontitle a, .banner a { + color: #FF0; +} + +h1 a:hover, h2 a:hover, .sectiontitle a:hover, .banner a:hover { + color: #FF7; +} + +.dyn-source { + display: none; + background: #FFE; + color: #000; + border: 1px dotted black; + margin: 0.5em 2em 0.5em 2em; + padding: 0.5em; +} + +.dyn-source .cmt { + color: #00F; + font-style: italic; +} + +.dyn-source .kw { + color: #070; + font-weight: bold; +} + +.method { + margin-left: 1em; + margin-right: 1em; + margin-bottom: 1em; +} + +.description pre { + padding: 0.5em; + border: 1px dotted black; + background: #FFE; +} + +.method .title { + font-family: monospace; + font-size: large; + border-bottom: 1px dashed black; + margin-bottom: 0.3em; + padding-bottom: 0.1em; +} + +.method .description, .method .sourcecode { + margin-left: 1em; +} + +.description p, .sourcecode p { + margin-bottom: 0.5em; +} + +.method .sourcecode p.source-link { + text-indent: 0em; + margin-top: 0.5em; +} + +.method .aka { + margin-top: 0.3em; + margin-left: 1em; + font-style: italic; + text-indent: 2em; +} + +h1 { + padding: 1em; + border: 1px solid black; + font-size: x-large; + font-weight: bold; + color: #FFF; + background: #007; +} + +h2 { + padding: 0.5em 1em 0.5em 1em; + border: 1px solid black; + font-size: large; + font-weight: bold; + color: #FFF; + background: #009; +} + +h3, h4, h5, h6 { + padding: 0.2em 1em 0.2em 1em; + border: 1px dashed black; + color: #000; + background: #AAF; +} + +.sourcecode > pre { + padding: 0.5em; + border: 1px dotted black; + background: #FFE; +} + +CSS + +XHTML_PREAMBLE = %{<?xml version="1.0" encoding="%charset%"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +} + +HEADER = XHTML_PREAMBLE + <<ENDHEADER +<html> + <head> + <title>%title%</title> + <meta http-equiv="Content-Type" content="text/html; charset=%charset%" /> + <link rel="stylesheet" href="%style_url%" 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> +ENDHEADER + +FILE_PAGE = <<HTML +<table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />%short_name%</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>%full_path% +IF:cvsurl + (<a href="%cvsurl%">CVS</a>) +ENDIF:cvsurl + </td> + </tr> + <tr> + <td>Modified:</td> + <td>%dtm_modified%</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> +HTML + +################################################################### + +CLASS_PAGE = <<HTML +<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr> + <td class="file-title"><span class="file-title-prefix">%classmod%</span><br />%full_name%</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +START:infiles +HREF:full_path_url:full_path: +IF:cvsurl + (<a href="%cvsurl%">CVS</a>) +ENDIF:cvsurl +END:infiles + </td> + </tr> +IF:parent + <tr> + <td>Parent:</td> + <td> +IF:par_url + <a href="%par_url%"> +ENDIF:par_url +%parent% +IF:par_url + </a> +ENDIF:par_url + </td> + </tr> +ENDIF:parent + </table> + </td> + </tr> + </table> +HTML + +################################################################### + +METHOD_LIST = <<HTML + <div id="content"> +IF:diagram + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + %diagram% + </td></tr></table> +ENDIF:diagram + +IF:description + <div class="description">%description%</div> +ENDIF:description + +IF:requires + <div class="sectiontitle">Required Files</div> + <ul> +START:requires + <li>HREF:aref:name:</li> +END:requires + </ul> +ENDIF:requires + +IF:toc + <div class="sectiontitle">Contents</div> + <ul> +START:toc + <li><a href="#%href%">%secname%</a></li> +END:toc + </ul> +ENDIF:toc + +IF:methods + <div class="sectiontitle">Methods</div> + <ul> +START:methods + <li>HREF:aref:name:</li> +END:methods + </ul> +ENDIF:methods + +IF:includes +<div class="sectiontitle">Included Modules</div> +<ul> +START:includes + <li>HREF:aref:name:</li> +END:includes +</ul> +ENDIF:includes + +START:sections +IF:sectitle +<div class="sectiontitle"><a name="%secsequence%">%sectitle%</a></div> +IF:seccomment +<div class="description"> +%seccomment% +</div> +ENDIF:seccomment +ENDIF:sectitle + +IF:classlist + <div class="sectiontitle">Classes and Modules</div> + %classlist% +ENDIF:classlist + +IF:constants + <div class="sectiontitle">Constants</div> + <table border='0' cellpadding='5'> +START:constants + <tr valign='top'> + <td class="attr-name">%name%</td> + <td>=</td> + <td class="attr-value">%value%</td> + </tr> +IF:desc + <tr valign='top'> + <td> </td> + <td colspan="2" class="attr-desc">%desc%</td> + </tr> +ENDIF:desc +END:constants + </table> +ENDIF:constants + +IF:attributes + <div class="sectiontitle">Attributes</div> + <table border='0' cellpadding='5'> +START:attributes + <tr valign='top'> + <td class='attr-rw'> +IF:rw +[%rw%] +ENDIF:rw + </td> + <td class='attr-name'>%name%</td> + <td class='attr-desc'>%a_desc%</td> + </tr> +END:attributes + </table> +ENDIF:attributes + +IF:method_list +START:method_list +IF:methods +<div class="sectiontitle">%type% %category% methods</div> +START:methods +<div class="method"> + <div class="title"> +IF:callseq + <a name="%aref%"></a><b>%callseq%</b> +ENDIF:callseq +IFNOT:callseq + <a name="%aref%"></a><b>%name%</b>%params% +ENDIF:callseq +IF:codeurl +[ <a href="javascript:openCode('%codeurl%')">source</a> ] +ENDIF:codeurl + </div> +IF:m_desc + <div class="description"> + %m_desc% + </div> +ENDIF:m_desc +IF:aka +<div class="aka"> + This method is also aliased as +START:aka + <a href="%aref%">%name%</a> +END:aka +</div> +ENDIF:aka +IF:sourcecode +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('%aref%_source')" id="l_%aref%_source">show source</a> ]</p> + <div id="%aref%_source" class="dyn-source"> +<pre> +%sourcecode% +</pre> + </div> +</div> +ENDIF:sourcecode +</div> +END:methods +ENDIF:methods +END:method_list +ENDIF:method_list +END:sections +</div> +HTML + +FOOTER = <<ENDFOOTER + </body> +</html> +ENDFOOTER + +BODY = HEADER + <<ENDBODY + !INCLUDE! <!-- banner header --> + + <div id="bodyContent"> + #{METHOD_LIST} + </div> + + #{FOOTER} +ENDBODY + +########################## Source code ########################## + +SRC_PAGE = XHTML_PREAMBLE + <<HTML +<html> +<head><title>%title%</title> +<meta http-equiv="Content-Type" content="text/html; charset=%charset%"> +<style> +.ruby-comment { color: green; font-style: italic } +.ruby-constant { color: #4433aa; font-weight: bold; } +.ruby-identifier { color: #222222; } +.ruby-ivar { color: #2233dd; } +.ruby-keyword { color: #3333FF; font-weight: bold } +.ruby-node { color: #777777; } +.ruby-operator { color: #111111; } +.ruby-regexp { color: #662222; } +.ruby-value { color: #662222; font-style: italic } + .kw { color: #3333FF; font-weight: bold } + .cmt { color: green; font-style: italic } + .str { color: #662222; font-style: italic } + .re { color: #662222; } +</style> +</head> +<body bgcolor="white"> +<pre>%code%</pre> +</body> +</html> +HTML + +########################## Index ################################ + +FR_INDEX_BODY = <<HTML +!INCLUDE! +HTML + +FILE_INDEX = XHTML_PREAMBLE + <<HTML +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=%charset%"> +<style> +<!-- + body { + background-color: #EEE; + font-family: #{FONTS}; + color: #000; + margin: 0px; + } + .banner { + background: #005; + color: #FFF; + padding: 0.2em; + font-size: small; + font-weight: bold; + text-align: center; + } + .entries { + margin: 0.25em 1em 0 1em; + font-size: x-small; + } + a { + color: #00F; + text-decoration: none; + white-space: nowrap; + } + a:hover { + color: #77F; + text-decoration: underline; + } +--> +</style> +<base target="docwin"> +</head> +<body> +<div class="banner">%list_title%</div> +<div class="entries"> +START:entries +<a href="%href%">%name%</a><br> +END:entries +</div> +</body></html> +HTML + +CLASS_INDEX = FILE_INDEX +METHOD_INDEX = FILE_INDEX + +INDEX = XHTML_PREAMBLE + <<HTML +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>%title%</title> + <meta http-equiv="Content-Type" content="text/html; charset=%charset%"> +</head> + +<frameset cols="20%,*"> + <frameset rows="15%,35%,50%"> + <frame src="fr_file_index.html" title="Files" name="Files" /> + <frame src="fr_class_index.html" name="Classes" /> + <frame src="fr_method_index.html" name="Methods" /> + </frameset> +IF:inline_source + <frame src="%initial_page%" name="docwin"> +ENDIF:inline_source +IFNOT:inline_source + <frameset rows="80%,20%"> + <frame src="%initial_page%" name="docwin"> + <frame src="blank.html" name="source"> + </frameset> +ENDIF:inline_source + <noframes> + <body bgcolor="white"> + Click <a href="html/index.html">here</a> for a non-frames + version of this page. + </body> + </noframes> +</frameset> + +</html> +HTML + +end +end + Added: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html (rev 0) +++ src/trunk/doc/classes/Package.html 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,313 @@ +<?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: Package</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 />Package</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/Package_rb.html">Package.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="9,8,81,56" href="Package.html" alt="Package"> +</map> +<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +Package.rb +</p> +<p> +<a href="Package.html">Package</a> class provides an interface to package +creation within AbTLinux. By inheriting from this class (class Fortune < +<a href="Package.html">Package</a>) one picks up all supported standard +functions for the abt package manager to make use of the new package. +</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="#M000004">build</a></li> + <li><a href="#M000003">configure</a></li> + <li><a href="#M000001">details</a></li> + <li><a href="#M000006">install</a></li> + <li><a href="#M000007">post</a></li> + <li><a href="#M000002">pre</a></li> + <li><a href="#M000005">preinstall</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000004"></a><b>build</b>() + </div> + <div class="description"> + <p> +Here is where the actual builing of the software starts, for example +running ‘make’. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> + <div id="M000004_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 67</span> +67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +68: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000003"></a><b>configure</b>() + </div> + <div class="description"> + <p> +Here we manage the ./configure step (or equivalent). We need to give +./configure (or autogen.sh, or whatever) the correct options so files are +to be placed later in the right directories, so doc files and man pages are +all in the same common location, etc. Don‘t forget too that +it’s here where we interact with the user in case there are optionnal +dependencies. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> + <div id="M000003_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 59</span> +59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +60: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000001"></a><b>details</b>() + </div> + <div class="description"> + <p> +Provides all the data needed for this package. +</p> +<p> +RETURNS: array containing the package details. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> + <div id="M000001_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 38</span> +38: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +39: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000006"></a><b>install</b>() + </div> + <div class="description"> + <p> +All files to be installed are installed here. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> + <div id="M000006_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 84</span> +84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +85: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000007"></a><b>post</b>() + </div> + <div class="description"> + <p> +Last bits of installation. adding the service for automatic start in init.d +for example. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> + <div id="M000007_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 92</span> +92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +93: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000002"></a><b>pre</b>() + </div> + <div class="description"> + <p> +PREliminary work will happen here such as downloading the tarball, +unpacking it, downloading and applying patches. +</p> +<p> +RETURNS: boolean True if completes sucessfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> + <div id="M000002_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 47</span> +47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +48: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000005"></a><b>preinstall</b>() + </div> + <div class="description"> + <p> +Any actions needed before the installation can occur will happen here, such +as creating new user accounts, dealing with existing configuration files, +etc. +</p> +<p> +RETURNS: boolean True if the completes sucessfully, otherwise false. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> + <div id="M000005_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File Package.rb, line 76</span> +76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +77: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +</div> + + </div> + + </body> +</html> \ No newline at end of file Added: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid (rev 0) +++ src/trunk/doc/created.rid 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1 @@ +Mon May 15 19:45:11 CEST 2006 Added: src/trunk/doc/dot/f_0.dot =================================================================== --- src/trunk/doc/dot/f_0.dot (rev 0) +++ src/trunk/doc/dot/f_0.dot 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,23 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "Package.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + Package [ + fontcolor = black, + URL = "classes/Package.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "Package" + ] + +} + Added: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_0.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html (rev 0) +++ src/trunk/doc/files/Package_rb.html 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: Package.rb</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> + + <script language="JavaScript" type="text/javascript"> + // <![CDATA[ + + function toggleSource( id ) + { + var elem + var link + + if( document.getElementById ) + { + elem = document.getElementById( id ) + link = document.getElementById( "l_" + id ) + } + else if ( document.all ) + { + elem = eval( "document.all." + id ) + link = eval( "document.all.l_" + id ) + } + else + return false; + + if( elem.style.display == "block" ) + { + elem.style.display = "none" + link.innerHTML = "show source" + } + else + { + elem.style.display = "block" + link.innerHTML = "hide source" + } + } + + function openCode( url ) + { + window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" ) + } + // ]]> + </script> + </head> + + <body> + <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'> + <tr><td> + <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr> + <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />Package.rb</td> + <td align="right"> + <table border='0' cellspacing="0" cellpadding="2"> + <tr> + <td>Path:</td> + <td>Package.rb + </td> + </tr> + <tr> + <td>Modified:</td> + <td>Mon May 15 19:41:08 CEST 2006</td> + </tr> + </table> + </td></tr> + </table> + </td></tr> +</table><br> + <!-- banner header --> + + <div id="bodyContent"> + <div id="content"> + <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> + <map id="map" name="map"> + <area shape="RECT" coords="9,8,81,56" href="../classes/Package.html" alt="Package"> +</map> +<img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +Package.rb +</p> +<p> +<a href="../classes/Package.html">Package</a> class provides an interface +to package creation within AbTLinux. By inheriting from this class (class +Fortune < <a href="../classes/Package.html">Package</a>) one picks up +all supported standard functions for the abt package manager to make use of +the new package. +</p> +<p> +Created by Eric D. Schabell <er...@ab...> Copyright 2006, GPL. +</p> +<p> +This file is part of AbTLinux. +</p> +<p> +AbTLinux is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. +</p> +<p> +AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. +</p> +<p> +You should have received a copy of the GNU General Public License along +with AbTLinux; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +</p> +</div> + + + + + + + + + +</div> + + </div> + + </body> +</html> \ No newline at end of file Added: src/trunk/doc/fr_class_index.html =================================================================== --- src/trunk/doc/fr_class_index.html (rev 0) +++ src/trunk/doc/fr_class_index.html 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,46 @@ +<?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> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<style> +<!-- + body { + background-color: #EEE; + font-family: "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif; + color: #000; + margin: 0px; + } + .banner { + background: #005; + color: #FFF; + padding: 0.2em; + font-size: small; + font-weight: bold; + text-align: center; + } + .entries { + margin: 0.25em 1em 0 1em; + font-size: x-small; + } + a { + color: #00F; + text-decoration: none; + white-space: nowrap; + } + a:hover { + color: #77F; + text-decoration: underline; + } +--> +</style> +<base target="docwin"> +</head> +<body> +<div class="banner">Classes</div> +<div class="entries"> +<a href="classes/Package.html">Package</a><br> +</div> +</body></html> \ No newline at end of file Added: src/trunk/doc/fr_file_index.html =================================================================== --- src/trunk/doc/fr_file_index.html (rev 0) +++ src/trunk/doc/fr_file_index.html 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,46 @@ +<?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> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<style> +<!-- + body { + background-color: #EEE; + font-family: "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif; + color: #000; + margin: 0px; + } + .banner { + background: #005; + color: #FFF; + padding: 0.2em; + font-size: small; + font-weight: bold; + text-align: center; + } + .entries { + margin: 0.25em 1em 0 1em; + font-size: x-small; + } + a { + color: #00F; + text-decoration: none; + white-space: nowrap; + } + a:hover { + color: #77F; + text-decoration: underline; + } +--> +</style> +<base target="docwin"> +</head> +<body> +<div class="banner">Files</div> +<div class="entries"> +<a href="files/Package_rb.html">Package.rb</a><br> +</div> +</body></html> \ No newline at end of file Added: src/trunk/doc/fr_method_index.html =================================================================== --- src/trunk/doc/fr_method_index.html (rev 0) +++ src/trunk/doc/fr_method_index.html 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,52 @@ +<?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> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<style> +<!-- + body { + background-color: #EEE; + font-family: "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif; + color: #000; + margin: 0px; + } + .banner { + background: #005; + color: #FFF; + padding: 0.2em; + font-size: small; + font-weight: bold; + text-align: center; + } + .entries { + margin: 0.25em 1em 0 1em; + font-size: x-small; + } + a { + color: #00F; + text-decoration: none; + white-space: nowrap; + } + a:hover { + color: #77F; + text-decoration: underline; + } +--> +</style> +<base target="docwin"> +</head> +<body> +<div class="banner">Methods</div> +<div class="entries"> +<a href="classes/Package.html#M000004">build (Package)</a><br> +<a href="classes/Package.html#M000003">configure (Package)</a><br> +<a href="classes/Package.html#M000001">details (Package)</a><br> +<a href="classes/Package.html#M000006">install (Package)</a><br> +<a href="classes/Package.html#M000007">post (Package)</a><br> +<a href="classes/Package.html#M000002">pre (Package)</a><br> +<a href="classes/Package.html#M000005">preinstall (Package)</a><br> +</div> +</body></html> \ No newline at end of file Added: src/trunk/doc/index.html =================================================================== --- src/trunk/doc/index.html (rev 0) +++ src/trunk/doc/index.html 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,26 @@ +<?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>AbTLinux Package Manager API</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<frameset cols="20%,*"> + <frameset rows="15%,35%,50%"> + <frame src="fr_file_index.html" title="Files" name="Files" /> + <frame src="fr_class_index.html" name="Classes" /> + <frame src="fr_method_index.html" name="Methods" /> + </frameset> + <frame src="files/Package_rb.html" name="docwin"> + <noframes> + <body bgcolor="white"> + Click <a href="html/index.html">here</a> for a non-frames + version of this page. + </body> + </noframes> +</frameset> + +</html> \ No newline at end of file Added: src/trunk/doc/rdoc-style.css =================================================================== --- src/trunk/doc/rdoc-style.css (rev 0) +++ src/trunk/doc/rdoc-style.css 2006-05-15 17:50:40 UTC (rev 87) @@ -0,0 +1,175 @@ +a { + color: #00F; + text-decoration: none; +} + +a:hover { + color: #77F; + text-decoration: underline; +} + +body, td, p { + font-family: "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif; + background: #FFF; + color: #000; + margin: 0px; + font-size: small; +} + +#content { + margin: 2em; +} + +#description p { + margin-bottom: 0.5em; +} + +.sectiontitle { + margin-top: 1em; + margin-bottom: 1em; + padding: 0.5em; + padding-left: 2em; + background: #005; + color: #FFF; + font-weight: bold; + border: 1px dotted black; +} + +.attr-rw { + padding-left: 1em; + padding-right: 1em; + text-align: center; + color: #055; +} + +.attr-name { + font-weight: bold; +} + +.attr-desc { +} + +.attr-value { + font-family: monospace; +} + +.file-title-prefix { + font-size: large; +} + +.file-title { + font-size: large; + font-weight: bold; + background: #005; + color: #FFF; +} + +.banner { + background: #005; + color: #FFF; + border: 1px solid black; + padding: 1em; +} + +.banner td { + background: transparent; + color: #FFF; +} + +h1 a, h2 a, .sectiontitle a, .banner a { + color: #FF0; +} + +h1 a:hover, h2 a:hover, .sectiontitle a:hover, .banner a:hover { + color: #FF7; +} + +.dyn-source { + display: none; + background: #FFE; + color: #000; + border: 1px dotted black; + margin: 0.5em 2em 0.5em 2em; + padding: 0.5em; +} + +.dyn-source .cmt { + color: #00F; + font-style: italic; +} + +.dyn-source .kw { + color: #070; + font-weight: bold; +} + +.method { + margin-left: 1em; + margin-right: 1em; + margin-bottom: 1em; +} + +.description pre { + padding: 0.5em; + border: 1px dotted black; + background: #FFE; +} + +.method .title { + font-family: monospace; + font-size: large; + border-bottom: 1px dashed black; + margin-bottom: 0.3em; + padding-bottom: 0.1em; +} + +.method .description, .method .sourcecode { + margin-left: 1em; +} + +.description p, .sourcecode p { + margin-bottom: 0.5em; +} + +.method .sourcecode p.source-link { + text-indent: 0em; + margin-top: 0.5em; +} + +.method .aka { + margin-top: 0.3em; + margin-left: 1em; + font-style: italic; + text-indent: 2em; +} + +h1 { + padding: 1em; + border: 1px solid black; + font-size: x-large; + font-weight: bold; + color: #FFF; + background: #007; +} + +h2 { + padding: 0.5em 1em 0.5em 1em; + border: 1px solid black; + font-size: large; + font-weight: bold; + color: #FFF; + background: #009; +} + +h3, h4, h5, h6 { + padding: 0.2em 1em 0.2em 1em; + border: 1px dashed black; + color: #000; + background: #AAF; +} + +.sourcecode > pre { + padding: 0.5em; + border: 1px dotted black; + background: #FFE; +} \ No newline at end of file Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-14 12:52:54 UTC (rev 86) +++ src/trunk/docGen.sh 2006-05-15 17:50:40 UTC (rev 87) @@ -16,12 +16,18 @@ #=============================================================================== FILES=Package.rb +TEMPLATE=./abtTemplate.rb # clean out existing docs directory. rm -rf ./doc # run the actual doc generation. -rdoc --diagram --inline-source --line-numbers --title "AbTLinux Package Manager API" $FILES +rdoc --diagram \ + --template $TEMPLATE \ + --inline-source \ + --line-numbers \ + --title "AbTLinux Package Manager API" \ + $FILES # remove old tarball and refresh with new docs. #rm ./doc.tar.bz2 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-17 09:24:40
|
Revision: 89 Author: eschabell Date: 2006-05-17 02:24:27 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=89&view=rev Log Message: ----------- Fixed Package.details to reflect return value of HASH instead of an array. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/dot/f_0.png src/trunk/doc/files/Package_rb.html src/trunk/docGen.sh Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-15 18:24:26 UTC (rev 88) +++ src/trunk/Package.rb 2006-05-17 09:24:27 UTC (rev 89) @@ -33,7 +33,7 @@ ## # Provides all the data needed for this package. # - # RETURNS: array containing the package details. + # RETURNS: HASH containing all package information. ## def details end Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-15 18:24:26 UTC (rev 88) +++ src/trunk/doc/classes/Package.html 2006-05-17 09:24:27 UTC (rev 89) @@ -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="28,51,100,99" href="Package.html" alt="Package"> + <area shape="RECT" coords="29,52,101,100" href="Package.html" alt="Package"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> @@ -195,7 +195,7 @@ Provides all the data needed for this package. </p> <p> -RETURNS: array containing the package details. +RETURNS: HASH containing all package information. </p> </div> <div class="sourcecode"> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-15 18:24:26 UTC (rev 88) +++ src/trunk/doc/created.rid 2006-05-17 09:24:27 UTC (rev 89) @@ -1 +1 @@ -Mon May 15 20:22:56 CEST 2006 +Wed May 17 11:20:59 CEST 2006 Modified: src/trunk/doc/dot/f_0.png =================================================================== (Binary files differ) Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-15 18:24:26 UTC (rev 88) +++ src/trunk/doc/files/Package_rb.html 2006-05-17 09:24:27 UTC (rev 89) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Mon May 15 19:58:57 CEST 2006</td> + <td>Wed May 17 11:20:54 CEST 2006</td> </tr> </table> </td></tr> @@ -76,7 +76,7 @@ <div id="content"> <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center"> <map id="map" name="map"> - <area shape="RECT" coords="28,51,100,99" href="../classes/Package.html" alt="Package"> + <area shape="RECT" coords="29,52,101,100" href="../classes/Package.html" alt="Package"> </map> <img src="../dot/f_0.png" usemap="#map" border=0 alt="TopLevel"> </td></tr></table> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-05-15 18:24:26 UTC (rev 88) +++ src/trunk/docGen.sh 2006-05-17 09:24:27 UTC (rev 89) @@ -20,12 +20,12 @@ # run the actual doc generation. rdoc --diagram \ - --template $TEMPLATE \ - --fileboxes \ - --inline-source \ - --line-numbers \ - --title "AbTLinux Package Manager API" \ - $FILES + --template $TEMPLATE \ + --fileboxes \ + --inline-source \ + --line-numbers \ + --title "AbTLinux Package Manager API" \ + $FILES # remove old tarball and refresh with new docs. #rm ./doc.tar.bz2 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-17 11:38:12
|
Revision: 90 Author: eschabell Date: 2006-05-17 04:38:05 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=90&view=rev Log Message: ----------- Added attributes for Package class. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-17 09:24:27 UTC (rev 89) +++ src/trunk/Package.rb 2006-05-17 11:38:05 UTC (rev 90) @@ -30,19 +30,23 @@ class Package + attr_reader :name, :version, :srcfile + attr_reader :srcdir, :srcurl, :integrity + attr_reader :url, :licence, :description + ## # Provides all the data needed for this package. # - # RETURNS: HASH containing all package information. + # <b>RETURNS:</b> <i>hash</i> - Contains all package information. ## def details end ## - # PREliminary work will happen here such as downloading the tarball, + # Preliminary work will happen here such as downloading the tarball, # unpacking it, downloading and applying patches. # - # RETURNS: boolean True if completes sucessfully, otherwise false. + # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. ## def pre end @@ -54,7 +58,7 @@ # Don't forget too that it's here where we interact with the user in case there are optionnal # dependencies. # - # RETURNS: boolean True if the completes sucessfully, otherwise false. + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def configure end @@ -62,7 +66,7 @@ ## # Here is where the actual builing of the software starts, for example running 'make'. # - # RETURNS: boolean True if the completes sucessfully, otherwise false. + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def build end @@ -71,7 +75,7 @@ # Any actions needed before the installation can occur will happen here, such as creating # new user accounts, dealing with existing configuration files, etc. # - # RETURNS: boolean True if the completes sucessfully, otherwise false. + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def preinstall end @@ -79,7 +83,7 @@ ## # All files to be installed are installed here. # - # RETURNS: boolean True if the completes sucessfully, otherwise false. + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def install end @@ -87,7 +91,7 @@ ## # Last bits of installation. adding the service for automatic start in init.d for example. # - # RETURNS: boolean True if the completes sucessfully, otherwise false. + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def post end Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-17 09:24:27 UTC (rev 89) +++ src/trunk/doc/classes/Package.html 2006-05-17 11:38:05 UTC (rev 90) @@ -132,6 +132,72 @@ + <div class="sectiontitle">Attributes</div> + <table border='0' cellpadding='5'> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>description</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>integrity</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>licence</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>name</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>srcdir</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>srcfile</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>srcurl</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>url</td> + <td class='attr-desc'></td> + </tr> + <tr valign='top'> + <td class='attr-rw'> +[R] + </td> + <td class='attr-name'>version</td> + <td class='attr-desc'></td> + </tr> + </table> <div class="sectiontitle">Public Instance methods</div> <div class="method"> @@ -144,16 +210,17 @@ running ‘make’. </p> <p> -RETURNS: boolean True if the completes sucessfully, otherwise false. +<b>RETURNS:</b> <em>boolean</em> - True if the completes sucessfully, +otherwise false. </p> </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> <div id="M000004_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 67</span> -67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -68: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 71</span> +71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +72: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -172,16 +239,17 @@ dependencies. </p> <p> -RETURNS: boolean True if the completes sucessfully, otherwise false. +<b>RETURNS:</b> <em>boolean</em> - True if the completes sucessfully, +otherwise false. </p> </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 59</span> -59: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -60: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 63</span> +63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +64: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -195,16 +263,16 @@ Provides all the data needed for this package. </p> <p> -RETURNS: HASH containing all package information. +<b>RETURNS:</b> <em>hash</em> - Contains all package information. </p> </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> <div id="M000001_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 38</span> -38: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -39: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 42</span> +42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +43: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -218,16 +286,17 @@ All files to be installed are installed here. </p> <p> -RETURNS: boolean True if the completes sucessfully, otherwise false. +<b>RETURNS:</b> <em>boolean</em> - True if the completes sucessfully, +otherwise false. </p> </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> <div id="M000006_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 84</span> -84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -85: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 88</span> +88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +89: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -242,16 +311,17 @@ for example. </p> <p> -RETURNS: boolean True if the completes sucessfully, otherwise false. +<b>RETURNS:</b> <em>boolean</em> - True if the completes sucessfully, +otherwise false. </p> </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> <div id="M000007_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 92</span> -92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -93: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 96</span> +96: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +97: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -262,20 +332,21 @@ </div> <div class="description"> <p> -PREliminary work will happen here such as downloading the tarball, +Preliminary work will happen here such as downloading the tarball, unpacking it, downloading and applying patches. </p> <p> -RETURNS: boolean True if completes sucessfully, otherwise false. +<b>RETURNS:</b> <em>boolean</em> - True if completes sucessfully, otherwise +false. </p> </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 47</span> -47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -48: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 51</span> +51: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +52: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -291,16 +362,17 @@ etc. </p> <p> -RETURNS: boolean True if the completes sucessfully, otherwise false. +<b>RETURNS:</b> <em>boolean</em> - True if the completes sucessfully, +otherwise false. </p> </div> <div class="sourcecode"> <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> <div id="M000005_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 76</span> -76: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -77: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 80</span> +80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +81: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-17 09:24:27 UTC (rev 89) +++ src/trunk/doc/created.rid 2006-05-17 11:38:05 UTC (rev 90) @@ -1 +1 @@ -Wed May 17 11:20:59 CEST 2006 +Wed May 17 13:37:16 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-17 09:24:27 UTC (rev 89) +++ src/trunk/doc/files/Package_rb.html 2006-05-17 11:38:05 UTC (rev 90) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 17 11:20:54 CEST 2006</td> + <td>Wed May 17 13:37:07 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-31 14:53:54
|
Revision: 133 Author: eschabell Date: 2006-05-31 07:53:29 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=133&view=rev Log Message: ----------- Added test cases for AbtQueueManager to suite, generated docs. Cleaned up some typos in the various test cases that were causing errors, not failures. Modified Paths: -------------- src/trunk/TestAbtLogManager.rb src/trunk/TestAbtPackageManager.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/TestAbtPackageManager.html src/trunk/doc/created.rid src/trunk/doc/files/TestAbtLogManager_rb.html src/trunk/doc/files/TestAbtPackageManager_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/TestAbtQueueManager.rb src/trunk/doc/classes/TestAbtQueueManager.html src/trunk/doc/dot/f_13.dot src/trunk/doc/dot/f_13.png src/trunk/doc/files/TestAbtQueueManager_rb.html Modified: src/trunk/TestAbtLogManager.rb =================================================================== --- src/trunk/TestAbtLogManager.rb 2006-05-31 14:39:39 UTC (rev 132) +++ src/trunk/TestAbtLogManager.rb 2006-05-31 14:53:29 UTC (rev 133) @@ -41,7 +41,8 @@ # Test method for 'AbtLogManager.testLogPackageIntegrity()' ## def testLogPackageIntegrity() - assert( @log.logPackageIntegrity( "dummy" ), "testLogPackageIntegrity()" ) + #assert( @log.logPackageIntegrity( "dummy" ), "testLogPackageIntegrity()" ) + assert( false, "testLogPackageIntegrity()" ) end ## @@ -69,7 +70,7 @@ # Test method for 'AbtLogManager.testLogToJournal()' ## def testLogToJournal() - assert( @log.updatePackageTree( "Test message." ), "testLogToJournal()" ) + assert( @log.logToJournal( "Test message." ), "testLogToJournal()" ) end end Modified: src/trunk/TestAbtPackageManager.rb =================================================================== --- src/trunk/TestAbtPackageManager.rb 2006-05-31 14:39:39 UTC (rev 132) +++ src/trunk/TestAbtPackageManager.rb 2006-05-31 14:53:29 UTC (rev 133) @@ -41,35 +41,35 @@ # Test method for 'AbtPackageManager.testInstallPackage()' ## def testInstallPackage - assert( @pkgMgr.installPacakge( "dummy" ), "testInstallPackage()" ) + assert( @pkgMgr.installPackage( "dummy" ), "testInstallPackage()" ) end ## # Test method for 'AbtPackageManager.testReinstallPackage()' ## def testReinstallPackage - assert( @pkgMgr.reinstallPacakge( "dummy" ), "testReinstallPackage()" ) + assert( @pkgMgr.reinstallPackage( "dummy" ), "testReinstallPackage()" ) end ## # Test method for 'AbtPackageManager.testRemovePackage()' ## def testRemovePackage - assert( @pkgMgr.removePacakge( "dummy" ), "testRemovePackage()" ) + assert( @pkgMgr.removePackage( "dummy" ), "testRemovePackage()" ) end ## # Test method for 'AbtPackageManager.testDowngradePackage()' ## def testDowngradePackage - assert( @pkgMgr.downgradePacakge( "dummy", "1.2" ), "testDowngradePackage()" ) + assert( @pkgMgr.downgradePackage( "dummy", "1.2" ), "testDowngradePackage()" ) end ## # Test method for 'AbtPackageManager.testFreezePackage()' ## def testFreezePackage - assert( @pkgMgr.freezePacakge( "dummy" ), "testFreezePackage()" ) + assert( @pkgMgr.freezePackage( "dummy" ), "testFreezePackage()" ) end end Added: src/trunk/TestAbtQueueManager.rb =================================================================== --- src/trunk/TestAbtQueueManager.rb (rev 0) +++ src/trunk/TestAbtQueueManager.rb 2006-05-31 14:53:29 UTC (rev 133) @@ -0,0 +1,47 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtQueueManager' + +## +# TestAbtQueueManager.rb +# +# Unit testing for AbtQueueManager 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 TestAbtQueueManager < Test::Unit::TestCase + + ## + # setup method for testing AbtQueueManager. + ## + def setup + @queue = AbtQueueManager.new() + end + + ## + # Test method for _AbtQueueManager.testQueueMananger()_ + ## + def testQueueManager + assert_equal( false, true, "testQueueManager()" ) + end + +end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 14:39:39 UTC (rev 132) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 14:53:29 UTC (rev 133) @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000049">new</a></li> + <li><a href="#M000051">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000049"></a><b>new</b>() + <a name="M000051"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> - <div id="M000049_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> + <div id="M000051_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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 14:39:39 UTC (rev 132) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 14:53:29 UTC (rev 133) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000048">new</a></li> + <li><a href="#M000050">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000048"></a><b>new</b>() + <a name="M000050"></a><b>new</b>() </div> <div class="description"> <p> @@ -141,8 +141,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> - <div id="M000048_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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:39:39 UTC (rev 132) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 14:53:29 UTC (rev 133) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <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> + <li><a href="#M000080">generateHTMLPackageListing</a></li> + <li><a href="#M000068">new</a></li> + <li><a href="#M000077">searchPackageDescriptions</a></li> + <li><a href="#M000076">showFileOwner</a></li> + <li><a href="#M000072">showFrozenPackages</a></li> + <li><a href="#M000070">showInstalledPackages</a></li> + <li><a href="#M000075">showJournal</a></li> + <li><a href="#M000073">showPackageDependencies</a></li> + <li><a href="#M000069">showPackageDetails</a></li> + <li><a href="#M000071">showPackageLog</a></li> + <li><a href="#M000078">showQueue</a></li> + <li><a href="#M000074">showUntrackedFiles</a></li> + <li><a href="#M000079">showUpdates</a></li> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000066"></a><b>new</b>() + <a name="M000068"></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('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('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 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="M000078"></a><b>generateHTMLPackageListing</b>() + <a name="M000080"></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('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('M000080_source')" id="l_M000080_source">show source</a> ]</p> + <div id="M000080_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="M000075"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000077"></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('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('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 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="M000074"></a><b>showFileOwner</b>( file ) + <a name="M000076"></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('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('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 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="M000070"></a><b>showFrozenPackages</b>() + <a name="M000072"></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('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('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 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="M000068"></a><b>showInstalledPackages</b>() + <a name="M000070"></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('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('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 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="M000073"></a><b>showJournal</b>() + <a name="M000075"></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('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('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 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="M000071"></a><b>showPackageDependencies</b>( package ) + <a name="M000073"></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('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('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 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="M000067"></a><b>showPackageDetails</b>( package ) + <a name="M000069"></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('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('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 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="M000069"></a><b>showPackageLog</b>( package, logType ) + <a name="M000071"></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('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('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 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="M000076"></a><b>showQueue</b>( queueType ) + <a name="M000078"></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('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('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 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="M000072"></a><b>showUntrackedFiles</b>() + <a name="M000074"></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('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('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 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="M000077"></a><b>showUpdates</b>( target ) + <a name="M000079"></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('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('M000079_source')" id="l_M000079_source">show source</a> ]</p> + <div id="M000079_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 14:39:39 UTC (rev 132) +++ src/trunk/doc/classes/TestAbtDepEngine.html 2006-05-31 14:53:29 UTC (rev 133) @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000058">setup</a></li> - <li><a href="#M000059">testDepEngine</a></li> + <li><a href="#M000060">setup</a></li> + <li><a href="#M000061">testDepEngine</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000058"></a><b>setup</b>() + <a name="M000060"></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('M000058_source')" id="l_M000058_source">show source</a> ]</p> - <div id="M000058_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show source</a> ]</p> + <div id="M000060_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000059"></a><b>testDepEngine</b>() + <a name="M000061"></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('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('M000061_source')" id="l_M000061_source">show source</a> ]</p> + <div id="M000061_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:39:39 UTC (rev 132) +++ src/trunk/doc/classes/TestAbtDownloadManager.html 2006-05-31 14:53:29 UTC (rev 133) @@ -118,12 +118,12 @@ <div class="sectiontitle">Methods</div> <ul> - <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> + <li><a href="#M000044">setup</a></li> + <li><a href="#M000047">testRetrieveNewsFeed</a></li> + <li><a href="#M000045">testRetrievePackageSource</a></li> + <li><a href="#M000046">testRetrievePackageTree</a></li> + <li><a href="#M000048">testUpdatePackage</a></li> + <li><a href="#M000049">testUpdatePackageTree</a></li> </ul> @@ -134,7 +134,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>setup</b>() + <a name="M000044"></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('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> + <div id="M000044_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000045"></a><b>testRetrieveNewsFeed</b>() + <a name="M000047"></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('M000045_source')" id="l_M000045_source">show source</a> ]</p> - <div id="M000045_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000047_source')" id="l_M000047_source">show source</a> ]</p> + <div id="M000047_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000043"></a><b>testRetrievePackageSource</b>() + <a name="M000045"></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('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000044"></a><b>testRetrievePackageTree</b>() + <a name="M000046"></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('M000044_source')" id="l_M000044_source">show source</a> ]</p> - <div id="M000044_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000046"></a><b>testUpdatePackage</b>() + <a name="M000048"></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('M000046_source')" id="l_M000046_source">show source</a> ]</p> - <div id="M000046_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show source</a> ]</p> + <div id="M000048_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000047"></a><b>testUpdatePackageTree</b>() + <a name="M000049"></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('M000047_source')" id="l_M000047_source">show source</a> ]</p> - <div id="M000047_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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:39:39 UTC (rev 132) +++ src/trunk/doc/classes/TestAbtLogManager.html 2006-05-31 14:53:29 UTC (rev 133) @@ -117,12 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <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> + <li><a href="#M000062">setup</a></li> + <li><a href="#M000066">testCachePackage</a></li> + <li><a href="#M000065">testLogPackageBuild</a></li> + <li><a href="#M000064">testLogPackageInstall</a></li> + <li><a href="#M000063">testLogPackageIntegrity</a></li> + <li><a href="#M000067">testLogToJournal</a></li> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000060"></a><b>setup</b>() + <a name="M000062"></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('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('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 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="M000064"></a><b>testCachePackage</b>() + <a name="M000066"></a><b>testCachePackage</b>() </div> <div class="description"> <p> @@ -162,20 +162,20 @@ </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('M000066_source')" id="l_M000066_source">show source</a> ]</p> + <div id="M000066_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">"dummy"</span> ), <span class="ruby-value str">"testCachePackage()"</span> ) -66: <span class="ruby-keyword kw">end</span> + <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>() +66: <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> ) +67: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000063"></a><b>testLogPackageBuild</b>() + <a name="M000065"></a><b>testLogPackageBuild</b>() </div> <div class="description"> <p> @@ -183,20 +183,20 @@ </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('M000065_source')" id="l_M000065_source">show source</a> ]</p> + <div id="M000065_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">"dummy"</span> ), <span class="ruby-value str">"testLogPackageBuild()"</span> ) -59: <span class="ruby-keyword kw">end</span> + <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>() +59: <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> ) +60: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000062"></a><b>testLogPackageInstall</b>() + <a name="M000064"></a><b>testLogPackageInstall</b>() </div> <div class="description"> <p> @@ -204,20 +204,20 @@ </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('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 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">"dummy"</span> ), <span class="ruby-value str">"testLogPackageInstall()"</span> ) -52: <span class="ruby-keyword kw">end</span> + <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>() +52: <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> ) +53: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000061"></a><b>testLogPackageIntegrity</b>() + <a name="M000063"></a><b>testLogPackageIntegrity</b>() </div> <div class="description"> <p> @@ -225,20 +225,21 @@ </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('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 43</span> 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogPackageIntegrity</span>() -44: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">logPackageIntegrity</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testLogPackageIntegrity()"</span> ) -45: <span class="ruby-keyword kw">end</span> +44: <span class="ruby-comment cmt">#assert( @log.logPackageIntegrity( "dummy" ), "testLogPackageIntegrity()" )</span> +45: <span class="ruby-identifier">assert</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-value str">"testLogPackageIntegrity()"</span> ) +46: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> <div class="method"> <div class="title"> - <a name="M000065"></a><b>testLogToJournal</b>() + <a name="M000067"></a><b>testLogToJournal</b>() </div> <div class="description"> <p> @@ -246,13 +247,13 @@ </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('M000067_source')" id="l_M000067_source">show source</a> ]</p> + <div id="M000067_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File TestAbtLogManager.rb, line 71</span> -71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testLogToJournal</span>() -72: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">updatePackageTree</span>( <span class="ruby-value str">"Test message."</span> ), <span class="ruby-value str">"testLogToJournal()"</span> ) -73: <span class="ruby-keyword kw">end</span> + <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>() +73: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@log</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-value str">"Test message."</span> ), <span class="ruby-value str">"testLogToJournal()"</span> ) +74: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/classes/TestAbtPackage.html =================================================================== --- src/trunk/doc/classes/TestAbtPackage.html 2006-05-31 14:39:39 UTC (rev 132) +++ src/trunk/doc/classes/TestAbtPackage.html 2006-05-31 14:53:29 UTC (rev 133) @@ -117,14 +117,14 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000050">setup</a></li> - <li><a href="#M000054">testBuild</a></li> - <li><a href="#M000053">testConfigure</a></li> - <li><a href="#M000051">testDetails</a></li> - <li><a href="#M000056">testInstall</a></li> - <li><a href="#M000057">testPost</a></li> - <li><a href="#M000052">testPre</a></li> - <li><a href="#M000055">testPreinstall</a></li> + <li><a href="#M000052">setup</a></li> + <li><a href="#M000056">testBuild</a></li> + <li><a href="#M000055">testConfigure</a></li> + <li><a href="#M000053">testDetails</a></li> + <li><a href="#M000058">testInstall</a></li> + <li><a href="#M000059">testPost</a></li> + <li><a href="#M000054">testPre</a></li> + <li><a href="#M000057">testPreinstall</a></li> </ul> @@ -135,7 +135,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>setup</b>() + <a name="M000052"></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('M000050_source')" id="l_M000050_source">show source</a> ]</p> - <div id="M000050_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> + <div id="M000052_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000054"></a><b>testBuild</b>() + <a name="M000056"></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('M000054_source')" id="l_M000054_source">show source</a> ]</p> - <div id="M000054_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> + <div id="M000056_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000053"></a><b>testConfigure</b>() + <a name="M000055"></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('M000053_source')" id="l_M000053_source">show source</a> ]</p> - <div id="M000053_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> + <div id="M000055_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000051"></a><b>testDetails</b>() + <a name="M000053"></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('M000051_source')" id="l_M000051_source">show source</a> ]</p> - <div id="M000051_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> + <div id="M000053_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000056"></a><b>testInstall</b>() + <a name="M000058"></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('M000056_source')" id="l_M000056_source">show source</a> ]</p> - <div id="M000056_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000058_source')" id="l_M000058_source">show source</a> ]</p> + <div id="M000058_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000057"></a><b>testPost</b>() + <a name="M000059"></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('M000057_source')" id="l_M000057_source">show source</a> ]</p> - <div id="M000057_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show source</a> ]</p> + <div id="M000059_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000052"></a><b>testPre</b>() + <a name="M000054"></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('M000052_source')" id="l_M000052_source">show source</a> ]</p> - <div id="M000052_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> + <div id="M000054_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File 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="M000055"></a><b>testPreinstall</b>() + <a name="M000057"></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('M000055_source')" id="l_M000055_source">show source</a> ]</p> - <div id="M000055_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p> + <div id="M000057_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File TestAbtPackage.rb, line 109</span> 109: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testPreinstall</span> Modified: src/trunk/doc/classes/TestAbtPackageManager.html =================================================================== --- src/trunk/doc/classes/TestAbtPackageManager.html 2006-05-31 14:39:39 UTC (rev 132) +++ src/trunk/doc/classes/TestAbtPackageManager.html 2006-05-31 14:53:29 UTC (rev 133) @@ -169,7 +169,7 @@ <pre> <span class="ruby-comment cmt"># File TestAbtPackageManager.rb, line 64</span> 64: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testDowngradePackage</span> -65: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">downgradePacakge</span>( <span class="ruby-value str">"dummy"</span>, <span class="ruby-value str">"1.2"</span> ), <span class="ruby-value str">"testDowngradePackage()"</span> ) +65: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">downgradePackage</span>( <span class="ruby-value str">"dummy"</span>, <span class="ruby-value str">"1.2"</span> ), <span class="ruby-value str">"testDowngradePackage()"</span> ) 66: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -190,7 +190,7 @@ <pre> <span class="ruby-comment cmt"># File TestAbtPackageManager.rb, line 71</span> 71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testFreezePackage</span> -72: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">freezePacakge</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testFreezePackage()"</span> ) +72: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">freezePackage</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testFreezePackage()"</span> ) 73: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -211,7 +211,7 @@ <pre> <span class="ruby-comment cmt"># File TestAbtPackageManager.rb, line 43</span> 43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testInstallPackage</span> -44: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">installPacakge</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testInstallPackage()"</span> ) +44: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">installPackage</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testInstallPackage()"</span> ) 45: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -232,7 +232,7 @@ <pre> <span class="ruby-comment cmt"># File TestAbtPackageManager.rb, line 50</span> 50: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testReinstallPackage</span> -51: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">reinstallPacakge</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testReinstallPackage()"</span> ) +51: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testReinstallPackage()"</span> ) 52: <span class="ruby-keyword kw">end</span> </pre> </div> @@ -253,7 +253,7 @@ <pre> <span class="ruby-comment cmt"># File TestAbtPackageManager.rb, line 57</span> 57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testRemovePackage</span> -58: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">removePacakge</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testRemovePackage()"</span> ) +58: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@pkgMgr</span>.<span class="ruby-identifier">removePackage</span>( <span class="ruby-value str">"dummy"</span> ), <span class="ruby-value str">"testRemovePackage()"</span> ) 59: <span class="ruby-keyword kw">end</span> </pre> </div> Added: src/trunk/doc/classes/TestAbtQueueManager.html =================================================================== --- src/trunk/doc/classes/TestAbtQueueManager.html (rev 0) +++ src/trunk/doc/classes/TestAbtQueueManager.html 2006-05-31 14:53:29 UTC (rev 133) @@ -0,0 +1,178 @@ +<?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: TestAbtQueueManager</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 />TestAbtQueueManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/TestAbtQueueManager_rb.html">TestAbtQueueManager.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,167,151" href="TestAbtQueueManager.html" alt="TestAbtQueueManager"> + <area shape="RECT" coords="35,7,160,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_13.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +TestAbtQueueManager.rb +</p> +<p> +Unit testing for <a href="AbtQueueManager.html">AbtQueueManager</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="#M000042">setup</a></li> + <li><a href="#M000043">testQueueManager</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000042"></a><b>setup</b>() + </div> + <div class="description"> + <p> +setup method for testing <a +href="AbtQueueManager.html">AbtQueueManager</a>. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000042_source')" id="l_M000042_source">show source</a> ]</p> + <div id="M000042_source" class="dyn-source"> +<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> +37: <span class="ruby-ivar">@queue</span> = <span class="ruby-constant">AbtQueueManager</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="M000043"></a><b>testQueueManager</b>() + </div> + <div class="description"> + <p> +Test method for _AbtQueueManager.testQueueMananger()_ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> + <div id="M000043_source" class="dyn-source"> +<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> +44: <span class="ruby-identifier">assert_equal</span>( <span class="ruby-keyword kw">false</span>, <span class="ruby-keyword kw">true</span>, <span class="ruby-value str">"testQueueManager()"</span> ) +45: <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 14:39:39 UTC (rev 132) +++ src/trunk/doc/created.rid 2006-05-31 14:53:29 UTC (rev 133) @@ -1 +1 @@ -Wed May 31 16:37:41 CEST 2006 +Wed May 31 16:50:52 CEST 2006 Added: src/trunk/doc/dot/f_13.dot =================================================================== --- src/trunk/doc/dot/f_13.dot (rev 0) +++ src/trunk/doc/dot/f_13.dot 2006-05-31 14:53:29 UTC (rev 133) @@ -0,0 +1,38 @@ +digraph TopLevel { + compound = true + bgcolor = lightcyan1 + fontname = Arial + fontsize = 8 + label = "TestAbtQueueManager.rb" + node [ + fontname = Arial, + fontsize = 8, + color = black + ] + + subgraph cluster_14 { + fontname = Arial + color = red + label = "TestAbtQueueManager.rb" + TestAbtQueueManager [ + fontcolor = black, + URL = "classes/TestAbtQueueManager.html", + shape = ellipse, + color = palegoldenrod, + style = filled, + label = "TestAbtQueueManager" + ] + + } + + Test__Unit__TestCase [ + URL = "classes/Test/Unit/TestCase.html", + label = "Test::Unit::TestCase" + ] + + Test__Unit__TestCase -> TestAbtQueueManager [ + + ] + +} + Added: src/trunk/doc/dot/f_13.png =================================================================== (Binary files differ) Property changes on: src/trunk/doc/dot/f_13.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: src/trunk/doc/files/TestAbtLogManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtLogManager_rb.html 2006-05-31 14:39:39 UTC (rev 132) +++ src/trunk/doc/files/TestAbtLogManager_rb.html 2006-05-31 14:53:29 UTC (rev 133) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 16:33:21 CEST 2006</td> + <td>Wed May 31 16:49:58 CEST 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/TestAbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtPackageManager_rb.html 2006-05-31 14:39:39 UTC (rev 132) +++ src/trunk/doc/files/TestAbtPackageManager_rb.html 2006-05-31 14:53:29 UTC (rev 133) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 31 16:34:41 CEST 2006</td> + <td>Wed May 31 16:46:31 CEST 2006</td> </tr> </table> </td></tr> Added: src/trunk/doc/files/TestAbtQueueManager_rb.html =================================================================== --- src/trunk/doc/files/TestAbtQueueManager_rb.html (rev 0) +++ src/trunk/doc/files/TestAbtQueueManager_rb.html 2006-05-31 14:53:29 UTC (rev 133) @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <title>File: TestAbtQueueManager.rb</title> + <meta http-... [truncated message content] |
From: <esc...@us...> - 2006-05-31 15:14:41
|
Revision: 134 Author: eschabell Date: 2006-05-31 08:14:21 -0700 (Wed, 31 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=134&view=rev Log Message: ----------- Added test cases for AbtReportMananger to suite, generated docs. Modified Paths: -------------- src/trunk/doc/classes/AbtDepEngine.html src/trunk/doc/classes/AbtLogManager.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/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/TestAbtReportManager.rb src/trunk/doc/classes/TestAbtReportManager.html src/trunk/doc/dot/f_14.dot src/trunk/doc/dot/f_14.png src/trunk/doc/files/TestAbtReportManager_rb.html Added: src/trunk/TestAbtReportManager.rb =================================================================== --- src/trunk/TestAbtReportManager.rb (rev 0) +++ src/trunk/TestAbtReportManager.rb 2006-05-31 15:14:21 UTC (rev 134) @@ -0,0 +1,127 @@ +#!/usr/bin/ruby -w + +require 'test/unit/testcase' +require 'test/unit/autorunner' +require 'AbtReportManager' + +## +# TestAbtReportManager.rb +# +# Unit testing for AbtReportManager 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 TestAbtReportManager < Test::Unit::TestCase + + ## + # setup method for testing AbtReportManager. + ## + def setup + @report = AbtReportManager.new() + end + + ## + # Test method for 'AbtReportManager.testShowPackageDetails()' + ## + def testShowPackageDetails + assert( @report.showPackageDetails( "dummy" ), "testShowPackageDetails()" ) + end + + ## + # Test method for 'AbtReportManager.testShowInstalledPackages()' + ## + def testShowInstalledPackages + assert( @report.showInstalledPackages(), "testShowInstalledPackages()" ) + end + + ## + # 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()" ) + end + + ## + # Test method for 'AbtReportManager.testShowFrozenPackages()' + ## + def testShowFrozenPackages + assert( @report.showFrozenPackages(), "testShowFrozenPackages()" ) + end + + ## + # Test method for 'AbtReportManager.testShowPackageDependencies()' + ## + def testShowPackageDependencies + #assert( @report.showPackageDependencies( "dummy" ), "testShowPackageDependencies()" ) + assert( false, "testShowPackageDependencies()" ) + end + + ## + # Test method for 'AbtReportManager.testShowUntrackedFiles()' + ## + def testShowUntrackedFiles + assert( @report.showUntrackedFiles(), "testShowUntrackedFiles()" ) + end + + ## + # Test method for 'AbtReportManager.testShowJournal()' + ## + def testShowJournal + assert( @report.showJournal(), "testShowJournal()" ) + end + + ## + # Test method for 'AbtReportManager.testShowFileOwner()' + ## + def testShowFileOwner + assert( @report.showFileOwner( "dummyFile" ), "testShowFileOwner()" ) + end + + ## + # Test method for 'AbtReportManager.testSearchPackageDescriptions()' + ## + def testSearchPackageDescriptions + assert( @report.searchPackageDescriptions( "Special text" ), "testSearchPackageDescriptions()" ) + end + + ## + # Test method for 'AbtReportManager.testShowQueue()' + ## + def testShowQueue + assert( @report.showQueue( "install" ), "testShowQueue()" ) + end + + ## + # Test method for 'AbtReportManager.testShowUpdates()' + ## + def testShowUpdates + assert( @report.showUpdates( "dummy" ), "testShowUpdates()" ) + end + + ## + # Test method for 'AbtReportManager.testGenerateHTMLPackageListing()' + ## + def testGenerateHTMLPackageListing + assert( @report.generateHTMLPackageListing(), "testGenerateHTMLPackageListing()" ) + end + +end Modified: src/trunk/doc/classes/AbtDepEngine.html =================================================================== --- src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 14:53:29 UTC (rev 133) +++ src/trunk/doc/classes/AbtDepEngine.html 2006-05-31 15:14:21 UTC (rev 134) @@ -118,7 +118,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000051">new</a></li> + <li><a href="#M000064">new</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000051"></a><b>new</b>() + <a name="M000064"></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('M000064_source')" id="l_M000064_source">show source</a> ]</p> + <div id="M000064_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/AbtLogManager.html =================================================================== --- src/trunk/doc/classes/AbtLogManager.html 2006-05-31 14:53:29 UTC (rev 133) +++ src/trunk/doc/classes/AbtLogManager.html 2006-05-31 15:14:21 UTC (rev 134) @@ -117,11 +117,11 @@ <div class="sectiontitle">Methods</div> <ul> - <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> + <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> </ul> @@ -132,7 +132,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000037"></a><b>new</b>() + <a name="M000050"></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('M000037_source')" id="l_M000037_source">show source</a> ]</p> - <div id="M000037_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000050_source')" id="l_M000050_source">show source</a> ]</p> + <div id="M000050_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="M000040"></a><b>cachePackage</b>( package ) + <a name="M000053"></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('M000040_source')" id="l_M000040_source">show source</a> ]</p> - <div id="M000040_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p> + <div id="M000053_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="M000039"></a><b>logPackageBuild</b>( package ) + <a name="M000052"></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('M000039_source')" id="l_M000039_source">show source</a> ]</p> - <div id="M000039_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show source</a> ]</p> + <div id="M000052_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="M000038"></a><b>logPackageInstall</b>( package ) + <a name="M000051"></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('M000038_source')" id="l_M000038_source">show source</a> ]</p> - <div id="M000038_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000051_source')" id="l_M000051_source">show source</a> ]</p> + <div id="M000051_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="M000041"></a><b>logToJournal</b>( message ) + <a name="M000054"></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('M000041_source')" id="l_M000041_source">show source</a> ]</p> - <div id="M000041_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p> + <div id="M000054_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/AbtQueueManager.html =================================================================== --- src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 14:53:29 UTC (rev 133) +++ src/trunk/doc/classes/AbtQueueManager.html 2006-05-31 15:14:21 UTC (rev 134) @@ -117,7 +117,7 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000050">new</a></li> + <li><a href="#M000063">new</a></li> </ul> @@ -128,7 +128,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000050"></a><b>new</b>() + <a name="M000063"></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('M000063_source')" id="l_M000063_source">show source</a> ]</p> + <div id="M000063_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:53:29 UTC (rev 133) +++ src/trunk/doc/classes/AbtReportManager.html 2006-05-31 15:14:21 UTC (rev 134) @@ -117,19 +117,19 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000080">generateHTMLPackageListing</a></li> - <li><a href="#M000068">new</a></li> - <li><a href="#M000077">searchPackageDescriptions</a></li> - <li><a href="#M000076">showFileOwner</a></li> - <li><a href="#M000072">showFrozenPackages</a></li> - <li><a href="#M000070">showInstalledPackages</a></li> - <li><a href="#M000075">showJournal</a></li> - <li><a href="#M000073">showPackageDependencies</a></li> - <li><a href="#M000069">showPackageDetails</a></li> - <li><a href="#M000071">showPackageLog</a></li> - <li><a href="#M000078">showQueue</a></li> - <li><a href="#M000074">showUntrackedFiles</a></li> - <li><a href="#M000079">showUpdates</a></li> + <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> </ul> @@ -140,7 +140,7 @@ <div class="sectiontitle">Public Class methods</div> <div class="method"> <div class="title"> - <a name="M000068"></a><b>new</b>() + <a name="M000081"></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('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('M000081_source')" id="l_M000081_source">show source</a> ]</p> + <div id="M000081_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="M000080"></a><b>generateHTMLPackageListing</b>() + <a name="M000093"></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('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('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 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="M000077"></a><b>searchPackageDescriptions</b>( searchText ) + <a name="M000090"></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('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('M000090_source')" id="l_M000090_source">show source</a> ]</p> + <div id="M000090_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="M000076"></a><b>showFileOwner</b>( file ) + <a name="M000089"></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('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('M000089_source')" id="l_M000089_source">show source</a> ]</p> + <div id="M000089_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="M000072"></a><b>showFrozenPackages</b>() + <a name="M000085"></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('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('M000085_source')" id="l_M000085_source">show source</a> ]</p> + <div id="M000085_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="M000070"></a><b>showInstalledPackages</b>() + <a name="M000083"></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('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('M000083_source')" id="l_M000083_source">show source</a> ]</p> + <div id="M000083_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="M000075"></a><b>showJournal</b>() + <a name="M000088"></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('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('M000088_source')" id="l_M000088_source">show source</a> ]</p> + <div id="M000088_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="M000073"></a><b>showPackageDependencies</b>( package ) + <a name="M000086"></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('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('M000086_source')" id="l_M000086_source">show source</a> ]</p> + <div id="M000086_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="M000069"></a><b>showPackageDetails</b>( package ) + <a name="M000082"></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('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('M000082_source')" id="l_M000082_source">show source</a> ]</p> + <div id="M000082_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="M000071"></a><b>showPackageLog</b>( package, logType ) + <a name="M000084"></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('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('M000084_source')" id="l_M000084_source">show source</a> ]</p> + <div id="M000084_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="M000078"></a><b>showQueue</b>( queueType ) + <a name="M000091"></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('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('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 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="M000074"></a><b>showUntrackedFiles</b>() + <a name="M000087"></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('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('M000087_source')" id="l_M000087_source">show source</a> ]</p> + <div id="M000087_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="M000079"></a><b>showUpdates</b>( target ) + <a name="M000092"></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('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('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 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 14:53:29 UTC (rev 133) +++ src/trunk/doc/classes/TestAbtDepEngine.html 2006-05-31 15:14:21 UTC (rev 134) @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000060">setup</a></li> - <li><a href="#M000061">testDepEngine</a></li> + <li><a href="#M000073">setup</a></li> + <li><a href="#M000074">testDepEngine</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000060"></a><b>setup</b>() + <a name="M000073"></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('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('M000073_source')" id="l_M000073_source">show source</a> ]</p> + <div id="M000073_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="M000061"></a><b>testDepEngine</b>() + <a name="M000074"></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('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('M000074_source')" id="l_M000074_source">show source</a> ]</p> + <div id="M000074_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:53:29 UTC (rev 133) +++ src/trunk/doc/classes/TestAbtDownloadManager.html 2006-05-31 15:14:21 UTC (rev 134) @@ -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="#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> </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="M000057"></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('M000057_source')" id="l_M000057_source">show source</a> ]</p> + <div id="M000057_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="M000060"></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('M000060_source')" id="l_M000060_source">show source</a> ]</p> + <div id="M000060_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="M000058"></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('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('M000058_source')" id="l_M000058_source">show source</a> ]</p> + <div id="M000058_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="M000046"></a><b>testRetrievePackageTree</b>() + <a name="M000059"></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('M000059_source')" id="l_M000059_source">show source</a> ]</p> + <div id="M000059_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="M000061"></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('M000061_source')" id="l_M000061_source">show source</a> ]</p> + <div id="M000061_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="M000062"></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('M000062_source')" id="l_M000062_source">show source</a> ]</p> + <div id="M000062_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:53:29 UTC (rev 133) +++ src/trunk/doc/classes/TestAbtLogManager.html 2006-05-31 15:14:21 UTC (rev 134) @@ -117,12 +117,12 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000062">setup</a></li> - <li><a href="#M000066">testCachePackage</a></li> - <li><a href="#M000065">testLogPackageBuild</a></li> - <li><a href="#M000064">testLogPackageInstall</a></li> - <li><a href="#M000063">testLogPackageIntegrity</a></li> - <li><a href="#M000067">testLogToJournal</a></li> + <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> </ul> @@ -133,7 +133,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000062"></a><b>setup</b>() + <a name="M000075"></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('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('M000075_source')" id="l_M000075_source">show source</a> ]</p> + <div id="M000075_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="M000066"></a><b>testCachePackage</b>() + <a name="M000079"></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('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('M000079_source')" id="l_M000079_source">show source</a> ]</p> + <div id="M000079_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="M000065"></a><b>testLogPackageBuild</b>() + <a name="M000078"></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('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('M000078_source')" id="l_M000078_source">show source</a> ]</p> + <div id="M000078_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="M000064"></a><b>testLogPackageInstall</b>() + <a name="M000077"></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('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('M000077_source')" id="l_M000077_source">show source</a> ]</p> + <div id="M000077_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="M000063"></a><b>testLogPackageIntegrity</b>() + <a name="M000076"></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('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('M000076_source')" id="l_M000076_source">show source</a> ]</p> + <div id="M000076_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="M000067"></a><b>testLogToJournal</b>() + <a name="M000080"></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('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('M000080_source')" id="l_M000080_source">show source</a> ]</p> + <div id="M000080_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 14:53:29 UTC (rev 133) +++ src/trunk/doc/classes/TestAbtPackage.html 2006-05-31 15:14:21 UTC (rev 134) @@ -117,14 +117,14 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000052">setup</a></li> - <li><a href="#M000056">testBuild</a></li> - <li><a href="#M000055">testConfigure</a></li> - <li><a href="#M000053">testDetails</a></li> - <li><a href="#M000058">testInstall</a></li> - <li><a href="#M000059">testPost</a></li> - <li><a href="#M000054">testPre</a></li> - <li><a href="#M000057">testPreinstall</a></li> + <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> </ul> @@ -135,7 +135,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000052"></a><b>setup</b>() + <a name="M000065"></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('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('M000065_source')" id="l_M000065_source">show source</a> ]</p> + <div id="M000065_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="M000056"></a><b>testBuild</b>() + <a name="M000069"></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('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('M000069_source')" id="l_M000069_source">show source</a> ]</p> + <div id="M000069_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="M000055"></a><b>testConfigure</b>() + <a name="M000068"></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('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('M000068_source')" id="l_M000068_source">show source</a> ]</p> + <div id="M000068_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="M000053"></a><b>testDetails</b>() + <a name="M000066"></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('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('M000066_source')" id="l_M000066_source">show source</a> ]</p> + <div id="M000066_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="M000058"></a><b>testInstall</b>() + <a name="M000071"></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('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('M000071_source')" id="l_M000071_source">show source</a> ]</p> + <div id="M000071_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="M000059"></a><b>testPost</b>() + <a name="M000072"></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('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('M000072_source')" id="l_M000072_source">show source</a> ]</p> + <div id="M000072_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="M000054"></a><b>testPre</b>() + <a name="M000067"></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('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('M000067_source')" id="l_M000067_source">show source</a> ]</p> + <div id="M000067_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="M000057"></a><b>testPreinstall</b>() + <a name="M000070"></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('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('M000070_source')" id="l_M000070_source">show source</a> ]</p> + <div id="M000070_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 14:53:29 UTC (rev 133) +++ src/trunk/doc/classes/TestAbtQueueManager.html 2006-05-31 15:14:21 UTC (rev 134) @@ -117,8 +117,8 @@ <div class="sectiontitle">Methods</div> <ul> - <li><a href="#M000042">setup</a></li> - <li><a href="#M000043">testQueueManager</a></li> + <li><a href="#M000055">setup</a></li> + <li><a href="#M000056">testQueueManager</a></li> </ul> @@ -129,7 +129,7 @@ <div class="sectiontitle">Public Instance methods</div> <div class="method"> <div class="title"> - <a name="M000042"></a><b>setup</b>() + <a name="M000055"></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('M000042_source')" id="l_M000042_source">show source</a> ]</p> - <div id="M000042_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p> + <div id="M000055_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,7 +151,7 @@ </div> <div class="method"> <div class="title"> - <a name="M000043"></a><b>testQueueManager</b>() + <a name="M000056"></a><b>testQueueManager</b>() </div> <div class="description"> <p> @@ -159,8 +159,8 @@ </p> </div> <div class="sourcecode"> - <p class="source-link">[ <a href="javascript:toggleSource('M000043_source')" id="l_M000043_source">show source</a> ]</p> - <div id="M000043_source" class="dyn-source"> + <p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p> + <div id="M000056_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/TestAbtReportManager.html =================================================================== --- src/trunk/doc/classes/TestAbtReportManager.html (rev 0) +++ src/trunk/doc/classes/TestAbtReportManager.html 2006-05-31 15:14:21 UTC (rev 134) @@ -0,0 +1,427 @@ +<?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: TestAbtReportManager</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 />TestAbtReportManager</td> + <td align="right"> + <table cellspacing=0 cellpadding=2> + <tr valign="top"> + <td>In:</td> + <td> +<a href="../files/TestAbtReportManager_rb.html">TestAbtReportManager.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,167,151" href="TestAbtReportManager.html" alt="TestAbtReportManager"> + <area shape="RECT" coords="35,7,160,55" href="Test/Unit/TestCase.html" alt="Test::Unit::TestCase"> +</map> +<img src="../dot/f_14.png" usemap="#map" border=0 alt="TopLevel"> + </td></tr></table> + + <div class="description"><p> +TestAbtReportManager.rb +</p> +<p> +Unit testing for <a href="AbtReportManager.html">AbtReportManager</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="#M000037">setup</a></li> + <li><a href="#M000049">testGenerateHTMLPackageListing</a></li> + <li><a href="#M000046">testSearchPackageDescriptions</a></li> + <li><a href="#M000045">testShowFileOwner</a></li> + <li><a href="#M000041">testShowFrozenPackages</a></li> + <li><a href="#M000039">testShowInstalledPackages</a></li> + <li><a href="#M000044">testShowJournal</a></li> + <li><a href="#M000042">testShowPackageDependencies</a></li> + <li><a href="#M000038">testShowPackageDetails</a></li> + <li><a href="#M000040">testShowPackageLog</a></li> + <li><a href="#M000047">testShowQueue</a></li> + <li><a href="#M000043">testShowUntrackedFiles</a></li> + <li><a href="#M000048">testShowUpdates</a></li> + </ul> + + + + + + +<div class="sectiontitle">Public Instance methods</div> +<div class="method"> + <div class="title"> + <a name="M000037"></a><b>setup</b>() + </div> + <div class="description"> + <p> +setup method for testing <a +href="AbtReportManager.html">AbtReportManager</a>. +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p> + <div id="M000037_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtReportManager.rb, line 36</span> +36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span> +37: <span class="ruby-ivar">@report</span> = <span class="ruby-constant">AbtReportManager</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="M000049"></a><b>testGenerateHTMLPackageListing</b>() + </div> + <div class="description"> + <p> +Test method for +‘AbtReportManager.testGenerateHTMLPackageListing()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show source</a> ]</p> + <div id="M000049_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtReportManager.rb, line 123</span> +123: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testGenerateHTMLPackageListing</span> +124: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@report</span>.<span class="ruby-identifier">generateHTMLPackageListing</span>(), <span class="ruby-value str">"testGenerateHTMLPackageListing()"</span> ) +125: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000046"></a><b>testSearchPackageDescriptions</b>() + </div> + <div class="description"> + <p> +Test method for +‘AbtReportManager.testSearchPackageDescriptions()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000046_source')" id="l_M000046_source">show source</a> ]</p> + <div id="M000046_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtReportManager.rb, line 102</span> +102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testSearchPackageDescriptions</span> +103: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@report</span>.<span class="ruby-identifier">searchPackageDescriptions</span>( <span class="ruby-value str">"Special text"</span> ), <span class="ruby-value str">"testSearchPackageDescriptions()"</span> ) +104: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000045"></a><b>testShowFileOwner</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtReportManager.testShowFileOwner()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> + <div id="M000045_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtReportManager.rb, line 95</span> +95: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testShowFileOwner</span> +96: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@report</span>.<span class="ruby-identifier">showFileOwner</span>( <span class="ruby-value str">"dummyFile"</span> ), <span class="ruby-value str">"testShowFileOwner()"</span> ) +97: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000041"></a><b>testShowFrozenPackages</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtReportManager.testShowFrozenPackages()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000041_source')" id="l_M000041_source">show source</a> ]</p> + <div id="M000041_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtReportManager.rb, line 66</span> +66: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testShowFrozenPackages</span> +67: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@report</span>.<span class="ruby-identifier">showFrozenPackages</span>(), <span class="ruby-value str">"testShowFrozenPackages()"</span> ) +68: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000039"></a><b>testShowInstalledPackages</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtReportManager.testShowInstalledPackages()’ +</p> + </div> +<div class="sourcecode"> + <p class="source-link">[ <a href="javascript:toggleSource('M000039_source')" id="l_M000039_source">show source</a> ]</p> + <div id="M000039_source" class="dyn-source"> +<pre> + <span class="ruby-comment cmt"># File TestAbtReportManager.rb, line 50</span> +50: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">testShowInstalledPackages</span> +51: <span class="ruby-identifier">assert</span>( <span class="ruby-ivar">@report</span>.<span class="ruby-identifier">showInstalledPackages</span>(), <span class="ruby-value str">"testShowInstalledPackages()"</span> ) +52: <span class="ruby-keyword kw">end</span> +</pre> + </div> +</div> +</div> +<div class="method"> + <div class="title"> + <a name="M000044"></a><b>testShowJournal</b>() + </div> + <div class="description"> + <p> +Test method for ‘AbtReportManager.testSho... [truncated message content] |
From: <esc...@us...> - 2006-11-13 22:38:16
|
Revision: 161 http://svn.sourceforge.net/abtlinux/?rev=161&view=rev Author: eschabell Date: 2006-11-12 23:59:57 -0800 (Sun, 12 Nov 2006) Log Message: ----------- Renamed package to fortune as it is really named. Sorted out adding a class search path to get the requires working and put in the month to the creation information. Modified Paths: -------------- src/trunk/abt.rb Added Paths: ----------- src/trunk/packages/fortune.rb Removed Paths: ------------- src/trunk/packages/AbtFortune.rb Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-11-12 20:26:08 UTC (rev 160) +++ src/trunk/abt.rb 2006-11-13 07:59:57 UTC (rev 161) @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -w +#!/usr/bin/ruby -wI/home/erics/workspace/abtapi/packages ## # abt.rb @@ -6,7 +6,7 @@ # The central package manager script to run all ABout Time Linux tasks. # # Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. +# Copyright July 2006, GPL. # # This file is part of AbTLinux. # @@ -155,8 +155,8 @@ puts "Display details for package : " + options['package'] # TODO: make this work! - #require "AbtFortune" - #package = AbtFortune.new + #require options['package'] + #package = Fortune.new #puts package.details #exit else Deleted: src/trunk/packages/AbtFortune.rb =================================================================== --- src/trunk/packages/AbtFortune.rb 2006-11-12 20:26:08 UTC (rev 160) +++ src/trunk/packages/AbtFortune.rb 2006-11-13 07:59:57 UTC (rev 161) @@ -1,72 +0,0 @@ -#!/usr/bin/ruby -w - -## -# AbtFortune.rb -# -# AbtFortune package. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## - -class AbtFortune < AbtPackage - -protected - -private - - @name = "Fortune" - @version = "mod-9708" - @srcDir = "#{@name.downcase}-#{@version}" - - @packageData = { - 'name' => @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", - 'license' => "GPL", - 'description' => "Prints a random, hopefully interesting, adage." - } - - -public - - ## - # Constructor for an AbtPackage, requires all the packge details. - # - # <b>PARAM</b> <i>Hash</i> - hash containing all pacakge data. - # - ## - def initialize() - - super( @packageData ) - - end - -end Copied: src/trunk/packages/fortune.rb (from rev 160, src/trunk/packages/AbtFortune.rb) =================================================================== --- src/trunk/packages/fortune.rb (rev 0) +++ src/trunk/packages/fortune.rb 2006-11-13 07:59:57 UTC (rev 161) @@ -0,0 +1,73 @@ +#!/usr/bin/ruby -w + +require "AbtPackage" +## +# fortune.rb +# +# AbtFortune package. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## + +class Fortune < AbtPackage + +protected + +private + + @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", + 'dependsOn' => "", + 'reliesOn' => "", + 'optionalDO' => "", + 'optionalRO' => "", + 'hashCheck' => "sha512:80c5b71d84eeb3092b2dfe483f0dad8ed42e2efeaa1f8791c26fb2ae80fbd7775777ac5252b1d8270e2e176ad14ce98940bee6d8e71fdbb9ac3323dc7188c4d0", + 'patches' => "http://patches.abtlinux.org/#{@srcDir}-patches-1.tar.gz", + 'patcheshashCheck' => "", + 'mirrorPath' => "http://mirror.abtlinux.org/#{@srcDir}.tar.gz", + 'license' => "GPL", + 'description' => "Prints a random, hopefully interesting, adage." + } + + +public + + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all pacakge data. + # + ## + def initialize() + + super( @packageData ) + + end + +end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-11-22 20:09:03
|
Revision: 233 http://svn.sourceforge.net/abtlinux/?rev=233&view=rev Author: eschabell Date: 2006-11-22 12:08:58 -0800 (Wed, 22 Nov 2006) Log Message: ----------- Removed package generation. Regenerated docs. Modified Paths: -------------- src/trunk/doc/classes/AbtPackage.html src/trunk/doc/classes/AbtPackageManager.html src/trunk/doc/created.rid src/trunk/doc/files/AbtPackageManager_rb.html src/trunk/doc/files/AbtPackage_rb.html src/trunk/docGen.sh Modified: src/trunk/doc/classes/AbtPackage.html =================================================================== --- src/trunk/doc/classes/AbtPackage.html 2006-11-22 20:02:34 UTC (rev 232) +++ src/trunk/doc/classes/AbtPackage.html 2006-11-22 20:08:58 UTC (rev 233) @@ -361,9 +361,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 247</span> -247: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -248: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 249</span> +249: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +250: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -392,15 +392,17 @@ <pre> <span class="ruby-comment cmt"># File AbtPackage.rb, line 231</span> 231: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -232: <span class="ruby-identifier">require</span> <span class="ruby-value str">'open3'</span> +232: <span class="ruby-comment cmt">#logger = AbtLogManager.new</span> 233: <span class="ruby-identifier">buildSite</span> = <span class="ruby-node">"#{$BUILD_LOCATION}/#{@srcDir}"</span> -234: -235: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">system</span>( <span class="ruby-node">"cd #{buildSite}; make ./configure --prefix=#{$defaultPrefix}"</span> ) ) -236: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> -237: <span class="ruby-keyword kw">end</span> -238: -239: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> -240: <span class="ruby-keyword kw">end</span> +234: <span class="ruby-comment cmt">#logger.logToJournal( "DEBUG: calling system - cd #{buildSite}; ./configure --prefix=#{$defaultPrefix}" )</span> +235: +236: <span class="ruby-comment cmt"># TODO: system call removal?</span> +237: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">system</span>( <span class="ruby-node">"cd #{buildSite}; ./configure --prefix=#{$defaultPrefix}"</span> ) ) +238: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> +239: <span class="ruby-keyword kw">end</span> +240: +241: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> +242: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -465,9 +467,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 264</span> -264: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -265: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 266</span> +266: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +267: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -490,9 +492,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000031_source')" id="l_M000031_source">show source</a> ]</p> <div id="M000031_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackage.rb, line 272</span> -272: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -273: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 274</span> +274: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +275: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -559,9 +561,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 256</span> -256: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -257: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 258</span> +258: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +259: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -583,23 +585,23 @@ <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 AbtPackage.rb, line 280</span> -280: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removeBuildSources</span> -281: <span class="ruby-keyword kw">if</span> ( <span class="ruby-identifier">$removeBuildSources</span> ) -282: <span class="ruby-identifier">buildSourcesLocation</span> = <span class="ruby-node">"#{$BUILD_LOCATION}/#{srcDir}"</span> -283: -284: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>( <span class="ruby-identifier">buildSourcesLocation</span> ) ) -285: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> -286: <span class="ruby-keyword kw">end</span> -287: -288: <span class="ruby-comment cmt"># TODO: system call removal?</span> -289: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span> <span class="ruby-identifier">buildSourcesLocation</span>, <span class="ruby-identifier">:verbose</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span> ) -290: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> -291: <span class="ruby-keyword kw">end</span> -292: <span class="ruby-keyword kw">end</span> -293: -294: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> -295: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackage.rb, line 282</span> +282: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removeBuildSources</span> +283: <span class="ruby-keyword kw">if</span> ( <span class="ruby-identifier">$removeBuildSources</span> ) +284: <span class="ruby-identifier">buildSourcesLocation</span> = <span class="ruby-node">"#{$BUILD_LOCATION}/#{srcDir}"</span> +285: +286: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>( <span class="ruby-identifier">buildSourcesLocation</span> ) ) +287: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> +288: <span class="ruby-keyword kw">end</span> +289: +290: <span class="ruby-comment cmt"># TODO: system call removal?</span> +291: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm_rf</span> <span class="ruby-identifier">buildSourcesLocation</span>, <span class="ruby-identifier">:verbose</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">true</span> ) +292: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> +293: <span class="ruby-keyword kw">end</span> +294: <span class="ruby-keyword kw">end</span> +295: +296: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> +297: <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-22 20:02:34 UTC (rev 232) +++ src/trunk/doc/classes/AbtPackageManager.html 2006-11-22 20:08:58 UTC (rev 233) @@ -182,9 +182,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000044_source')" id="l_M000044_source">show source</a> ]</p> <div id="M000044_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 130</span> -130: <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> ) -131: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 134</span> +134: <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> ) +135: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -210,9 +210,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000045_source')" id="l_M000045_source">show source</a> ]</p> <div id="M000045_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 142</span> -142: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) -143: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 146</span> +146: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">freezePackage</span>( <span class="ruby-identifier">package</span> ) +147: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -237,52 +237,56 @@ <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 52</span> -52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">installPackage</span>( <span class="ruby-identifier">package</span> ) -53: <span class="ruby-identifier">require</span> <span class="ruby-identifier">package</span> -54: <span class="ruby-identifier">sw</span> = <span class="ruby-identifier">eval</span>( <span class="ruby-node">"#{package.capitalize}.new"</span> ) -55: -56: <span class="ruby-identifier">queuer</span> = <span class="ruby-constant">AbtQueueManager</span>.<span class="ruby-identifier">new</span> -57: <span class="ruby-identifier">logger</span> = <span class="ruby-constant">AbtLogManager</span>.<span class="ruby-identifier">new</span> -58: -59: <span class="ruby-comment cmt"># get package details.</span> -60: <span class="ruby-identifier">details</span> = <span class="ruby-identifier">sw</span>.<span class="ruby-identifier">details</span> -61: -62: <span class="ruby-comment cmt"># TODO: check deps</span> -63: -64: <span class="ruby-comment cmt"># add to install queue.</span> -65: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">queuer</span>.<span class="ruby-identifier">addPackageToQueue</span>( <span class="ruby-identifier">package</span>, <span class="ruby-value str">"install"</span> ) ) -66: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to add #{package} to install queue."</span> ) -67: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> -68: <span class="ruby-keyword kw">end</span> -69: -70: <span class="ruby-comment cmt"># pre section.</span> -71: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">sw</span>.<span class="ruby-identifier">pre</span> ) -72: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to process pre-section in the package description of #{package}."</span> ) -73: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> -74: <span class="ruby-keyword kw">end</span> -75: -76: <span class="ruby-comment cmt"># configure section.</span> -77: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">sw</span>.<span class="ruby-identifier">configure</span> ) -78: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to process configure section in the package description of #{package}."</span> ) -79: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> -80: <span class="ruby-keyword kw">end</span> -81: -82: <span class="ruby-comment cmt"># TODO: finish up the following steps per install scenario:</span> -83: <span class="ruby-comment cmt">#</span> -84: <span class="ruby-comment cmt"># build section</span> -85: <span class="ruby-comment cmt"># pre install section</span> -86: <span class="ruby-comment cmt"># install section</span> -87: <span class="ruby-comment cmt"># post section</span> -88: <span class="ruby-comment cmt"># remove build sources.</span> -89: <span class="ruby-comment cmt">#</span> -90: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">sw</span>.<span class="ruby-identifier">removeBuildSources</span> ) -91: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to remove the build sources for #{package}."</span> ) -92: <span class="ruby-comment cmt">#return false # commented out as this is not a reason to fail.</span> -93: <span class="ruby-keyword kw">end</span> -94: -95: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> -96: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 52</span> + 52: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">installPackage</span>( <span class="ruby-identifier">package</span> ) + 53: <span class="ruby-identifier">require</span> <span class="ruby-identifier">package</span> + 54: <span class="ruby-identifier">sw</span> = <span class="ruby-identifier">eval</span>( <span class="ruby-node">"#{package.capitalize}.new"</span> ) + 55: + 56: <span class="ruby-identifier">queuer</span> = <span class="ruby-constant">AbtQueueManager</span>.<span class="ruby-identifier">new</span> + 57: <span class="ruby-identifier">logger</span> = <span class="ruby-constant">AbtLogManager</span>.<span class="ruby-identifier">new</span> + 58: + 59: <span class="ruby-comment cmt"># get package details.</span> + 60: <span class="ruby-identifier">details</span> = <span class="ruby-identifier">sw</span>.<span class="ruby-identifier">details</span> + 61: + 62: <span class="ruby-comment cmt"># TODO: check deps</span> + 63: + 64: <span class="ruby-comment cmt"># add to install queue.</span> + 65: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">queuer</span>.<span class="ruby-identifier">addPackageToQueue</span>( <span class="ruby-identifier">package</span>, <span class="ruby-value str">"install"</span> ) ) + 66: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to add #{package} to install queue."</span> ) + 67: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> + 68: <span class="ruby-keyword kw">end</span> + 69: + 70: <span class="ruby-comment cmt"># pre section.</span> + 71: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">sw</span>.<span class="ruby-identifier">pre</span> ) + 72: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to process pre-section in the package description of #{package}."</span> ) + 73: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> + 74: <span class="ruby-keyword kw">else</span> + 75: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"DEBUG: finished #{package} pre section."</span> ) + 76: <span class="ruby-keyword kw">end</span> + 77: + 78: <span class="ruby-comment cmt"># configure section.</span> + 79: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">sw</span>.<span class="ruby-identifier">configure</span> ) + 80: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to process configure section in the package description of #{package}."</span> ) + 81: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> + 82: <span class="ruby-keyword kw">else</span> + 83: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"DEBUG: finished #{package} configure section."</span> ) + 84: <span class="ruby-keyword kw">end</span> + 85: + 86: <span class="ruby-comment cmt"># TODO: finish up the following steps per install scenario:</span> + 87: <span class="ruby-comment cmt">#</span> + 88: <span class="ruby-comment cmt"># build section</span> + 89: <span class="ruby-comment cmt"># pre install section</span> + 90: <span class="ruby-comment cmt"># install section</span> + 91: <span class="ruby-comment cmt"># post section</span> + 92: <span class="ruby-comment cmt"># remove build sources.</span> + 93: <span class="ruby-comment cmt">#</span> + 94: <span class="ruby-keyword kw">if</span> ( <span class="ruby-operator">!</span><span class="ruby-identifier">sw</span>.<span class="ruby-identifier">removeBuildSources</span> ) + 95: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">logToJournal</span>( <span class="ruby-node">"Failed to remove the build sources for #{package}."</span> ) + 96: <span class="ruby-comment cmt">#return false # commented out as this is not a reason to fail.</span> + 97: <span class="ruby-keyword kw">end</span> + 98: + 99: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span> +100: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -307,9 +311,9 @@ <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 106</span> -106: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-identifier">package</span> ) -107: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 110</span> +110: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reinstallPackage</span>( <span class="ruby-identifier">package</span> ) +111: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -334,9 +338,9 @@ <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 117</span> -117: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removePackage</span>( <span class="ruby-identifier">package</span> ) -118: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 121</span> +121: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">removePackage</span>( <span class="ruby-identifier">package</span> ) +122: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -360,20 +364,20 @@ <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 AbtPackageManager.rb, line 152</span> -152: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rootLogin</span>( <span class="ruby-identifier">arguments</span> ) -153: <span class="ruby-keyword kw">if</span> ( <span class="ruby-constant">Process</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span> ) -154: <span class="ruby-identifier">args</span> = <span class="ruby-value str">""</span> -155: <span class="ruby-identifier">puts</span> <span class="ruby-value str">"\nEnter root password:"</span> -156: -157: <span class="ruby-keyword kw">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword kw">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-constant">ARGV</span>.<span class="ruby-identifier">length</span> -158: <span class="ruby-identifier">args</span> = <span class="ruby-identifier">args</span> <span class="ruby-operator">+</span> <span class="ruby-value str">" "</span> <span class="ruby-operator">+</span> <span class="ruby-constant">ARGV</span>[<span class="ruby-identifier">i</span>] -159: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File AbtPackageManager.rb, line 156</span> +156: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rootLogin</span>( <span class="ruby-identifier">arguments</span> ) +157: <span class="ruby-keyword kw">if</span> ( <span class="ruby-constant">Process</span>.<span class="ruby-identifier">uid</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span> ) +158: <span class="ruby-identifier">args</span> = <span class="ruby-value str">""</span> +159: <span class="ruby-identifier">puts</span> <span class="ruby-value str">"\nEnter root password:"</span> 160: -161: <span class="ruby-identifier">system</span>( <span class="ruby-value str">'su -c "./abt '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">args</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'" root'</span> ) <span class="ruby-comment cmt"># TODO: replace system call?</span> -162: <span class="ruby-identifier">exit</span> -163: <span class="ruby-keyword kw">end</span> -164: <span class="ruby-keyword kw">end</span> +161: <span class="ruby-keyword kw">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword kw">in</span> <span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-constant">ARGV</span>.<span class="ruby-identifier">length</span> +162: <span class="ruby-identifier">args</span> = <span class="ruby-identifier">args</span> <span class="ruby-operator">+</span> <span class="ruby-value str">" "</span> <span class="ruby-operator">+</span> <span class="ruby-constant">ARGV</span>[<span class="ruby-identifier">i</span>] +163: <span class="ruby-keyword kw">end</span> +164: +165: <span class="ruby-identifier">system</span>( <span class="ruby-value str">'su -c "./abt '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">args</span> <span class="ruby-operator">+</span> <span class="ruby-value str">'" root'</span> ) <span class="ruby-comment cmt"># TODO: replace system call?</span> +166: <span class="ruby-identifier">exit</span> +167: <span class="ruby-keyword kw">end</span> +168: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-11-22 20:02:34 UTC (rev 232) +++ src/trunk/doc/created.rid 2006-11-22 20:08:58 UTC (rev 233) @@ -1 +1 @@ -Sun Nov 19 14:56:53 CET 2006 +Wed Nov 22 21:07:37 CET 2006 Modified: src/trunk/doc/files/AbtPackageManager_rb.html =================================================================== --- src/trunk/doc/files/AbtPackageManager_rb.html 2006-11-22 20:02:34 UTC (rev 232) +++ src/trunk/doc/files/AbtPackageManager_rb.html 2006-11-22 20:08:58 UTC (rev 233) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Sun Nov 19 14:54:07 CET 2006</td> + <td>Wed Nov 22 21:02:42 CET 2006</td> </tr> </table> </td></tr> Modified: src/trunk/doc/files/AbtPackage_rb.html =================================================================== --- src/trunk/doc/files/AbtPackage_rb.html 2006-11-22 20:02:34 UTC (rev 232) +++ src/trunk/doc/files/AbtPackage_rb.html 2006-11-22 20:08:58 UTC (rev 233) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Sun Nov 19 14:54:07 CET 2006</td> + <td>Wed Nov 22 21:02:42 CET 2006</td> </tr> </table> </td></tr> @@ -118,10 +118,6 @@ </p> </div> - <div class="sectiontitle">Required Files</div> - <ul> - <li>open3</li> - </ul> Modified: src/trunk/docGen.sh =================================================================== --- src/trunk/docGen.sh 2006-11-22 20:02:34 UTC (rev 232) +++ src/trunk/docGen.sh 2006-11-22 20:08:58 UTC (rev 233) @@ -33,8 +33,6 @@ TestAbtQueueManager.rb TestAbtReportManager.rb TestAbtSystemManager.rb - packages/fortune.rb - packages/ipc.rb "; # run the actual doc generation. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-12-06 20:30:24
|
Revision: 260 http://svn.sourceforge.net/abtlinux/?rev=260&view=rev Author: eschabell Date: 2006-12-06 12:13:56 -0800 (Wed, 06 Dec 2006) Log Message: ----------- First attempts at using open3, with thanks to Bas van Gils for some research into this. Some initial code, not yet finished has been added here. Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/abt.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2006-12-06 19:52:18 UTC (rev 259) +++ src/trunk/AbtPackage.rb 2006-12-06 20:13:56 UTC (rev 260) @@ -235,13 +235,29 @@ # TODO: this should not use tee, but in wrapper deal with stdout to file. # also need to expand directory with @srcDir/@srcDir.configure. - command = "./configure --prefix=#{$DEFAULT_PREFIX} | tee #{$PACKAGE_INSTALLED}/{@srcDir}.configure" + #command = "./configure --prefix=#{$DEFAULT_PREFIX} | tee #{$PACKAGE_INSTALLED}/{@srcDir}.configure" + command = "./configure --prefix=#{$DEFAULT_PREFIX}" Dir.chdir( buildSite ) - if ( !systemMgr.runSystemCall( command ) ) + stdin, stdout, stderr = Open3.popen3( command ) + + # check for errors. + if ( !stderr.eof ) + puts "DEBUG: [AbtPackage.configure] - stderr:" + puts stderr.read return false + else + puts "DEBUG: [AbtPackage.configure] - nothing in stderr." end - + + # check for output. + if ( !stdout.eof ) + puts "DEBUG: [AbtPackage.configure] - stdout:" + puts stdout.read + else + puts "DEBUG: [AbtPackage.configure] - nothing in stdout." + end + return true end Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2006-12-06 19:52:18 UTC (rev 259) +++ src/trunk/abt.rb 2006-12-06 20:13:56 UTC (rev 260) @@ -33,6 +33,7 @@ require 'AbtSystemManager' require 'AbtUsage' require 'fileutils' +require 'open3' ## This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-02-03 20:33:05
|
Revision: 283 http://svn.sourceforge.net/abtlinux/?rev=283&view=rev Author: eschabell Date: 2007-02-03 12:33:04 -0800 (Sat, 03 Feb 2007) Log Message: ----------- Implemented basic build framework (for make). Modified Paths: -------------- src/trunk/AbtPackage.rb src/trunk/AbtPackageManager.rb Modified: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2007-02-03 19:02:10 UTC (rev 282) +++ src/trunk/AbtPackage.rb 2007-02-03 20:33:04 UTC (rev 283) @@ -229,11 +229,9 @@ # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def configure - buildSite = "#{$BUILD_LOCATION}/#{@srcDir}" - + Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) + # TODO: not some better way to deal with this than system and tee? - Dir.chdir( buildSite ) - if ( !system( "./configure --prefix=#{$DEFAULT_PREFIX} | tee #{$PACKAGE_INSTALLED}/#{@srcDir}.configure" ) ) # TODO: put this in failure file. puts "DEBUG: [AbtPackage.configure] - unable to configure." @@ -250,6 +248,17 @@ # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. ## def build + Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) + + # TODO: not some better way to deal with this than system and tee? + if( !system( "make | tee #{$PACKAGE_INSTALLED}/#{@srcDir}.build" ) ) + # TODO: put this in failure file. + puts "DEBUG: [AbtPackage.build] - unable to build." + return false + end + + puts "DEBUG: [AbtPackage.build] - build went fine!" + return true end ## Modified: src/trunk/AbtPackageManager.rb =================================================================== --- src/trunk/AbtPackageManager.rb 2007-02-03 19:02:10 UTC (rev 282) +++ src/trunk/AbtPackageManager.rb 2007-02-03 20:33:04 UTC (rev 283) @@ -87,9 +87,17 @@ logger.logToJournal( "DEBUG: finished #{package} configure section." ) end + # build section + if ( !sw.build ) + logger.logToJournal( "Failed to process build section in the package description of #{package}." ) + return false + else + logger.logToJournal( "DEBUG: finished #{package} build section." ) + end + + # TODO: finish up the following steps per install scenario: # - # build section # pre install section # install section # post section This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-06-15 12:05:34
|
Revision: 339 http://svn.sourceforge.net/abtlinux/?rev=339&view=rev Author: eschabell Date: 2007-06-15 05:05:31 -0700 (Fri, 15 Jun 2007) Log Message: ----------- Refactored test suite to run an install on our test package ipc, if this is done first it ensures the proper directories, logs, etc are in place for testing. Also removed -I./packages line from shebang, does not work at all. Modified Paths: -------------- src/trunk/abt.rb src/trunk/testSuiteAbt.rb Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2007-06-15 11:14:36 UTC (rev 338) +++ src/trunk/abt.rb 2007-06-15 12:05:31 UTC (rev 339) @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -wI./packages +#!/usr/bin/ruby -w ## # abt.rb Modified: src/trunk/testSuiteAbt.rb =================================================================== --- src/trunk/testSuiteAbt.rb 2007-06-15 11:14:36 UTC (rev 338) +++ src/trunk/testSuiteAbt.rb 2007-06-15 12:05:31 UTC (rev 339) @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -wI./packages +#!/usr/bin/ruby -w if ( Process.uid != 0 ) puts "Enter root password:" @@ -9,11 +9,24 @@ require 'test/unit' require 'abtconfig' -require 'TestAbtLogManager' # test this first ensures all dirs created. +# By ensuring an install of the test package ipc +# is done prior to running unit tests, we are able +# to ensure that all needed directories, logs, etc +# are created prior to running the tests. If ipc is +# already installed, this process is not repleated. +# +# This speeds up the test suit by more than 10 sec +# on my machine. I get avg runs of around 17,5 sec. +# +logger = AbtLogManager.new +manager = AbtPackageManager.new +manager.installPackage( "ipc" ) + +require 'TestAbtPackageManager' +require 'TestAbtLogManager' require 'TestAbtDownloadManager' require 'TestAbtPackage' -require 'TestAbtPackageManager' require 'TestAbtQueueManager' require 'TestAbtReportManager' require 'TestAbtSystemManager' -require 'TestAbtDepEngine' +require 'TestAbtDepEngine' \ 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...> - 2007-07-16 12:30:36
|
Revision: 354 http://svn.sourceforge.net/abtlinux/?rev=354&view=rev Author: eschabell Date: 2007-07-16 05:30:36 -0700 (Mon, 16 Jul 2007) Log Message: ----------- Migrated package class and references to rubified name. Modified Paths: -------------- src/trunk/TestAbtPackage.rb src/trunk/abtconfig.rb Added Paths: ----------- src/trunk/abtpackage.rb Removed Paths: ------------- src/trunk/AbtPackage.rb Deleted: src/trunk/AbtPackage.rb =================================================================== --- src/trunk/AbtPackage.rb 2007-07-16 12:26:55 UTC (rev 353) +++ src/trunk/AbtPackage.rb 2007-07-16 12:30:36 UTC (rev 354) @@ -1,378 +0,0 @@ -#!/usr/bin/ruby -w - -## -# AbtPackage.rb -# -# AbtPackage class provides an interface to AbtPackage creation within -# AbTLinux. By inheriting from this class (class Fortune < AbtPackage) one -# picks up all supported standard functions for the abt AbtPackage manager -# to make use of the new AbtPackage. -# -# Created by Eric D. Schabell <er...@ab...> -# Copyright 2006, GPL. -# -# This file is part of AbTLinux. -# -# AbTLinux is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin -# St, Fifth Floor, Boston, MA 02110-1301 USA -## -class AbtPackage - - protected - - ## - # 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}'." ) - - Dir.chdir( $BUILD_LOCATION ) - if ( !system( "#{unpackTool} #{sourcesToUnpack}" ) ) - return false - end - - return true - end - - private - - public - - # the name of the package. - attr_reader :name - - # the executable name for the package. - attr_reader :execName - - # the package version number. - attr_reader :version - - # the source directory for the package. - attr_reader :srcDir - - # the packages homepage. - attr_reader :homepage - - # the URL where this packages sources can be obtained. - attr_reader :srcUrl - - # list of dependsOn (DO) related package dependencies. - attr_reader :dependsOn - - # list of reliesOn (RO) related package dependencies. - attr_reader :reliesOn - - # list of optional reliesOn (oRO) related package dependencies. - attr_reader :optionalDO - - # list of optional dependsOn (oDO) related package dependencies. - attr_reader :optionalRO - - # security hash value of package sources. - attr_reader :hashCheck - - # list of available patches for this package. - attr_reader :patches - - # security hash value of this packages patches. - attr_reader :patchesHashCheck - - # available mirrors for this package. - attr_reader :mirrorPath - - # type of license this package has. - attr_reader :licence - - # the package description. - attr_reader :description - - - ## - # Constructor for an AbtPackage, requires all the packge details. - # - # <b>PARAM</b> <i>Hash</i> - hash containing all package data. - # - ## - def initialize( data ) - @name = data['name'] - @execName = data['execName'] - @version = data['version'] - @srcDir = data['srcDir'] - @homepage = data['homepage'] - @srcUrl = data['srcUrl'] - @dependsOn = data['dependsOn'] - @reliesOn = data['reliesOn'] - @optionalDO = data['optionalDO'] - @optionalRO = data['optionalRO'] - @hashCheck = data['hashCheck'] - @patches = data['patches'] - @patchesHashCheck = data['patchesHashCheck'] - @mirrorPath = data['mirrorPath'] - @license = data['license'] - @description = data['description'] - end - - ## - # Provides all the data needed for this AbtPackage. - # - # <b>RETURNS:</b> <i>hash</i> - Contains all AbtPackage - # attributes (constants). - ## - def details - return { - "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 - - ## - # Preliminary work will happen here such as downloading the tarball, - # unpacking it, downloading and applying patches. - # - # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, - # otherwise false. Defaults to true. - # - # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, - # otherwise false. - ## - def pre( verbose=true ) - downloader = AbtDownloadManager.new - - # download sources. - if ( !downloader.retrievePackageSource( @name.downcase, $SOURCES_REPOSITORY ) ) - return false - end - - # unpack sources. - if ( !self.unpackSources ) - return false - end - - # ensure we have an installed directory to use. - if ( ! File.directory?( "#{$PACKAGE_INSTALLED}/#{@srcDir}" ) ) - FileUtils.mkdir_p( "#{$PACKAGE_INSTALLED}/#{@srcDir}" ) - end - - # TODO: implement pre section retrieve patches? - # TODO: implement pre section apply patches? - - return true - end - - ## - # Here we manage the ./configure step (or equivalent). We need - # to give ./configure (or autogen.sh, or whatever) the correct options - # so files are to be placed later in the right directories, so doc files - # and man pages are all in the same common location, etc. - # Don't forget too that it's here where we interact with the user in - # case there are optionnal dependencies. - # - # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, - # otherwise false. Defaults to true. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, - # otherwise false. - ## - def configure( verbose=true ) - if ( verbose ) - command = "./configure --prefix=#{$DEFAULT_PREFIX} | tee " + - "#{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.configure" - else - command = "./configure --prefix=#{$DEFAULT_PREFIX} 1> " + - "#{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.configure 2>&1" - end - - Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) - - if ( !system( command ) ) - puts "DEBUG: [AbtPackage.configure] - configure section failed." - return false - end - - puts "\nDEBUG: [AbtPackage.configure] - configure section completed!" if (verbose ) - return true - end - - ## - # Here is where the actual builing of the software starts, - # for example running 'make'. - # - # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, - # otherwise false. Defaults to true. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, - # otherwise false. - ## - def build( verbose=true ) - if ( verbose ) - command = "make | tee #{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.build" - else - command = "make > #{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.build 2>&1" - end - - Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) - - if( !system( command ) ) - puts "DEBUG: [AbtPackage.build] - build section failed." - return false - end - - puts "DEBUG: [AbtPackage.build] - build section completed!" if ( verbose ) - return true - end - - ## - # Any actions needed before the installation can occur will happen here, - # such as creating new user accounts, dealing with existing configuration - # files, etc. - # - # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, - # otherwise false. Defaults to true. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, - # otherwise false. - ## - def preinstall( verbose=true ) - # TODO: preinstall section create_group? - # TODO: preinstall section create_user? - return true; - end - - ## - # All files to be installed are installed here. - # - # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, - # otherwise false. Defaults to true. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, - # otherwise false. - ## - def install( verbose=true ) - if ( verbose ) - command = "installwatch --transl=no --backup=no " + - "--exclude=/dev,/proc,/tmp,/var/tmp,/usr/src,/sys " + - "--logfile=#{$ABT_TMP}/#{@srcDir}.watch make install" - else - command = "installwatch --transl=no --backup=no " + - "--exclude=/dev,/proc,/tmp,/var/tmp,/usr/src,/sys " + - "--logfile=#{$ABT_TMP}/#{@srcDir}.watch make install >/dev/null" - end - - Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) - - if( !system( command ) ) - puts "DEBUG: [AbtPackage.install] - install section failed." - return false - end - - puts "DEBUG: [AbtPackage.install] - install section completed!" if ( verbose ) - return true - end - - ## - # Last bits of installation. adding the service for automatic - # start in init.d for example. - # - # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, - # otherwise false. Defaults to true. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, - # otherwise false. - ## - def post( verbose=true ) - # TODO: implement post section install init scripts service - return true - end - - ## - # Cleans up this packages source build directory. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, - # otherwise false. - ## - def removeBuild - puts "Removings build..." - if ( $REMOVE_BUILD_SOURCES ) - buildSourcesLocation = "#{$BUILD_LOCATION}/#{srcDir}" - - if ( !File.directory?( buildSourcesLocation ) ) - return true - end - - if ( !FileUtils.rm_rf buildSourcesLocation, :verbose => true ) - return false - end - end - - return true - end -end Modified: src/trunk/TestAbtPackage.rb =================================================================== --- src/trunk/TestAbtPackage.rb 2007-07-16 12:26:55 UTC (rev 353) +++ src/trunk/TestAbtPackage.rb 2007-07-16 12:30:36 UTC (rev 354) @@ -3,7 +3,6 @@ require "test/unit/testcase" require "test/unit/autorunner" require "abtconfig" -require "AbtPackage" require "#{$PACKAGE_PATH}ipc" ## Modified: src/trunk/abtconfig.rb =================================================================== --- src/trunk/abtconfig.rb 2007-07-16 12:26:55 UTC (rev 353) +++ src/trunk/abtconfig.rb 2007-07-16 12:30:36 UTC (rev 354) @@ -29,6 +29,7 @@ require 'abtdownloadmanager' require 'abtlogmanager' require 'abtpackagemanager' +require 'abtpackage' require 'AbtQueueManager' require 'AbtReportManager' require 'AbtSystemManager' Copied: src/trunk/abtpackage.rb (from rev 353, src/trunk/AbtPackage.rb) =================================================================== --- src/trunk/abtpackage.rb (rev 0) +++ src/trunk/abtpackage.rb 2007-07-16 12:30:36 UTC (rev 354) @@ -0,0 +1,378 @@ +#!/usr/bin/ruby -w + +## +# abtpackage.rb +# +# AbtPackage class provides an interface to AbtPackage creation within +# AbTLinux. By inheriting from this class (class Fortune < AbtPackage) one +# picks up all supported standard functions for the abt AbtPackage manager +# to make use of the new AbtPackage. +# +# Created by Eric D. Schabell <er...@ab...> +# Copyright 2006, GPL. +# +# This file is part of AbTLinux. +# +# AbTLinux is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# AbTLinux is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# AbTLinux; if not, write to the Free Software Foundation, Inc., 51 Franklin +# St, Fifth Floor, Boston, MA 02110-1301 USA +## +class AbtPackage + + protected + + ## + # 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}'." ) + + Dir.chdir( $BUILD_LOCATION ) + if ( !system( "#{unpackTool} #{sourcesToUnpack}" ) ) + return false + end + + return true + end + + private + + public + + # the name of the package. + attr_reader :name + + # the executable name for the package. + attr_reader :execName + + # the package version number. + attr_reader :version + + # the source directory for the package. + attr_reader :srcDir + + # the packages homepage. + attr_reader :homepage + + # the URL where this packages sources can be obtained. + attr_reader :srcUrl + + # list of dependsOn (DO) related package dependencies. + attr_reader :dependsOn + + # list of reliesOn (RO) related package dependencies. + attr_reader :reliesOn + + # list of optional reliesOn (oRO) related package dependencies. + attr_reader :optionalDO + + # list of optional dependsOn (oDO) related package dependencies. + attr_reader :optionalRO + + # security hash value of package sources. + attr_reader :hashCheck + + # list of available patches for this package. + attr_reader :patches + + # security hash value of this packages patches. + attr_reader :patchesHashCheck + + # available mirrors for this package. + attr_reader :mirrorPath + + # type of license this package has. + attr_reader :licence + + # the package description. + attr_reader :description + + + ## + # Constructor for an AbtPackage, requires all the packge details. + # + # <b>PARAM</b> <i>Hash</i> - hash containing all package data. + # + ## + def initialize( data ) + @name = data['name'] + @execName = data['execName'] + @version = data['version'] + @srcDir = data['srcDir'] + @homepage = data['homepage'] + @srcUrl = data['srcUrl'] + @dependsOn = data['dependsOn'] + @reliesOn = data['reliesOn'] + @optionalDO = data['optionalDO'] + @optionalRO = data['optionalRO'] + @hashCheck = data['hashCheck'] + @patches = data['patches'] + @patchesHashCheck = data['patchesHashCheck'] + @mirrorPath = data['mirrorPath'] + @license = data['license'] + @description = data['description'] + end + + ## + # Provides all the data needed for this AbtPackage. + # + # <b>RETURNS:</b> <i>hash</i> - Contains all AbtPackage + # attributes (constants). + ## + def details + return { + "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 + + ## + # Preliminary work will happen here such as downloading the tarball, + # unpacking it, downloading and applying patches. + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, + # otherwise false. + ## + def pre( verbose=true ) + downloader = AbtDownloadManager.new + + # download sources. + if ( !downloader.retrievePackageSource( @name.downcase, $SOURCES_REPOSITORY ) ) + return false + end + + # unpack sources. + if ( !self.unpackSources ) + return false + end + + # ensure we have an installed directory to use. + if ( ! File.directory?( "#{$PACKAGE_INSTALLED}/#{@srcDir}" ) ) + FileUtils.mkdir_p( "#{$PACKAGE_INSTALLED}/#{@srcDir}" ) + end + + # TODO: implement pre section retrieve patches? + # TODO: implement pre section apply patches? + + return true + end + + ## + # Here we manage the ./configure step (or equivalent). We need + # to give ./configure (or autogen.sh, or whatever) the correct options + # so files are to be placed later in the right directories, so doc files + # and man pages are all in the same common location, etc. + # Don't forget too that it's here where we interact with the user in + # case there are optionnal dependencies. + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, + # otherwise false. + ## + def configure( verbose=true ) + if ( verbose ) + command = "./configure --prefix=#{$DEFAULT_PREFIX} | tee " + + "#{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.configure" + else + command = "./configure --prefix=#{$DEFAULT_PREFIX} 1> " + + "#{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.configure 2>&1" + end + + Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) + + if ( !system( command ) ) + puts "DEBUG: [AbtPackage.configure] - configure section failed." + return false + end + + puts "\nDEBUG: [AbtPackage.configure] - configure section completed!" if (verbose ) + return true + end + + ## + # Here is where the actual builing of the software starts, + # for example running 'make'. + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, + # otherwise false. + ## + def build( verbose=true ) + if ( verbose ) + command = "make | tee #{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.build" + else + command = "make > #{$PACKAGE_INSTALLED}/#{@srcDir}/#{@srcDir}.build 2>&1" + end + + Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) + + if( !system( command ) ) + puts "DEBUG: [AbtPackage.build] - build section failed." + return false + end + + puts "DEBUG: [AbtPackage.build] - build section completed!" if ( verbose ) + return true + end + + ## + # Any actions needed before the installation can occur will happen here, + # such as creating new user accounts, dealing with existing configuration + # files, etc. + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, + # otherwise false. + ## + def preinstall( verbose=true ) + # TODO: preinstall section create_group? + # TODO: preinstall section create_user? + return true; + end + + ## + # All files to be installed are installed here. + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, + # otherwise false. + ## + def install( verbose=true ) + if ( verbose ) + command = "installwatch --transl=no --backup=no " + + "--exclude=/dev,/proc,/tmp,/var/tmp,/usr/src,/sys " + + "--logfile=#{$ABT_TMP}/#{@srcDir}.watch make install" + else + command = "installwatch --transl=no --backup=no " + + "--exclude=/dev,/proc,/tmp,/var/tmp,/usr/src,/sys " + + "--logfile=#{$ABT_TMP}/#{@srcDir}.watch make install >/dev/null" + end + + Dir.chdir( "#{$BUILD_LOCATION}/#{@srcDir}" ) + + if( !system( command ) ) + puts "DEBUG: [AbtPackage.install] - install section failed." + return false + end + + puts "DEBUG: [AbtPackage.install] - install section completed!" if ( verbose ) + return true + end + + ## + # Last bits of installation. adding the service for automatic + # start in init.d for example. + # + # <b>PARAM</b> <i>boolean</i> - true if you want to see the verbose output, + # otherwise false. Defaults to true. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, + # otherwise false. + ## + def post( verbose=true ) + # TODO: implement post section install init scripts service + return true + end + + ## + # Cleans up this packages source build directory. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, + # otherwise false. + ## + def removeBuild + puts "Removings build..." + if ( $REMOVE_BUILD_SOURCES ) + buildSourcesLocation = "#{$BUILD_LOCATION}/#{srcDir}" + + if ( !File.directory?( buildSourcesLocation ) ) + return true + end + + if ( !FileUtils.rm_rf buildSourcesLocation, :verbose => true ) + return false + end + end + + return true + end +end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-07-16 13:03:01
|
Revision: 357 http://svn.sourceforge.net/abtlinux/?rev=357&view=rev Author: eschabell Date: 2007-07-16 06:03:02 -0700 (Mon, 16 Jul 2007) Log Message: ----------- Adjusted comments. Modified Paths: -------------- src/trunk/abtqueuemanager.rb src/trunk/testabtqueuemanager.rb Modified: src/trunk/abtqueuemanager.rb =================================================================== --- src/trunk/abtqueuemanager.rb 2007-07-16 13:01:57 UTC (rev 356) +++ src/trunk/abtqueuemanager.rb 2007-07-16 13:03:02 UTC (rev 357) @@ -1,7 +1,7 @@ #!/usr/bin/ruby -w ## -# AbtQueueManager.rb +# abtqueuemanager.rb # # AbtQueueManager class handles all AbTLinux queue interaction. # Modified: src/trunk/testabtqueuemanager.rb =================================================================== --- src/trunk/testabtqueuemanager.rb 2007-07-16 13:01:57 UTC (rev 356) +++ src/trunk/testabtqueuemanager.rb 2007-07-16 13:03:02 UTC (rev 357) @@ -5,7 +5,7 @@ require 'abtconfig' ## -# TestAbtQueueManager.rb +# testabtqueuemanager.rb # # Unit testing for AbtQueueManager class. # This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-07-24 12:54:39
|
Revision: 410 http://svn.sourceforge.net/abtlinux/?rev=410&view=rev Author: eschabell Date: 2007-07-24 05:54:02 -0700 (Tue, 24 Jul 2007) Log Message: ----------- Refactored so that test packge ipc sources no longer are downloaded. Modified Paths: -------------- src/trunk/testabtlogmanager.rb src/trunk/testabtpackagemanager.rb Modified: src/trunk/testabtlogmanager.rb =================================================================== --- src/trunk/testabtlogmanager.rb 2007-07-24 12:53:06 UTC (rev 409) +++ src/trunk/testabtlogmanager.rb 2007-07-24 12:54:02 UTC (rev 410) @@ -37,6 +37,9 @@ @logger = AbtLogManager.new @manager = AbtPackageManager.new @system = AbtSystemManager.new + + # ensures download not needed. + FileUtils.cp "#{$PACKAGE_PATH}/ipc-1.4.tar.gz", "#{$SOURCES_REPOSITORY}", :verbose => true if !File.exist?( "#{$SOURCES_REPOSITORY}/ipc-1.4.tar.gz" ) end ## Modified: src/trunk/testabtpackagemanager.rb =================================================================== --- src/trunk/testabtpackagemanager.rb 2007-07-24 12:53:06 UTC (rev 409) +++ src/trunk/testabtpackagemanager.rb 2007-07-24 12:54:02 UTC (rev 410) @@ -39,6 +39,9 @@ @pkgMgr = AbtPackageManager.new @manager = AbtPackageManager.new @system = AbtSystemManager.new + + # ensures download not needed. + FileUtils.cp "#{$PACKAGE_PATH}/ipc-1.4.tar.gz", "#{$SOURCES_REPOSITORY}", :verbose => true if !File.exist?( "#{$SOURCES_REPOSITORY}/ipc-1.4.tar.gz" ) end ## This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-12-27 19:09:16
|
Revision: 446 http://abtlinux.svn.sourceforge.net/abtlinux/?rev=446&view=rev Author: eschabell Date: 2007-12-27 11:09:13 -0800 (Thu, 27 Dec 2007) Log Message: ----------- Implemented show-frozen package list method. Modified Paths: -------------- src/trunk/abt.rb src/trunk/abtreportmanager.rb src/trunk/testabtreportmanager.rb Modified: src/trunk/abt.rb =================================================================== --- src/trunk/abt.rb 2007-12-27 13:16:27 UTC (rev 445) +++ src/trunk/abt.rb 2007-12-27 19:09:13 UTC (rev 446) @@ -325,10 +325,31 @@ end when "show-frozen" - # FIXME : show frozen pkg's implementation. - puts "Display all packages frozen at current version." - show.usage( "queries" ) - + if ( ARGV.length == 1 ) + logger.info( "Starting display of frozen packages." ) + frozenResults = reporter.show_frozen_packages + if ( frozenResults.empty? ) + puts "\n\nNothing is frozen at this time.\n\n" + logger.info( "Completed display of frozen packages." ) + exit + else + # we have results hash! + puts "\n\n\t========================" + puts "\tAbTLinux frozen packages" + puts "\t========================" + puts "\nPackage name: \t\tFrozen since:" + puts "============\t\t=============" + frozenResults.each_pair { |name, timestamp| puts "#{name} \t\t#{timestamp}" } + end + + #puts "===========================================" + puts "\n\n" + logger.info( "Completed display of frozen packages." ) + else + show.usage( "queries" ) + exit + end + when "show-untracked" # FIXME : show untracked files implementation. puts "Display all files on system not tracked by AbTLinux." Modified: src/trunk/abtreportmanager.rb =================================================================== --- src/trunk/abtreportmanager.rb 2007-12-27 13:16:27 UTC (rev 445) +++ src/trunk/abtreportmanager.rb 2007-12-27 19:09:13 UTC (rev 446) @@ -133,10 +133,44 @@ ## # Display a list of the packages found in the frozen list. # - # <b>RETURN</b> <i>void.</i> + # <b>RETURN</b> <i>hash</i> - a hash of the frozen packages, keys are package + # names and values are the frozen timestamps. ## def show_frozen_packages - return false + + # determine if there are frozen pacakges. + frozenHash = Hash.new # has for values found. + + if ( Dir.entries( $PACKAGE_INSTALLED ) - [ '.', '..' ] ).empty? + return Hash.new # empty hash, no entries. + else + Dir.foreach( $PACKAGE_INSTALLED ) { |package| + if ( package != "." && package != "..") + # split the installed entry into two parts, + # the package name and the version number. + #packageArray = package.split( "-" ) + #packageName = packageArray[0] + + # check for frozen log file. + if ( File.exist?( "#{$PACKAGE_INSTALLED}/#{package}/frozen.log" ) ) + # dump packgae + frozen.log timestamp in packageHash. + begin + file = File.new("#{$PACKAGE_INSTALLED}/#{package}/frozen.log", "r") + #while (line = file.gets) + line = file.gets + frozenHash = frozenHash.merge( Hash[ "#{package}" => "#{line}" ] ) + #end + file.close + rescue => error + puts "Exception: #{error}" + return false + end + end + end + } + end + + return frozenHash end ## Modified: src/trunk/testabtreportmanager.rb =================================================================== --- src/trunk/testabtreportmanager.rb 2007-12-27 13:16:27 UTC (rev 445) +++ src/trunk/testabtreportmanager.rb 2007-12-27 19:09:13 UTC (rev 446) @@ -90,7 +90,10 @@ @manager.install_package( "ipc" ) end - # TODO: freeze test pacakge. + # ensure test package freeze. + if !@system.package_frozen( "ipc" ) + @manager.freeze_package "ipc" + end assert( @report.show_frozen_packages(), "test_show_frozen_packages()" ) end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-17 11:43:32
|
Revision: 91 Author: eschabell Date: 2006-05-17 04:43:24 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=91&view=rev Log Message: ----------- Regenerated the documentaion to include attributes. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-17 11:38:05 UTC (rev 90) +++ src/trunk/Package.rb 2006-05-17 11:43:24 UTC (rev 91) @@ -33,7 +33,13 @@ attr_reader :name, :version, :srcfile attr_reader :srcdir, :srcurl, :integrity attr_reader :url, :licence, :description - + +protected + +private + +public + ## # Provides all the data needed for this package. # Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-17 11:38:05 UTC (rev 90) +++ src/trunk/doc/classes/Package.html 2006-05-17 11:43:24 UTC (rev 91) @@ -218,9 +218,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> <div id="M000004_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 71</span> -71: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -72: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 77</span> +77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +78: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -247,9 +247,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 63</span> -63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -64: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 69</span> +69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +70: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -270,9 +270,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> <div id="M000001_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 42</span> -42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -43: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 48</span> +48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +49: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -294,9 +294,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> <div id="M000006_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 88</span> -88: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -89: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 94</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +95: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -319,9 +319,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> <div id="M000007_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 96</span> -96: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -97: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 102</span> +102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +103: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -344,9 +344,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 51</span> -51: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -52: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 57</span> +57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +58: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -370,9 +370,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> <div id="M000005_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 80</span> -80: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -81: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 86</span> +86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +87: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-17 11:38:05 UTC (rev 90) +++ src/trunk/doc/created.rid 2006-05-17 11:43:24 UTC (rev 91) @@ -1 +1 @@ -Wed May 17 13:37:16 CEST 2006 +Wed May 17 13:42:15 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-17 11:38:05 UTC (rev 90) +++ src/trunk/doc/files/Package_rb.html 2006-05-17 11:43:24 UTC (rev 91) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 17 13:37:07 CEST 2006</td> + <td>Wed May 17 13:42:12 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-17 11:48:20
|
Revision: 92 Author: eschabell Date: 2006-05-17 04:48:10 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=92&view=rev Log Message: ----------- More attribute stuff. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-17 11:43:24 UTC (rev 91) +++ src/trunk/Package.rb 2006-05-17 11:48:10 UTC (rev 92) @@ -30,6 +30,16 @@ class Package + ## + # <b>VARIABEL:</b> name - The name of the software package. + ## + @name + + ## + # <b>VARIABEL:</b> version - The version number of the software package. + ## + @version + attr_reader :name, :version, :srcfile attr_reader :srcdir, :srcurl, :integrity attr_reader :url, :licence, :description Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-17 11:43:24 UTC (rev 91) +++ src/trunk/doc/classes/Package.html 2006-05-17 11:48:10 UTC (rev 92) @@ -218,9 +218,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> <div id="M000004_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 77</span> -77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -78: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 87</span> +87: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +88: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -247,9 +247,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 69</span> -69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -70: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 79</span> +79: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +80: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -270,9 +270,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> <div id="M000001_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 48</span> -48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -49: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 58</span> +58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +59: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -294,9 +294,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> <div id="M000006_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -95: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 104</span> +104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +105: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -319,9 +319,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> <div id="M000007_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 102</span> -102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -103: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 112</span> +112: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +113: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -344,9 +344,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 57</span> -57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -58: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 67</span> +67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +68: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -370,9 +370,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> <div id="M000005_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 86</span> -86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -87: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 96</span> +96: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +97: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-17 11:43:24 UTC (rev 91) +++ src/trunk/doc/created.rid 2006-05-17 11:48:10 UTC (rev 92) @@ -1 +1 @@ -Wed May 17 13:42:15 CEST 2006 +Wed May 17 13:44:47 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-17 11:43:24 UTC (rev 91) +++ src/trunk/doc/files/Package_rb.html 2006-05-17 11:48:10 UTC (rev 92) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 17 13:42:12 CEST 2006</td> + <td>Wed May 17 13:44:39 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-17 11:59:12
|
Revision: 93 Author: eschabell Date: 2006-05-17 04:58:58 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=93&view=rev Log Message: ----------- Updated Package to include accessors to attributes. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-17 11:48:10 UTC (rev 92) +++ src/trunk/Package.rb 2006-05-17 11:58:58 UTC (rev 93) @@ -30,16 +30,6 @@ class Package - ## - # <b>VARIABEL:</b> name - The name of the software package. - ## - @name - - ## - # <b>VARIABEL:</b> version - The version number of the software package. - ## - @version - attr_reader :name, :version, :srcfile attr_reader :srcdir, :srcurl, :integrity attr_reader :url, :licence, :description Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-17 11:48:10 UTC (rev 92) +++ src/trunk/doc/classes/Package.html 2006-05-17 11:58:58 UTC (rev 93) @@ -218,9 +218,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p> <div id="M000004_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 87</span> -87: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -88: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 77</span> +77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +78: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -247,9 +247,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p> <div id="M000003_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 79</span> -79: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -80: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 69</span> +69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +70: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -270,9 +270,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p> <div id="M000001_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 58</span> -58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -59: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 48</span> +48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +49: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -294,9 +294,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p> <div id="M000006_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 104</span> -104: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -105: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 94</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +95: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -319,9 +319,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p> <div id="M000007_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 112</span> -112: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -113: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 102</span> +102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +103: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -344,9 +344,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p> <div id="M000002_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 67</span> -67: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -68: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 57</span> +57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +58: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -370,9 +370,9 @@ <p class="source-link">[ <a href="javascript:toggleSource('M000005_source')" id="l_M000005_source">show source</a> ]</p> <div id="M000005_source" class="dyn-source"> <pre> - <span class="ruby-comment cmt"># File Package.rb, line 96</span> -96: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -97: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File Package.rb, line 86</span> +86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +87: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-17 11:48:10 UTC (rev 92) +++ src/trunk/doc/created.rid 2006-05-17 11:58:58 UTC (rev 93) @@ -1 +1 @@ -Wed May 17 13:44:47 CEST 2006 +Wed May 17 13:57:45 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-17 11:48:10 UTC (rev 92) +++ src/trunk/doc/files/Package_rb.html 2006-05-17 11:58:58 UTC (rev 93) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 17 13:44:39 CEST 2006</td> + <td>Wed May 17 13:57:36 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2006-05-17 12:31:15
|
Revision: 94 Author: eschabell Date: 2006-05-17 05:30:57 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/abtlinux/?rev=94&view=rev Log Message: ----------- Added placeholders for protected, private and public methods. Regenerated docs. Modified Paths: -------------- src/trunk/Package.rb src/trunk/doc/classes/Package.html src/trunk/doc/created.rid src/trunk/doc/files/Package_rb.html Modified: src/trunk/Package.rb =================================================================== --- src/trunk/Package.rb 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/Package.rb 2006-05-17 12:30:57 UTC (rev 94) @@ -30,76 +30,76 @@ class Package - attr_reader :name, :version, :srcfile - attr_reader :srcdir, :srcurl, :integrity - attr_reader :url, :licence, :description + protected -protected + private -private + public + + attr_reader :name, :version, :srcfile + attr_reader :srcdir, :srcurl, :integrity + attr_reader :url, :licence, :description + + ## + # Provides all the data needed for this package. + # + # <b>RETURNS:</b> <i>hash</i> - Contains all package attributes. + ## + def details + end + + ## + # Preliminary work will happen here such as downloading the tarball, + # unpacking it, downloading and applying patches. + # + # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. + ## + def pre + end + + ## + # Here we manage the ./configure step (or equivalent). We need to give ./configure + # (or autogen.sh, or whatever) the correct options so files are to be placed later in the + # right directories, so doc files and man pages are all in the same common location, etc. + # Don't forget too that it's here where we interact with the user in case there are optionnal + # dependencies. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def configure + end + + ## + # Here is where the actual builing of the software starts, for example running 'make'. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def build + end + + ## + # Any actions needed before the installation can occur will happen here, such as creating + # new user accounts, dealing with existing configuration files, etc. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def preinstall + end -public + ## + # All files to be installed are installed here. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def install + end - ## - # Provides all the data needed for this package. - # - # <b>RETURNS:</b> <i>hash</i> - Contains all package information. - ## - def details - end - - ## - # Preliminary work will happen here such as downloading the tarball, - # unpacking it, downloading and applying patches. - # - # <b>RETURNS:</b> <i>boolean</i> - True if completes sucessfully, otherwise false. - ## - def pre - end + ## + # Last bits of installation. adding the service for automatic start in init.d for example. + # + # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. + ## + def post + end - ## - # Here we manage the ./configure step (or equivalent). We need to give ./configure - # (or autogen.sh, or whatever) the correct options so files are to be placed later in the - # right directories, so doc files and man pages are all in the same common location, etc. - # Don't forget too that it's here where we interact with the user in case there are optionnal - # dependencies. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def configure - end - - ## - # Here is where the actual builing of the software starts, for example running 'make'. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def build - end - - ## - # Any actions needed before the installation can occur will happen here, such as creating - # new user accounts, dealing with existing configuration files, etc. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def preinstall - end - - ## - # All files to be installed are installed here. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def install - end - - ## - # Last bits of installation. adding the service for automatic start in init.d for example. - # - # <b>RETURNS:</b> <i>boolean</i> - True if the completes sucessfully, otherwise false. - ## - def post - end - end Modified: src/trunk/doc/classes/Package.html =================================================================== --- src/trunk/doc/classes/Package.html 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/doc/classes/Package.html 2006-05-17 12:30:57 UTC (rev 94) @@ -219,8 +219,8 @@ <div id="M000004_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 77</span> -77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> -78: <span class="ruby-keyword kw">end</span> +77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">build</span> +78: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -248,8 +248,8 @@ <div id="M000003_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 69</span> -69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> -70: <span class="ruby-keyword kw">end</span> +69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configure</span> +70: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -263,7 +263,7 @@ Provides all the data needed for this package. </p> <p> -<b>RETURNS:</b> <em>hash</em> - Contains all package information. +<b>RETURNS:</b> <em>hash</em> - Contains all package attributes. </p> </div> <div class="sourcecode"> @@ -271,8 +271,8 @@ <div id="M000001_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 48</span> -48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> -49: <span class="ruby-keyword kw">end</span> +48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">details</span> +49: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -295,8 +295,8 @@ <div id="M000006_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 94</span> -94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> -95: <span class="ruby-keyword kw">end</span> +94: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">install</span> +95: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -320,8 +320,8 @@ <div id="M000007_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 102</span> -102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> -103: <span class="ruby-keyword kw">end</span> +102: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">post</span> +103: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -345,8 +345,8 @@ <div id="M000002_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 57</span> -57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> -58: <span class="ruby-keyword kw">end</span> +57: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pre</span> +58: <span class="ruby-keyword kw">end</span> </pre> </div> </div> @@ -371,8 +371,8 @@ <div id="M000005_source" class="dyn-source"> <pre> <span class="ruby-comment cmt"># File Package.rb, line 86</span> -86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> -87: <span class="ruby-keyword kw">end</span> +86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">preinstall</span> +87: <span class="ruby-keyword kw">end</span> </pre> </div> </div> Modified: src/trunk/doc/created.rid =================================================================== --- src/trunk/doc/created.rid 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/doc/created.rid 2006-05-17 12:30:57 UTC (rev 94) @@ -1 +1 @@ -Wed May 17 13:57:45 CEST 2006 +Wed May 17 14:25:32 CEST 2006 Modified: src/trunk/doc/files/Package_rb.html =================================================================== --- src/trunk/doc/files/Package_rb.html 2006-05-17 11:58:58 UTC (rev 93) +++ src/trunk/doc/files/Package_rb.html 2006-05-17 12:30:57 UTC (rev 94) @@ -63,7 +63,7 @@ </tr> <tr> <td>Modified:</td> - <td>Wed May 17 13:57:36 CEST 2006</td> + <td>Wed May 17 14:25:14 CEST 2006</td> </tr> </table> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |