Thread: [Abtlinux-svn] SF.net SVN: abtlinux: [369] src/trunk/abtlogmanager.rb
Status: Alpha
Brought to you by:
eschabell
From: <esc...@us...> - 2007-07-17 15:00:59
|
Revision: 369 http://svn.sourceforge.net/abtlinux/?rev=369&view=rev Author: eschabell Date: 2007-07-17 08:00:47 -0700 (Tue, 17 Jul 2007) Log Message: ----------- Ruby way of passing args to method with '<<' does not work here. Modified Paths: -------------- src/trunk/abtlogmanager.rb Modified: src/trunk/abtlogmanager.rb =================================================================== --- src/trunk/abtlogmanager.rb 2007-07-16 20:23:30 UTC (rev 368) +++ src/trunk/abtlogmanager.rb 2007-07-17 15:00:47 UTC (rev 369) @@ -84,7 +84,7 @@ if ( ! File.directory?( dir ) ) FileUtils.mkdir_p( dir ) - to_journal << "Created directory: #{dir}." + to_journal( "Created directory: #{dir}." ) 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-17 20:04:45
|
Revision: 374 http://svn.sourceforge.net/abtlinux/?rev=374&view=rev Author: eschabell Date: 2007-07-17 13:04:48 -0700 (Tue, 17 Jul 2007) Log Message: ----------- Was only caching the copies of the install file for integrity, build, and configure files, doh! Modified Paths: -------------- src/trunk/abtlogmanager.rb Modified: src/trunk/abtlogmanager.rb =================================================================== --- src/trunk/abtlogmanager.rb 2007-07-17 19:30:37 UTC (rev 373) +++ src/trunk/abtlogmanager.rb 2007-07-17 20:04:48 UTC (rev 374) @@ -215,9 +215,9 @@ sourcePath = $SOURCES_REPOSITORY + "/" + File.basename( sw.srcUrl ) sourceFile = File.basename( sw.srcUrl ) installLog = get_log( package, 'install' ) - buildLog = get_log( package, 'install' ) - configureLog = get_log( package, 'install' ) - integrityLog = get_log( package, 'install' ) + buildLog = get_log( package, 'build' ) + configureLog = get_log( package, 'configure' ) + integrityLog = get_log( package, 'integrity' ) packageFile = "#{$PACKAGE_PATH}#{package}.rb" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-07-17 21:18:44
|
Revision: 376 http://svn.sourceforge.net/abtlinux/?rev=376&view=rev Author: eschabell Date: 2007-07-17 14:18:45 -0700 (Tue, 17 Jul 2007) Log Message: ----------- Went public (was private) with get_log method, caused by usage in removal of package method. Modified Paths: -------------- src/trunk/abtlogmanager.rb Modified: src/trunk/abtlogmanager.rb =================================================================== --- src/trunk/abtlogmanager.rb 2007-07-17 21:17:24 UTC (rev 375) +++ src/trunk/abtlogmanager.rb 2007-07-17 21:18:45 UTC (rev 376) @@ -30,6 +30,8 @@ protected private + + public ## # Returns the path to given packages install log. @@ -67,9 +69,6 @@ return log end - - - public ## # Constructor for the AbtLogManager. It ensures all needed logs paths are This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-07-20 12:17:16
|
Revision: 389 http://svn.sourceforge.net/abtlinux/?rev=389&view=rev Author: eschabell Date: 2007-07-20 05:17:19 -0700 (Fri, 20 Jul 2007) Log Message: ----------- Cleaned up the formatting of the get_log code and added configure log to the list of logs that can be gotten. Modified Paths: -------------- src/trunk/abtlogmanager.rb Modified: src/trunk/abtlogmanager.rb =================================================================== --- src/trunk/abtlogmanager.rb 2007-07-20 12:15:15 UTC (rev 388) +++ src/trunk/abtlogmanager.rb 2007-07-20 12:17:19 UTC (rev 389) @@ -48,20 +48,20 @@ case type when 'install' - log = "#{$PACKAGE_INSTALLED}/#{details['Source location']}" + - "/#{details['Source location']}.install" + log = "#{$PACKAGE_INSTALLED}/#{details['Source location']}/#{details['Source location']}.install" when 'integrity' - log = "#{$PACKAGE_INSTALLED}/#{details['Source location']}" + - "/#{details['Source location']}.integrity" + log = "#{$PACKAGE_INSTALLED}/#{details['Source location']}/#{details['Source location']}.integrity" when 'tmpinstall' log = "#{$ABT_TMP}/#{details['Source location']}.watch" when 'build' - log = "#{$PACKAGE_INSTALLED}/#{details['Source location']}" + - "/#{details['Source location']}.build" + log = "#{$PACKAGE_INSTALLED}/#{details['Source location']}/#{details['Source location']}.build" + when 'configure' + log = "#{$PACKAGE_INSTALLED}/#{details['Source location']}/#{details['Source location']}.configure" + else log = "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-09-25 20:40:27
|
Revision: 434 http://abtlinux.svn.sourceforge.net/abtlinux/?rev=434&view=rev Author: eschabell Date: 2007-09-25 13:40:23 -0700 (Tue, 25 Sep 2007) Log Message: ----------- Just a comment cleanup. Modified Paths: -------------- src/trunk/abtlogmanager.rb Modified: src/trunk/abtlogmanager.rb =================================================================== --- src/trunk/abtlogmanager.rb 2007-09-25 20:39:55 UTC (rev 433) +++ src/trunk/abtlogmanager.rb 2007-09-25 20:40:23 UTC (rev 434) @@ -100,9 +100,6 @@ # otherwise false. ## def log_package_integrity( package ) - #require "#{$PACKAGE_PATH}#{package}" - #sw = eval( "#{package.capitalize}.new" ) - #details = sw.details # our log locations. installLog = get_log( package, 'install' ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <esc...@us...> - 2007-12-31 12:52:49
|
Revision: 457 http://abtlinux.svn.sourceforge.net/abtlinux/?rev=457&view=rev Author: eschabell Date: 2007-12-31 04:52:46 -0800 (Mon, 31 Dec 2007) Log Message: ----------- Added initialize of our libs directory. Modified Paths: -------------- src/trunk/abtlogmanager.rb Modified: src/trunk/abtlogmanager.rb =================================================================== --- src/trunk/abtlogmanager.rb 2007-12-31 12:51:46 UTC (rev 456) +++ src/trunk/abtlogmanager.rb 2007-12-31 12:52:46 UTC (rev 457) @@ -79,7 +79,7 @@ ## def initialize logger = Logger.new( $JOURNAL ) - [$ABT_LOGS, $ABT_CACHES, $ABT_STATE, $BUILD_LOCATION, $PACKAGE_INSTALLED, + [$ABT_LOGS, $ABT_CACHES, $ABT_STATE, $BUILD_LOCATION, $PACKAGE_INSTALLED, $ABT_LIBS, $PACKAGE_CACHED, $ABT_TMP, $ABT_CONFIG, $ABT_LOCAL_CONFIG, $SOURCES_REPOSITORY].each { |dir| if ( ! File.directory?( dir ) ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |