capistrano-typo3 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/capistrano/tasks/typo3.cap +9 -9
- data/lib/capistrano/typo3/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f20710709451fa8ed420e6d7cc7a997ebf9413a6
|
4
|
+
data.tar.gz: df8b2c411e3c081b957a5dc9914b81b28a56506b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0557ee4a2d9b0b1dbc2933817a2bbfe9daf9cb49d7ea38d5c5b116ccd5419fe8f0709b34db4b1c499adb98ea33dd38eea51696d1bd8f39b4ae17addbd5fea0ad
|
7
|
+
data.tar.gz: 0c90680b8bfdbe067356270fcfee1a5f284002e4be2956f34a32ad57669ace31865ebe6d2392cd60f0fe97bd56665b6d0378610dbc3b9a99acd9116cd309acbe
|
data/CHANGELOG.md
CHANGED
@@ -125,7 +125,7 @@ namespace :typo3 do
|
|
125
125
|
-h#{fetch(:t3_live_sync)['dbsync']['dbhost']} \
|
126
126
|
-p#{fetch(:t3_live_sync)['dbsync']['dbpass']} \
|
127
127
|
#{ignorestring} \
|
128
|
-
#{fetch(:t3_live_sync)['dbsync']['dbname']} > /tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}'
|
128
|
+
#{fetch(:t3_live_sync)['dbsync']['dbname']} > /tmp/.captypo3dump-src-#{fetch(:t3_live_sync)['dbsync']['dbname']}'
|
129
129
|
DBSYNC1
|
130
130
|
|
131
131
|
if(:t3_db_sync_ignore_tables)
|
@@ -137,7 +137,7 @@ DBSYNC1
|
|
137
137
|
-h#{fetch(:t3_live_sync)['dbsync']['dbhost']} \
|
138
138
|
-p#{fetch(:t3_live_sync)['dbsync']['dbpass']} \
|
139
139
|
--no-data \
|
140
|
-
#{fetch(:t3_live_sync)['dbsync']['dbname']} #{ignore_tbl} >> /tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}'
|
140
|
+
#{fetch(:t3_live_sync)['dbsync']['dbname']} #{ignore_tbl} >> /tmp/.captypo3dump-src-#{fetch(:t3_live_sync)['dbsync']['dbname']}'
|
141
141
|
DBSYNC1
|
142
142
|
end
|
143
143
|
end
|
@@ -145,30 +145,30 @@ DBSYNC1
|
|
145
145
|
# COMPRESS IMAGE
|
146
146
|
execute <<DBSYNC2
|
147
147
|
ssh #{fetch(:t3_live_sync)['dbsync']['ssh_user']}@#{fetch(:t3_live_sync)['dbsync']['ssh_server']} \
|
148
|
-
'gzip -f /tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}'
|
148
|
+
'gzip -f /tmp/.captypo3dump-src-#{fetch(:t3_live_sync)['dbsync']['dbname']}'
|
149
149
|
DBSYNC2
|
150
150
|
|
151
151
|
# TRANSFER IMAGE
|
152
152
|
execute <<DBSYNC3
|
153
|
-
scp #{fetch(:t3_live_sync)['dbsync']['ssh_user']}@#{fetch(:t3_live_sync)['dbsync']['ssh_server']}:/tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz \
|
154
|
-
/tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz
|
153
|
+
scp #{fetch(:t3_live_sync)['dbsync']['ssh_user']}@#{fetch(:t3_live_sync)['dbsync']['ssh_server']}:/tmp/.captypo3dump-src-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz \
|
154
|
+
/tmp/.captypo3dump-dest-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz
|
155
155
|
DBSYNC3
|
156
156
|
|
157
157
|
# DECOMPRESS IMAGE
|
158
158
|
execute <<DBSYNC4
|
159
|
-
gunzip -f /tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz
|
159
|
+
gunzip -f /tmp/.captypo3dump-dest-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz
|
160
160
|
DBSYNC4
|
161
161
|
|
162
162
|
# IMPORT AND REMOVE IMAGE
|
163
163
|
execute <<DBSYNC5
|
164
|
-
mysql -u#{fetch(:dbuser)} -h#{fetch(:dbhost)} -p#{fetch(:dbpass)} #{fetch(:dbname)} < /tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']} && \
|
165
|
-
rm -f /tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}
|
164
|
+
mysql -u#{fetch(:dbuser)} -h#{fetch(:dbhost)} -p#{fetch(:dbpass)} #{fetch(:dbname)} < /tmp/.captypo3dump-dest-#{fetch(:t3_live_sync)['dbsync']['dbname']} && \
|
165
|
+
rm -f /tmp/.captypo3dump-dest-#{fetch(:t3_live_sync)['dbsync']['dbname']}
|
166
166
|
DBSYNC5
|
167
167
|
|
168
168
|
# REMOVE IMAGE
|
169
169
|
execute <<DBSYNC6
|
170
170
|
ssh #{fetch(:t3_live_sync)['dbsync']['ssh_user']}@#{fetch(:t3_live_sync)['dbsync']['ssh_server']} \
|
171
|
-
'rm -f /tmp/.captypo3dump-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz'
|
171
|
+
'rm -f /tmp/.captypo3dump-src-#{fetch(:t3_live_sync)['dbsync']['dbname']}.gz'
|
172
172
|
DBSYNC6
|
173
173
|
end
|
174
174
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-typo3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pim Snel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|