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

Document upgrade strategy #81

Closed
3 of 4 tasks
yuvipanda opened this issue Jul 28, 2018 · 3 comments · Fixed by #932
Closed
3 of 4 tasks

Document upgrade strategy #81

yuvipanda opened this issue Jul 28, 2018 · 3 comments · Fixed by #932
Labels
needs-documentation Issue that can be solved with documentation priority Issue selected to have a bit higher priority

Comments

@yuvipanda
Copy link
Collaborator

yuvipanda commented Jul 28, 2018

People should be able to upgrade 1 minor version of TLJH installations.

  • Decide on & document our upgrade strategy
    • Users are to run bootstrap.py script from tljh's main branch from where they can specify the version they wish to install/upgrade to.
    • The Hub envs python packages gets upgraded, but the user env is touched as little as possible
  • Document various components & how they would react to upgrades
  • Write upgrade documentation
  • Document what to do if we want a 'wipe everything and start over, but preserve user data' upgrade

Related

@yuvipanda yuvipanda added this to the v0.1 milestone Jul 28, 2018
@yuvipanda
Copy link
Collaborator Author

I think the general upgrade strategy is to run the installer again, and that 'ensures' everything to where it should be. This means we need a way in the installer to:

  1. Tell what the current version is
  2. Refuse to upgrade if it is unsupported
  3. Upgrade various components as atomically as possible
  4. Always have option of 'blow everything away and re-install it' without losing any user state.

@choldgraf
Copy link
Member

Plan is to include this in v0.2, since we don't necessarily want to "freeze" an upgrade pathway yet until we see more usecases out of TLJH.

@choldgraf choldgraf removed this from the v0.1 milestone Aug 2, 2018
@yuvipanda yuvipanda added the needs-documentation Issue that can be solved with documentation label May 20, 2019
@consideRatio consideRatio added the priority Issue selected to have a bit higher priority label Oct 26, 2021
@nsurleraux-railnova
Copy link
Contributor

nsurleraux-railnova commented Jun 12, 2023

If anything, I would love to have my installation backed up so that if an upgrade borks it, we can always restore it to the latest working state. (It could be automated or part of the documented upgrade process).

In the requirements-user-env-extras.txt file, it is clearly written that TLJH won't upgrade those libraries if TLJH is upgraded. The documentation should explain why it won't be upgraded (as users can upgrade/downgrade them). I think it would be reasonable in the upgrade documentation to have a table with the versions of the TLJH against the recommended versions of the libraries in the user env.

(EDIT: https://github.com/jupyterhub/the-littlest-jupyterhub/pull/888/files?short_path=3bd14d0#diff-3bd14d078188074c410028847113ceae68865d0ad5b844a27183ef87fbe2fcc3 seems to already include a table with the user env version upgrade)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-documentation Issue that can be solved with documentation priority Issue selected to have a bit higher priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants