Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zinovyev/vagrant-rsync-pick
Pick atomic changes from the guest machine folder via rsync
https://github.com/zinovyev/vagrant-rsync-pick
plugin rsync vagrant vagrant-plugin
Last synced: 28 days ago
JSON representation
Pick atomic changes from the guest machine folder via rsync
- Host: GitHub
- URL: https://github.com/zinovyev/vagrant-rsync-pick
- Owner: zinovyev
- License: mit
- Created: 2017-06-29T00:21:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-05T13:07:32.000Z (over 7 years ago)
- Last Synced: 2024-11-14T13:42:52.869Z (about 1 month ago)
- Topics: plugin, rsync, vagrant, vagrant-plugin
- Language: Ruby
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this 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):```ruby
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](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
## 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](https://github.com/[USERNAME]/vagrant_rsync_pick/blob/master/CODE_OF_CONDUCT.md).