From 610f8471354ba10463a00e58a8afc04cbf296cdf Mon Sep 17 00:00:00 2001 From: Aditi Ahuja <48997495+metonymic-smokey@users.noreply.github.com> Date: Sun, 16 Feb 2020 21:26:08 +0530 Subject: [PATCH 1/2] added blank URL --- jupyterhub/files/hub/jupyterhub_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jupyterhub/files/hub/jupyterhub_config.py b/jupyterhub/files/hub/jupyterhub_config.py index 8a96033963..71b64804e8 100644 --- a/jupyterhub/files/hub/jupyterhub_config.py +++ b/jupyterhub/files/hub/jupyterhub_config.py @@ -53,7 +53,7 @@ def camelCaseify(s): c.JupyterHub.db_url = "sqlite://" else: set_config_if_not_none(c.JupyterHub, "db_url", "hub.db.url") - + for trait, cfg_key in ( # Max number of servers that can be spawning at any one time @@ -288,6 +288,7 @@ def camelCaseify(s): c.JupyterHub.authenticator_class = 'oauthenticator.gitlab.GitLabOAuthenticator' for trait, cfg_key in common_oauth_traits + ( ('gitlab_group_whitelist', None), + ('gitlab_url',None), ('gitlab_project_id_whitelist', None), ): if cfg_key is None: From 796379e1d16945283b250c709613be2ae3a450ab Mon Sep 17 00:00:00 2001 From: Aditi Ahuja <48997495+metonymic-smokey@users.noreply.github.com> Date: Mon, 17 Feb 2020 08:53:12 +0530 Subject: [PATCH 2/2] Rearranged alphabetically --- jupyterhub/files/hub/jupyterhub_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/files/hub/jupyterhub_config.py b/jupyterhub/files/hub/jupyterhub_config.py index 71b64804e8..c28ffdcb52 100644 --- a/jupyterhub/files/hub/jupyterhub_config.py +++ b/jupyterhub/files/hub/jupyterhub_config.py @@ -288,8 +288,8 @@ def camelCaseify(s): c.JupyterHub.authenticator_class = 'oauthenticator.gitlab.GitLabOAuthenticator' for trait, cfg_key in common_oauth_traits + ( ('gitlab_group_whitelist', None), - ('gitlab_url',None), ('gitlab_project_id_whitelist', None), + ('gitlab_url', None), ): if cfg_key is None: cfg_key = camelCaseify(trait)