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

Stop user's home path from being printed in migration script log #1847

Merged
merged 3 commits into from
Dec 12, 2022

Conversation

lfdebrux
Copy link
Member

@lfdebrux lfdebrux commented Dec 8, 2022

This PR makes the logging of paths by the migration script more consistent, closing #1816.

It also works to ensure that the user's home path won't end up in migrate.log, so their computer username is now less likely to leak.

Make sure paths are always logged as relative to the project directory,
to keep them short and easier to read.
@lfdebrux lfdebrux force-pushed the ldeb-redact-home-path branch 2 times, most recently from 34c6bd7 to 23c3c82 Compare December 8, 2022 17:30
@lfdebrux lfdebrux changed the title Stop username from being printed in migration script log Stop user's home path from being printed in migration script log Dec 8, 2022
@lfdebrux lfdebrux marked this pull request as ready for review December 8, 2022 17:40
@lfdebrux lfdebrux linked an issue Dec 8, 2022 that may be closed by this pull request
Copy link
Contributor

@BenSurgisonGDS BenSurgisonGDS left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Logging of file paths in inconsistent in migration script
2 participants