Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

The vagrant composer interaction changes #70

Merged
merged 3 commits into from
Jan 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@

## UNRELEASED

### Added

* Added a trigger to the default Vagrantfile that keeps the installed version of Composer up to date (#68)

### Changed

* Removed the custom drush wrapper in ~/bin. Drush 9 handles this itself.
* Removed the `vagrant up` trigger that ran `composer install` on the project

### Updating from 2.5

* This update does **not** require destroying your current vagrant box.
* As a developer, you may want to:
* This version includes changes to the `Vagrantfile` template. To get these changes, either re-run the-vagrant's installer with `vendor/bin/the-vagrant-installer`, OR manually apply the changes from the [diff from #70](https://github.com/palantirnet/the-vagrant/pull/70/files).
* As a developer, you may also want to:
1. From your Vagrant box, `rm ~/bin/drush`
2. Log out of your vagrant and then back in before continuing to work

Expand Down
8 changes: 4 additions & 4 deletions conf/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ Vagrant.configure(2) do |config|
end
end

config.trigger.before [:up, :reload] do |trigger|
trigger.name = "Composer Install"
trigger.run = {
inline: "composer install --ignore-platform-reqs"
config.trigger.after [:up, :reload] do |trigger|
trigger.name = "Composer self-update"
trigger.run_remote = {
inline: "sudo -H composer self-update"
}
end

Expand Down