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

Suggestion: add support for sessions #16

Open
n05tr0m0 opened this issue Jan 28, 2024 · 1 comment
Open

Suggestion: add support for sessions #16

n05tr0m0 opened this issue Jan 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@n05tr0m0
Copy link

Hello Evgeniy,

Attended your presentation and would like to suggest adding session functionality to your utility.

Purpose of functionality:

Imagine working on a script and suddenly need to interrupt work to switch to a higher-priority task. Currently, every time the script starts, instld downloads all necessary libraries for it to function properly. With session functionality, won't have to wait for libraries to be downloaded each time. If need to interrupt work while a script is still in progress, can use a command like "instld session save", and stop work. When ready to continue working with the script, can use a command like "instld session restore". For remove session can use: "instld session remove or delete" or remove session after use command "instld session restore".

Session functionality will remember which script it was executed for. Instld will keep the path and name of the script.

Thank you!

@pomponchik
Copy link
Owner

Hi! I'm glad to see you here.

Tell me in more detail, how do you see this functionality? Which of the three modes of operation do you want to add it to (REPL, script launch mode, context manager)? How do you propose to make a custom API for these functionalities? What specific information should be stored as part of sessions, where will it be stored and in what format? In your opinion, should any session be created by default? How does the session differ from the temporary virtual environments that instld is already working with?

@pomponchik pomponchik added the enhancement New feature or request label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants