<commit_before># Local Debsources configuration.

[DEFAULT]
db_uri:      	 postgresql:///debsources
root_dir:    	 /srv/debsources
backup_dir:   	 %(root_dir)s/backup
cache_dir:   	 %(root_dir)s/cache
local_dir:   	 %(root_dir)s/local
sources_dir: 	 %(root_dir)s/sources
python_dir:  	 %(root_dir)s/python
mirror_dir:    	 %(root_dir)s/testdata/mirror
mirror_archive_dir: %(root_dir)s/testdata/archive
dry_run:     	 false


[infra]
mirror_host:     ftp.de.debian.org
mirror_suites:   oldstable,stable,testing,unstable,experimental,proposed-updates,testing-proposed-updates,oldstable-updates,stable-updates,wheezy-backports,squeeze-lts
mirror_sections: main,contrib,non-free
bin_dir:       	 %(root_dir)s/bin
expire_days:   	 14
backends:        db fs hooks hooks.db hooks.fs
# stages:          extract suites gc stats cache charts
stages:          extract suites gc stats cache
hooks:         	 sloccount checksums metrics ctags
log_level:     	 info
log_file:      	 %(cache_dir)s/debsources.log


[webapp]
# the domain of the webapp, used in documentation
domain: sources.debian.net

# link to Debsources source code (might be changed for, e.g., AGPL compliance)
gitweb_url: http://anonscm.debian.org/gitweb/?p=qa/debsources.git

# the secret key for session signing
# secret_key: some_hash # not in use

# CSRF token for WTForms
# we don't have any form which writes data
# python-flaskext.wtf < 0.9
csrf_enabled: false
# python-flaskext.wtf >= 0.9
wtf_csrf_enabled: false

# related session key:
# csrf_session_key: some_hash # not in use

# the place where the browser can GET the highlight.js library (JS + CSS)
highlight_js_folder: /javascript/highlight

# CSS style for highlight.js
# see http://softwaremaniacs.org/media/soft/highlight/test.html
# highlight_style: default
highlight_style: googlecode

# the local absolute URL where icons are rooted
icons_folder: /icons/Tango/

# echoes or not the SQL requests to stdout (can be logged with Apache):
sqlalchemy_echo: false

# the uri of the database
sqlalchemy_database_uri: %(db_uri)s

# the uri of the database used for the tests (use a different one!)
sqlalchemy_database_uri_testing: %(db_uri)s_test

# where the sources are accessible for a browser, for raw links:
sources_static: /data

# /!\ don't set Debug to True in production
debug: false

# number of items in a results page:
list_offset: 60
<commit_msg>sample-config.local.ini: update log file settings<commit_after># Local Debsources configuration.

[DEFAULT]
db_uri:      	 postgresql:///debsources
root_dir:    	 /srv/debsources
backup_dir:   	 %(root_dir)s/backup
cache_dir:   	 %(root_dir)s/cache
local_dir:   	 %(root_dir)s/local
sources_dir: 	 %(root_dir)s/sources
mirror_dir:    	 %(root_dir)s/testdata/mirror
mirror_archive_dir: %(root_dir)s/testdata/archive
log_dir:         %(cache_dir)s
log_level:     	 debug
dry_run:     	 false


[infra]
mirror_host:     ftp.de.debian.org
mirror_suites:   oldstable,stable,testing,unstable,experimental,proposed-updates,testing-proposed-updates,oldstable-updates,stable-updates,wheezy-backports,squeeze-lts
mirror_sections: main,contrib,non-free
bin_dir:       	 %(root_dir)s/bin
expire_days:   	 14
backends:        db fs hooks hooks.db hooks.fs
# stages:          extract suites gc stats cache charts
stages:          extract suites gc stats cache
hooks:         	 sloccount checksums metrics ctags
log_file:      	 %(log_dir)s/debsources.log


[webapp]
# the domain of the webapp, used in documentation
domain: sources.debian.net

# link to Debsources source code (might be changed for, e.g., AGPL compliance)
gitweb_url: http://anonscm.debian.org/gitweb/?p=qa/debsources.git

# the secret key for session signing
# secret_key: some_hash # not in use

# CSRF token for WTForms
# we don't have any form which writes data
# python-flaskext.wtf < 0.9
csrf_enabled: false
# python-flaskext.wtf >= 0.9
wtf_csrf_enabled: false

# related session key:
# csrf_session_key: some_hash # not in use

# the place where the browser can GET the highlight.js library (JS + CSS)
highlight_js_folder: /javascript/highlight

# CSS style for highlight.js
# see http://softwaremaniacs.org/media/soft/highlight/test.html
# highlight_style: default
highlight_style: googlecode

# the local absolute URL where icons are rooted
icons_folder: /icons/Tango/

# echoes or not the SQL requests to stdout (can be logged with Apache):
sqlalchemy_echo: false

# the uri of the database
sqlalchemy_database_uri: %(db_uri)s

# the uri of the database used for the tests (use a different one!)
sqlalchemy_database_uri_testing: %(db_uri)s_test

# where the sources are accessible for a browser, for raw links:
sources_static: /data

# /!\ don't set Debug to True in production
debug: false

# number of items in a results page:
list_offset: 60

{'fraction_non_alphanumeric': 0.08923719958202717, 'fraction_numerical': 0.003343782654127482, 'mean_word_length': 4.259340659340659, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '653673', 'n_tokens_mistral': 1685, 'n_tokens_neox': 1619, 'n_words': 464}