<commit_before>lock '3.2.1'

set :application, 'alm-report'
set :repo_url, '<EMAIL>:PLOS/alm-report.git'
set :branch, 'master'
set :deploy_to, '/var/www/alm_report'
set :log_level, :info
set :linked_files, %w{ config/database.yml }
set :linked_dirs, %w{ bin log data tmp/pids tmp/sockets public/files }
set :keep_releases, 5
set :puma_workers, 2

namespace :cfengine do
  task :disable do
    on roles :web do
      execute :touch, File.join(shared_path, 'deploying')
    end
  end

  task :enable do
    on roles :web do
      execute :rm, File.join(shared_path, 'deploying')
    end
  end
end

namespace :deploy do
  before :starting, "cfengine:disable"
  after :finishing, "deploy:cleanup"
  after :finished, "cfengine:enable"
end

after :deploy, "cfengine:enable"<commit_msg>added config/settings.yml to capistrano linked_files<commit_after>lock '3.2.1'

set :application, 'alm-report'
set :repo_url, '<EMAIL>:PLOS/alm-report.git'
set :branch, 'master'
set :deploy_to, '/var/www/alm_report'
set :log_level, :info
set :linked_files, %w{ config/database.yml config/settings.yml }
set :linked_dirs, %w{ bin log data tmp/pids tmp/sockets public/files }
set :keep_releases, 5
set :puma_workers, 2

namespace :cfengine do
  task :disable do
    on roles :web do
      execute :touch, File.join(shared_path, 'deploying')
    end
  end

  task :enable do
    on roles :web do
      execute :rm, File.join(shared_path, 'deploying')
    end
  end
end

namespace :deploy do
  before :starting, "cfengine:disable"
  after :finishing, "deploy:cleanup"
  after :finished, "cfengine:enable"
end

after :deploy, "cfengine:enable"
{'fraction_non_alphanumeric': 0.12244897959183673, 'fraction_numerical': 0.006184291898577613, 'mean_word_length': 4.357615894039735, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1598357', 'n_tokens_mistral': 610, 'n_tokens_neox': 573, 'n_words': 168}