-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge toolsHCK into rtoolsHCK to prevent version mismatch #50
Merge toolsHCK into rtoolsHCK to prevent version mismatch #50
Conversation
c71cd1f
to
67ac6d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it is beneficial to have two levels (shared
and tools
for toolsHCK. I also don't know what shared
means.
how about
|
|
|
bb5001f
to
3c22a0c
Compare
lib/rtoolsHCK.rb
Outdated
@@ -134,7 +134,7 @@ def logger(level, progname = nil, &) | |||
# the local machine | |||
# (default: disabled) | |||
# :l_script_file - The toolsHCK.ps1 file path on local machine | |||
# (default: disabled) | |||
# (default: shared/tools/toolsHCK.ps1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs an update.
I also suggest removing l_script_file
option and hardcoding the path. We do not want to mix different toolsHCK and rtoolsHCK.
3c22a0c
to
e554127
Compare
lib/rtoolsHCK.rb
Outdated
@@ -144,6 +142,8 @@ def initialize(init_opts) | |||
@log_to_stdout = init_opts[:log_to_stdout] | |||
@stdout_logger = Logger.new($stdout) if @log_to_stdout | |||
@logger = init_opts[:logger] | |||
@l_script_file = File.expand_path('../shared/tools/toolsHCK.ps1', __dir__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It no longer has to be kept as an instance variable of RToolsHCK
. We can hardcode it at Server#deploy_script_file
, which actually uses it.
e554127
to
20db53a
Compare
20db53a
to
d1c3766
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last request: remove "debuging" from the commit message. It's "debugging", and we don't need it anyway because we want to prevent "version mismatch" itself anyway.
d1c3766
to
71d0cfe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found two minor problems. They should be truely the last things remaining.
Signed-off-by: Vitalii Chulak <vitalii@daynix.com>
71d0cfe
to
f21e050
Compare
No description provided.