<commit_before>set :application, "yoxima"
set :domain,      "192.168.3.11"
set :deploy_to,   "/var/www/#{application}"
set :app_path,    "app"
set :user,        "fabrice"
default_run_options[:pty] = true
set :use_sudo,    false
#Sudo Password if use_sudo true
#set :password, "<PASSWORD>"
set :passphrase, "<PASSWORD>"

set :ssh_options,   :forward_agent => true

set :repository,  "https://github.com/ekzoplasm/#{application}.git"
set :scm,         :git
#git password
set :scm_password, "<PASSWORD>"
set :scm_passphrase, "<PASSWORD>"
set :branch, "master"

set :model_manager, "doctrine"

role :web,        domain                         # Your HTTP server, Apache/etc
role :app,        domain, :primary => true       # This may be the same as your `Web` server

set  :keep_releases,  3

# Be more verbose by uncommenting the following line
# logger.level = Logger::MAX_LEVEL

set :use_set_permissions, true

set :shared_files,        ["app/config/parameters.yml"]
set :shared_children,     [app_path + "/logs", web_path + "/uploads", "vendor"]
#set :use_composer, true
set :update_vendors, true

#On clean les release après avoir atteint le nombre max de keep_releases(voir au dessus "set  :keep_releases,  3")
after "deploy", "deploy:cleanup"

# Symfony2 >= 2.1
#before 'symfony:composer:update', 'symfony:copy_vendors'

#namespace :symfony do
#  desc "Copy vendors from previous release"
#  task :copy_vendors, :except => { :no_release => true } do
#    if Capistrano::CLI.ui.agree("Do you want to copy last release vendor dir then do composer install ?: (y/N)")
#      capifony_pretty_print "--> Copying vendors from previous release"

#      run "cp -a #{previous_release}/vendor #{latest_release}/"
#      capifony_puts_ok
#    end
#  end
#end<commit_msg>deploy process<commit_after>set :application, "yoxima"
set :domain,      "192.168.3.11"
set :deploy_to,   "/var/www/#{application}"
set :app_path,    "app"
set :user,        "fabrice"
default_run_options[:pty] = true
set :use_sudo,    false
#Sudo Password if use_sudo true
#set :password, "<PASSWORD>"
set :passphrase, "<PASSWORD>"

set :ssh_options,   :forward_agent => true

set :repository,  "https://github.com/ekzoplasm/#{application}.git"
set :scm,         :git
#git password
set :scm_password, "<PASSWORD>"
set :scm_passphrase, "<PASSWORD>"
set :branch, "master"

set :model_manager, "doctrine"

role :web,        domain                         # Your HTTP server, Apache/etc
role :app,        domain, :primary => true       # This may be the same as your `Web` server

set  :keep_releases,  3

# Be more verbose by uncommenting the following line
# logger.level = Logger::MAX_LEVEL

set :use_set_permissions, true

set :shared_files,        ["app/config/parameters.yml"]
set :shared_children,     [app_path + "/logs", web_path + "/uploads", "vendor"]
#set :use_composer, true
#set :update_vendors, true

#On clean les release après avoir atteint le nombre max de keep_releases(voir au dessus "set  :keep_releases,  3")
after "deploy", "deploy:cleanup"

# Symfony2 >= 2.1
#before 'symfony:composer:update', 'symfony:copy_vendors'

#namespace :symfony do
#  desc "Copy vendors from previous release"
#  task :copy_vendors, :except => { :no_release => true } do
#    if Capistrano::CLI.ui.agree("Do you want to copy last release vendor dir then do composer install ?: (y/N)")
#      capifony_pretty_print "--> Copying vendors from previous release"

#      run "cp -a #{previous_release}/vendor #{latest_release}/"
#      capifony_puts_ok
#    end
#  end
#end
{'fraction_non_alphanumeric': 0.1290414066931367, 'fraction_numerical': 0.007941009642654566, 'mean_word_length': 3.9259776536312847, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '3583069', 'n_tokens_mistral': 1226, 'n_tokens_neox': 1174, 'n_words': 356}