Skip to content

Commit 580e7b0

Browse files
authored
Merge branch 'develop' into add/srv/vvv
2 parents 11453ba + daf4da4 commit 580e7b0

File tree

90 files changed

+1045
-536
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1045
-536
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: 'bug'
4+
title: 'Bug: '
5+
labels: 'type:bug'
66
assignees: ''
77

88
---
@@ -19,7 +19,7 @@ assignees: ''
1919
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
2020
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
2121

22-
## Possible Solution
22+
## Possible Solution?
2323
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
2424
<!--- or ideas how to implement the addition or change -->
2525

@@ -42,5 +42,5 @@ log into a gist at gist.github.com and paste the link here. -->
4242

4343
## Logs
4444

45-
<!-- give us a full log of the provision, a copy paste from the terminal will do, or a gist, just remember to put it in code block tags with 3 backticks before and after, don't forget the splash screen with the logo! -->
46-
<!-- Also, your `vvv-custom.yml` would be super handy -->
45+
<!-- give us a FULL log of the provision, a copy paste from the terminal of the entire commands output will do, or a gist, just remember to put it in code block tags with 3 backticks before and after, don't forget the splash screen with the logo! -->
46+
<!-- Also, your `config/config.yml` would be super handy -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: VVV Troubleshooting
4+
url: https://varyingvagrantvagrants.org/docs/en-US/troubleshooting/
5+
about: Run through these to solve common issues
6+
- name: VVV Support on Slack
7+
url: https://varyingvagrantvagrants.org/docs/en-US/slack/
8+
about: Join our support channel for help
Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
---
22
name: Feature request
3-
about: Suggest an idea for this project
3+
about: Suggest a feature for this project
44
title: ''
5-
labels: 'feature'
5+
labels: 'type:feature'
66
assignees: ''
77

88
---
99

10-
**Is your feature request related to a problem? Please describe.**
11-
12-
A clear and concise description of what the problem is. e.g. _I'm always frustrated when ..._
13-
14-
**Describe the solution you'd like**
15-
16-
A clear and concise description of what you want to happen.
10+
<!-- Tell us about the feature -->
1711

1812
**Describe alternatives you've considered**
1913

20-
A clear and concise description of any alternative solutions or features you've considered.
14+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
2115

2216
**Additional context**
2317

24-
Add any other context or screenshots about the feature request here.
18+
<!-- Add any other context or screenshots about the feature request here. -->

.github/ISSUE_TEMPLATE/problems-provisioning-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: Problems Provisioning on Windows
33
about: For when running vagrant up --provision or vagrant provision
4-
title: ''
5-
labels: 'Windows'
4+
title: 'Bug: Windows: '
5+
labels: 'os:windows,type:support'
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/problems-provisioning.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
name: Problems Provisioning
3-
about: For when running vagrant up --provision or vagrant provision
2+
name: Problems Provisioning on MacOS/Linux
3+
about: For when running vagrant up --provision or vagrant provision fails
44
title: ''
5-
labels: ''
5+
labels: 'type:bug'
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: Support/Question
33
about: Having Trouble? Unsure of how something works? Don't spend all day trying to debug it, we can help!
4-
title: ''
5-
labels: 'support, question'
4+
title: 'Q: '
5+
labels: 'type:support, type:question'
66
assignees: ''
77

88
---

.github/workflows/vvv-provisioning.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,18 @@ jobs:
3030
sudo apt-get -q --autoremove --purge remove php*
3131
sudo apt-get -q autoclean
3232
33+
# remove pre-installed composer
34+
if [ -f /usr/bin/composer ]; then
35+
sudo rm -f /usr/bin/composer
36+
fi
37+
3338
# create vagrant user
3439
sudo groupadd -g 2000 vagrant
3540
sudo useradd -u 2000 -g vagrant -m vagrant
3641
3742
# vvv_symlink function to sumulate synced folders
3843
function vvv_symlink() {
39-
if [ ! -d "${1}" ]; then
44+
if [ ! -d "${1}" ]; then
4045
sudo mkdir -p "${1}"
4146
fi
4247
sudo chown -R vagrant:vagrant "${1}"
@@ -87,7 +92,7 @@ jobs:
8792
# TODO: Ideas
8893
# - Add screenshots of provisioned sites
8994
# - CURL mailhog API to see if it's working or not
90-
# - Check VM hostfile
95+
# - Check VM hostfile
9196

9297
- name: Prepare Output
9398
if: ${{ always() }}

CHANGELOG.md

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,67 @@ permalink: /docs/en-US/changelog/
66

77
# Changelog
88

9-
## 3.6.x ( 2021 )
9+
## 3.7.x ( 2021 )
1010

1111
### Enhancements
1212

13+
* Improved site provisioning messages
14+
* MariaDB upgraded to v10.5
15+
* Improved Apt source file handling in core provisioners
16+
* Upgraded to Composer 2
17+
* Upgraded to Python 3 setuptools and pip3
18+
* PHPCS installation improvements
19+
* Added ARM64 support for Mailhog
20+
* Improved the splash screen provider version fetching
21+
* Added improved apt package upgrade routines
22+
* Provisioners now ask to install only packages that aren't installed
23+
* General package handling performance improvements
24+
* New config to exclude databases from backup in `config.yml` ( #2346 )
25+
* New config to gzip compress database backups in `config.yml` ( #2346 )
26+
* Experimental Apple silicon support using vagrant + parallels
27+
* Disable backup and restore of databases by default
28+
* Updated Mailhog to 1.0.1 for new installs
29+
* Improved MailHog downloading with retries and error output
30+
* Improved Composer installation
31+
* webp support in Imagemagick
32+
* Switch from Ubuntu 18.04 to 20.04 (current LTS release)
33+
* Simplified config folder
34+
* Increased the default PHP memory limit from 128MB to 256MB
35+
36+
### Bug Fixes
37+
38+
* Fixed `vvv_error` not always printing messages
39+
* When a sites repo has the wrong URL for the origin remote, the user is now told. This avoids certain mistakes being made.
40+
* Remote changes are now fetched before resetting, not afterwards.
41+
* Increased the priority of Nodesource and Ondrej packages to avoid issues
42+
* Fixed Parallels mount permissions
43+
* Fixes for site names containing spaces causing Nginx and TLS issues
44+
* Warnings that you're missing vagrant plugins no longer show when running vagrant plugin commands
45+
* Force the Virtual Machine to 64bit on VirtualBox to avoid infinite loops on 32bit architectures
46+
* Force the installation and update of grunt and grunt-cli so that old grunt is always overwritten when updated
47+
* Sync clocks before provisioning if ntpdate is available to avoid Apt mirror time issues
48+
* Fixed cloning the dashboard git repository with unknown remote branches
49+
50+
## 3.6.2 ( 2021 March 17th )
51+
52+
### Bug Fixes
53+
54+
* Replaced PHPCS symlinking to avoid issues with Windows
55+
56+
## 3.6.1 ( 2021 March 16th )
57+
58+
### Important Note
59+
60+
Lots of provisioners now run in strict mode. Your custom site and utility provisioners may fail if they do not handle bad return codes from commands correctly. For example if you ran `composer create-project` on a folder that was not empty, it will fail. In v3.5 this failure was ignored and the script continued despite the critical error, in v3.6 VVV will halt provisioning so that the error can be seen.
61+
62+
Make sure that commands are only ran at their appropriate times, e.g. only install things if they aren't installed, and if you're checking the return value of a command, do it in an if check, not as a temporary variable. If you're feeling adventurous you can unset the strict flags ( danger! ).
63+
64+
Finally, check that your custom modifications haven't been added in the official site templates.
65+
66+
### Enhancements
67+
68+
* Improve the way that PHPCS gets provisioned to avoid conflicts with composer v2 (#2357)
69+
* PHP v7.4 is now the default PHP ( other versions are available on CLI if installed via `php73`, `php72`, etc )
1370
* Beautify the PHP debug switcher script
1471
* Support for basic formatting tags in `vvv_warn` `vvv_error` `vvv_info` and `vvv_success`
1572
* A new `vvv_output` and `vvv_format_output` bash functions
@@ -18,17 +75,22 @@ permalink: /docs/en-US/changelog/
1875
* SHDocs added to core provisioners
1976
* A new `/srv/vvv` folder for files created inside the VM related to provisioning ( #2328 )
2077
* Improved PHP configuration file installation
78+
* Sites can now define composer create-project/install/update commands to run in their folders section in addition to the git options added in v3.5.1
2179
* Adds a `vagrant` command inside the virtual machine to tell users they are still inside the VM and need to exit
80+
* `switch_php_debugmod` now checks if a module is installed and enabled, with improved output to make it clearer which versions of PHP support the module
81+
* Print provision log if there are errors
82+
* Adds an Xdebug Info button to the dashboard when Xdebug is enabled
2283

2384
### Bug Fixes
2485

25-
* Fixed the user of `vvv_warn` `vvv_success` `vvv_error` and `vvv_info` outside of provisioners
86+
* Fixed the use of `vvv_warn` `vvv_success` `vvv_error` and `vvv_info` outside of provisioners
2687
* Don't try to install shyaml if it's already installed
2788
* Global composer packages were only updated when composer itself was updated
2889
* Skip the WordPress unit tests database when running backups
2990
* Don't back up databases that have no tables
3091
* Xdebug deprecated configuration option warnings fixed
3192
* Use HTTPS instead of SSH for WP CLI Doctor subcommand installation
93+
* Install missing library for Xdebug support
3294

3395
## 3.5.1 ( 2020 December 11th )
3496

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ VVV is a local developer environment, mainly aimed at [WordPress](https://wordpr
99
To use it, download and install [Vagrant](https://www.vagrantup.com) and [VirtualBox](https://www.virtualbox.org/). Then, clone this repository and run:
1010

1111
```shell
12-
vagrant plugin install vagrant-goodhosts --local
12+
vagrant plugin install --local
1313
vagrant up --provision
1414
```
1515

0 commit comments

Comments
 (0)