Releases: aktos-io/dcs-tools
Responsive Remote Development support
Responsive remote development means keeping a local folder in sync with a remote folder.
-
cp ./sync-config-example.sh path/to/your/project/folder/my-sync-config.sh
-
Edit
my-sync-config.sh
accordingly. See./sync-with-sgw.sh --help
for options. -
Send your project folder to your remote system and watch for changes by:
./sync-with-sgw.sh -c path/to/your/project/folder/my-sync-config.sh --dry-run
This will keep path/to/your/project/folder/
and $dest_dir
(within your config file) in sync. Remove the --dry-run
switch for real transfer if the transfer summary is as you expected.
Synchronization will exclude the .git
folder and the other files/folders listed in path/to/your/project/folder/.gitignore
.
run_before_sync
hooks can be used to build, bundle, copy files or perfom any other tasks before the actual synchronization. Synchronization will fail and display a visual error message if any of the hooks fails.
v2.4
v2.3
v2.2
v2.1
v2.0
Refactored all functions by separating them into smaller "Do one thing and do it well" scripts.
Breaking changes:
-
Local connection type is deprecated. Use an appropriate backup library for that purpose.
-
Flag file names are changed for clarity.
-
make backup-root
does not exist anymore. You should perform this functionality in two separate steps:make sync-root ./dcs-tools/make-backup ....
-
Proxy connections require link-with-server on the development machine. This requirement makes all connections (
make ssh
,make mount-root
) lightning fast by re-using the same master SSH socket file. -
Configuration file is changed. Basic setup (direct connection) requires only 1 parameter to change in new setups. Proxy connections require 1 more parameter to change.
Stable release
v1.0 Merge branch 'master' of https://github.com/ceremcem/aktos-dcs-tools