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

Update README to use new virtualenv (#4328) #4342

Merged
merged 3 commits into from
Jan 10, 2019

Conversation

aaronraimist
Copy link
Contributor

@aaronraimist aaronraimist commented Jan 1, 2019

Pull Request Checklist

  • Pull request is based on the develop branch
  • Pull request includes a changelog file
  • Pull request includes a sign off

Fixes #4328

Should I also update the password reset section to assume you installed Synapse via pypi, so the location of hash_password would be ./env/bin/hash_password instead of ./scripts/hash_password?

@codecov-io
Copy link

codecov-io commented Jan 1, 2019

Codecov Report

Merging #4342 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #4342      +/-   ##
===========================================
+ Coverage    73.73%   73.75%   +0.01%     
===========================================
  Files          300      300              
  Lines        29751    29751              
  Branches      4878     4878              
===========================================
+ Hits         21938    21942       +4     
+ Misses        6387     6386       -1     
+ Partials      1426     1423       -3
Impacted Files Coverage Δ
synapse/handlers/search.py 80.24% <0%> (ø) ⬆️
synapse/handlers/federation.py 61.72% <0%> (ø) ⬆️
synapse/util/logcontext.py 90.78% <0%> (+1.75%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7843f4...dd3bf40. Read the comment docs.

@aaronraimist
Copy link
Contributor Author

Should I also update the password reset section to assume you installed Synapse via pypi, so the location of hash_password would be ./env/bin/hash_password instead of ./scripts/hash_password?

Or maybe it should just be changed to show how to use the admin api https://github.com/matrix-org/synapse/blob/master/docs/admin_api/user_admin_api.rst#reset-password

@richvdh richvdh self-requested a review January 2, 2019 07:32
@richvdh
Copy link
Member

richvdh commented Jan 2, 2019

Should I also update the password reset section to assume you installed Synapse via pypi, so the location of hash_password would be ./env/bin/hash_password instead of ./scripts/hash_password?

Yes, I think this needs updating. Note that just hash_password works from inside the virtualenv; also that it doesn't matter if you got synapse from pypi or git.

Or maybe it should just be changed to show how to use the admin api https://github.com/matrix-org/synapse/blob/master/docs/admin_api/user_admin_api.rst#reset-password

Well, that requires an admin user, which is a whole extra level of complication, so I'd stick with the script and sql.

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

thanks!

@richvdh
Copy link
Member

richvdh commented Jan 2, 2019

Yes, I think this needs updating.

just did this, since it was trivial

@richvdh richvdh merged commit 8c818af into matrix-org:develop Jan 10, 2019
@aaronraimist aaronraimist deleted the new-virtualenv branch March 13, 2019 17:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants