
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
capistrano-syncfiles
Advanced tools
This gem provides up and down file syncing with rsync, tar or sftp. This could be usefull if you are in a shared hosting environment.
Supports folder excludes.
First make sure you install the capistrano-syncfiles by adding it to your Gemfile
:
gem "capistrano-syncfiles"
Add to Capfile
require 'capistrano/syncfiles'
Configure your files and folders like these:
set :syncfiles, {
'wordpress/wp-content/uploads' => { # local path
remote: 'wordpress/wp-content/uploads', # remote path
exclude: ['fvm', 'ithemes-security', 'wc-logs'] # excluded folders/files, based on local path, works also for remote
}
}
set :syncfiles_rsync_options, '-avzuO'
set :syncfiles_roles, :all # roles to run on, default: :all
set :syncfiles_temp_file # applies only to tar strategy, default: "/tmp/transfere-#{local_path.hash}.tar.gz"
set :syncfiles_tar_verbose # applies only to tar strategy, default: true
set :syncfiles_sftp_password # password for sftp connection
The following tasks will be added
cap syncfiles:rsync:down
cap syncfiles:rsync:up
cap syncfiles:tar:down
cap syncfiles:tar:up
cap syncfiles:sftp:down
cap syncfiles:sftp:up
You can invoke this tasks(Rake) as you do normally: https://github.com/ruby/rake
Capistrano tasks: http://capistranorb.com/documentation/getting-started/flow/
The MIT License (MIT)
syncfiles_rsync_options
default optionscurrent_path
instead of release_path
FAQs
Unknown package
We found that capistrano-syncfiles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.