فهرست منبع

Use blocked/allowed extension naming

Eric Charles 4 سال پیش
والد
کامیت
4065bdb469
2فایلهای تغییر یافته به همراه10 افزوده شده و 16 حذف شده
  1. 10 10
      packages/extensionmanager-extension/examples/listings/Makefile
  2. 0 6
      tsconfigdoc.json

+ 10 - 10
packages/extensionmanager-extension/examples/listings/Makefile

@@ -1,13 +1,13 @@
-export BLACK_LIST_URIS="https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/blockedExtensions_simple.json"
-# export BLACK_LIST_URIS=""
-# export WHITE_LIST_URIS="https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/allowedExtensions_only_jlab.json"
-export WHITE_LIST_URIS=""
+export BLOCKED_EXTENSIONS_URIS="https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/blockedExtensions_simple.json"
+# export BLOCKED_EXTENSIONS_URIS=""
+# export ALLOWED_EXTENSIONS_URIS="https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/allowedExtensions_only_jlab.json"
+export ALLOWED_EXTENSIONS_URIS=""
 export LISTINGS_REFRESH_SECONDS=120
 export LISTINGS_REQUEST_OPTS="{'timeout': 10}"
 
 listings-uris:
-	@exec echo Using blockedExtensions URIs: ${BLACK_LIST_URIS}
-	@exec echo Using allowedExtensions URIs: ${WHITE_LIST_URIS}
+	@exec echo Using blockedExtensions URIs: ${BLOCKED_EXTENSIONS_URIS}
+	@exec echo Using allowedExtensions URIs: ${ALLOWED_EXTENSIONS_URIS}
 	@exec echo Refreshing lists every ${LISTINGS_REFRESH_SECONDS} seconds
 	@exec echo Using ${LISTINGS_REQUEST_OPTS} for the HTTP requests
 
@@ -15,8 +15,8 @@ dev: listings-uris
 	@exec python main.py \
 	  --dev \
 	  --no-browser \
-	  --LabServerApp.blocked_extensions_uris=${BLACK_LIST_URIS} \
-	  --LabServerApp.allowed_extensions_uris=${WHITE_LIST_URIS} \
+	  --LabServerApp.blocked_extensions_uris=${BLOCKED_EXTENSIONS_URIS} \
+	  --LabServerApp.allowed_extensions_uris=${ALLOWED_EXTENSIONS_URIS} \
 	  --LabServerApp.listings_refresh_seconds=${LISTINGS_REFRESH_SECONDS} \
 	  --LabServerApp.listings_request_options=${LISTINGS_REQUEST_OPTS}
 
@@ -25,7 +25,7 @@ watch: listings-uris
 	  --dev \
 	  --no-browser \
 	  --watch \
-	  --LabServerApp.blocked_extensions_uris=${BLACK_LIST_URIS} \
-	  --LabServerApp.allowed_extensions_uris=${WHITE_LIST_URIS} \
+	  --LabServerApp.blocked_extensions_uris=${BLOCKED_EXTENSIONS_URIS} \
+	  --LabServerApp.allowed_extensions_uris=${ALLOWED_EXTENSIONS_URIS} \
 	  --LabServerApp.listings_refresh_seconds=${LISTINGS_REFRESH_SECONDS} \
 	  --LabServerApp.listings_request_options=${LISTINGS_REQUEST_OPTS}

+ 0 - 6
tsconfigdoc.json

@@ -65,12 +65,6 @@
     {
       "path": "./packages/csvviewer-extension"
     },
-    {
-      "path": "./packages/datastore"
-    },
-    {
-      "path": "./packages/datastore-extension"
-    },
     {
       "path": "./packages/debugger"
     },