Skip to content

Commit

Permalink
bundle delegates config_filename to bundle_context
Browse files Browse the repository at this point in the history
  • Loading branch information
ndushay committed Sep 6, 2018
1 parent 2d8e555 commit 7278493
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/lib/pre_assembly/bundle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Bundle
:apply_tag,
:bundle_dir,
:checksums_file,
:config_filename,
:content_exclusion,
:content_md_creation,
:file_attr,
Expand Down
4 changes: 2 additions & 2 deletions app/lib/pre_assembly/reporting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def discovery_report(params = {})
start_time = Time.now
puts "\nProject, #{project_name}"
puts "Started at #{Time.now}"
puts "Config filename, #{bundle_context.config_filename}"
puts "Config filename, #{config_filename}"
puts "Directory, #{bundle_dir}"
puts "Object discovery via manifest, #{bundle_context.manifest}" if using_manifest # FIXME: always true
puts "Confirming checksums in,#{checksums_file}" if confirming_checksums
Expand Down Expand Up @@ -167,7 +167,7 @@ def discovery_report(params = {})
entries_in_bundle_directory.each { |dir_item| puts "* #{dir_item}" unless (all_object_containers.include?(dir_item.to_s.strip) || skipped_files.include?(dir_item.to_s.strip) || dir_item.to_s.strip[0..1] == '._') }
end

puts "\nConfig filename, #{bundle_context.config_filename}"
puts "\nConfig filename, #{config_filename}"
puts "Completed at #{Time.now}, total time was #{'%.2f' % ((Time.now - start_time) / 60.0)} minutes"
puts "\nTotal Objects that will be Processed, #{o2p.size}"
puts "Total Files and Folders in bundle directory, #{entries_in_bundle_directory.count}"
Expand Down

0 comments on commit 7278493

Please sign in to comment.