<commit_before># Turn echo on
echo on

# Login the Admin user
login "Admin" "admin"

# Create the setup project
createTempfileProject

# Switch to the setup project
setCurrentProject "_setupProject"

# Initialize the default property definitions
createPropertyDefinition Title
createPropertyDefinition Description
createPropertyDefinition Keywords
createPropertyDefinition NavText
createPropertyDefinition NavPos
createPropertyDefinition export
createPropertyDefinition exportname
createPropertyDefinition default-file
createPropertyDefinition content-encoding
createPropertyDefinition content-conversion
createPropertyDefinition cache
createPropertyDefinition template
createPropertyDefinition template-elements
createPropertyDefinition locale

# Switch to the root context
setSiteRoot "/"

# Create folder structure
createFolder "/" "sites/"
createFolder "/sites/" "default/"
createFolder "/system/" "lost-found/"
createFolder "/system/" "modules/"

# Apply folder permissions
chacc "/" "user" "ALL_OTHERS" "+v+r+i"
chacc "/" "role" "ROOT_ADMIN" "+v+w+r+c+d+i"
chacc "/system" "role" "WORKPLACE_USER" "+r+i"
chacc "/system/lost-found" "role" "WORKPLACE_MANAGER" "+v+w+r+c+d+i"
chacc "/system/modules" "role" "WORKPLACE_USER" "+v+r+i"
chacc "/system/orgunits" "role" "ACCOUNT_MANAGER" "+v+w+r+c+d+i"

chacc "/sites/default" "group" "Users" "+v+w+r+i"

# Publish the project
unlockCurrentProject
publishProjectAndWait

# Create the default "Offline" project
createDefaultProject "Offline" "The Offline Project"
setSiteRoot "/sites/default/"

# Import the modules that have been selected in the setup wizard
importModulesFromSetupBean

# Rebuild search indexes
rebuildAllIndexes

exit
<commit_msg>- added ade.sitemap property to setup script<commit_after># Turn echo on
echo on

# Login the Admin user
login "Admin" "admin"

# Create the setup project
createTempfileProject

# Switch to the setup project
setCurrentProject "_setupProject"

# Initialize the default property definitions
createPropertyDefinition Title
createPropertyDefinition Description
createPropertyDefinition Keywords
createPropertyDefinition NavText
createPropertyDefinition NavPos
createPropertyDefinition export
createPropertyDefinition exportname
createPropertyDefinition default-file
createPropertyDefinition content-encoding
createPropertyDefinition content-conversion
createPropertyDefinition cache
createPropertyDefinition template
createPropertyDefinition template-elements
createPropertyDefinition locale
createPropertyDefinition ade.sitemap

# Switch to the root context
setSiteRoot "/"

# Create folder structure
createFolder "/" "sites/"
createFolder "/sites/" "default/"
createFolder "/system/" "lost-found/"
createFolder "/system/" "modules/"

# Apply folder permissions
chacc "/" "user" "ALL_OTHERS" "+v+r+i"
chacc "/" "role" "ROOT_ADMIN" "+v+w+r+c+d+i"
chacc "/system" "role" "WORKPLACE_USER" "+r+i"
chacc "/system/lost-found" "role" "WORKPLACE_MANAGER" "+v+w+r+c+d+i"
chacc "/system/modules" "role" "WORKPLACE_USER" "+v+r+i"
chacc "/system/orgunits" "role" "ACCOUNT_MANAGER" "+v+w+r+c+d+i"

chacc "/sites/default" "group" "Users" "+v+w+r+i"

# Publish the project
unlockCurrentProject
publishProjectAndWait

# Create the default "Offline" project
createDefaultProject "Offline" "The Offline Project"
setSiteRoot "/sites/default/"

# Import the modules that have been selected in the setup wizard
importModulesFromSetupBean

# Rebuild search indexes
rebuildAllIndexes

exit

{'fraction_non_alphanumeric': 0.09624277456647398, 'fraction_numerical': 0.0, 'mean_word_length': 7.086448598130841, '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': '2541301', 'n_tokens_mistral': 1006, 'n_tokens_neox': 990, 'n_words': 304}