diff --git a/debian/changelog b/debian/changelog index 9d0fede..3118f13 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +qasim (0.1.2) unstable; urgency=low + + * Disabled rdebug & added another missing dependency. + + -- Glenn Y. Rolland Sun, 07 Aug 2011 17:06:15 +0200 + qasim (0.1.1) unstable; urgency=low * Added missing dependencies (libqt4-ruby & ruby) diff --git a/debian/control b/debian/control index 82786a8..ef4210b 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.7.2 Package: qasim Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, sshfs (>= 1.7), ruby, libqt4-ruby +Depends: ${shlibs:Depends}, ${misc:Depends}, sshfs (>= 1.7), ruby, libqt4-ruby, rubygems Description: Easy mount solution for SSH filesystems. Qasim is a front-end for sshfs, the filesystem client based on fuse and ssh. It provides automating and global settings control for sshfs mounts. diff --git a/qasim/config.rb b/qasim/config.rb index 81dd072..647906b 100644 --- a/qasim/config.rb +++ b/qasim/config.rb @@ -7,7 +7,7 @@ require 'pp' require 'find' require 'rubygems' -require 'rdebug/base' +#require 'rdebug/base' require 'qasim/constants' require 'qasim/map' @@ -51,7 +51,7 @@ module Qasim end def parse_maps &blk - rdebug "Config: #{@config_dir}/config" + #rdebug "Config: #{@config_dir}/config" @maps = [] Find.find( @config_dir, APP_SYSCONFIG_DIR ) do |path| diff --git a/qasim/map.rb b/qasim/map.rb index 42e1a38..92ebe59 100644 --- a/qasim/map.rb +++ b/qasim/map.rb @@ -1,6 +1,6 @@ require 'rubygems' -require 'rdebug/base' +#require 'rdebug/base' require 'qasim/config' module Qasim @@ -38,7 +38,7 @@ module Qasim def load path=nil @path=path unless path.nil? - rdebug "Parsing map #{@path}" + #rdebug "Parsing map #{@path}" f = File.open @path linect = 0 local_env = ENV.clone @@ -64,22 +64,22 @@ module Qasim case line when /^\s*REMOTE_USER\s*=\s*(.*)\s*$/ then @user = $1 - rdebug "d: remote_user => #{$1}" + #rdebug "d: remote_user => #{$1}" when /^\s*REMOTE_PORT\s*=\s*(.*)\s*$/ then @port = $1.to_i - rdebug "d: remote_port => #{$1}" + #rdebug "d: remote_port => #{$1}" when /^\s*REMOTE_HOST\s*=\s*(.*)\s*$/ then @host = $1 - rdebug "d: remote_host => #{$1}" + #rdebug "d: remote_host => #{$1}" when /^\s*REMOTE_CYPHER\s*=\s*(.*)\s*$/ then if CYPHERS.map{|x| x.to_s}.include? $1 then @host = $1.to_sym end when /^\s*MAP\s*=\s*(.*)\s+(.*)\s*$/ then @links[$1] = $2 - rdebug "d: link #{$1} => #{$2}" + #rdebug "d: link #{$1} => #{$2}" when /^\s*$/,/^\s*#/ then - rdebug "d: dropping empty line" + #rdebug "d: dropping empty line" else raise MapParseError, "parse error at #{@path}:#{linect}" end @@ -99,7 +99,7 @@ module Qasim end def online? - rdebug "testing online? %s " % self.inspect + #rdebug "testing online? %s " % self.inspect #FIXME: test liveness end @@ -159,7 +159,7 @@ module Qasim "-o","Port=%s" % @port, "%s@%s:%s" % [@user,@host,remotepath], localpath ] - rdebug "command: %s" % [ cmd, cmd_args ].flatten.join(' ') + #rdebug "command: %s" % [ cmd, cmd_args ].flatten.join(' ') if block_given? then yield name, cmd, cmd_args else @@ -180,7 +180,7 @@ module Qasim "-u", #umount "-z" ,#lazy localpath ] - rdebug "command: %s" % [ cmd, cmd_args ].flatten.join(' ') + #rdebug "command: %s" % [ cmd, cmd_args ].flatten.join(' ') if block_given? then yield name, cmd, cmd_args else