<commit_before>#!/bin/bash

# ==================================================================================================
# Script to download and install Atlassian JIRA
#
# See also
#	http://maxlab.polito.it/confluence/display/~gmacario/Configuration+of+mv-linux-powerhorse
# ==================================================================================================

set -x

DOWNLOAD_DIR=`pwd`/tmp
#DOWNLOAD_DIR=$/Downloads

JIRA_INSTALLFILE="atlassian-jira-6.2.1-x64.bin"
JIRA_BACKUP="2014-Apr-28--1031.zip"

mkdir -p ${DOWNLOAD_DIR}
cd ${DOWNLOAD_DIR}

# Install dependencies for Atlassian JIRA
#TODO

# Download Atlassian JIRA
[ ! -z "${JIRA_INSTALLFILE}" ] && if [ ! -e ${JIRA_INSTALLFILE} ]; then
    wget http://www.atlassian.com/software/jira/downloads/binary/${JIRA_INSTALLFILE}
fi

# Download maxlab.polito.it/jira backup
[ ! -z "${JIRA_BACKUP}" ] && if [ ! -e ${JIRA_BACKUP} ]; then
    scp <EMAIL>:/var/atlassian/application-data/jira/export/${JIRA_BACKUP} .<commit_msg>Update to latest JIRA release<commit_after>#!/bin/bash

# ==================================================================================================
# Script to download and install Atlassian JIRA
#
# See also
#	https://maxlab.polito.it/confluence/x/DAAb
# ==================================================================================================

set -x

DOWNLOAD_DIR=`pwd`/tmp
#DOWNLOAD_DIR=$/Downloads

JIRA_INSTALLFILE="atlassian-jira-6.2.5-x64.bin"
JIRA_BACKUP="2014-May-17--1540.zip"

mkdir -p ${DOWNLOAD_DIR}
cd ${DOWNLOAD_DIR}

# Install dependencies for Atlassian JIRA
#TODO

# Download Atlassian JIRA
[ ! -z "${JIRA_INSTALLFILE}" ] && if [ ! -e ${JIRA_INSTALLFILE} ]; then
    wget http://www.atlassian.com/software/jira/downloads/binary/${JIRA_INSTALLFILE}
fi

# Download maxlab.polito.it/jira backup
[ ! -z "${JIRA_BACKUP}" ] && if [ ! -e ${JIRA_BACKUP} ]; then
    scp <EMAIL>:/var/atlassian/application-data/jira/export/${JIRA_BACKUP} .
{'fraction_non_alphanumeric': 0.33078880407124683, 'fraction_numerical': 0.015267175572519083, 'mean_word_length': 5.826388888888889, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1251554', 'n_tokens_mistral': 718, 'n_tokens_neox': 661, 'n_words': 106}