From f9e5eb791faf62ba5a603acc40d7171cc26182cb Mon Sep 17 00:00:00 2001 From: luislavena Date: Mon, 27 Nov 2006 04:48:37 +0000 Subject: [PATCH] Default mongrel_service compilation to debug mode (dump log files). Use RELEASE=1 to supress. New organization plan (TODO). git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@442 19e92222-5c0b-0410-8929-a290d50e31e9 --- projects/mongrel_service/Rakefile | 7 ++++--- projects/mongrel_service/TODO | 24 ++++++++++++++++++------ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/projects/mongrel_service/Rakefile b/projects/mongrel_service/Rakefile index dcab8c75..f2687e9a 100644 --- a/projects/mongrel_service/Rakefile +++ b/projects/mongrel_service/Rakefile @@ -25,7 +25,7 @@ namespace :lib do lib 'ServiceFB' build_to 'lib' - define 'SERVICEFB_DEBUG_LOG' if ENV['DEBUG_LIB'] + define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE'] source 'lib/ServiceFB/ServiceFB.bas' end @@ -33,7 +33,7 @@ namespace :lib do lib 'ServiceFB_Utils' build_to 'lib' - define 'SERVICEFB_DEBUG_LOG' if ENV['DEBUG_LIB'] + define 'SERVICEFB_DEBUG_LOG' unless ENV['RELEASE'] source 'lib/ServiceFB/ServiceFB_Utils.bas' end end @@ -48,7 +48,7 @@ namespace :native do executable 'mongrel_service' build_to 'bin' - define 'DEBUG_LOG' if ENV['DEBUG_LOG'] + define 'DEBUG_LOG' unless ENV['RELEASE'] main 'native/mongrel_service.bas' source 'native/process.bas' @@ -71,6 +71,7 @@ task :clobber => "native:clobber" setup_gem(GEM_NAME, GEM_VERSION) do |spec| spec.summary = "Mongrel Native Win32 Service Plugin for Rails" + spec.summary += " (debug build)" unless ENV['RELEASE'] spec.description = "This plugin offer native win32 services for rails, powered by Mongrel." spec.author = "Luis Lavena" spec.platform = Gem::Platform::WIN32 diff --git a/projects/mongrel_service/TODO b/projects/mongrel_service/TODO index 66c3d0db..e39b38c9 100644 --- a/projects/mongrel_service/TODO +++ b/projects/mongrel_service/TODO @@ -1,7 +1,19 @@ -= mongrel_service (native) TODO List +Legend: +[ ] not done +[X] done +[+] in progess - * Add more documentation about services - * Build win32/service extension inside the gem and ship with it. - (instead of relying in the non-official 0.5.0 one). - * Sanitize SingleMongrel and document the functions - \ No newline at end of file +### General +[ ] Add more documentation about services and requirements +[ ] Add process monitoring. + +### Dependencies +[+] Remove win32/service extension dependency (instead of relying in the non-official 0.5.0 one). + [ ] Add service management (from ServiceFB) to install and remove services. + +### SingleMongrel +[+] Sanitize SingleMongrel and document the functions. + +### ClusterMongrel +[ ] Parse mongrel_cluster configuration file (yaml) looking for port information + [ ] Reimplent SingleMongrel for ClusterMongrel, splitting source files for better organization.