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

Commit 1d63046

Browse files
committed
Merge tag 'v0.34.1rc1' into matrix-org-hotfixes
Synapse 0.34.1rc1 (2019-01-08) ============================== Features -------- - Special-case a support user for use in verifying behaviour of a given server. The support user does not appear in user directory or monthly active user counts. ([\#4141](#4141), [\#4344](#4344)) - Support for serving .well-known files ([\#4262](#4262)) - Rework SAML2 authentication ([\#4265](#4265), [\#4267](#4267)) - SAML2 authentication: Initialise user display name from SAML2 data ([\#4272](#4272)) - Synapse can now have its conditional/extra dependencies installed by pip. This functionality can be used by using `pip install matrix-synapse[feature]`, where feature is a comma separated list with the possible values `email.enable_notifs`, `matrix-synapse-ldap3`, `postgres`, `resources.consent`, `saml2`, `url_preview`, and `test`. If you want to install all optional dependencies, you can use "all" instead. ([\#4298](#4298), [\#4325](#4325), [\#4327](#4327)) - Add routes for reading account data. ([\#4303](#4303)) - Add opt-in support for v2 rooms ([\#4307](#4307)) - Add a script to generate a clean config file ([\#4315](#4315)) - Return server data in /login response ([\#4319](#4319)) Bugfixes -------- - Fix contains_url check to be consistent with other instances in code-base and check that value is an instance of string. ([\#3405](#3405)) - Fix CAS login when username is not valid in an MXID ([\#4264](#4264)) - Send CORS headers for /media/config ([\#4279](#4279)) - Add 'sandbox' to CSP for media reprository ([\#4284](#4284)) - Make the new landing page prettier. ([\#4294](#4294)) - Fix deleting E2E room keys when using old SQLite versions. ([\#4295](#4295)) - The metric synapse_admin_mau:current previously did not update when config.mau_stats_only was set to True ([\#4305](#4305)) - Fixed per-room account data filters ([\#4309](#4309)) - Fix indentation in default config ([\#4313](#4313)) - Fix synapse:latest docker upload ([\#4316](#4316)) - Fix test_metric.py compatibility with prometheus_client 0.5. Contributed by Maarten de Vries <[email protected]>. ([\#4317](#4317)) - Avoid packaging _trial_temp directory in -py3 debian packages ([\#4326](#4326)) - Check jinja version for consent resource ([\#4327](#4327)) - fix NPE in /messages by checking if all events were filtered out ([\#4330](#4330)) - Fix `python -m synapse.config` on Python 3. ([\#4356](#4356)) Deprecations and Removals ------------------------- - Remove the deprecated v1/register API on Python 2. It was never ported to Python 3. ([\#4334](#4334)) Internal Changes ---------------- - Getting URL previews of IP addresses no longer fails on Python 3. ([\#4215](#4215)) - drop undocumented dependency on dateutil ([\#4266](#4266)) - Update the example systemd config to use a virtualenv ([\#4273](#4273)) - Update link to kernel DCO guide ([\#4274](#4274)) - Make isort tox check print diff when it fails ([\#4283](#4283)) - Log room_id in Unknown room errors ([\#4297](#4297)) - Documentation improvements for coturn setup. Contributed by Krithin Sitaram. ([\#4333](#4333)) - Update pull request template to use absolute links ([\#4341](#4341)) - Update README to not lie about required restart when updating TLS certificates ([\#4343](#4343)) - Update debian packaging for compatibility with transitional package ([\#4349](#4349)) - Fix command hint to generate a config file when trying to start without a config file ([\#4353](#4353)) - Add better logging for unexpected errors while sending transactions ([\#4358](#4358))
2 parents 4c238a9 + 32172f2 commit 1d63046

File tree

126 files changed

+4855
-1507
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+4855
-1507
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
machine: true
1414
steps:
1515
- checkout
16-
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_SHA1} .
17-
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:${CIRCLE_SHA1}-py3 --build-arg PYTHON_VERSION=3.6 .
16+
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:latest .
17+
- run: docker build -f docker/Dockerfile --label gitsha1=${CIRCLE_SHA1} -t matrixdotorg/synapse:latest-py3 --build-arg PYTHON_VERSION=3.6 .
1818
- run: docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
1919
- run: docker push matrixdotorg/synapse:latest
2020
- run: docker push matrixdotorg/synapse:latest-py3

.coveragerc

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ source=
99

1010
[report]
1111
precision = 2
12-
ignore_errors = True

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ demo/etc
55
tox.ini
66
.git/*
77
.tox/*
8+
debian/matrix-synapse/
9+
debian/matrix-synapse-*/

.github/PULL_REQUEST_TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<!-- Please read CONTRIBUTING.rst before submitting your pull request -->
44

55
* [ ] Pull request is based on the develop branch
6-
* [ ] Pull request includes a [changelog file](CONTRIBUTING.rst#changelog)
7-
* [ ] Pull request includes a [sign off](CONTRIBUTING.rst#sign-off)
6+
* [ ] Pull request includes a [changelog file](https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst#changelog)
7+
* [ ] Pull request includes a [sign off](https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst#sign-off)

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,16 @@ homeserver*.db
1818
homeserver*.log
1919
homeserver*.log.*
2020
homeserver*.pid
21-
homeserver*.yaml
21+
/homeserver*.yaml
2222

2323
*.signing.key
2424
*.tls.crt
2525
*.tls.dh
2626
*.tls.key
2727

2828
.coverage
29+
.coverage.*
30+
!.coverage.rc
2931
htmlcov
3032

3133
demo/*/*.db
@@ -57,3 +59,5 @@ env/
5759

5860
.vscode/
5961
.ropeproject/
62+
*.deb
63+
/debs

AUTHORS.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,7 @@ Pierre Jaury <pierre at jaury.eu>
6565
* Docker packaging
6666

6767
Serban Constantin <serban.constantin at gmail dot com>
68-
* Small bug fix
68+
* Small bug fix
69+
70+
Jason Robinson <jasonr at matrix.org>
71+
* Minor fixes

CHANGES.md

+68-14
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,84 @@
1-
Synapse 0.34.0rc2 (2018-12-11)
1+
Synapse 0.34.1rc1 (2019-01-08)
22
==============================
33

44
Features
55
--------
66

7-
- Add a welcome page for the client API port. Credit to @krombel! ([\#4289](https://github.com/matrix-org/synapse/issues/4289))
8-
- Remove Matrix console from the default distribution ([\#4290](https://github.com/matrix-org/synapse/issues/4290))
7+
- Special-case a support user for use in verifying behaviour of a given server. The support user does not appear in user directory or monthly active user counts. ([\#4141](https://github.com/matrix-org/synapse/issues/4141), [\#4344](https://github.com/matrix-org/synapse/issues/4344))
8+
- Support for serving .well-known files ([\#4262](https://github.com/matrix-org/synapse/issues/4262))
9+
- Rework SAML2 authentication ([\#4265](https://github.com/matrix-org/synapse/issues/4265), [\#4267](https://github.com/matrix-org/synapse/issues/4267))
10+
- SAML2 authentication: Initialise user display name from SAML2 data ([\#4272](https://github.com/matrix-org/synapse/issues/4272))
11+
- Synapse can now have its conditional/extra dependencies installed by pip. This functionality can be used by using `pip install matrix-synapse[feature]`, where feature is a comma separated list with the possible values `email.enable_notifs`, `matrix-synapse-ldap3`, `postgres`, `resources.consent`, `saml2`, `url_preview`, and `test`. If you want to install all optional dependencies, you can use "all" instead. ([\#4298](https://github.com/matrix-org/synapse/issues/4298), [\#4325](https://github.com/matrix-org/synapse/issues/4325), [\#4327](https://github.com/matrix-org/synapse/issues/4327))
12+
- Add routes for reading account data. ([\#4303](https://github.com/matrix-org/synapse/issues/4303))
13+
- Add opt-in support for v2 rooms ([\#4307](https://github.com/matrix-org/synapse/issues/4307))
14+
- Add a script to generate a clean config file ([\#4315](https://github.com/matrix-org/synapse/issues/4315))
15+
- Return server data in /login response ([\#4319](https://github.com/matrix-org/synapse/issues/4319))
16+
17+
18+
Bugfixes
19+
--------
20+
21+
- Fix contains_url check to be consistent with other instances in code-base and check that value is an instance of string. ([\#3405](https://github.com/matrix-org/synapse/issues/3405))
22+
- Fix CAS login when username is not valid in an MXID ([\#4264](https://github.com/matrix-org/synapse/issues/4264))
23+
- Send CORS headers for /media/config ([\#4279](https://github.com/matrix-org/synapse/issues/4279))
24+
- Add 'sandbox' to CSP for media reprository ([\#4284](https://github.com/matrix-org/synapse/issues/4284))
25+
- Make the new landing page prettier. ([\#4294](https://github.com/matrix-org/synapse/issues/4294))
26+
- Fix deleting E2E room keys when using old SQLite versions. ([\#4295](https://github.com/matrix-org/synapse/issues/4295))
27+
- The metric synapse_admin_mau:current previously did not update when config.mau_stats_only was set to True ([\#4305](https://github.com/matrix-org/synapse/issues/4305))
28+
- Fixed per-room account data filters ([\#4309](https://github.com/matrix-org/synapse/issues/4309))
29+
- Fix indentation in default config ([\#4313](https://github.com/matrix-org/synapse/issues/4313))
30+
- Fix synapse:latest docker upload ([\#4316](https://github.com/matrix-org/synapse/issues/4316))
31+
- Fix test_metric.py compatibility with prometheus_client 0.5. Contributed by Maarten de Vries <[email protected]>. ([\#4317](https://github.com/matrix-org/synapse/issues/4317))
32+
- Avoid packaging _trial_temp directory in -py3 debian packages ([\#4326](https://github.com/matrix-org/synapse/issues/4326))
33+
- Check jinja version for consent resource ([\#4327](https://github.com/matrix-org/synapse/issues/4327))
34+
- fix NPE in /messages by checking if all events were filtered out ([\#4330](https://github.com/matrix-org/synapse/issues/4330))
35+
- Fix `python -m synapse.config` on Python 3. ([\#4356](https://github.com/matrix-org/synapse/issues/4356))
36+
37+
38+
Deprecations and Removals
39+
-------------------------
40+
41+
- Remove the deprecated v1/register API on Python 2. It was never ported to Python 3. ([\#4334](https://github.com/matrix-org/synapse/issues/4334))
942

1043

1144
Internal Changes
1245
----------------
1346

14-
- Disable pager when running git-show in CI ([\#4291](https://github.com/matrix-org/synapse/issues/4291))
47+
- Getting URL previews of IP addresses no longer fails on Python 3. ([\#4215](https://github.com/matrix-org/synapse/issues/4215))
48+
- drop undocumented dependency on dateutil ([\#4266](https://github.com/matrix-org/synapse/issues/4266))
49+
- Update the example systemd config to use a virtualenv ([\#4273](https://github.com/matrix-org/synapse/issues/4273))
50+
- Update link to kernel DCO guide ([\#4274](https://github.com/matrix-org/synapse/issues/4274))
51+
- Make isort tox check print diff when it fails ([\#4283](https://github.com/matrix-org/synapse/issues/4283))
52+
- Log room_id in Unknown room errors ([\#4297](https://github.com/matrix-org/synapse/issues/4297))
53+
- Documentation improvements for coturn setup. Contributed by Krithin Sitaram. ([\#4333](https://github.com/matrix-org/synapse/issues/4333))
54+
- Update pull request template to use absolute links ([\#4341](https://github.com/matrix-org/synapse/issues/4341))
55+
- Update README to not lie about required restart when updating TLS certificates ([\#4343](https://github.com/matrix-org/synapse/issues/4343))
56+
- Update debian packaging for compatibility with transitional package ([\#4349](https://github.com/matrix-org/synapse/issues/4349))
57+
- Fix command hint to generate a config file when trying to start without a config file ([\#4353](https://github.com/matrix-org/synapse/issues/4353))
58+
- Add better logging for unexpected errors while sending transactions ([\#4358](https://github.com/matrix-org/synapse/issues/4358))
59+
60+
61+
Synapse 0.34.0 (2018-12-20)
62+
===========================
1563

64+
Synapse 0.34.0 is the first release to fully support Python 3. Synapse will now
65+
run on Python versions 3.5 or 3.6 (as well as 2.7). Support for Python 3.7
66+
remains experimental.
1667

17-
Synapse 0.34.0rc1 (2018-12-04)
18-
==============================
19-
20-
Synapse 0.34 is the first release to fully support Python 3. We recommend
21-
upgrading to Python 3, but make sure to read the
22-
[upgrade notes](UPGRADE.rst#upgrading-to-v0340) when doing so.
68+
We recommend upgrading to Python 3, but make sure to read the [upgrade
69+
notes](UPGRADE.rst#upgrading-to-v0340) when doing so.
2370

2471
Features
2572
--------
2673

74+
- Add 'sandbox' to CSP for media reprository ([\#4284](https://github.com/matrix-org/synapse/issues/4284))
75+
- Make the new landing page prettier. ([\#4294](https://github.com/matrix-org/synapse/issues/4294))
76+
- Fix deleting E2E room keys when using old SQLite versions. ([\#4295](https://github.com/matrix-org/synapse/issues/4295))
77+
- Add a welcome page for the client API port. Credit to @krombel! ([\#4289](https://github.com/matrix-org/synapse/issues/4289))
78+
- Remove Matrix console from the default distribution ([\#4290](https://github.com/matrix-org/synapse/issues/4290))
2779
- Add option to track MAU stats (but not limit people) ([\#3830](https://github.com/matrix-org/synapse/issues/3830))
2880
- Add an option to enable recording IPs for appservice users ([\#3831](https://github.com/matrix-org/synapse/issues/3831))
29-
- Rename login type m.login.cas to m.login.sso ([\#4220](https://github.com/matrix-org/synapse/issues/4220))
81+
- Rename login type `m.login.cas` to `m.login.sso` ([\#4220](https://github.com/matrix-org/synapse/issues/4220))
3082
- Add an option to disable search for homeservers that may not be interested in it. ([\#4230](https://github.com/matrix-org/synapse/issues/4230))
3183

3284

@@ -49,15 +101,17 @@ Bugfixes
49101
Internal Changes
50102
----------------
51103

52-
- A coveragerc file, as well as the py36-coverage tox target, have been added. ([\#4180](https://github.com/matrix-org/synapse/issues/4180))
104+
- Debian packages utilising a virtualenv with bundled dependencies can now be built. ([\#4212](https://github.com/matrix-org/synapse/issues/4212))
105+
- Disable pager when running git-show in CI ([\#4291](https://github.com/matrix-org/synapse/issues/4291))
106+
- A coveragerc file has been added. ([\#4180](https://github.com/matrix-org/synapse/issues/4180))
53107
- Add a GitHub pull request template and add multiple issue templates ([\#4182](https://github.com/matrix-org/synapse/issues/4182))
54-
- Update README to reflect the fact that #1491 is fixed ([\#4188](https://github.com/matrix-org/synapse/issues/4188))
108+
- Update README to reflect the fact that [\#1491](https://github.com/matrix-org/synapse/issues/1491) is fixed ([\#4188](https://github.com/matrix-org/synapse/issues/4188))
55109
- Run the AS senders as background processes to fix warnings ([\#4189](https://github.com/matrix-org/synapse/issues/4189))
56110
- Add some diagnostics to the tests to detect logcontext problems ([\#4190](https://github.com/matrix-org/synapse/issues/4190))
57111
- Add missing `jpeg` package prerequisite for OpenBSD in README. ([\#4193](https://github.com/matrix-org/synapse/issues/4193))
58112
- Add a note saying you need to manually reclaim disk space after using the Purge History API ([\#4200](https://github.com/matrix-org/synapse/issues/4200))
59113
- More logcontext checking in unittests ([\#4205](https://github.com/matrix-org/synapse/issues/4205))
60-
- Ignore __pycache__ directories in the database schema folder ([\#4214](https://github.com/matrix-org/synapse/issues/4214))
114+
- Ignore `__pycache__` directories in the database schema folder ([\#4214](https://github.com/matrix-org/synapse/issues/4214))
61115
- Add note to UPGRADE.rst about removing riot.im from list of trusted identity servers ([\#4224](https://github.com/matrix-org/synapse/issues/4224))
62116
- Added automated coverage reporting to CI. ([\#4225](https://github.com/matrix-org/synapse/issues/4225))
63117
- Garbage-collect after each unit test to fix logcontext leaks ([\#4227](https://github.com/matrix-org/synapse/issues/4227))

CONTRIBUTING.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Sign off
102102
In order to have a concrete record that your contribution is intentional
103103
and you agree to license it under the same terms as the project's license, we've adopted the
104104
same lightweight approach that the Linux Kernel
105-
(https://www.kernel.org/doc/Documentation/SubmittingPatches), Docker
105+
`submitting patches process <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin>`_, Docker
106106
(https://github.com/docker/docker/blob/master/CONTRIBUTING.md), and many other
107107
projects use: the DCO (Developer Certificate of Origin:
108108
http://developercertificate.org/). This is a simple declaration that you wrote

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ prune demo/etc
3636
prune docker
3737
prune .circleci
3838
prune .coveragerc
39+
prune debian
3940

4041
exclude jenkins*
4142
recursive-exclude jenkins *.sh

README.rst

+7-8
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Synapse is the reference Python/Twisted Matrix homeserver implementation.
8686
System requirements:
8787

8888
- POSIX-compliant system (tested on Linux & OS X)
89-
- Python 3.5, 3.6, or 2.7
89+
- Python 3.5, 3.6, 3.7, or 2.7
9090
- At least 1GB of free RAM if you want to join large public rooms like #matrix:matrix.org
9191

9292
Installing from source
@@ -148,7 +148,7 @@ To install the Synapse homeserver run::
148148
source ~/synapse/env/bin/activate
149149
pip install --upgrade pip
150150
pip install --upgrade setuptools
151-
pip install matrix-synapse
151+
pip install matrix-synapse[all]
152152

153153
This installs Synapse, along with the libraries it uses, into a virtual
154154
environment under ``~/synapse/env``. Feel free to pick a different directory
@@ -158,7 +158,7 @@ This Synapse installation can then be later upgraded by using pip again with the
158158
update flag::
159159

160160
source ~/synapse/env/bin/activate
161-
pip install -U matrix-synapse
161+
pip install -U matrix-synapse[all]
162162

163163
In case of problems, please see the _`Troubleshooting` section below.
164164

@@ -725,8 +725,8 @@ caveats, you will need to do the following:
725725
tell other servers how to find you. See `Setting up Federation`_.
726726

727727
When updating the SSL certificate, just update the file pointed to by
728-
``tls_certificate_path``: there is no need to restart synapse. (You may like to
729-
use a symbolic link to help make this process atomic.)
728+
``tls_certificate_path`` and then restart Synapse. (You may like to use a symbolic link
729+
to help make this process atomic.)
730730

731731
The most common mistake when setting up federation is not to tell Synapse about
732732
your SSL certificate. To check it, you can visit
@@ -826,16 +826,15 @@ to install using pip and a virtualenv::
826826

827827
virtualenv -p python2.7 env
828828
source env/bin/activate
829-
python -m synapse.python_dependencies | xargs pip install
830-
pip install lxml mock
829+
python -m pip install -e .[all]
831830

832831
This will run a process of downloading and installing all the needed
833832
dependencies into a virtual env.
834833

835834
Once this is done, you may wish to run Synapse's unit tests, to
836835
check that everything is installed as it should be::
837836

838-
PYTHONPATH="." trial tests
837+
python -m twisted.trial tests
839838

840839
This should end with a 'PASSED' result::
841840

UPGRADE.rst

+11-3
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ returned by the Client-Server API:
5151
Upgrading to v0.34.0
5252
====================
5353

54-
1. This release is the first to fully support Python 3. We recommend switching
55-
to Python 3, as it has been shown to give performance improvements.
54+
1. This release is the first to fully support Python 3. Synapse will now run on
55+
Python versions 3.5, or 3.6 (as well as 2.7). We recommend switching to
56+
Python 3, as it has been shown to give performance improvements.
5657

5758
For users who have installed Synapse into a virtualenv, we recommend doing
5859
this by creating a new virtualenv. For example::
@@ -68,7 +69,7 @@ Upgrading to v0.34.0
6869
synctl start
6970

7071
Users who have installed from distribution packages should see the relevant
71-
package documentation.
72+
package documentation. See below for notes on Debian packages.
7273

7374
* When upgrading to Python 3, you **must** make sure that your log files are
7475
configured as UTF-8, by adding ``encoding: utf8`` to the
@@ -107,6 +108,13 @@ Upgrading to v0.34.0
107108

108109
There is no need to revert this change if downgrading to Python 2.
109110

111+
We are also making available Debian packages which will run Synapse on
112+
Python 3. You can switch to these packages with ``apt-get install
113+
matrix-synapse-py3``, however, please read `debian/NEWS
114+
<https://github.com/matrix-org/synapse/blob/release-v0.34.0/debian/NEWS>`_
115+
before doing so. The existing ``matrix-synapse`` packages will continue to
116+
use Python 2 for the time being.
117+
110118
2. This release removes the ``riot.im`` from the default list of trusted
111119
identity servers.
112120

changelog.d/4294.bugfix

-1
This file was deleted.

changelog.d/4295.bugfix

-1
This file was deleted.

contrib/docker/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
labels:
3838
- traefik.enable=true
3939
- traefik.frontend.rule=Host:my.matrix.Host
40-
- traefik.port=8448
40+
- traefik.port=8008
4141

4242
db:
4343
image: docker.io/postgres:10-alpine
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Example systemd configuration file for synapse. Copy into
2+
# /etc/systemd/system/, update the paths if necessary, then:
3+
#
4+
# systemctl enable matrix-synapse
5+
# systemctl start matrix-synapse
6+
#
7+
# This assumes that Synapse has been installed in a virtualenv in
8+
# /opt/synapse/env.
9+
#
10+
# **NOTE:** This is an example service file that may change in the future. If you
11+
# wish to use this please copy rather than symlink it.
12+
13+
[Unit]
14+
Description=Synapse Matrix homeserver
15+
16+
[Service]
17+
Type=simple
18+
Restart=on-abort
19+
20+
User=synapse
21+
Group=nogroup
22+
23+
WorkingDirectory=/opt/synapse
24+
ExecStart=/opt/synapse/env/bin/python -m synapse.app.homeserver --config-path=/opt/synapse/homeserver.yaml
25+
26+
# adjust the cache factor if necessary
27+
# Environment=SYNAPSE_CACHE_FACTOR=2.0
28+
29+
[Install]
30+
WantedBy=multi-user.target
31+

contrib/systemd/synapse.service

-22
This file was deleted.

debian/.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/matrix-synapse-py3.*.debhelper
2+
/matrix-synapse-py3.debhelper.log
3+
/matrix-synapse-py3.substvars
4+
/matrix-synapse-*/
5+
/files
6+
/debhelper-build-stamp
7+
/.debhelper

0 commit comments

Comments
 (0)