Commit Graph

77 Commits

Author SHA1 Message Date
Erik Sundell
af1511cc46 Merge pull request #892 from consideRatio/pr/upgrade-pip
Upgrade pip in hub env from 21.3 to to 23.1 when bootstrap script runs
2023-05-15 11:54:41 +02:00
pre-commit-ci[bot]
e95942d61b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-15 08:51:36 +00:00
Erik Sundell
4c6d54c79d Upgrade pip in hub env from 21.3 to to 23.1 when bootstrap script runs 2023-05-13 23:30:26 +02:00
Erik Sundell
17bbd6116b bootstrap.py: update documentation for consistency 2023-04-15 10:35:12 +02:00
Erik Sundell
7859e7f01b refactor: name pip_bin etc to clarify the python environment 2023-04-15 10:34:55 +02:00
Min RK
27c9761f1c Apply suggestions from code review
Co-authored-by: Simon Li <orpheus+devel@gmail.com>
2023-03-23 09:39:17 +01:00
Min RK
e03f5ec2cd Require Debian 11, not 10
10 has too-old Python by default
2023-03-21 10:47:55 +01:00
Min RK
150a3f62d6 parse distro version tuples
instead of using floats
2023-03-21 10:39:40 +01:00
Min RK
aa72179afa require ubuntu 20.04, test on debian 10 2023-03-21 10:17:02 +01:00
Min RK
fcf6164e31 Merge pull request #800 from jochym/main
Add support for debian >=10 to bootstrap.py
2023-03-21 09:32:45 +01:00
Simon Li
7a50cc9436 bootstrap.py: Only lookup git ref if TLJH_BOOTSTRAP_PIP_SPEC not set
test_bootstrap.py: use `--version main` since there are no tags/releases
2023-02-10 11:44:02 +00:00
Simon Li
7699209bc3 Switch default installed version to latest
This will correspond to the most recent release tag (excludes pre-releases)
2023-02-10 11:44:02 +00:00
Paweł T. Jochym
a43872176a Merge pull request #1 from jupyterhub/main
Merge upstream development
2023-02-03 13:17:29 +01:00
Erik Sundell
52f5f00854 docs: relocate logo to _static for conformity 2022-11-28 09:19:23 +01:00
Paweł T. Jochym
5f2e3b1726 Reflect distro support i comment 2022-09-21 20:28:25 +02:00
Paweł T. Jochym
45abba3c37 Add requested comments specific to debian 2022-09-15 17:34:25 +02:00
Paweł T. Jochym
d0204e23ac Merge branch 'jupyterhub:main' into main 2022-09-15 16:57:05 +02:00
Simon Li
3340ac8417 Handle request for partial git tags 2022-06-17 16:48:22 +01:00
Simon Li
8324e49ed9 TLJH version can be specified on the command line 2022-06-16 20:54:54 +01:00
Georgiana Elena
87258b5abd Update progress_page_favicon_url link 2022-04-27 15:41:20 +03:00
Paweł T. Jochym
e408d99a5a Missing negation 2022-02-20 10:44:24 +01:00
Paweł T. Jochym
48a8e5fcb5 Typo 2022-02-20 10:41:36 +01:00
Paweł T. Jochym
94f57fc3dd Add Debian >10 to supported distros 2022-02-20 10:33:23 +01:00
Ray Bell
514ee6372d extra logger.info 2021-12-29 01:18:10 -05:00
Erik Sundell
e0aaa4f995 pre-commit: run black with string normalization 2021-11-03 23:55:34 +01:00
Erik Sundell
2ba942ba76 pre-commit: manual adjustments following black 2021-11-03 23:53:43 +01:00
Erik Sundell
771ae59636 pre-commit: run black without string normalization 2021-11-03 23:53:41 +01:00
Erik Sundell
c2c4d708f5 pyupgrade fixes 2021-10-31 11:26:40 +01:00
Erik Sundell
3596039bbd ci: ensure to --yes adding apt-get repository 2021-10-20 11:31:37 +02:00
Erik Sundell
26c34524b2 bootstrap: DEBIAN_FRONTEND=noninteractive during apt-get install 2021-10-20 11:31:37 +02:00
Erik Sundell
ba25e09b82 Pin pip to 21.3.* 2021-10-19 14:42:36 +02:00
Erik Sundell
4042967437 Unpin pip to support 20.04 2021-10-19 14:42:36 +02:00
Erik Sundell
9179365a4f docs: fix language regarding master 2021-10-19 11:33:58 +02:00
Erik Sundell
b1b867bd4e bootstrap: tweak language in progress logs emitted 2021-10-18 19:38:56 +02:00
Erik Sundell
d36c53da1b Require python 3.6+ 2021-10-18 19:30:40 +02:00
Erik Sundell
ba84229c8f Refactor bootstrap.py script for readability 2021-10-18 01:13:34 +02:00
Richard Brinkman
755752f048 Fix HTML of bootstrap 2020-10-19 11:56:56 +02:00
GeorgianaElena
1ce172ae3e Added more comments 2020-08-17 19:04:25 +03:00
GeorgianaElena
cef898fd31 Rename flags and work with sys.argv copy 2020-08-17 16:54:16 +03:00
GeorgianaElena
43c38bc09d Embed HTML file in bootstrap script 2020-08-17 15:36:02 +03:00
GeorgianaElena
d1bee23a7d Pass the pid to the installer as a cmd arg 2020-08-11 16:01:44 +03:00
GeorgianaElena
fcb5257901 Put the temp page under a flag 2020-08-11 14:09:11 +03:00
GeorgianaElena
69a6f89518 Only serve explicit routes 2020-08-11 12:23:50 +03:00
GeorgianaElena
56f9db5130 Refresh the main page every 30s 2020-08-03 18:44:58 +03:00
GeorgianaElena
3aa8255110 Center divs 2020-08-03 18:44:58 +03:00
GeorgianaElena
972b15b95a Serve a temporary html page while tljh is building 2020-08-03 14:55:22 +03:00
GeorgianaElena
d00245e3bf Upgrade pip 2020-04-23 13:14:32 +03:00
yuvipanda
8ec3fab3f3 Make installer.log non-readable by non-root users
Doesn't have any sensitive info right now but might
in the future.

Fixes #142
2019-05-29 11:27:53 -07:00
yuvipanda
f5ecce77a1 Add unit tests for run_subprocess 2019-05-29 11:27:53 -07:00
yuvipanda
7071332445 Provide much better error messages
- When processes fail, they actually print a failure message
  on the user's terminal
- Regardless of success or failure, we print all output to
  /opt/tljh/installer.log

This should make debugging people's issues *much* easier, since
we can actually see the output of failing commands rather than
having to guess.
2019-05-29 11:27:53 -07:00