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

Persists user information during role entry and publication requests #79

Merged
merged 7 commits into from
Feb 18, 2015

Conversation

mmulich
Copy link
Contributor

@mmulich mmulich commented Feb 16, 2015

@mmulich
Copy link
Contributor Author

mmulich commented Feb 16, 2015

Looks like a release of openstax-accounts is going to be required.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.82%) to 94.53% when pulling 964fb66 on shadow-casting into 91dfec0 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.82%) to 94.53% when pulling 89bd52a on shadow-casting into 91dfec0 on master.

@mmulich
Copy link
Contributor Author

mmulich commented Feb 18, 2015

The coverage is not going to pass anytime soon. I'm managed to scope the coverage report, but that has brought down the coverage by nearly 2%. The good thing is that it is now more accurate.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.93%) to 93.42% when pulling 14a9e7b on shadow-casting into 91dfec0 on master.


# Update existing records.
for user_id in existing_user_ids:
# TODO only update based on a delta against the 'updated' column.
Copy link
Contributor

Choose a reason for hiding this comment

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

doesn't really save anything: postgresql will need to form an entire new tuple anyway, and the data here is so small not sending the unchanged values isn't worth it. Simple is better. So, no TODO

reedstrm added a commit that referenced this pull request Feb 18, 2015
Persists user information during role entry and publication requests
@reedstrm reedstrm merged commit 7f740be into master Feb 18, 2015
@reedstrm reedstrm deleted the shadow-casting branch February 18, 2015 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants