Browse Source

- Upgrade to Node 8.16.0
- Change git repo urls from git:// to https://

Thanks to xet7 !

Lauri Ojansivu 1 month ago
parent
commit
6117097a93
5 changed files with 11 additions and 13 deletions
  1. 1 1
      Dockerfile
  2. 1 1
      rebuild-wekan.sh
  3. 0 2
      releases/virtualbox/rebuild-wekan.sh
  4. 1 1
      snapcraft.yaml
  5. 8 8
      stacksmith/user-scripts/build.sh

+ 1 - 1
Dockerfile

@@ -6,7 +6,7 @@ LABEL maintainer="wekan"
 # ENV BUILD_DEPS="paxctl"
 ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential python python3 python3-distutils git ca-certificates gcc-7" \
     DEBUG=false \
-    NODE_VERSION=v8.15.1 \
+    NODE_VERSION=v8.16.0 \
     METEOR_RELEASE=1.6.0.1 \
     USE_EDGE=false \
     METEOR_EDGE=1.5-beta.17 \

+ 1 - 1
rebuild-wekan.sh

@@ -5,7 +5,7 @@ echo "      with 'sudo dpkg-reconfigure locales' , so that MongoDB works correct
 echo "      You can still use any other locale as your main locale."
 
 #Below script installs newest node 8.x for Debian/Ubuntu/Mint.
-#NODE_VERSION=8.14.1
+#NODE_VERSION=8.16.0
 #X64NODE="https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz"
 
 function pause(){

+ 0 - 2
releases/virtualbox/rebuild-wekan.sh

@@ -4,8 +4,6 @@ echo "Note: If you use other locale than en_US.UTF-8 , you need to additionally
 echo "      with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly."
 echo "      You can still use any other locale as your main locale."
 
-#X64NODE="https://nodejs.org/dist/v8.14.1/node-v8.14.1-linux-x64.tar.gz"
-
 function pause(){
 	read -p "$*"
 }

+ 1 - 1
snapcraft.yaml

@@ -81,7 +81,7 @@ parts:
     wekan:
         source: .
         plugin: nodejs
-        node-engine: 8.15.1
+        node-engine: 8.16.0
         node-packages:
             - node-gyp
             - node-pre-gyp

+ 8 - 8
stacksmith/user-scripts/build.sh

@@ -2,7 +2,7 @@
 set -euxo pipefail
 
 BUILD_DEPS="bsdtar gnupg wget curl bzip2 python git ca-certificates perl-Digest-SHA"
-NODE_VERSION=v8.15.1
+NODE_VERSION=v8.16.0
 #METEOR_RELEASE=1.6.0.1 - for Stacksmith, meteor-1.8 branch that could have [email protected] or newer
 USE_EDGE=false
 METEOR_EDGE=1.5-beta.17
@@ -64,19 +64,19 @@ echo " ...\n"
 if [ "$USE_EDGE" = false ]; then
   sudo su -c '/home/wekan/install_meteor.sh' - wekan
 else
-  sudo -u wekan git clone --recursive --depth 1 -b release/[email protected]${METEOR_EDGE} git://github.com/meteor/meteor.git /home/wekan/.meteor;
+  sudo -u wekan git clone --recursive --depth 1 -b release/[email protected]${METEOR_EDGE} https://github.com/meteor/meteor.git /home/wekan/.meteor;
 fi;
 
 # Get additional packages
 sudo mkdir -p /home/wekan/app/packages
 sudo chown wekan:wekan --recursive /home/wekan/app
 cd /home/wekan/app/packages
-sudo -u wekan git clone --depth 1 -b master git://github.com/wekan/flow-router.git kadira-flow-router
-sudo -u wekan git clone --depth 1 -b master git://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
-sudo -u wekan git clone --depth 1 -b master git://github.com/wekan/meteor-accounts-cas.git
-sudo -u wekan git clone --depth 1 -b master git://github.com/wekan/wekan-ldap.git
-sudo -u wekan git clone --depth 1 -b master git://github.com/wekan/wekan-scrollbar.git
-sudo -u wekan git clone --depth 1 -b master git://github.com/wekan/meteor-accounts-oidc.git
+sudo -u wekan git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router
+sudo -u wekan git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core
+sudo -u wekan git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git
+sudo -u wekan git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git
+sudo -u wekan git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git
+sudo -u wekan git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git
 sudo -u wekan mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc
 sudo -u wekan mv meteor-accounts-oidc/packages/switch_oidc wekan_oidc
 sudo -u wekan rm -rf meteor-accounts-oidc