No commit activity in last 3 years
No release in over 3 years
Pick atomic changes from guest machine with rsync
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0
~> 3.0
 Project Readme

vagrant-rsync-pick

The plugin allows you to pick atomic changes from the guest machine folder via rsync.

The rsync shared folder type is much faster (10x times maybe) than nfs/virtualbox/smb and others.

But it has one huge disadvantage: it isn't possible to sync data in a bidirectional way at all. So when you generate a new migration or rake task for example your changes are kept on your guest machine only.

Installation

$ vagrant plugin install vagrant-rsync-pick

And then configure your guest directory (where the files are taken from) and your host directory (where the files are stored to):

  config.rsync_pick.guest_dir = "/var/www/my-app"
  config.rsync_pick.host_dir = Dir.pwd

Usage

Execute this command so the file(s) is(are) rsynced to you host folder:

$ vagrant rpick db/migrate/20100825634193_create_table.rb

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/zinovyev/vagrant_rsync_pick. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the VagrantRsyncPick project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.