Hello community, here is the log from the commit of package matrix-synapse for openSUSE:Factory checked in at 2018-04-01 17:27:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old) and /work/SRC/openSUSE:Factory/.matrix-synapse.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "matrix-synapse" Sun Apr 1 17:27:40 2018 rev:4 rq:592783 version:0.27.2 Changes: -------- --- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes 2018-01-16 09:43:14.959221146 +0100 +++ /work/SRC/openSUSE:Factory/.matrix-synapse.new/matrix-synapse.changes 2018-04-01 17:27:43.764907243 +0200 @@ -1,0 +2,61 @@ +Thu Mar 29 05:51:42 UTC 2018 - ok...@suse.com + +- Update to version v0.27.2: + * Bug fixes: + * Fix bug which broke TCP replication between workers (PR #3015) + * Fix broken ldap_config config option (PR #2683) Thanks to @seckrv! + * Fix error message when user is not allowed to unban (PR #2761) Thanks to + @turt2live! + * Fix publicised groups GET API (singular) over federation (PR #2772) + * Fix user directory when using user_directory_search_all_users config + option (PR #2803, #2831) + * Fix error on /publicRooms when no rooms exist (PR #2827) + * Fix bug in quarantine_media (PR #2837) + * Fix url_previews when no Content-Type is returned from URL (PR #2845) + * Fix rare race in sync API when joining room (PR #2944) + * Fix slow event search, switch back from GIST to GIN indexes (PR #2769, + #2848) + + * Fix bug where an invalid event caused server to stop functioning + correctly, due to parsing and serializing bugs in ujson library. + + * Features: + * Add ability for ASes to override message send time (PR #2754) + * Add support for custom storage providers for media repository (PR #2867, + #2777, #2783, #2789, #2791, #2804, #2812, #2814, #2857, #2868, #2767) + * Add purge API features, see docs/admin_api/purge_history_api.rst for + full details (PR #2858, #2867, #2882, #2946, #2962, #2943) + * Add support for whitelisting 3PIDs that users can register. (PR #2813) + * Add /room/{id}/event/{id} API (PR #2766) + * Add an admin API to get all the media in a room (PR #2818) Thanks to + @turt2live! + * Add federation_domain_whitelist option (PR #2820, #2821) + + * Changes: + * Continue to factor out processing from main process and into worker + processes. See updated docs/workers.rst (PR #2892 - #2904, #2913, #2920 + - #2926, #2947, #2847, #2854, #2872, #2873, #2874, #2928, #2929, #2934, + #2856, #2976 - #2984, #2987 - #2989, #2991 - #2993, #2995, #2784) + * Ensure state cache is used when persisting events (PR #2864, #2871, + #2802, #2835, #2836, #2841, #2842, #2849) + * Change the default config to bind on both IPv4 and IPv6 on all platforms + (PR #2435) Thanks to @silkeh! + * No longer require a specific version of saml2 (PR #2695) Thanks to @okurz! + * Remove verbosity/log_file from generated config (PR #2755) + * Add and improve metrics and logging (PR #2770, #2778, #2785, #2786, + #2787, #2793, #2794, #2795, #2809, #2810, #2833, #2834, #2844, #2965, + #2927, #2975, #2790, #2796, #2838) + * When using synctl with workers, don't start the main synapse + automatically (PR #2774) + * Minor performance improvements (PR #2773, #2792) + * Use a connection pool for non-federation outbound connections (PR #2817) + * Make it possible to run unit tests against postgres (PR #2829) + * Update pynacl dependency to 1.2.1 or higher (PR #2888) Thanks to @bachp! + * Remove ability for AS users to call /events and /sync (PR #2948) + * Use bcrypt.checkpw (PR #2949) Thanks to @krombel! + +- Change spec-file to use service downloaded and recompressed file directly +- Remove patch synapse_python_dependencies_allow_higher_versions_of_pysaml2.patch + now included in upstream changes + +------------------------------------------------------------------- @@ -21 +82 @@ -Changes: + * Changes: Old: ---- matrix-synapse-0.26.0.tar.gz synapse_python_dependencies_allow_higher_versions_of_pysaml2.patch New: ---- matrix-synapse-v0.27.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ matrix-synapse.spec ++++++ --- /var/tmp/diff_new_pack.E4q7xT/_old 2018-04-01 17:27:44.460882052 +0200 +++ /var/tmp/diff_new_pack.E4q7xT/_new 2018-04-01 17:27:44.460882052 +0200 @@ -16,17 +16,23 @@ # +## Package updates +# +# * Call `osc service ra` +# * Update changelog manually from +# * https://github.com/matrix-org/synapse/releases +# * Commit+submit + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define github_user matrix-org %define short_name synapse Name: matrix-%{short_name} -Version: 0.26.0 +Version: 0.27.2 Release: 0 Summary: Matrix protocol reference homeserver License: Apache-2.0 Group: Productivity/Networking/Instant Messenger -Source0: matrix-synapse-%{version}.tar.gz -Patch0: synapse_python_dependencies_allow_higher_versions_of_pysaml2.patch +Source0: matrix-synapse-v%{version}.tar.xz Url: https://github.com/matrix-org/synapse BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module base} @@ -78,10 +84,10 @@ Matrix. Matrix is a system for federated Instant Messaging and VoIP. %prep -%setup -q -n %{short_name}-%{version} -%patch0 -p1 +%setup -q -n %{name}-v%{version} for i in \ app/client_reader \ + app/event_creator \ app/federation_sender \ app/synchrotron \ app/pusher \ @@ -99,7 +105,10 @@ # patch the version requirement as it would be hard to supply exactly this # version as dependency sed -i 's/nacl==0.3.0/nacl>=0.3.0/g' synapse/python_dependencies.py -sed -i 's@#!/usr/bin/env python@#!/usr/bin/python@g' synapse/app/synctl.py +for i in synapse/app/synctl.py scripts/move_remote_media_to_new_store.py +do + sed -i 's@#!/usr/bin/env python@#!/usr/bin/python@g' $i +done sed -i '1 s@#!/usr/bin/env perl@#!/usr/bin/perl@g' scripts/sync_room_to_group.pl %build @@ -160,5 +169,6 @@ %python_alternative %{_unitdir}/synapse.service %config %python_alternative %{_sysconfdir}/synapse/log_config.yaml %python3_only %{_bindir}/sync_room_to_group.pl +%python3_only %{_bindir}/move_remote_media_to_new_store.py %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.E4q7xT/_old 2018-04-01 17:27:44.492880895 +0200 +++ /var/tmp/diff_new_pack.E4q7xT/_new 2018-04-01 17:27:44.492880895 +0200 @@ -4,8 +4,9 @@ <param name="versionformat">@PARENT_TAG@</param> <param name="url">git://github.com/matrix-org/synapse.git</param> <param name="scm">git</param> - <param name="revision">v0.26.0</param> - <param name="changesgenerate">enable</param> + <param name="revision">v0.27.2</param> + <!-- The git changelog of matrix-org/synapse does not seem to be very usable. Use the changelog provided on the github release page --> + <param name="changesgenerate">disable</param> <param name="changesauthor">ok...@suse.com</param> </service> <service name="recompress" mode="disabled">