mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Initial import from 6.3.1 plus compare tool (unsure about server-ce/nginx/overleaf.conf_new into overleaf.conf.template)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
. ./env.sh
|
||||
docker history --no-trunc --format '{{.CreatedBy}}' ${OLD_VERSION} > history-old.txt
|
||||
docker history --no-trunc --format '{{.CreatedBy}}' ${NEW_VERSION} > history-new.txt
|
||||
diff history-old.txt history-new.txt > history-diff.txt
|
||||
|
||||
rm -rf old
|
||||
rm -rf new
|
||||
|
||||
id=$(docker create ${OLD_VERSION})
|
||||
mkdir -p old
|
||||
docker export "$id" | tar -x -C old
|
||||
docker rm "$id"
|
||||
|
||||
id=$(docker create ${NEW_VERSION})
|
||||
mkdir -p new
|
||||
docker export "$id" | tar -x -C new
|
||||
docker rm "$id"
|
||||
|
||||
rm -rf delta
|
||||
mkdir -p delta
|
||||
rsync -a -c -m --compare-dest="$PWD/old" new/ delta/
|
||||
find delta -mindepth 1 -type d -empty -delete
|
||||
@@ -0,0 +1,2 @@
|
||||
export OLD_VERSION="sharelatex/sharelatex:6.3.0"
|
||||
export NEW_VERSION="sharelatex/sharelatex:6.3.1"
|
||||
Reference in New Issue
Block a user