<commit_before>current_dir = File.dirname(__FILE__)

load "#{current_dir}/fast_git_deploy/setup.rb"
load "#{current_dir}/fast_git_deploy/rollback.rb"

set(:revision_log) { "#{deploy_to}/revisions.log" }
set(:version_file) { "#{current_path}/REVISION" }

set :migrate_target, :current

namespace :deploy do
  desc <<-DESC
    Deploy a "cold" application (deploy the app for the first time).
  DESC<commit_msg>Set release_name, releases and release_path to map to the current folder to mimic capistranos behaviour. This may be required by some capistrano plugins (cached_externals, sprockets-rails, ..).<commit_after>current_dir = File.dirname(__FILE__)

load "#{current_dir}/fast_git_deploy/setup.rb"
load "#{current_dir}/fast_git_deploy/rollback.rb"

set(:revision_log) { "#{deploy_to}/revisions.log" }
set(:version_file) { "#{current_path}/REVISION" }

set :migrate_target, :current

set :release_name, 'current'
set :releases, ['current']
set(:releases_path) { File.join(deploy_to) }

namespace :deploy do
  desc <<-DESC
    Deploy a "cold" application (deploy the app for the first time).
  DESC
{'fraction_non_alphanumeric': 0.13114754098360656, 'fraction_numerical': 0.0, 'mean_word_length': 5.911949685534591, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '90581', 'n_tokens_mistral': 389, 'n_tokens_neox': 367, 'n_words': 92}