<commit_before>
build:
  - resource: snippets/bundler.yml
  - resource: snippets/npm.yml
  - resource: snippets/bower.yml
  - resource: snippets/gulpgrunt.yml

after_build_success:
  - resource: snippets/package-build.yml

before_deploy:
  - resource: snippets/transmit.yml

deploy:
  - resource: snippets/extract-tar.yml
  - resource: snippets/setup-config.yml
  - resource: snippets/deploypermissions.yml

after_deploy_success:
  - resource: snippets/clear-opcode-cache.yml
  - resource: snippets/cleanup.yml<commit_msg>Add shared folders and drush<commit_after>
build:
  - resource: snippets/bundler.yml
  - resource: snippets/npm.yml
  - resource: snippets/bower.yml
  - resource: snippets/gulpgrunt.yml
  - steps:
      - sudo chmod a+rw sites/default
      - sudo chmod a+rw sites/default/settings.php

after_build_success:
  - resource: snippets/package-build.yml

before_deploy:
  - resource: snippets/transmit.yml

deploy:
  - resource: snippets/extract-tar.yml
  - resource: snippets/setup-config.yml
  - steps:
      - drush -r /home/projects/%deploy_project%/data/builds/%deploy_timestamp%-%buildtag% vset maintenance_mode 1 -y
      - drush -r /home/projects/%deploy_project%/data/builds/%deploy_timestamp%-%buildtag% cc all -y
      - sudo rm -Rf /home/projects/%deploy_project%/data/builds/%deploy_timestamp%-%buildtag%/sites/default/files
      - sudo mkdir -p /home/projects/%deploy_project%/data/shared/sites/default/files
      - sudo touch /home/projects/%deploy_project%/data/shared/sites/default/settings.php
      - sudo ln -nfs /home/projects/%deploy_project%/data/shared/sites/default/files /home/projects/%deploy_project%/data/builds/%deploy_timestamp%-%buildtag%/sites/default/files
      - sudo ln -nfs /home/projects/%deploy_project%/data/shared/sites/default/settings.php /home/projects/%deploy_project%/data/builds/%deploy_timestamp%-%buildtag%/sites/default/settings.php
  - resource: snippets/deploypermissions.yml

after_deploy_success:
  - resource: snippets/clear-opcode-cache.yml
  - resource: snippets/cleanup.yml
{'fraction_non_alphanumeric': 0.1257922964407606, 'fraction_numerical': 0.00048756704046806434, 'mean_word_length': 3.839622641509434, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2734708', 'n_tokens_mistral': 760, 'n_tokens_neox': 675, 'n_words': 103}