-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from codylane/bugfix/tempfile_implementation_…
…on_windows_doesnt_always_seem_to_work_github_issue_220 initial commit to address gh-issue: #220
- Loading branch information
Showing
11 changed files
with
118 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.PHONY: clean | ||
.PHONY: help | ||
.PHONY: init | ||
.PHONY: patch_bundler | ||
|
||
|
||
all: clean init patch_bundler | ||
|
||
|
||
clean: | ||
rm -f Gemfile.lock | ||
rm -rf .bundle/ | ||
|
||
|
||
help: | ||
@echo "[Commands]" | ||
@echo "" | ||
@echo " all -> The default which runs all tasks" | ||
@echo " clean -> Deletes Gemfile.lock and .bundle/" | ||
@echo " init -> Creates the bundle for developing the next release" | ||
@echo " patch_bundler -> Attemps to patch vagrant bundler with known issues" | ||
@echo "" | ||
|
||
init: clean | ||
bundle config set path '.bundle/gems' | ||
bundle install | ||
|
||
|
||
patch_bundler: | ||
[ "$(VAGRANT_VERSION)" == "v2.2.5" ] && (patch -p0 --batch --backup -d "`bundle info --path vagrant`" < deps/patches/lib/vagrant/bundler.rb.patch) || true | ||
[ "$(VAGRANT_VERSION)" == "v2.2.6" ] && (patch -p0 --batch --backup -d "`bundle info --path vagrant`" < deps/patches/lib/vagrant/bundler.rb.patch) || true | ||
[ "$(VAGRANT_VERSION)" == "v2.2.7" ] && (patch -p0 --batch --backup -d "`bundle info --path vagrant`" < deps/patches/lib/vagrant/bundler.rb.patch) || true | ||
[ "$(VAGRANT_VERSION)" == "v2.2.8" ] && (egrep -q 'cap/redhat' `bundle info --path vagrant`/plugins/provisioners/docker/plugin.rb && sed -i.bak -e 's/redhat/centos/g' `bundle info --path vagrant`/plugins/provisioners/docker/plugin.rb) || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -350,4 +350,5 @@ end | |
* @hexmode | ||
* @craigmunro | ||
* @greut | ||
* @chucknelson | ||
* @codylane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- lib/vagrant/bundler.rb 2020-04-27 14:19:39.000000000 -0600 | ||
+++ lib/vagrant/bundler.rb 2020-04-27 14:20:01.000000000 -0600 | ||
@@ -421,8 +421,9 @@ | ||
def vagrant_internal_specs | ||
# activate any dependencies up front so we can always | ||
# pin them when resolving | ||
- Gem::Specification.find { |s| s.name == "vagrant" && s.activated? }. | ||
- runtime_dependencies.each { |d| gem d.name, *d.requirement.as_list } | ||
+ if (vs = Gem::Specification.find { |s| s.name == "vagrant" && s.activated? }) | ||
+ vs.runtime_dependencies.each { |d| gem d.name, *d.requirement.as_list } | ||
+ end | ||
# discover all the gems we have available | ||
list = {} | ||
directories = [Gem::Specification.default_specifications_dir] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module VagrantPlugins | ||
module ProxyConf | ||
VERSION = '2.0.7' | ||
VERSION = '2.0.8' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters