Skip to content

Conversation

@richvdh
Copy link
Member

@richvdh richvdh commented Feb 23, 2021

This was getting to be a bit of a mess, with unused/duplicate functions, and undocumented methods named the same as undocumented fields with different functions. Clean it all up.

Commits should be reviewable independently.

This is now only used for federation, so rename it for clarity and for
consistency with federation_port
The behaviour of this parameter was never terribly well defined, I don't
think it's much use, and it significantly complicates the host/port setup.
Synapse and Dendrite still have `secure_port` methods which they use
internally, but they no longer form part of the public interface. Maybe they
should be renamed with underscores or something.
@richvdh richvdh force-pushed the rav/cleanup_homeserver_api branch from 137b83a to 040d812 Compare February 23, 2021 18:15
@richvdh richvdh requested a review from a team February 23, 2021 18:19
@clokep
Copy link
Member

clokep commented Feb 23, 2021

Looks like a nice clean-up! 👍 Thanks!

The dendrite builds are soft-failing on this branch, it looked like only a few tests were failing though. Maybe @neilalexander knows what's going on?

@richvdh
Copy link
Member Author

richvdh commented Feb 24, 2021

It looks to me like the same tests are failing here as on develop (see https://buildkite.com/matrix-dot-org/sytest/builds/1297), so I think those are separate problems.

@richvdh richvdh merged commit 2b804cc into develop Feb 24, 2021
@richvdh richvdh deleted the rav/cleanup_homeserver_api branch February 24, 2021 11:53
valkum added a commit to valkum/sytest_conduit that referenced this pull request Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants