Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into shhs
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Jul 5, 2019
2 parents 9b3a63e + 0e54342 commit a175e60
Show file tree
Hide file tree
Showing 109 changed files with 1,109 additions and 1,126 deletions.
9 changes: 6 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,12 @@ steps:
queue: "medium"
command:
- "bash .buildkite/merge_base_branch.sh"
- "bash .buildkite/synapse_sytest.sh"
- "bash /synapse_sytest.sh"
plugins:
- docker#v3.0.1:
image: "matrixdotorg/sytest-synapse:py35"
propagate-environment: true
always-pull: true
retry:
automatic:
- exit_status: -1
Expand All @@ -192,11 +193,12 @@ steps:
POSTGRES: "1"
command:
- "bash .buildkite/merge_base_branch.sh"
- "bash .buildkite/synapse_sytest.sh"
- "bash /synapse_sytest.sh"
plugins:
- docker#v3.0.1:
image: "matrixdotorg/sytest-synapse:py35"
propagate-environment: true
always-pull: true
retry:
automatic:
- exit_status: -1
Expand All @@ -212,11 +214,12 @@ steps:
WORKERS: "1"
command:
- "bash .buildkite/merge_base_branch.sh"
- "bash .buildkite/synapse_sytest.sh"
- "bash /synapse_sytest.sh"
plugins:
- docker#v3.0.1:
image: "matrixdotorg/sytest-synapse:py35"
propagate-environment: true
always-pull: true
soft_fail: true
retry:
automatic:
Expand Down
145 changes: 0 additions & 145 deletions .buildkite/synapse_sytest.sh

This file was deleted.

1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include demo/README
include demo/demo.tls.dh
include demo/*.py
include demo/*.sh
include sytest-blacklist

recursive-include synapse/storage/schema *.sql
recursive-include synapse/storage/schema *.sql.postgres
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5606.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Move logging code out of `synapse.util` and into `synapse.logging`.
1 change: 1 addition & 0 deletions changelog.d/5609.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix 'utime went backwards' errors on daemonization.
1 change: 1 addition & 0 deletions changelog.d/5611.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a blacklist file to the repo to blacklist certain sytests from failing CI.
1 change: 1 addition & 0 deletions changelog.d/5616.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make runtime errors surrounding password reset emails much clearer.
1 change: 1 addition & 0 deletions changelog.d/5617.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Move logging code out of `synapse.util` and into `synapse.logging`.
8 changes: 4 additions & 4 deletions contrib/example_log_config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Example log_config file for synapse. To enable, point `log_config` to it in
# Example log_config file for synapse. To enable, point `log_config` to it in
# `homeserver.yaml`, and restart synapse.
#
# This configuration will produce similar results to the defaults within
# This configuration will produce similar results to the defaults within
# synapse, but can be edited to give more flexibility.

version: 1
Expand All @@ -12,7 +12,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand All @@ -35,7 +35,7 @@ handlers:
root:
level: INFO
handlers: [console] # to use file handler instead, switch to [file]

loggers:
synapse:
level: INFO
Expand Down
2 changes: 1 addition & 1 deletion contrib/experiments/test_messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

from synapse.app.homeserver import SynapseHomeServer

# from synapse.util.logutils import log_function
# from synapse.logging.utils import log_function

from twisted.internet import reactor, defer
from twisted.python import log
Expand Down
2 changes: 1 addition & 1 deletion contrib/systemd/log_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
matrix-synapse-py3 (1.1.0-1) UNRELEASED; urgency=medium

[ Amber Brown ]
* Update logging config defaults to match API changes in Synapse.

-- Erik Johnston <erikj@rae> Thu, 04 Jul 2019 13:59:02 +0100

matrix-synapse-py3 (1.1.0) stable; urgency=medium

[ Silke Hofstra ]
Expand Down
2 changes: 1 addition & 1 deletion debian/log.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand Down
2 changes: 1 addition & 1 deletion docker/conf/log.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ formatters:

filters:
context:
(): synapse.util.logcontext.LoggingContextFilter
(): synapse.logging.context.LoggingContextFilter
request: ""

handlers:
Expand Down
Loading

0 comments on commit a175e60

Please sign in to comment.