<commit_before>src: <%= src %>
checksum: <%= checksum %>
dest: <%= fetch(:deploy_to) %>/releases/<%= env.now %>
commands:
  pre:
    <% hooks["pre"].each do |c| %>
    - <%= c %>
    <% end %>
  post:
    - ln -nfs <%= fetch(:deploy_to) %>/releases/<%= env.now %> <%= fetch(:deploy_to) %>/current
    - rm -rf <%= fetch(:deploy_to) %>/current/log
    - ln -nfs <%= fetch(:deploy_to) %>/shared/log <%= fetch(:deploy_to) %>/current/log
    - mkdir -p <%= fetch(:deploy_to) %>/current/tmp
    - ln -nfs <%= fetch(:deploy_to) %>/shared/pids <%= fetch(:deploy_to) %>/current/tmp/pids
    <% hooks["post"].each do |c| %>
    - <%= c %>
    <% end %>
  success:
    <% hooks["success"].each do |c| %>
    - <%= c %>
    <% end %>
  failure:
    <% hooks["failure"].each do |c| %>
    - <%= c %>
    <% end %>
excludes:
  - "*.pid"
  - "*.socket"<commit_msg>Handle :sync_strategy option<commit_after>src: <%= src %>
checksum: <%= checksum %>
dest: <%= fetch(:deploy_to) %>/releases/<%= env.now %>
commands:
  pre:
    <% hooks["pre"].each do |c| %>
    - <%= c %>
    <% end %>
  post:
    - ln -nfs <%= fetch(:deploy_to) %>/releases/<%= env.now %> <%= fetch(:deploy_to) %>/current
    - rm -rf <%= fetch(:deploy_to) %>/current/log
    - ln -nfs <%= fetch(:deploy_to) %>/shared/log <%= fetch(:deploy_to) %>/current/log
    - mkdir -p <%= fetch(:deploy_to) %>/current/tmp
    - ln -nfs <%= fetch(:deploy_to) %>/shared/pids <%= fetch(:deploy_to) %>/current/tmp/pids
    <% hooks["post"].each do |c| %>
    - <%= c %>
    <% end %>
  success:
    <% hooks["success"].each do |c| %>
    - <%= c %>
    <% end %>
  failure:
    <% hooks["failure"].each do |c| %>
    - <%= c %>
    <% end %>
excludes:
  - "*.pid"
  - "*.socket"
<% if strategy = fetch(:sync_strategy, false) %>
sync_strategy: <%= strategy %>
<% end %>
{'fraction_non_alphanumeric': 0.26371191135734073, 'fraction_numerical': 0.0, 'mean_word_length': 2.7237113402061857, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, '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': '2966538', 'n_tokens_mistral': 810, 'n_tokens_neox': 656, 'n_words': 134}