<commit_before>#!/usr/bin/env bash
apt-get -y install gcc make libicu48 libicu-dev erlang libmozjs185-dev g++ logrotate

ORIGINAL_DIR=`pwd`
cd $HOME

  curl http://www.us.apache.org/dist/couchdb/source/1.5.0/apache-couchdb-1.5.0.tar.gz | tar -zxvf-
  cd apache-couchdb-1.5.0
  ./configure
  make
  make install

  groupadd couchdb
  useradd -d /var/lib/couchdb -g couchdb couchdb
  mkdir -p /data/couchdb
  chown -R couchdb:couchdb /usr/local/var/{lib,log,run}/couchdb /usr/local/etc/couchdb /data/couchdb
  chmod 0770 /usr/local/var/{lib,log,run}/couchdb/ /data/couchdb
  chmod 664 /usr/local/etc/couchdb/*.ini
  chmod 775 /usr/local/etc/couchdb/*.d

  ln -s /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d/couchdb
  ln -s /usr/local/etc/init.d/couchdb /etc/init.d/couchdb
  update-rc.d couchdb defaults<commit_msg>[dist] upgrade couchdb to 1.6.0<commit_after>#!/usr/bin/env bash
apt-get -y install gcc make libicu48 libicu-dev erlang libmozjs185-dev g++ logrotate

ORIGINAL_DIR=`pwd`
cd $HOME

  curl http://www.us.apache.org/dist/couchdb/source/1.6.0/apache-couchdb-1.6.0.tar.gz | tar -zxvf-
  cd apache-couchdb-1.6.0
  ./configure
  make
  make install

  groupadd couchdb
  useradd -d /var/lib/couchdb -g couchdb couchdb
  mkdir -p /data/couchdb
  chown -R couchdb:couchdb /usr/local/var/{lib,log,run}/couchdb /usr/local/etc/couchdb /data/couchdb
  chmod 0770 /usr/local/var/{lib,log,run}/couchdb/ /data/couchdb
  chmod 664 /usr/local/etc/couchdb/*.ini
  chmod 775 /usr/local/etc/couchdb/*.d

  ln -s /usr/local/etc/logrotate.d/couchdb /etc/logrotate.d/couchdb
  ln -s /usr/local/etc/init.d/couchdb /etc/init.d/couchdb
  update-rc.d couchdb defaults
{'fraction_non_alphanumeric': 0.14837153196622438, 'fraction_numerical': 0.030759951749095297, 'mean_word_length': 3.1788413098236776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3500200', 'n_tokens_mistral': 763, 'n_tokens_neox': 718, 'n_words': 131}