Class: RIM::UploadModuleHelper
- Inherits:
-
ModuleHelper
- Object
- Processor
- ModuleHelper
- RIM::UploadModuleHelper
- Defined in:
- lib/rim/upload_module_helper.rb
Defined Under Namespace
Classes: RevisionInfo
Constant Summary
Constants inherited from Processor
Processor::GerritServer, Processor::MaxThreads
Instance Attribute Summary
Attributes inherited from ModuleHelper
Instance Method Summary collapse
-
#initialize(workspace_root, module_info, review, logger) ⇒ UploadModuleHelper
constructor
A new instance of UploadModuleHelper.
-
#upload(parent, sha1s) ⇒ Object
do the module uploads for revisions given by sha.
Methods inherited from Processor
#clone_or_fetch_repository, #commit, #each_module_parallel, #get_absolute_remote_url, #get_relative_path, #local_changes?, #module_git_path, #module_tmp_git_path, #remote_path, shorten_path
Constructor Details
#initialize(workspace_root, module_info, review, logger) ⇒ UploadModuleHelper
Returns a new instance of UploadModuleHelper.
12 13 14 15 |
# File 'lib/rim/upload_module_helper.rb', line 12 def initialize(workspace_root, module_info, review, logger) super(workspace_root, module_info, logger) @review = review end |
Instance Method Details
#upload(parent, sha1s) ⇒ Object
do the module uploads for revisions given by sha
18 19 20 |
# File 'lib/rim/upload_module_helper.rb', line 18 def upload(parent, sha1s) upload_module_changes(parent, sha1s) end |