{"id":13617716,"url":"https://github.com/fgrehm/vagrant-cachier","last_synced_at":"2025-04-14T06:35:07.620Z","repository":{"id":7575950,"uuid":"8930705","full_name":"fgrehm/vagrant-cachier","owner":"fgrehm","description":"Caffeine reducer","archived":true,"fork":false,"pushed_at":"2022-12-05T22:16:19.000Z","size":261,"stargazers_count":1074,"open_issues_count":0,"forks_count":111,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-10-31T13:46:45.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fgrehm.viewdocs.io/vagrant-cachier","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fgrehm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-21T14:34:03.000Z","updated_at":"2024-09-27T21:46:03.000Z","dependencies_parsed_at":"2023-01-13T14:26:00.871Z","dependency_job_id":null,"html_url":"https://github.com/fgrehm/vagrant-cachier","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fvagrant-cachier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fvagrant-cachier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fvagrant-cachier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgrehm%2Fvagrant-cachier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgrehm","download_url":"https://codeload.github.com/fgrehm/vagrant-cachier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223621995,"owners_count":17174801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T20:01:46.742Z","updated_at":"2024-11-08T02:31:02.855Z","avatar_url":"https://github.com/fgrehm.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# :warning: UNMAINTAINED :warning:\n\nThis project has been archived. Thanks a lot to everyone that contributed with it over the years ❤️‍🔥\n\nIf anyone else wants to resurrect it please reach out on twitter or by other means listed in @fgrehm's website!\n\n--------\n\n# vagrant-cachier\n\n[![Gem Version](https://badge.fury.io/rb/vagrant-cachier.png)](http://badge.fury.io/rb/vagrant-cachier) [![Gitter chat](https://badges.gitter.im/fgrehm/vagrant-cachier.png)](https://gitter.im/fgrehm/vagrant-cachier)\n\nA [Vagrant](http://www.vagrantup.com/) plugin that helps you reduce the amount of\ncoffee you drink while waiting for boxes to be provisioned by sharing a common\npackage cache among similar VM instances. Kinda like [vagrant-apt_cache](https://github.com/avit/vagrant-apt_cache)\nor [this magical snippet](http://gist.github.com/juanje/3797297) but targeting\nmultiple package managers and Linux distros.\n\n## Installation\n\nMake sure you have Vagrant 1.4+ and run:\n\n```\nvagrant plugin install vagrant-cachier\n```\n\n## Quick start\n\n```ruby\nVagrant.configure(\"2\") do |config|\n  config.vm.box = 'your-box'\n  if Vagrant.has_plugin?(\"vagrant-cachier\")\n    # Configure cached packages to be shared between instances of the same base box.\n    # More info on http://fgrehm.viewdocs.io/vagrant-cachier/usage\n    config.cache.scope = :box\n\n    # OPTIONAL: If you are using VirtualBox, you might want to use that to enable\n    # NFS for shared folders. This is also very useful for vagrant-libvirt if you\n    # want bi-directional sync\n    config.cache.synced_folder_opts = {\n      type: :nfs,\n      # The nolock option can be useful for an NFSv3 client that wants to avoid the\n      # NLM sideband protocol. Without this option, apt-get might hang if it tries\n      # to lock files needed for /var/cache/* operations. All of this can be avoided\n      # by using NFSv4 everywhere. Please note that the tcp option is not the default.\n      mount_options: ['rw', 'vers=3', 'tcp', 'nolock']\n    }\n    # For more information please check http://docs.vagrantup.com/v2/synced-folders/basic_usage.html\n  end\nend\n```\n\nFor more information please read the documentation available at\nhttp://fgrehm.viewdocs.io/vagrant-cachier.\n\n\n## Providers that are known to work\n\n* Vagrant's built in VirtualBox and Docker providers\n* [vagrant-lxc](https://github.com/fgrehm/vagrant-lxc)\n* [VMware providers](http://www.vagrantup.com/vmware) with NFS enabled (See\n  [GH-24](https://github.com/fgrehm/vagrant-cachier/issues/24) for more info)\n* [vagrant-parallels](https://github.com/Parallels/vagrant-parallels)\n* [vagrant-libvirt](https://github.com/pradels/vagrant-libvirt)\n* [vagrant-kvm](https://github.com/adrahon/vagrant-kvm)\n* _[Let us know if it is compatible with other providers!](https://github.com/fgrehm/vagrant-cachier/issues/new)_\n\n_Please note that as of v0.6.0 the plugin will automatically disable any\npreviously defined configs for [cloud providers](lib/vagrant-cachier/plugin.rb#L19-22)_\n\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgrehm%2Fvagrant-cachier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgrehm%2Fvagrant-cachier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgrehm%2Fvagrant-cachier/lists"}