<commit_before>#!/bin/sh

# Used to update http://openlayers.org/dev/ 


# Get current 'Last Changed Rev'
REV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'`

# Get the last svn rev
touch /tmp/ol_svn_rev
OLD_REV="o`cat /tmp/ol_svn_rev`"

# If they're not equal, do some work.
if [ ! o$REV = $OLD_REV ]; then
    svn revert -R /osgeo/openlayers/docs/dev
    svn up /osgeo/openlayers/docs/dev

    cd /osgeo/openlayers/docs/dev/tools/ 
    python exampleparser.py
    cd /osgeo/openlayers/docs/dev/build<commit_msg>Update the website contents.<commit_after>#!/bin/sh

# Used to update http://openlayers.org/dev/ 


# Get current 'Last Changed Rev'
REV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'`

# Get the last svn rev
touch /tmp/ol_svn_rev
OLD_REV="o`cat /tmp/ol_svn_rev`"

# If they're not equal, do some work.
if [ ! o$REV = $OLD_REV ]; then
    svn revert -R /osgeo/openlayers/docs/dev
    svn up /osgeo/openlayers/docs/dev

    # Also update website
    svn up /osgeo/openlayers/docs/

    cd /osgeo/openlayers/docs/dev/tools/ 
    python exampleparser.py
    cd /osgeo/openlayers/docs/dev/build
{'fraction_non_alphanumeric': 0.13828867761452032, 'fraction_numerical': 0.001728608470181504, 'mean_word_length': 3.1805054151624548, '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': '2608552', 'n_tokens_mistral': 461, 'n_tokens_neox': 439, 'n_words': 110}