<commit_before># This sentry config generated by <%= node['fqdn'] %>

# <%= @config %>

<% if node['sentry']['include_settings'] %>
<%= node['sentry']['include_settings'] %> import *
<% end %>

DATABASES = {
  <% for name, dsettings in @databases %>
  "<%= name %>": {
       <% for key, value in dsettings %>
       "<%= key.upcase %>": <% if value.is_a?(Integer) %><%= value %><% else %>"<%= value %>"<% end %>,
       <% end %>
  },
  <% end %>
}

# No trailing slash!
SENTRY_URL_PREFIX = "<%= @prefix %>"

# Set this to false to require authentication
SENTRY_PUBLIC = <%= @public %>

# SENTRY_KEY is a unique randomly generated secret key for your server, and it
# acts as a signing token

SENTRY_KEY = "<%= @private_key %>"

# SENTRY_WEB_HOST = "<%= @web['host'] %>"
# SENTRY_WEB_PORT = "<%= @web['port'] %>"
# SENTRY_WEB_OPTIONS = {
#   <% for @name, @value in @web['options'] %>
#   '<%= @name %>': '<%= @value %>',
#   <% end %>
#}


# Mail server configuration

# For more information check Django's documentation:
#  https://docs.djangoproject.com/en/1.3/topics/email/?from=olddocs#e-mail-backends

EMAIL_BACKEND = "<%= @email['backend'] %>"

SERVER_EMAIL = "<%= @email['user'] %>"
EMAIL_HOST = "<%= @email['host'] %>"
EMAIL_HOST_PASSWORD = "<%= @email['password'] %>"<commit_msg>Updated template<commit_after># This sentry config generated by <%= node['fqdn'] %>

# <%= @config %>

<% if node['sentry']['include_settings'] %>
<%= node['sentry']['include_settings'] %> import *
<% end %>

DATABASES = {
  <% for name, dsettings in @databases %>
  "<%= name %>": {
       <% for key, value in dsettings %>
       "<%= key.upcase %>": <% if value.is_a?(Integer) %><%= value %><% else %>"<%= value %>"<% end %>,
       <% end %>
  },
  <% end %>
}

# No trailing slash!
SENTRY_URL_PREFIX = "<%= @prefix %>"

# Set this to false to require authentication
SENTRY_PUBLIC = <%= @public %>

# SENTRY_KEY is a unique randomly generated secret key for your server, and it
# acts as a signing token

SENTRY_KEY = "<%= @private_key %>"

SENTRY_WEB_HOST = "<%= @web['host'] %>"
SENTRY_WEB_PORT = "<%= @web['port'] %>"
SENTRY_WEB_OPTIONS = {
  <% for @name, @value in @web['options'] %>
  '<%= @name %>': '<%= @value %>',
  <% end %>
}

# Mail server configuration

# For more information check Django's documentation:
#  https://docs.djangoproject.com/en/1.3/topics/email/?from=olddocs#e-mail-backends

EMAIL_BACKEND = "<%= @email['backend'] %>"

SERVER_EMAIL = "<%= @email['user'] %>"
EMAIL_HOST = "<%= @email['host'] %>"
EMAIL_HOST_PASSWORD = "<%= @email['password'] %>"
{'fraction_non_alphanumeric': 0.22693655118723238, 'fraction_numerical': 0.001557026080186843, 'mean_word_length': 4.25562372188139, 'pattern_counts': {'":': 4, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 2, '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': '1201486', 'n_tokens_mistral': 1006, 'n_tokens_neox': 908, 'n_words': 199}