<commit_before>set :application, 'openmedia.bg'
set :repo_url, 'https://github.com/openmediabg/openmedia.bg.git'
set :branch, :master
set :deploy_to, "/home/openmedia/#{fetch(:application)}"
set :log_level, :info
set :keep_releases, 15
set :linked_files, %w(.env web/.htaccess)
set :linked_dirs, %w(web/app/uploads backups)
set :wpcli_custom_paths_to_sync, %w()

namespace :deploy do
  desc 'Keep folders which plugins persist their files in symlinked under shared/'
  task :symlink_plugin_persistant_folders do
    folders = %w(web/app/plugins/revslider/rs-plugin/css)

    on roles(:app) do
      folders.each do |folder_to_persist|
        next unless test "[[ -d #{release_path.join(folder_to_persist)} ]]"
<commit_msg>Set the remote and local URLs for wpcli<commit_after>set :application, 'openmedia.bg'
set :repo_url, 'https://github.com/openmediabg/openmedia.bg.git'
set :branch, :master
set :deploy_to, "/home/openmedia/#{fetch(:application)}"
set :log_level, :info
set :keep_releases, 15
set :linked_files, %w(.env web/.htaccess)
set :linked_dirs, %w(web/app/uploads backups)
set :wpcli_custom_paths_to_sync, %w()
set :wpcli_remote_url, "openmedia.bg"
set :wpcli_local_url, "openmedia.dev"

namespace :deploy do
  desc 'Keep folders which plugins persist their files in symlinked under shared/'
  task :symlink_plugin_persistant_folders do
    folders = %w(web/app/plugins/revslider/rs-plugin/css)

    on roles(:app) do
      folders.each do |folder_to_persist|
        next unless test "[[ -d #{release_path.join(folder_to_persist)} ]]"

{'fraction_non_alphanumeric': 0.12919896640826872, 'fraction_numerical': 0.002583979328165375, 'mean_word_length': 5.196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '458318', 'n_tokens_mistral': 564, 'n_tokens_neox': 542, 'n_words': 133}