Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a /versions endpoint #542

Merged
merged 5 commits into from
Dec 28, 2022
Merged

Add a /versions endpoint #542

merged 5 commits into from
Dec 28, 2022

Conversation

clokep
Copy link
Member

@clokep clokep commented Dec 22, 2022

Fixes #424.

Depends on #541.

@clokep clokep marked this pull request as ready for review December 22, 2022 13:17
@clokep clokep requested a review from a team as a code owner December 22, 2022 13:17
@@ -92,6 +93,7 @@ def __init__(self, sydent: "Sydent", lookup_pepper: str) -> None:
matrix.putChild(b"identity", identity)
identity.putChild(b"api", api)
identity.putChild(b"v2", v2)
identity.putChild(b"versions", VersionsServlet())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a test for this endpoint wouldn't go amiss...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding one to the IS tester likely makes the most sense.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Base automatically changed from clokep/servlet-simplify to main December 28, 2022 12:47
Copy link
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

sydent/http/servlets/versions.py Outdated Show resolved Hide resolved
@clokep clokep enabled auto-merge (squash) December 28, 2022 14:17
@clokep clokep merged commit fffe87b into main Dec 28, 2022
@clokep clokep deleted the clokep/versions branch December 28, 2022 14:22
@turt2live
Copy link
Member

Thanks @clokep :)

Next steps: get this deployed to matrix.org and vector.im, then the clients can start to look for it in 3-6 months (closer to 3, I think).

@clokep
Copy link
Member Author

clokep commented Dec 29, 2022

Next steps: get this deployed to matrix.org and vector.im, then the clients can start to look for it in 3-6 months (closer to 3, I think).

We'll also want to do a release. 👍 There's a PR pending for deployment though. Will ensure it gets done once more folks are back from holidays.

@clokep
Copy link
Member Author

clokep commented Jan 9, 2023

FYI this is now deployed:

$ curl https://matrix.org/_matrix/identity/versions
{"versions": ["r0.1.0", "r0.2.0", "r0.2.1", "r0.3.0", "v1.1", "v1.2", "v1.3", "v1.4", "v1.5"]}

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.

Matrix 1.1 checklist
4 participants