Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update inc/downloadlinks.inc add Gitlab mirrors for Github downloads

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 11, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    30,146
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    9:16 PM
    Nginx 1.13.x
    MariaDB 5.5
    update inc/downloadlinks.inc add Gitlab mirrors for Github downloads

    For 123.09beta01 and higher, added Gitlab mirror variables for all Github download links as per outline at Install Centmin Mod LEMP stack via Gitlab.com Mirror. Have yet to create a routine to use the Gitlab versions as their download directories extract to append the last commit hash to top level extracted directory unlike Github extracted downloads. So need to account for the differences in what centmin mod sees as the extracted directory name.

    Continue reading...

    123.09beta01 branch
     
    Last edited: Mar 11, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    30,146
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    9:16 PM
    Nginx 1.13.x
    MariaDB 5.5
    Example of differences when downloading from gitlab tarball file vs github tarball file. The gitlab extracted folder has appened hash to it unlike github extracted directory
    Code (Text):
    ls -lah
    total 120K
    drwxr-xr-x 4 root root 4.0K Mar 11 03:02 .
    drwxr-xr-x 6 root root 4.0K Mar 11 03:01 ..
    drwxrwxr-x 5 root root 4.0K Mar  3 20:02 ngx_pagespeed-release-1.10.33.6-beta
    drwxrwxr-x 5 root root 4.0K Mar  3 20:02 ngx_pagespeed-v1.10.33.6-beta-ba78a8542bbf7b25f4eca7a92cf7aa4d0e497e9a
    -rw-r--r-- 1 root root 104K Mar 11 03:02 release-1.10.33.6-beta.tar.gz

    Actually looks like the directory is different too !
    • github = ngx_pagespeed-release-1.10.33.6-beta
    • gitlab = ngx_pagespeed-v1.10.33.6-beta before the hash
    Looks like I need to rewrite the routines to obtain the tarball's top level directory name first
    Code (Text):
    tar -tzf release-1.10.33.6-beta.tar.gz  | head -1 | cut -f1 -d"/"
    ngx_pagespeed-v1.10.33.6-beta-ba78a8542bbf7b25f4eca7a92cf7aa4d0e497e9a


    Updated 123.09beta01 with alot of updates to work towards accounting for the gitlab vs github differences in extracted top level directory naming formats. Commits
     
    Last edited: Mar 11, 2016
    • Like Like x 1