<commit_before># encoding: utf-8
# vim: ft=ruby expandtab shiftwidth=2 tabstop=2

packages = %w{gettext subversion}

packages.each do |pkg|
  package pkg do
    action [:install, :upgrade]
  end
end

subversion "Checkout WordPress i18n tools." do
  repository    node[:vccw][:i18ntools_repositry]
  revision      "HEAD"
  destination   node[:vccw][:path]
  action        :sync
  user          "root"
  group         "root"
end

execute "echo 'alias makepot=\"#{node[:vccw][:makepot]}\"' >> #{node[:vccw]['bash_profile']}" do
  not_if "grep 'alias makepot' #{node[:vccw][:bash_profile]}"
end
<commit_msg>update command makepot to makepot.php<commit_after># encoding: utf-8
# vim: ft=ruby expandtab shiftwidth=2 tabstop=2

packages = %w{gettext subversion}

packages.each do |pkg|
  package pkg do
    action [:install, :upgrade]
  end
end

subversion "Checkout WordPress i18n tools." do
  repository    node[:vccw][:i18ntools_repositry]
  revision      "HEAD"
  destination   node[:vccw][:path]
  action        :sync
  user          "root"
  group         "root"
end

execute "echo 'alias makepot.php=\"#{node[:vccw][:makepot]}\"' >> #{node[:vccw]['bash_profile']}" do
  not_if "grep 'alias makepot.php' #{node[:vccw][:bash_profile]}"
end

{'fraction_non_alphanumeric': 0.14458804523424879, 'fraction_numerical': 0.011308562197092083, 'mean_word_length': 3.956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6424185', 'n_tokens_mistral': 461, 'n_tokens_neox': 444, 'n_words': 110}