Mercurial > kallithea
comparison development.ini @ 5497:12b47803189f stable
cleanup: use example.com for tests and examples
example.com is explicitly reserved for this purpose. Using that means
we won't accidentally hammer a real server or real email address if an
example value escapes into the wild, e.g. in an automated test.
The domain "kallithea.example.com" has been used throughout to refer to the
example Kallithea server.
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Fri, 11 Sep 2015 13:00:47 +0200 |
parents | 2079e864ce51 |
children | 55ccfc66479d b4dd4c16c12d |
comparison
equal
deleted
inserted
replaced
5496:2b2216e8af36 | 5497:12b47803189f |
---|---|
55 #error_email_from = paste_error@example.com | 55 #error_email_from = paste_error@example.com |
56 | 56 |
57 ## SMTP server settings | 57 ## SMTP server settings |
58 ## Only smtp_server is mandatory. All other settings take the specified default | 58 ## Only smtp_server is mandatory. All other settings take the specified default |
59 ## values. | 59 ## values. |
60 #smtp_server = mail.server.com | 60 #smtp_server = smtp.example.com |
61 #smtp_username = | 61 #smtp_username = |
62 #smtp_password = | 62 #smtp_password = |
63 #smtp_port = 25 | 63 #smtp_port = 25 |
64 #smtp_use_tls = false | 64 #smtp_use_tls = false |
65 #smtp_use_ssl = false | 65 #smtp_use_ssl = false |
226 show_sha_length = 12 | 226 show_sha_length = 12 |
227 show_revision_number = false | 227 show_revision_number = false |
228 | 228 |
229 ## gist URL alias, used to create nicer urls for gist. This should be an | 229 ## gist URL alias, used to create nicer urls for gist. This should be an |
230 ## url that does rewrites to _admin/gists/<gistid>. | 230 ## url that does rewrites to _admin/gists/<gistid>. |
231 ## example: http://gist.kallithea.server/{gistid}. Empty means use the internal | 231 ## example: http://gist.example.com/{gistid}. Empty means use the internal |
232 ## Kallithea url, ie. http[s]://your.kallithea.server/_admin/gists/<gistid> | 232 ## Kallithea url, ie. http[s]://kallithea.example.com/_admin/gists/<gistid> |
233 gist_alias_url = | 233 gist_alias_url = |
234 | 234 |
235 ## white list of API enabled controllers. This allows to add list of | 235 ## white list of API enabled controllers. This allows to add list of |
236 ## controllers to which access will be enabled by api_key. eg: to enable | 236 ## controllers to which access will be enabled by api_key. eg: to enable |
237 ## api access to raw_files put `FilesController:raw`, to enable access to patches | 237 ## api access to raw_files put `FilesController:raw`, to enable access to patches |
262 | 262 |
263 ## server url to the issue, each {id} will be replaced with match | 263 ## server url to the issue, each {id} will be replaced with match |
264 ## fetched from the regex and {repo} is replaced with full repository name | 264 ## fetched from the regex and {repo} is replaced with full repository name |
265 ## including groups {repo_name} is replaced with just name of repo | 265 ## including groups {repo_name} is replaced with just name of repo |
266 | 266 |
267 issue_server_link = https://myissueserver.com/{repo}/issue/{id} | 267 issue_server_link = https://issues.example.com/{repo}/issue/{id} |
268 | 268 |
269 ## prefix to add to link to indicate it's an url | 269 ## prefix to add to link to indicate it's an url |
270 ## #314 will be replaced by <issue_prefix><id> | 270 ## #314 will be replaced by <issue_prefix><id> |
271 | 271 |
272 issue_prefix = # | 272 issue_prefix = # |
273 | 273 |
274 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify | 274 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify |
275 ## multiple patterns, to other issues server, wiki or others | 275 ## multiple patterns, to other issues server, wiki or others |
276 ## below an example how to create a wiki pattern | 276 ## below an example how to create a wiki pattern |
277 # wiki-some-id -> https://mywiki.com/some-id | 277 # wiki-some-id -> https://wiki.example.com/some-id |
278 | 278 |
279 #issue_pat_wiki = (?:wiki-)(.+) | 279 #issue_pat_wiki = (?:wiki-)(.+) |
280 #issue_server_link_wiki = https://mywiki.com/{id} | 280 #issue_server_link_wiki = https://wiki.example.com/{id} |
281 #issue_prefix_wiki = WIKI- | 281 #issue_prefix_wiki = WIKI- |
282 | 282 |
283 ## instance-id prefix | 283 ## instance-id prefix |
284 ## a prefix key for this instance used for cache invalidation when running | 284 ## a prefix key for this instance used for cache invalidation when running |
285 ## multiple instances of kallithea, make sure it's globally unique for | 285 ## multiple instances of kallithea, make sure it's globally unique for |