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 username to temporary directory name (used in demo mode with IPython kernel) #284

Merged
merged 2 commits into from
Jul 21, 2023

Conversation

dmgav
Copy link
Contributor

@dmgav dmgav commented Jul 21, 2023

Add current username to the name of temporary directory. The directory used to be named qserver, now it is named qserver_<username>. The directory is created when RE Manager is started in demo mode with IPython kernel and contains the the copy of profile_collection_sim placed in qserver_<username>/IPython/profile_collection_sim directory. The IPython subdirectory also contains standard files created by IPython kernel, including the history. Having the same directory proved to be inconvenient if the Queue Server is started in demo mode by different users on the same machine.

The temporary directory is used only in the demo mode if IPython kernel option is enabled. The change does not affect production environment.

Summary of Changes for Release Notes

Fixed

Added

Changed

  • The temporary directory created by RE Manager in demo mode if IPython kernel option is enabled is renamed from qserver to qserver_<username>, so that each user has individual temporary directory. The directory is used to create temporary copy of profile_collection_sim in demo mode. It is never used in production.

Removed

How Has This Been Tested?

@dmgav dmgav merged commit a6d9b48 into bluesky:main Jul 21, 2023
29 checks passed
@dmgav dmgav deleted the add-username-to-tempdir branch July 21, 2023 20:51
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.

1 participant