Răsfoiți Sursa

[core] Move default configurations for github to notebook top-level

Jenny Kim 10 ani în urmă
părinte
comite
aa6f988
2 a modificat fișierele cu 24 adăugiri și 13 ștergeri
  1. 12 0
      desktop/conf.dist/hue.ini
  2. 12 13
      desktop/conf/pseudo-distributed.ini.tmpl

+ 12 - 0
desktop/conf.dist/hue.ini

@@ -534,6 +534,18 @@
 
 [notebook]
 
+  ## Base URL to Remote GitHub Server
+  # github_remote_url=https://github.com
+
+  ## Base URL to GitHub API
+  # github_api_url=https://api.github.com
+
+  ## Client ID for Authorized GitHub Application
+  # github_client_id=
+
+  ## Client Secret for Authorized GitHub Application
+  # github_client_secret=
+
   # One entry for each type of snippet. The first 5 will appear in the wheel.
   [[interpreters]]
     # Define the name and how to connect and execute the language.

+ 12 - 13
desktop/conf/pseudo-distributed.ini.tmpl

@@ -538,6 +538,18 @@
 
 [notebook]
 
+  ## Base URL to Remote GitHub Server
+  # github_remote_url=https://github.com
+
+  ## Base URL to GitHub API
+  # github_api_url=https://api.github.com
+
+  ## Client ID for Authorized GitHub Application
+  # github_client_id=
+
+  ## Client Secret for Authorized GitHub Application
+  # github_client_secret=
+
   # One entry for each type of snippet. The first 5 will appear in the wheel.
   [[interpreters]]
     # Define the name and how to connect and execute the language.
@@ -596,22 +608,9 @@
     #   ## If 'user' and 'password' are omitted, they will be prompted in the UI.
     #   options='{"url": "jdbc:mysql://localhost:3306/hue", "driver": "com.mysql.jdbc.Driver", "user": "root", "password": "root"}'
 
-
   ## Main flag to override the automatic starting of the DBProxy server.
   # enable_dbproxy_server=true
 
-  ## Base URL to Remote GitHub Server
-  # github_remote_url=https://github.com
-
-  ## Base URL to GitHub API
-  # github_api_url=https://api.github.com
-
-  ## Client ID for Authorized GitHub Application
-  # github_client_id=
-
-  ## Client Secret for Authorized GitHub Application
-  # github_client_secret=
-
 ###########################################################################
 # Settings to configure your Hadoop cluster.
 ###########################################################################